12-19-2017 08:20 PM
Dear somone,
I have a DIGITAL METER RELAY with the purpose:
(1) Read voltage from my sensor => ok
(2) Recording data to Computer =>?
(3) Auto-control output of relay =>?
Now I need to record the data to my computer via RS232, so I do not how to write the code for that.
Beside that, I can not understand the communication command from manual of company.
Please help me!!!!
12-20-2017 01:05 AM
Hi NGHIA,
did you read your manual?
1. Did you already made up the connection between that device and your computer as described on page 19 of this PDF?
2. Open the serial port with exactly the same settings as has been configured on your device (baudrate, etc.). Those settings are described on page 8.
3. Open the "Basic Serial Read and Write" example VI. Set the ETX (End of Text) char as TermChar at VISAConfigureSerialPort function. Set the "write" string input to hex display mode. Send the example commands as given in your manual on pages 20-22.
After doing all those steps: Tell us where you have problems with…
12-20-2017 10:00 AM
Hi Gerd,
thank you very much. I will check it. But it needs a little bit time