Thank you.
I'm using C# with System.IO.Ports.
The manual device, tells us that we need to send this sequence, but without citing the language.
[ENQ, 3, 0, CR, LF]
[enquiry, ID, CR, LF] // "3,0" is the ID of device "30"
I use the code below and works with others devices.
private void timer1_Tick(object sender, EventArgs e) { string ID = "30"; CommPort com = CommPort.Instance; ID = ConvertEscapeSequences(ID); com.Send(ID); }
The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.
ASKER
I'm using C# with System.IO.Ports.
The manual device, tells us that we need to send this sequence, but without citing the language.
[ENQ, 3, 0, CR, LF]
[enquiry, ID, CR, LF] // "3,0" is the ID of device "30"
I use the code below and works with others devices.
Open in new window
Thanks in advance,ocaccy