LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

queue for array and while loop

Hi,
I've got the following problem: I want to generate a waveform chart which should contain at the beginning 20 values read from an array and then it should contain measured values from a while loop until I stop the while loop.
When I tried this and I loop the dequeing element it reads only the values from the while loop, when I'm not looping it it will only read the array?!

Mike Smiley Happy
Win XP, LabView 8.20
0 Kudos
Message 1 of 5
(3,286 Views)
Hmmm,
ok, found out that it was the "clear history" property note...so problem seems solved. But is there a solution that the history should only be deleted at the beginning of the VI?

Mike


Win XP, LabView 8.20
0 Kudos
Message 2 of 5
(3,282 Views)
Use the FirstCall? vi.

It is located at different points in different LV versions, so use search.

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 3 of 5
(3,275 Views)
Thx, works just fine.

MikeSmiley Very Happy
Win XP, LabView 8.20
0 Kudos
Message 4 of 5
(3,271 Views)

Hey guys, I think maybe you can help me. At the moment I am logging 2 values (pressure and Acoustic emissions) to a file at 40Hz. I want to be able to populate an XY chart on screen when I fnish logging (stop the while loop) I have attahced my VI for reference: Any help will be greatly appreciated as I am fairly inexperienced using labview.

 

Thanks

 

MY PREVIOUS POST:

Hi, Hopefully someone can help. I have attahced my VI.

 
I am happy with how to write data to a file, which I have already done. The next thing I want to do, is write the pressure and acoustic values to an array for the duration of my testing (Testing is when the log switch is on). Once I switch the log button on my front panel off, I want to be able to call another VI which will display an XY graph of the Pressure and acoustics Vs Time. This will be populated from the array I create. Can anyone please help.
 
Thanks in advance.
0 Kudos
Message 5 of 5
(3,257 Views)