LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"I need to read data(pressure) from DTG pressure

gauge made by crystal engineering. I am not able to read correct data from device. i wrote proper command to write to serial port and device is communicating with my program but serial port not reading my command. i attached program ...help will be great.""I need to read data(pressure) from DTG pressure gauge made by crystal engineering. I am not able to read correct data from device. i wrote proper command to write to serial port and device is communicating with my program but serial port not reading my command. i attached program ...help will be great."
0 Kudos
Message 1 of 3
(2,512 Views)
gauge made by crystal engineering. I am not able to read correct data from device. i wrote proper command to write to serial port and device is communicating with my program but serial port not reading my command. i attached program ...help will be great."Try adding a termination charatcter to your write string. Most serial instruments require one. Often it's the carriage return constant but it could be something else, your instrument's documentation should tell you what to use. Find the constants on the string palette. Also, you might want to use VISA instead of the old serial drivers. If you plan to upgrade to LabVIEW 7, you'll find that the old drivers don't exist.
Message 2 of 3
(2,512 Views)
gauge made by crystal engineering. I am not able to read correct data from device. i wrote proper command to write to serial port and device is communicating with my program but serial port not reading my command. i attached program ...help will be great."Hi Dennis,

it was indeed problem with termination character. I used \n as vender had mention in there data sheet but it did not work until i changed to \r.

thanks
psk
0 Kudos
Message 3 of 3
(2,512 Views)