Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

is c# efficient tobe used in serial interface?

Status
Not open for further replies.

asic1984

Full Member level 5
Joined
Nov 15, 2003
Messages
257
Helped
4
Reputation
8
Reaction score
1
Trophy points
1,298
Activity points
2,340
hi

is c# an efficient language in programming with serial and parallel interface...............

is it better or c++

thanks for help
 

i'm using c++ is very good. or use java with javacomm (with java is multi-plataform).

view Best language to access serial port? here
 

hi,
C# means you might have to learn .NET framework and .NET doesnt provide exclusive support to Serial/Parallel port programming.You will have to emply PInvoke Methods to access the serial port in C# which uses the Win32 API inturn.So might not be a good option for a few.About other languages i am not too sure but i heard VC++ is very popular in such hardcore programming.
Regards,
Kareja
 

hi

c# can use the microsoft communication control to access the serial port

but my question is using .net make data send out from the computer are exactly what we want in same format (also about delays)
 

no problem.but i think C++ is more appropriate.
 

hi,
do not use c# for serial/paralled interfacing, c# uses the run time for its operation akin to java and also does not have optimal pointer manipulation schemes and memory deletion is not under user control, c/c++ is the best for serial/parallel interfacing.
 

Microsoft tried to implement it's own windows specific extensions to Java and got sued for their troubles. So it's answer was C# and .net, which is just their ripped off version of Java and the virtual machine. So, use Java, the original.
 

I agree with btbass for some extent but not completely.Java is slow soooo slow.Microsoft though copies things from others,it does that in soo decent manner that the outcome is 100 times better than the original one..NEt runtime is not as slow as java and only the CLR loads a program the slowness of the application is never seen. Apart from slight performance issue .NET is a revolution in Windows Programming.Does anyone code ASP.NET??Its sooo simple to develop dynamic pages and can java do that easier???No way!
Kareja
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top