LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CRIO 9045 Onboard Clock not working

Solved!
Go to solution

Hello,

 

I am trying to use the onboard clock of my crio 9045 to acquire voltage input but keep getting this error message

FlyingSquirrel123_0-1719415072935.png

I should be able to use the clock. In the project explorer I clicked deploy all as well. Not sure why this is being a pain. I am deploying the code via LabVIEW Real Time

 

If anyone can help that would be great.

 

Thank you

0 Kudos
Message 1 of 2
(462 Views)
Solution
Accepted by topic author FlyingSquirrel123

Short answer: you can probably leave the 'source' input unwired in your call to DAQmx Timing and let DAQmx do its default thing.

 

Longer answer: that "default thing" will use a high speed internal "Sample Clock Timebase" (possibly even the 10 MHz cRIO clock you tried) to divide down and derive the 100 kHz "Sample Clock" that you want for this acquisition.   The call to DAQmx Timing wants you to specify the source of the actual "Sample Clock" signal, not the timebase from which it gets derived.

    Leave the source unwired but continue to specify your desired 100 kHz for the rate.  DAQmx will handle the underlying details (assuming your DAQ device is capable of 100 kHz sampling).

 

 

-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.
Message 2 of 2
(453 Views)