LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

making timer

Dear
 
I would like to make a timer for saving data intermittently under continuous data aquisition.
Actually, I realized this thing by comparing the difference of before/after time.
But I am wondering if there is an advance method in making a timer.
 
1. Is there some timer event like in C++ windows programming?
 
Please open my attachment.
When I used Queue method in my rough thinking, I could obtain a real Queue result.
(My purpose is to select a point of data streaming at copy wait time.)
2. How can I send the data(above while loop) in real time to below while loop?
Is it impossible? 

메시지가 09-12-2005 05:30 AM에 labmaster에 의해 편집되었음

0 Kudos
Message 1 of 4
(2,936 Views)
Using your queque method
will not not have a problem with the time?
IF wait time is 2 times longer then copy time  then you could actually delete all data in queque.
Likewise the opposite could happen that you create an inifinite queque if copy time is excessive long in relation to wait time.

Humm




I'll wait Smiley Very Happy
chow xseadog
0 Kudos
Message 2 of 4
(2,929 Views)

The problem in my code is to show the prior results ( As the word Queue, see attachment's panel).

What I want is to save a real time point at a time.

0 Kudos
Message 3 of 4
(2,900 Views)

I may be misunderstanding you, but if you want to display the contents of the data as you obtain it and pull it out of the queue, then the array indicators have to be inside the while loop. Otherwise the output of the shift register doesn't release its data until the while loop finishes executing.

Is that what you're asking?

Jarrod S.
National Instruments
0 Kudos
Message 4 of 4
(2,872 Views)