03-07-2008 07:55 AM
03-07-2008 07:58 AM
03-07-2008 08:09 AM
Jorge,
This is the string I get:
74923
03/07/2008 10:25 AM
A SM 77.0F 7.00 pH
03/07/2008 10:25 AM
B SM 77.0F 7.25 pH
First line is sample number, next line date and time, next line sample probe A, next line date and time, last line sample probe B
The my "string read" dialogue box on my sub-vi only reads one of those lines at a time.
Nate
03-07-2008 08:11 AM
Jorge,
The Labview Version is 7.1. Thanks for your promt response
Nate
03-07-2008 08:16 AM
03-07-2008 09:39 AM
03-07-2008 10:15 AM
03-07-2008 10:23 AM
Dennis,
Using 7.1, I am looking at the block diagram and it is still using "Serial Port Read.vi" Not a VISA. I don't know how but it is. And so are the other sub-vi's for several other serial meters, and they are picking up single line strings with no issue and submitting thier output to the main VI.
Nate
03-07-2008 10:27 AM
Dennis,
Should Labview have converted my serial port read.vi and other out of date vi's to the new visa format? I doubt it. These were written on LabView 6 and then are being modified and run in 7.1. I didn't realize that newer versions of Labview wouldn't support the older version programs.
Nate
03-07-2008 11:02 AM
Yes, LabVIEW will automatically update. What happens is that the old serial functions still exist in 7.1 and above but the code (the block diagram) has been modified to use VISA functions. Older versions of LabVIEW are fully supported in this manner. The only way you can avoid the automatic update is to have the old serial functions in an llb and your top level VI refer to these. Having any VI that was part of vi.lib in an llb is a very bad idea and the way to fix things is to remove any VIs in the llb that are part of the LabVIEW distribution.
I don't remember how the old serial config worked and what the new version does with the VISA Configure Serial Port. Your program should only have a single serial config and you might just be able to directly replace that with the VISA configure Serial Port.