I have a scale connected to RS-232 to record the weight change respect to time. Unfortunately, I am getting inconsistent string output which does not conform with the format string I assigned. I set the format string based on typical reading as below:
"ST,GROSS 100 g "
Output String when Error Occurs:
"GROSS 100 g "
"SS 100 g "
For typical string, output byte size is always 22. I am thinking something is wrong with my VISA property. If you have any suggestions, please let me know.
FYI, if you are counting to see typical string has 22 byte size, it might not. I put arbitrary number of spaces just for this post. I am also running this with 2 different scales at the same time in the same VI. Both having 2 separate VISA open/read/write/close. (Think of it as a duplicate except for sharing a same while loop.)
Please leave a comment or question. I would appreciate your feedback.