04-28-2020 09:48 AM - edited 04-28-2020 09:55 AM
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
04-28-2020
11:16 AM
- last edited on
04-28-2020
08:03 PM
by
altenbach
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
04-28-2020 11:40 AM
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!
04-28-2020 12:07 PM
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
04-28-2020 02:03 PM
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