LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Building an array

Hi,

I am trying to create an array of samples from my FP-AI-110,  I seem to be replacing the first element of the array each time when what i want is to create a new element for each sample.  I am inside a while loop and the reason i need the array build is so that i can create a waveform of my readings.

I should attach my vi so that it can be analysed.

I am using Lab View 6.1 and I am a student using it for the first time so please excuse the simple questions.

Thank you,
Laura
0 Kudos
Message 1 of 5
(2,726 Views)

Hi Laura,

You do not need that while loop to build array.

Do as shown in the PIC attached, to build array out of the two elements and save it to file. ( look at comments in red)

also use 'chart' instead of graph to display.

Any doubts do get back

regards

Dev

0 Kudos
Message 2 of 5
(2,717 Views)
Thank you so much for that, the only thing i am unsure of is how to make t0 (in the build waveform vi) a different sink type (it is currently a dbl)

thank you, laura
0 Kudos
Message 3 of 5
(2,704 Views)
I've worked it out!  Thank you so much for your quick response, that was so kind.. I am very grateful because now my project is coming along nicely.  Thanks again.  Laura
Message 4 of 5
(2,700 Views)

Glad to have been of assistance Laura.

All the best

Regards

Dev

Message 5 of 5
(2,672 Views)