LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Which pin is AI0 ?

Hello all,
I'm back to using CVI and NI hardware after a few years doing other
things. I'm learning the new DAQmx stuff too (I'm sure I'll have plenty
of questions about that later)...

I have contradictory information on how to connect the analog input 0 on
a PCI-6025E card:
The 100-68-68 connector pinout clearly states that on the MIO-16
connector the AI-GND goes on pin 67 and the AI-0 goes on pin 68.
In the meanwhile, NIDAQmx tasks connection diagram wizard states that
CH- goes on pin 4 and CH+ on pin 3.

And neither work... Now which is which ?
--
Guillaume Dargaud
http://www.gdargaud.net/Antarctica/
"My goal is to be a meteorologist. But since I possess no training
in meteorology, I suppose I should try stock brokerage." — Found in a
resume.
0 Kudos
Message 1 of 3
(3,132 Views)

Channel 0 appears on pin 3-4 (diff configuration) at the board connector. If you connect the 100-68-68 cable, you'll get channel 0 on pin 68 and channel 8 on pin 34 of the base 68-pin connector. Pin 67 is connected to AIGND so if you are acquiring in diff configuration your negative channel is left unwired.

BTW I found some useful informations in the year on your website and never thanked you so here I am: thank you and I'm happy if I have helped you. Smiley Happy



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(3,124 Views)
Roberto Bozzolo wrote :
> Channel 0 appears on pin 3-4 (diff configuration) at the board connector. If you connect the 100-68-68 cable, you'll get channel 0 on pin 68 and channel 8 on pin 34 of the base 68-pin connector. Pin 67 is connected to AIGND so if you are acquiring in diff configuration your negative channel is left unwired.

Thanks Roberto, that was useful.

I'm new to using DAQmx (as opposed to the old DAQ) and I'm not very
clear yet on how it operates. I'm currently doing things this way:
DAQmxCreateTask
DAQmxCreateAIVoltageChan
DAQmxStartTask
DAQmxReadAnalogF64 (single sample, repeat calls in a timer loop)
DAQmxStopTask
DAQmxClearTask
But I notice that after a minute or so the CPU maxes out to 100%, so
there must be something wrong.

> BTW I found some useful informations in the year on your website and never thanked you so here I am: thank you and I'm happy if I have helped you. Smiley Happy

You're welcome.


--
Guillaume Dargaud
http://www.gdargaud.net/Photo/
"First we thought the PC was a calculator. Then we found out how to
turn numbers into letters with ASCII — and we thought it was a
typewriter. Then we discovered graphics, and we thought it was a
television. With the World Wide Web, we've realized it's a brochure."
— Douglas Adams (1952—2001)
0 Kudos
Message 3 of 3
(3,108 Views)