LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

AI Waveform Scan(scalled array).vi

I am getting data from AI Waveform Scan(scalled array).vi; the output is 2-D array, which I pass through Index array (with index value 0) to get data from one channel. It's output (1-D array) I pass to subvi which is only formula node within while loop(which was implemented for further development).
So what I expected to see on my formula node input was 1-D array of DAQ AI data(at least 1000 as this sets number fo scans value)
To my suprise I can see only one input value.
 
The application flow is as follows:
- While loop is preparing array of sinusiod data
- Sinusoid data are passed one at a time to AO using sequence loop
-  Next sequence reads data from AI
 
From above description it's obvious, that 1-D array can only be represented as one value at each loop execution.
 
My question is how to store in memory all consequtive AI data to array of i.e. 1000 samples and then process the data further?
Thanks
robert
0 Kudos
Message 1 of 2
(2,771 Views)
Hello,
 
It sounds like you may be using a FOR loop and it auto-indexed the array by default at the input.  Either that, or you are having trouble passing the array to your formula node.  If you are trying to pass an array into the FOR loop and avoid the auto-indexing, you simply need to right click on the array's tunnel into the loop and select "Disable Indexing" - SEE THE ATTACHED SCREENSHOT.  For help with formula node syntax, you'll find great documentation in the LabVIEW Help, which is linked from the Context Help (just click CTRL+H and hover over the formula node).
 
I hope this helps!  If you continue to have trouble, please try to be as specific as possible about which function or structure you are having trouble with, and perhaps attach a screenshot with an explanation.
 
Thank you,
 
Best Regards,
 
JLS

Message Edited by JLS on 04-19-2006 03:35 PM

Best,
JLS
Sixclear
0 Kudos
Message 2 of 2
(2,759 Views)