LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can I monitor RS232 temperature sensor data streaming to browser ? and alert ? help.. for sample

ok, it works after I dl the NI-VISA, but i still have an eoor 85 when i click read temp from string.
i did try modify the string format read but no luck, i'm not a programmer. i know this is just a matter of reading the string.

FIY the data string shows 4\s0031.00\n\r (4 is sensor #4) and the char left mostly 0 sometime 2.

regards
ruddy
0 Kudos
Message 11 of 14
(904 Views)
Hi Ruddy !
At last something is working !
Error 85 is a "Scan from string failed" error.

The termination char in your string is a CR. If you enable and use CR as termination character,the char left should remain always at zero. If not, try to reduce the time between readings.
The string format should be modified : Either remove the space immediately after %d, or use simply "%d %f"
Enjoy !
Chilly Charly    (aka CC)
0 Kudos
Message 12 of 14
(904 Views)
It works like you said, i did remove the space between %d %f, thanks to you.
now i need to improve this "looks" into 2 or 4 sensors, and change the temperature display into graphical analog temperature or something.
let me try this into 2 sensors, it simple for you but not for me for sure to change the string.
short questions, how you show ont the display/web ONLY the Digital temperature ? what's/how the "hide" command ?
all i need to be shown in browser is only the temperature and the text which that sensor is placed.

regards
ruddy
0 Kudos
Message 13 of 14
(904 Views)
---"how you show onto the display/web ONLY the Digital temperature ? "
You can simply move all the unwanted controls and indicators, and reduce the size of the window.
You can also make unwanted objects invisible (right click ...Advanced...Hide control)
Another solution would be to pass the data to be published to a sub-vi...

CC
Chilly Charly    (aka CC)
0 Kudos
Message 14 of 14
(904 Views)