LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"ES" on serial read and write

Solved!
Go to solution

Hello! I am using the Serial Read and Write example VI given by labview. When I connect it to my serial port, in the response section, it says "ES" after I run it. I want it to read numbers from a lab weighing balance connected through serial port. So what do I do?

 

Image attached below!

0 Kudos
Message 1 of 7
(171 Views)

What balance are you trying to talk to?  Could you link to the user and/or programming manual so we can see the communication protocol?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 7
(156 Views)

Hello! Thank you for your response. The balance I am using is a Mettler Toledo ML4002E balance. Attached is the manual! Thank you again!

0 Kudos
Message 3 of 7
(151 Views)

The *IDN? is not a valid command for this device.  To get a reading you need to send "S".


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 7
(105 Views)

By sending S, do you mean that my command should just consist of S?

0 Kudos
Message 5 of 7
(102 Views)
Solution
Accepted by topic author sheetalp22

Hi sheetalp,

 


@sheetalp22 wrote:

By sending S, do you mean that my command should just consist of S?


No, not "just" S…

 

Read your manual for your balance! I can recommend to take a closer look at chapter 23.2!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO
0 Kudos
Message 6 of 7
(96 Views)

That worked! Thank you!!

0 Kudos
Message 7 of 7
(82 Views)