Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

multiple AI scale

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

Message Edité par jeordill le 08-26-2008 10:10 AM
Jérôme DILLET
Ingénieur de Recherche CNRS
LEMTA - INPL BP 160
2 avenue de la foret de Haye,
F-54504 Vandoeuvre les Nancy Cedex
Download All
0 Kudos
Message 1 of 3
(2,857 Views)

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,

Brooks
0 Kudos
Message 2 of 3
(2,834 Views)

Thanks a lot for this assistance.

Your solution run perfectly.

Thanks, jérôme

Message Edité par jeordill le 08-29-2008 02:15 AM
Jérôme DILLET
Ingénieur de Recherche CNRS
LEMTA - INPL BP 160
2 avenue de la foret de Haye,
F-54504 Vandoeuvre les Nancy Cedex
0 Kudos
Message 3 of 3
(2,825 Views)