By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,562 Members | 1,292 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,562 IT Pros & Developers. It's quick & easy.

Source code for Schematic drawing

P: 13
Does anyone know where I can find source codes implementing a schematic editor for electroincs?
Nov 13 '09 #1
Share this Question
Share on Google+
8 Replies


RedSon
Expert 5K+
P: 5,000
I assume you mean some kind of CAD software for layout and routing PCBs?

Why in the world would you want to punish yourself by writing one yourself?

Try http://www.cadsoft.de/ or http://www.gpleda.org/index.html or something like http://www.freerouting.net/ might be more to your liking.
Nov 13 '09 #2

P: 13
No actually I am not trying to route PCBs. I just need the schematic editor and want to do some calculations based on the components which are not actually R,L,C but power blocks that integrate in system. Between these blocks I need to do check for input/output requirements and finally to evaluate the entire interconnected power blocks as a system.

I need the editor which looks professional which can interconnect the blocks. I did one but as you said the amount of work is tremendous and seem endless.

Any suggestion where I can buy a package software with excess to source code in C# would be appreciated.
Nov 13 '09 #3

RedSon
Expert 5K+
P: 5,000
If you are trying to evaluate some kind of hardware based circuit why don't you use an open source solution, instead of writing it yourself.

Perhaps I don't get what you are talking about because it sounds like you need a schematic editor that can do some basic calculations but you want to write it yourself using some kind of library in c#?
Nov 13 '09 #4

P: 13
I need a schematic editor which draws the objects that has attributes that I can change do some basic calculation (eg thermal calculation of a power supply given some input parameters).

This software will not evaluate any hardware based circuit. It is standalone as a simple calculator based on a system configuration drawn by the user.

Eg. I draw a power supply (maybe a rectangle shape) with attributes like Vout. Then I connect it to a load (maybe a square shape) with attributes like Iout. Then I calculate how much power is drawn from the power supply (ie Vout x Iout). I can get more complicated like caluclating the temperate given more parameters like efficiency, fan speed ...
Nov 14 '09 #5

P: 37
Open source and I think it's along the lines (thought I'm not totally clear on your requirements) of what you are looking for:
http://ngspice.sourceforge.net/
Nov 14 '09 #6

P: 13
Is the source code written in C# and can be compiled in Visual Studio?
Nov 14 '09 #7

P: 37
Apologies I didn't understand that C# was an absolute necessity. I double checked and it looks like ngspice is pure C. I did find this which looks like people are trying to port it (or at least make wrapper classes for it):
http://naif.jpl.nasa.gov/pipermail/s...ry/000267.html
It may cost, though. It looks like they are talking about using ngspice as a DLL called from C#
Nov 14 '09 #8

RedSon
Expert 5K+
P: 5,000
@EddieT
I don't understand why this is a requirement. Why is it necessary to be written in c#? If you are just looking for a tool to use why does it matter what language it is written in?
Nov 14 '09 #9

Post your reply

Sign in to post your reply or Sign up for a free account.