ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Pretrigger Samples minimum 2 for DAQmx Reference Trigger ?

DAQmx Trigger with Reference Analog Edge seems to require a minimum value of 2 for pretrigger samples per channel.

 

If correct, I do not see that mentioned in LabVIEW version 2017 Help nor DAQmx version 19.0

 

Steve

 

0 Kudos
Message 1 of 3
(2,146 Views)

I can't directly confirm the minimum=2 you seem to observe, but have seen several other areas around DAQmx where 2 is the minimum legal value.  So it sounds plausible that might be a real limit even if not clearly documented.

 

Do you get an error when you ask for 1 or does the task silently coerce you to 2?

 

 

-Kevin P

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 2 of 3
(2,132 Views)

Other situations of requiring a minimum value of 2 that I have experienced are related to clock ticks usage, for example with counter output pulse generation.

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P6i5SAC&l=en-US

I wouldn't think that pretrigger samples would require clock tick usage in this manner or at least think the DAQmx driver could accept a value of 0 and then adjust or configure the hardware and possibly the acquired data to accommodate values less than 2.

The task does not coerce to 2.

 

Steve

 

 

 

 

0 Kudos
Message 3 of 3
(2,117 Views)