08-26-2008 10:10 AM - edited 08-26-2008 10:10 AM
Helo,
I generete a sinusoidal signal (Analog output channel AO0 with Ni usb-6221) and simultaneously I acquare two different signals (with SCXI-1102-B):
- Analog input channel ai5 [-10V 10V]
- Analog input channels ai8:25 [-0.001V 0.003V]
I have a good sychronization between the Daqmx write (generator) and the Daqmx read (Measures).
My problem:
I want an acquisition of two types of input signal with two different scales.
How does it change "Daqmx creat channel" to get two different gains (scales).
I will be greatfull for any idea or Info , Thank you in advance, Jérôme
08-28-2008 11:59 AM
Hello Jérôme,
You can configure multiple scales for the same DAQmx task by calling two DAQmx Create Channel VI's and passing the task out of the first into the task in of the second. More generally speaking there is a developer zone example program that shows how to do this in a loop: NI-DAQmx: Using Multiple Scales with NI-DAQmx
I hope this helps, and have a great day!
Cheers,
08-29-2008 02:12 AM - edited 08-29-2008 02:15 AM
Thanks a lot for this assistance.
Your solution run perfectly.
Thanks, jérôme