ocaccy
asked on
C# - Send ENQ, CR, LF to COM Port
Hello everybody.
Using this environment:
Windows, C#, Conveter USB/RS485.
How to send ENQ, ID, CR, LF to COM PORT using C#?
Thank's in advance,
ocaccy
Using this environment:
Windows, C#, Conveter USB/RS485.
How to send ENQ, ID, CR, LF to COM PORT using C#?
Thank's in advance,
ocaccy
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you.
ocaccy
ocaccy
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