LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Analog inputs with different amplitudes

Hello,
I'm using LabView 6.1 and PCMCIA 6062E card.
I'm trying to acquire two signals of different amplitudes (the first one varies between -0.008 and +0.008V, and the second one between -1.0 and +1.0V).
I use for both signals one AI Config, one AI Start and one AI Read VIs. I've defined two differents input limits for AI Config (one for each signal), but it seems that only the first input limits are used, because I can't get the proper signal sampling.
In the configuration given in the attached phil.jpg file,
my first signal is OK, but the second one is truncated between -0.05 and +0.05V (phil2.jpg).
If I invert the order of the two signals (i.e. by specifying channels 1,0 instead of channels 0,1),
and I inver
t the inputs limits, now the smallest signal is undersampled.

What's the problem? What can I do?
Thank you, Phil
Download All
0 Kudos
Message 1 of 3
(2,691 Views)
It's not clear from your question how you're specifying channels. The channel list to AI Config is an array. If the first element in the array has a list of 0,1 then both channels are sampled with the settings of the first element in the input limits array. Make the first element in the channel array just channel 0 and make the second element in the channel array just channel 1.
Message 2 of 3
(2,691 Views)
Thank you Dennis!
This is exactly the answer to my problem.
I only used a one-element array for the channel list, and listed my two channels in this same element. I did not know I had to use a two-element array in the channel list
Now, it works great.
Thanks again!
Philippe
0 Kudos
Message 3 of 3
(2,691 Views)