LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview elapsed time block

Hi,

i want to acquire analog and counter inputs over a settable time period of 5-100 seconds. the trial vi i have created works basically. i can acquire the data multiple times, by repeatedly activating the single 'run' button in the top bar. see attached vi.

now i want to run the vi in 'continuous run' mode. but want to acquire the data, only on demand by pressing a button (such as a radio button) implemented in my vi. each time i hit this button, the timer must invoke and cause the acquisition of the data over the time set.

i have tried, but am unable to achieve this. request help.

--tushar

0 Kudos
Message 1 of 4
(3,093 Views)

hi tusman.,

  The usage time elapsed vi in the data acquisition is not advised,as it is a software timing and it is error-prone..Can you tell me which daq card are you using and if it is having the on-board clock ,directly from daqmx vis itself we can derice the clock and get the 50-300 seconds tinme which you are willing to and at the same time exaclty you can get the data also..For more information,you can check the examples in example finder on daqmx programming..

 

 

Thanks and regards,

srikrishnaNF

Regards,
Srikrishna


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

Hi Srikrishna,

appreciate your quick response and cautioning about using the block.

i am using ni pci-6224 and would like to achieve the functionality as stated in my problem.

--Tushar

0 Kudos
Message 3 of 4
(3,078 Views)

hi tusman,

  Please check the examples..and try to program accordingly..

 

 

Thanks and regards,

srikrishnaNF

Regards,
Srikrishna


0 Kudos
Message 4 of 4
(3,065 Views)