05-11-2009 07:46 AM
Hi Wayne,
I have managed to get hold of the some values coming out of the gamma meter. Please have a look and let me know if you can see a solution to the problem above? The only way I can see is to actually implement a lookup table.
regards
Harshil.
05-12-2009 04:09 PM
COM analysis attached.
05-08-2010 07:03 PM
hi, i have a problem, i used visa read serial to read a Temp value and i road it, but i cann't draw it in a chart. could you please help me to solve this problem.
i attached the VI.
05-08-2010 07:12 PM
You don't have a chart in your program so perhaps that is why you can't draw anything?![]()
Exactly what is the problem? When you do have a chart, you will be displaying all 5 bytes that you read. If all 5 bytes are correct in the array indicator, then they must be correct on the chart since they are the same values. Do you need to combine or separate them?
p.s. Place your initialize com port and VISA close outside the loop.
05-09-2010 12:57 PM
i used a simulation program called "proteus" and send a value = 5V through a virtual serial to serial, the problem was i road a 5 bytes as string (= 4.995) by the Labview and if i would like to draw a chart i must convert the 5 bytes as a string to an array to draw a DC value on the chart.
when i use a string to float then i put a chart the chart appeare as an AC values not a DC value.
or when i use a string to unsign byte array the chart appeare as an AC values not a DC value.
i attaced the vi.
05-09-2010 01:22 PM
If you are getting '4.995' in the string indicator, then the Fract/Exp String to Number will work and you simply wire the chart up to it's output. Doing the conversion to a byte array is not at all required.
If you continue to have problems, run the VI and then go to Edit>Make Current Values Default. Save the VI and attach it.
p.s. You still have not fixed the location of the VISA Configure Serial Port/VISA Close and the use of the sequnce structure is just not needed at all.
05-09-2010 04:37 PM
i cann't understand this expression "Fract/Exp String to Number" would you please explain more and if there is an icon do that please send to me the name of the icon.
many thanks.
05-09-2010 04:41 PM
The name of the function IS Fract/Exp String to Number.Scan From String will also work. What function were you using to convert from a string?
When you have the functions palette open, see the search button? Use that if you don't know where the function is.
05-09-2010 04:47 PM
First i would like to thanke you for your help, and i found the Fract/Exp String to Number Icon.
another time many thanks.