Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Orion 5 Star pH, Cond meter double string

I have a Thermo Scientific Orion 5 Star pH, Cond, DO meter and am using LabVIEW 8.2.

 

In Hyperterminal with echo OFF, I type the command to tell the meter to dump the current data values into Hyperterminal, that command is GETMEAS. The meter echos back automatically what is typed in, so my Hypertermail screen looks like this:

 

> GETMEAS

218,A07403,2.39,1,05-19-2010 13:24:33,0.0,mV,25.1,C,27.63,uS/cm,27.59,uS,25.1,C,2.1,%/C,25.0,C,1.003,/cm,1

 

When I use the basic serial read/write in LabVIEW 8.2, the output string is only GETMEAS, without the data following it as in Hyperterminal.  LabVIEW instrument property node says only 7 bytes at the port, so it reads 7 bytes, which is just GETMEAS.  If I force it to say 20 bytes, I still dont' get the data string.  If I add another serial read after the initial one, I still dont' get the data.  Putting the read in a loop, I still don't get the string data. What am I doing wrong? What proper ASCII formatting do I need to at to my GETMEAS to get the data dump?

 

I looked at this thread already, http://forums.ni.com/ni/board/message?board.id=140&message.id=24709, but that user did not seem to have this problem; that user was only concerned with how to format the data string.  

0 Kudos
Message 1 of 6
(5,045 Views)

This works:

 

GETMEAS\r\n

0 Kudos
Message 2 of 6
(5,044 Views)

Hi Bjornin -

My students and I have the same pH meter and wonder if you might share some details on how you did this?  We are completely new to LabView, so please take it slow!  Did you develop a VI for this?  And do you know if we might be able to replicate what you did in LabView NXG?

- Phil

0 Kudos
Message 3 of 6
(3,731 Views)

Hello, SuperPhil,

 

This forum has been non active for several years now.  To increase your chances of getting a response please make a new post and the community will be happy to assist you.

 

 

CC
Applications Engineering
National Instruments
http://www.ni.com/support
0 Kudos
Message 4 of 6
(3,708 Views)

Hi RedBeard32 -

 

Thanks for message. I did notice the age of the thread, but thought it may be worth a try, since this was the exact issue we are dealing with.  I have posted a new thread, so let's see what happens.

 

- Phil

0 Kudos
Message 5 of 6
(3,702 Views)

Hello SuperPhil. If you look at my second post, I have answered my own question.  The solution was to use: GETMEAS\r\n

 

I should point out that I no longer work with this particular meter and do not have access to it.  I also have not used LabVIEW for several years now.  Best of luck!

0 Kudos
Message 6 of 6
(3,698 Views)