[Elecraft] C# Code for reading and sending to serial port

2009-12-25 Thread Radio Amateur N5GE
Howdy, Does anyone have an example of this in C#? Thanks, Tom, N5GE n...@n5ge.com K3 #806 with SUB RX, K3 #1055, PR6, XV144, XV432, KRC2, W1, 2 W2's and other small kits 1 K144XV on order http://www.n5ge.com http://www.swotrc.net

Re: [Elecraft] C# Code for reading and sending to serial port

2009-12-25 Thread Sanjin Tajic, E71DX
Hi Tom, this is very simple in C#, you can find a walktrought here: http://www.scribd.com/doc/6162040/Serial-Port-Communication-in-C and a little more about here: http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.aspx I also suggest that you google this, you will find lots

Re: [Elecraft] C# Code for reading and sending to serial port

2009-12-25 Thread Carl Clawson
Tom, The general idea is to use the framework's Ports class to discover the available ports and use them. You need version 2 or newer. In version 1 the only way I could find was to dig up a copy of the old MSCOMM32.ocx control and use it. There is an example in VB.net at: