I bought these things:
NI PCI-6221, M SERIES DAQ (37-PIN) (16 ANALOG INPUTS, 10 DIGITAL I/O. 2 ANALOG OUTPUTS)
CB-37FH 37-PIN SCREW TERMINAL BLOCK, HORIZONTAL, DIN RAIL MOUNT
But the numbers on the terminal block don't seem to line up with the pinout shown here:
Could someone help me out? I have no idea what any of the pins are supposed to be.
I can't find a good picture of the connector block. How is it labeled? That connector block is a generic 37 pin block, so it is used for many products. Is it labeled by pin number or by signal?
That's a good picture. The terminal block pin numbers don't seem to line up with the ones from the DAQ board.
I'm not sure what you mean by this. AI0 should go to 1 and so forth. Are you saying that when you wire to pin 1 that you can't read the voltage on AI0?
AI0 doen't seem to pick up the signal correctly unless I have Vsig going into 1 and ground at 20. Then when I add AI1 I have Vsig in 2 and gnd in 21. I guess it may just be in some sort of differential format? How do I find out the pairings or change it to single ended?
Yep, it sounds like you have your channels setup to use differential (AI0 is + while AI8 is -). How are you setting up the channels? Can you post some code?
Here is the code I used to test it out.
Ok, I'm left to assume your channels are set up in MAX. Here's a screenshot of the channel configuration setup in MAX. You should notice the dropdown called "Terminal Configuration". You need to change this to RSE (Referenced Single Ended). You will want to connect your ground signals to an AI GND. The DAQ needs a reference of some sort.