Discussion:
PCI-656x niHSDIO_Initiate, DAQmx Error -200586 using STROBE sample clock
(too old to reply)
tmnoble
2007-05-03 00:10:08 UTC
Permalink
Does my Sample Clock need to be running before I call niHSDIO_Initiate???
 
I am using dynamic acquisition of Sample Clock on the STROBE port.
 

I used niHSDIO_Initiate and niHSDIO_Fetch instead of the atomic niHSDIO_Read operation
because I use GPIB to tell the PC when to start niHSDIO_Initiate and then start my DUT
running, and then call niHSDIO_Fetch to finish the acquisition and transfer the data.
 My external clock from the DUT into the STROBE port is not intially running and
intermittently stops and starts.  Every time I see a rising clock edge on STROBE,
I want to sample the data on DIO15..0.  I used to do this with NI-DAQ all the time.
 
When I call niHSDIO_Initiate with I get the error below.
 
DAQmx Error -200586 occurred:Hardware clocking error occurred.
If you are using an external sample clock, make sure it is connected and within specifications.
If you are generating your sample clock internally, please contact National Instruments Technical Support.
Device:  Dev1
Raajit L
2007-05-03 18:40:13 UTC
Permalink
tmnoble,

My external clock from the DUT into the STROBE port is not intially running and intermittently stops and starts.  Every time I see a rising clock edge on STROBE,I want to sample the data on DIO15..0.  I used to do this with NI-DAQ all the time.The acquisition clock needs to be free running, which is probably why you are receiving the error.  If you stop it in
the middle of an acquisition then your session will return a hardware
clocking error.  However, you could use a pause trigger to achieve
the same effect.  The pause trigger is a level based or pattern
match trigger that will hold off the acquisition while the trigger is
in its active state (selectable high or low). The Pause trigger indicates to the device that it should pause the acquisition
or generation. Therefore, the Pause trigger is only effective when received
during an active acquisition or generation session.More information on the Pause Trigger can be found <a href="http://digital.ni.com/manuals.nsf/websearch/5D18533BFA7570028625713F00814C83" target="_blank">here.</a> Regards
Loading...