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: 

USB-6001 Ext Trig Using PFI0

Solved!
Go to solution

Using the USB-6001 Multifunction DAQ:

 

Using the NIDAQmx C function, DAQmxReadAnalogF64, I get a status code error -200414 which means InvalidSmpClkSrc. I specify the Source as PFI0 in the DAQmxCfgSampClkTiming function. I have tried variations such as /Dev1/PFI0 but still get the error. Using a Null Source string and the internal sample clock, the device works normally and I get the analog data.

 

Can anybody let me know what is wrong?

0 Kudos
Message 1 of 3
(4,162 Views)
Solution
Accepted by topic author Jim1162

The USB-600x devices do not support external sample clocks.

 

On the USB-6001, PFI 0 and 1 may be used for counting digital edges or as start trigger signals for AO and AI. (See the PFI 0 and PFI 1 topic in the NI USB-6001/6002/6003 User Guide), not as an external sample clock signal.

Message 2 of 3
(4,137 Views)

Thanks,

 

I am going to upgrade to the USB-6210 so I can use PFI0 as a trigger for the sample clock.

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