Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

multiple channels with multiple callbacks

Dear sir,

I have recently purchased NI-DAQ 6034E. I have met some problems while programming my application.
I tried running scanning two analog channels and which will trigger my two different callback functions.
My application shows error 10698-Cannot use this combination of scan and sample clock timebase for this board.

Please Advise.

Yours sincerely
C.J
0 Kudos
Message 1 of 2
(2,610 Views)
CJ,

The error 10698 specifies the following reason for the error: "You cannot use this combination of scan and sample clock timebases for this board." From this error, it sounds like you are attempting to manual configure clocks of your device for values that conflict with each other or are not allowed based on the specifications of your device.

For the application that you are performing, I would recommend looking through the shipping examples (location will depend on what you are programming this in and other details not included in your post) as well as searching through the examples online at http://www.ni.com/support. I would take a look at how they configure the timing of their devices to make sure that you are specifying these settings correctly in the
configuration of your 6034E.

Also keep in mind that the sample and scan clock refer to the clock that controls when a scan begins. For multi channel scanning, a convert (channel) clock is used to determine when each channel in a single scan is sampled. Be sure that you are not mixing Traditional and NI-DAQmx functions.

If you have any more questions then please include more information on your application, API, and details as to when the error occurs.

Regards,
Michael H
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,610 Views)