From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(805 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
(790 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
(785 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
(739 Views)

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

0 Kudos
Message 5 of 7
(736 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, TestStand2016/2019
0 Kudos
Message 6 of 7
(730 Views)

That worked! Thank you!!

0 Kudos
Message 7 of 7
(716 Views)