LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital edge reference trigger cant not be held off

Hi

I am trying to trigger the acquisition with my digital edge reference trigger (the period of trigger is 4ms).

The trigger can function successfully.

The acquired data from PCI 5124 has period of 4ms.

However, when I set a trigger holdoff (60ms) to the trigger.

the period of trigger is still the same(4ms).

Attached is the a screenshot of my VI.

Can anyone tell me how to fix it?

 

Yong-Siang

0 Kudos
Message 1 of 5
(2,609 Views)

Hello,

Can you post your VI ? From an image it is not possible to know the name of the functions you used, therefore I can't find help files.

I still managed to find this . "This property affects instrument operation only when the digitizer requires multiple acquisitions to build a complete waveform. The digitizer requires multiple waveform acquisitions when it uses equivalent-time sampling or when the digitizer is configured for a multirecord acquisition through a call to niScope Configure Horizontal Timing" 

 

What is the purpose of the holdoff you want to configure ? Do you simply want an acquisition every 60ms ?

Yddet

 

 

0 Kudos
Message 2 of 5
(2,575 Views)

Hi Yddet, 

Thank you for the swift response.

Yes, I simply want to acquire data every 60ms.

Attached is my .vi

Thank you very much!

0 Kudos
Message 3 of 5
(2,568 Views)

I don't know NI-Scope, I just discovered what holdoff means and I am not quite sure how to interpret the help file. So I will just suggest an alternative solution.

 

Don't use the holdoff and replace the while loop by a timed loop (in structures->timed structures). 

 

On a side note : You may not want to re-configure everything every 60ms. Only the acquisition needs to be repeated (maybe the Start too). The configuration VIs could go in an event structure.

Yddet

0 Kudos
Message 4 of 5
(2,561 Views)

Hi Yddet, 

Thank you for your reply.

But I am concerned about the clock or time delay may cause some problem.

Because the trigger and clock should be very accurate and precise.

Anyway, I'll try your purposed solution, and thank you very much!

 

BTW, if there is another solution, please let me know. HA HA

 

0 Kudos
Message 5 of 5
(2,553 Views)