Multiple Module Scanning
NI-SWITCH supports multiple module scanning for both PXI and SCXI switches in NI-DAQmx and NI-SWITCH.
NI-DAQmx
NI recommends NI-DAQmx for multiple module switch scanning. You can access the NI-DAQmx multiple module switch scanning programming examples at <LabVIEW>\examples\DAQmx\Switches. For more information about developing a multiple module switch scanning application using NI-DAQmx, refer to the NI Developer Zone document, Multi-module Scanning with National Instruments Switches at ni.com/zone.
NI-SWITCH
To scan multiple switches using NI-SWITCH, you can write a scan list or use the programming examples. When scanning multiple switch modules, you must duplicate the NI-SWITCH programming example for each switch you want to scan.
Determining the Scanning Setup
The scanning setup is dependent on your hardware and triggering scheme. Based on your hardware and triggering scheme, choose one of the following scanning setups:
Tip The niSwitch Multi Switch Synch Int, niSwitch Multi Switch Sync Ext, niSwitch Multi 27_28 Sync, niSwitch Multi Switch Hand Int, and niSwitch Multi Switch Hand Ext examples mentioned in the following sections are available at ni.com/support. Click Example Code and search for "Switch Multi-Module Scanning." |
PXI Scanning—Synchronous
- Setup 1—Using Internal PXI Trigger Lines
- Setup 2—Using AUX Trigger Cable Connected to Front of PXI Switch
PXI Scanning—Handshaking
- Setup 3—Using Internal PXI Trigger Lines
- Setup 4—Using AUX Trigger Cable Connected to Front of PXI Switch
SCXI Scanning—Synchronous
- Setup 5—Using SH9MD-AUX Cable
- Setup 6—Using AUX Trigger Cable Connected to the Front of the SCXI Switch
- Setup 7—Using Internal PXI/SCXI Trigger lines