Data acquisition and control products for USB, USB-104, USBP, PICO-IO, USB-PICO, PC/104, PCI, PCI-X, PCIe, PCI Express, PCI-104, PC104+, LPCI, Low Profile PCI, Ethernet and ISA, as well as distributed and wireless I/O. Encompassing Analog and Digital I/O, RS-232, RS-422, and RS-485 serial communication, isolated boards and solutions including integration. For a PCI device with two functions, amend the XML configuration file to include a second device with the same slot number as the first device and a different function number, such as function='0x1'.
i. Selecting a DAQ Board
NIMH MonkeyLogic works with any NI board that is supported by the NI-DAQmx driver. It may be advantageous to see if you already have a usable NI board. If you purchase a new board, it is best to obtain one that can handle all the I/O needs in one board. NIMH ML can use multiple boards, but it does not require two NI boards unlike the original MonkeyLogic. Be aware that older (PCI bus) cards cannot be used if your new computer does not have any PCI slot. The following table lists some current NI board models that are suitable for general I/O requirements.
|Model||Analog Input (SE / DIff)||Analog Output||Digital I/O|
|PCIe-6320||16 / 8||0||24 (P0: 8, P1: 8, P2: 8)|
|PCIe-6321||16 / 8||2||24 (P0: 8, P1: 8, P2: 8)|
|PCIe-6323||32 / 16||4||48 (P0: 32, P1: 8, P2: 8)|
ii. Device Pinouts
Connecting external devices to the NI board requires knowing which pin is mapped to which signal. Locate the necessary information in the product's datasheet or by right-clicking on installed devices in the NI Measurement & Automation Explorer (NI MAX) software.
Inputs from external devices can be connected to NI boards via NI terminal blocks. Unshielded screw terminal blocks, such as CB-68LP and CB-68LPR, are low-cost and good for designing a custom interface box. There are also BNC terminal blocks, like BNC-2090A, for a ready-made solution. For the details, please refer to the NI DAQ Multifunction I/O Accessory Guide.
iii. Analog Input Ground Configuration
The grouding scheme of analog input of an NI data acquisition board must be wired and configured correctly in NIMH ML. There are typically three ground configurations available for NI devices; differential (DIFF), referenced single-ended (RSE) and nonreferenced single-ended (NRSE).
For a signal source referenced to the earth or building ground, try the RSE mode. In a typical lab environment, many devices run on custom power supplies or batteries and their voltage output may not be referred to an absolute reference. For those signals, try DIFF or NRSE. For more information, see Field Wiring and Noise Considerations for Analog Signals.
The [AI configuration] option on the MonkeyLogic main menu must be set to match the configuration.
Differential mode (DIFF)
In the differential mode, the potential difference is measured between two terminals seperated by 8 channels, for example, AI 0 (+) and AI 8 (-). This mode can deliver more accurate measurements with less noise but takes twice as many channels of the NI board as the other modes.
(Referenced) Single-Ended mode (RSE)
In this mode, the measurement is made with respect to a single common ground node, AI GND. Connect the (+) input to an AI channel pin (AI 0, AI 1, ...) and the (-) input to AI GND.
I-o Data Multifunction Devices Driver Updater
Nonreferenced Single-Ended mode (NRSE)
I-o Data Multifunction Devices Driver Epson
The NRSE mode also makes all measurements with respect to a single node (AI SENSE), but the potential at this node is not an absolute reference and can vary. If you have many custom devices and it is uncertain whether they are properly grounded or not, use NRSE. Connect the (+) input to an AI channel pin (AI 0, AI 1, ...) and the (-) input to AI SENSE.