I'm trying to create a simple data aquisition VI with 8 imputs.
I've used the Producer/Consumer Design Pattern (Data) template.
In my producer loop I'm writing the signals to a file.
In the consumer loop I'm trying to display the values of the differents signals on my interface.
I'm trying to access one of the element of a Variant data set from the queue. The Variant Data set has the folllowing structure:
<Dynamic Data
{[8]
(<Waveform(DBL)
{...}>, <Waveform(DBL)
{...}>, <Waveform(DBL)
{...}>, <Waveform(DBL)
{...}>, <Waveform(DBL)
{...}>, <Waveform(DBL)
{...}>, <Waveform(DBL)
{...}>, <Waveform(DBL)
{...}>)}>
I've tried to use "Variant to Data" but I can't find a way to set the correct type.
How can I "split" it so I can display the values on my Interface?
Is there an easier way to do it? It may seem logical, but I'm new to Labview... so excuse me for "stupid" questions...
bigl00z3
Download File:post-6798-1163665036.zip