API Support for Switch Modules
- Updated2025-12-03
- 8 minute(s) read
Switch modules can support any of four different ways to control their relays. You may use the APIs interchangeably, but NI recommends using a single API for each application.
Supported Topologies
Every switch module supports one or more topologies. Changing the topology alters the functionality of the switch and, in many cases, changes the list of supported channel names.
Special Considerations
Some switch modules have specific behaviors that you must consider when developing applications. These are described in the following table.
| Device | Supported APIs | Supported Topologies |
|---|---|---|
|
|
2810/1-Wire 4×43 Matrix |
|
|
2811/1-Wire 8×21 Matrix |
|
|
2812/1-Wire 16x9 Matrix |
|
|
2813/2-Wire 4x21 Matrix |
|
|
2814/2-Wire 8x9 Matrix |
|
|
2815/1-Wire 4×86 Matrix |
|
|
2816/1-Wire 8×46 Matrix |
|
|
2817/1-Wire 16x22 Matrix |
|
|
2833/2-Wire 4x71 Matrix |
|
|
2834/2-Wire 8x34 Matrix |
|
|
2865/1-Wire 4x84 Matrix |
|
|
|
|
|
|
|
|
Independent |
|
|
Independent |
|
|
Independent |
|
|
Independent |
|
|
|
|
|
|
|
|
53-SPDT Switch |
|
|
26-DPDT Switch |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2533/1-Wire 4x64 Matrix |
|
|
2534/1-Wire 8x32 Matrix |
|
|
2535/1-Wire 4x136 Matrix |
|
|
2536/1-Wire 8x68 Matrix |
|
|
2542/Quad 2x1 Terminated Mux |
|
|
2543/Dual 4x1 Terminated Mux |
|
|
2544/8x1 Terminated Mux |
|
|
2545/4x1 Terminated Mux |
|
|
2546/Dual 4x1 Mux |
|
|
2547/8x1 Mux |
|
|
2548/4-SPDT |
|
|
2549/Terminated 2-SPDT |
|
|
2554/4x1 Mux |
|
|
2555/4x1 Terminated Mux |
|
|
2556/Dual 4x1 Mux |
|
|
2557/8x1 Mux |
|
|
2558/4-SPDT |
|
|
2559/Terminated 2-SPDT |
|
|
|
|
|
2565/16-SPST |
|
|
|
|
|
2567/Independent |
|
|
|
|
|
|
|
|
|
|
|
2571/66-SPDT |
|
|
|
|
|
|
|
|
|
|
|
2585/1-Wire 10x1 Mux |
|
|
|
|
|
2590/4x1 Mux |
|
|
2591/4x1 Mux |
|
|
|
|
|
2594/4x1 Mux |
|
|
2595/4x1 Mux |
|
|
2596/Dual 6x1 Mux |
|
|
2597/6x1 Terminated Mux |
|
|
2598/Dual Transfer |
|
|
2599/2-SPDT |
|
|
Independent |
|
|
Independent |
|
|
Independent |
|
|
Independent |
|
|
Independent |
|
|
2796/Dual 6x1 Mux |
|
|
2797/6x1 Terminated Mux |
|
|
2798/Dual Transfer |
|
|
2799/2-SPDT |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1160/16-SPDT |
|
|
1161/8-SPDT |
|
|
1163R/Octal 4x1 Mux |
|
|
|
|
|
1167/Independent |
|
|
|
|
|
|
|
|
1190/Quad 4x1 Mux |
|
|
1191/Quad 4x1 Mux |
|
|
1192/8-SPDT |
|
|
|
|
|
1194/Quad 4x1 Mux |
|
|
1195/Quad 4x1 Mux |
SCXI-1127 Considerations
To route signals to the analog bus backplane, you must enable the switch device property AutoConnAnlgBus. As a result, if you connect a channel (ch1) to the common channel (com0), the signal is automatically routed from com0 to the analog bus (ab0).
The device supports only continuous scanning.
If you have used immediate or relay operations to change relay states before starting a scan, all of those relays are opened when the scan starts. After the scan completes, the relays are returned to their previous state prior to the scan.
Early revisions of this hardware reserve the SCXI_TRIG1 line. If you place an older revision of this hardware (earlier than revision E) into an SCXI chassis that also contains an SCXI analog input module that performs track and hold (such as the SCXI-1140 or SCXI-1520), you may get reservation errors when trying to use the SCXI analog input module.
SCXI-1128 Considerations
To route signals to the analog bus backplane, you must enable the switch device property AutoConnAnlgBus. As a result, if you connect a channel (ch1) to the common channel (com0), the signal is automatically routed from com0 to the analog bus (ab0).
The device supports only continuous scanning.
If you have used immediate or relay operations to change relay states before starting a scan, all of those relays are opened when the scan starts. After the scan completes, the relays are returned to their previous state prior to the scan.