05-15-2007 09:04 PM
05-15-2007 09:29 PM
Do you have the basic communication with the device working? If so, you would have to convert the string returned by the VISA Read to a numeric. Then if you want to display the data as it's acquired, a chart would be a better option. Without knowing the details of the instrument and the format of it's data, it's hard to provide details. There are several functions on the string palette for converting strings to numerics. Format into String is just one of them.
If you need some help in converting the data, post your VI with some typical data saved with it. Have a string indicator wired to the VISA Read, Run the VI. Go to the Edit menu and select Make Current Values Default. Save the VI. Attach it to your post.
05-15-2007 09:50 PM
Thanks for your help and quick response.
The basic communication with my device is already working. I only want to read the data, without writing.
Unfortunately I'm not so well known with LabVIEW in the moment, so it would be very nice from you if you can help me a little bit.
Here is my VI
05-15-2007 10:45 PM
05-16-2007 01:27 AM
I know what you mean, what I should do, but it doesn't work
!
If I try it with a string indicator I always get a error that my given session or object reference is invalid (error - 1073807346)!!!
My string looks like:
+4 <CR><LF>
-3 <CR><LF>
....
But I guess that is to less for you, right?
05-16-2007 07:00 AM
I don't understand what you could have done. You already had a string indicator for the VISA Read. It's the one called 'String Read'. All you had to do was run the VI so that there was data in this indicator, make current values default, and then save it.
In any case, try the attached modification.You should also try to take some LabVIEW training. A place to start is http://www.ni.com/academic/lv_training/how_learn_lv.htm.
05-16-2007 09:21 PM
05-16-2007 10:07 PM
05-19-2007 04:42 AM
12-13-2012 12:02 AM
dear friend,i am working on a project where i have a gwinstek GDM-396 multimeter to be conneted to an RS 232 port.
watever voltage is recorded from the multimeter should be trasmitted on a waveform chart in labview. i have written a labview program but i am always getting a 0 output.i have already set the parameters(parity,baud rate...) of the multimeter in the labview also. i am quite new to labview. help me please to get that output voltage in labview.
please find attached my program.i am using labview 7.0.
thanks