Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

[python : nidaqmx]How to set the Sample Timing Type ?

Hi,

When I run the example of NIDAQMX Python API, it told me that my device didn't support the "On Demand" sample type, it should be set as "Sample Clock". But I didn't find any methods to configure this, maybe the "On Demand" is a default setting, so how can I specify it by python code?

0 Kudos
Message 1 of 2
(2,464 Views)

"On demand" is the default.  I don't know the python API, but in LabVIEW we call "DAQmx Timing" to define a hardware sample clock and a task buffer.  I'd look for functions with names like Timing or SampleClock that require arguments related to a sample clock and a buffer size.

 

 

-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 2
(2,437 Views)