05-19-2010 03:26 PM
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.
05-19-2010 03:41 PM
This works:
GETMEAS\r\n
10-11-2017 07:26 AM
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
10-12-2017 09:50 AM
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.
10-12-2017 10:34 AM
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
10-12-2017 02:30 PM
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!