Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI6110: Mix NI-DAQ and register level programming

Hi,
is it possible to use high level NI-DAQ functions together with register level programming for the PCI6110 board? For example, to use NI-DAQ for AI and the GPCTRs and register level programming for AO.
I had a look on the Measurement Hardware Driver Development Kit (DDK), but this doesn't seem to working together with NI-DAQ. Besides that, I don't want to reprogramm my whole DAQ-application, but use (AO) interrupts to synchronise the waveform generation to an external signal.
Any hints?
Regards,
Christian Schuld
0 Kudos
Message 1 of 4
(2,712 Views)
Christian,

It generally is not possible to use the MH DDK and NI-DAQ driver together. Because the NI-DAQ driver is not aware of the MH DDK and any changes you might be making on the hardware, it will likely reprogram or change certain registers or reset parts of the board that will invalidate your programming through the MH DDK. There may be cases where the two can coexist in an application depending on the specifics of the programming, but there are not any guidelines when that might be possible.

If you can provide us more information about the details of your application and how you would like to synchronize the AO operation, we might be able to suggest a way to accomplish this using the NI-DAQ driver.

Christian L
NI Consulting Services
authored by
Christian L, CLA
Systems Engineering Manager - Automotive and Transportation
NI - Austin, TX


  
0 Kudos
Message 2 of 4
(2,712 Views)
Christian,

Thanks for the quick answer. I'm using the AO to output two controling signals for a pressure measurement device. Both signals have the characteristics of retriggerable pulse trains, so the two GPCTRs can not be used for their generation.
The trigger in my case is an active low pulse of f_video=k*60Hz (k = 1..4) form a video system. To this pulse I would like to synchronize the measurement of the pressure data, which have a sample rate of f_pressure = l*f_video (l=1..4, f_pressure < 500Hz)
frames/s. The variance of f_video is too high to trigger once for long time measurements. So I would like to trigger to every n'th pulse of f_video, where n is as small as possible.
My idee using DDK was to do some kind of retriggerable waveform gener
ation, where I rearm the AO in the interrupt service routine for a trigger.
So if you see way to do this with NI-DAQ, please let me know.

Christian Schuld
0 Kudos
Message 3 of 4
(2,712 Views)
Any comments to my idea of a "retriggerable waveform generation"?
0 Kudos
Message 4 of 4
(2,711 Views)