LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get only seconds from the time block function?

How many times did you want elapsed time to run?- Just the Once?

 

Stick it in the acquisition loop!


"Should be" isn't "Is" -Jay
0 Kudos
Message 11 of 17
(1,278 Views)

Where do I have to wire the iteration of for loop to?

0 Kudos
Message 12 of 17
(1,257 Views)

It would be appreciated if you show me as an image or file. I want it to start from 0, 1, 2,... till I stop the run button

0 Kudos
Message 13 of 17
(1,248 Views)

Hello,

 

what sense has the wait funktion in the second for loop?

 

I think you you have to another wait function that influence the time you´re want tool.

--> I work for KUDOS <--
0 Kudos
Message 14 of 17
(1,217 Views)

The reason why I have a waiting function in the second for loop is to make the user able to change the data saving frequency appearing in the front panel. Unfortunately it isn't correct. The data saving frequency in the text file isn't corresponding to the the delay time in the code. It should be starting from 0,1,2,3,4... if the user enters 1000ms. or 0, 0.5, 1, 1.5,...  if the user enters 500ms.

 

Do you have any ideas?

0 Kudos
Message 15 of 17
(1,204 Views)

Hello,

 

The wait function in the for loop causes that for every element in the loop you have to wait the defined time.

For example:

The array has five Elements and you want set the Time on 100 ms the Data would be saved every 500 ms after the for loop ends.

 

Greez

--> I work for KUDOS <--
0 Kudos
Message 16 of 17
(1,180 Views)

Hello,

 

is your Problem already resolved?

 

Greez

--> I work for KUDOS <--
0 Kudos
Message 17 of 17
(1,145 Views)