Hi, I am stuck with a problem. I am quite new in labview and I want to display my data from measurement. On a functional generator I have a sine and measure this waveform with a multimeter. Subsequently measured progress I would need to see in a graph in labview. I want to somehow convert string data to waveform double.
From visa read --> read buffer I want to convert string data to waveform, if it is possible.
Thank you in advance.
Solved! Go to Solution.
To convert a string to double, use Scan From String or Fract/Ext String To Number.
Why a waveform? A Chart will display those values just fine if you simply wire a double to it (e.g. test with a random number). No need to make a waveform first.
If you must, you can use Build Waveform to put the double in a waveform. The Chart doesn't need it, although dT will probably adapt if you do use a waveform.
it does not work because I need to process this data into one chart.
Use Spreadsheet String To Array. Be sure to set the comma as your delimiter and a 1D array of double as the array type. If you live in a region where the comma is your decimal separator, then you need to set your format to "%.;%f".
I have similar issue with the data getting from oscilloscope. But now it resolved to some extent after seeing this post. I have time scale data in nanosecond with very small step size. I need data precision upto 17 decimal point in order to correctly display, plot and save it.I have attached the jpeg file of front panel and block diagram.
Any help would be highly appreciated !
Thanks For quick reply.
I forgot to mention, I have tried with many format, but didn't get the whole digit in any cases.
For example i have attached a jpeg for %.;%.9f. It is same as it was with %.;%f
Not the string for the conversion.
In the Display Format for the indicator.
Right click on the indicator!!!
PS: Please attach screenshots rather than oversized JPEG pictures of your screen.
It seems working after setting the display format. However, I could edit only the display format of the input array type of the 'Spreadsheet string to array', and then accordingly the output array did worked.