Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Connect my Ohaus Scout Pro Scale to Labview without using the Print continuous setting

Solved!
Go to solution

Hi there,

 

I am connecting my Ohaus Scout Pro Scale (Model 6001) to Labview.

 

My program can only read the data from the scale if I am in the print continuous mode or if I manually press the print button on the scale. But I only want to read measurements every 10 minutes and I don't want to press the button manually.

Therefore I implemented the VISA Write function and I am sending the command P\n (in \-comand). According to the Ohaus manuel this should be the same as pressing pring. But it doesn't work!!!

 

 

What am I doing wrong?

 

Is there someone else out there who is using Ohaus Scales and is able to directly read data from the scale?

 

Any help would be much appreciated! 🙂

 

 

Download All
0 Kudos
Message 1 of 5
(5,578 Views)
I can't look at the VI (posting from phone). Right click on the string control that you use for the command and make sure '\' Codes Display is selected.
0 Kudos
Message 2 of 5
(5,576 Views)

Check! I have the tick in the right place - '\' Codes Display

0 Kudos
Message 3 of 5
(5,572 Views)
Solution
Accepted by topic author staytuned
According to the manual, you send either a CR (\r) or a CRLF (\r\n). Sending just LF does not appear to be valid.
0 Kudos
Message 4 of 5
(5,568 Views)

yes - you are my hero!

I am glad to say that this was the solution to my problem! The comunication works now just fine!

 Maybe next time I can contribute something more substantual to the forum .:)

Thanks!

0 Kudos
Message 5 of 5
(5,537 Views)