Setting a Specific Resistance Value with NI-SWITCH and Routing and Faulting Custom Devices in VeriStand

Updated Feb 11, 2025

Environment

Hardware

  • PXI-2720
  • PXI-2722
  • PXIe-2725
  • PXIe-2727

Software

  • VeriStand

Normally, I use NI 272x Resistive Simulation Custom Device to set the resistance value for temperature simulation. As this CD is not NI-supported, so the technical support is limited. NI-SWITCH and Routing and Faulting custom devices are supported by NI R&D. This article will introduce how to set a specific resistance value with NI-SWITCH and Routing and Faulting Custom Devices in VeriStand.

  1. Right Click on Custom Devices>>NI>>NI_SWITCH.

Capture.JPG

  1. On the NI-SWITCH Main Page, type the Resource name appearing in NI MAX.

Capture.JPG

Capture.JPG

  1. Select 2727/Independent in Topology for PXIe-2727.

Capture.JPG

  1. Observe that the Endpoint Configuration in NI-SWITCH are auto-populated once the topology is selected. Leave them as default.

Capture.JPG

  1. Right Click on Custom Devices and select Routing and Faulting Custom Device.
  2. Right Click on Routing Channels and select Add Routing Channel to add a channel.

Capture.JPG

  1. To configure the Routing and Faulting Custom Device to set 60 Ohm (4 Ohm + 8 Ohm + 16 Ohm + 32 Ohm) on CH0, follow the following steps:
    1. Under the State Configuration, click Add State and edit the State Name to "60 Ohm".

Capture.JPG

    1. To edit the connection, click the three-dot button in the row of Source and Destination.

Capture.JPG

    1. Close the relays: b1shunt, bc01, b0r0, b0r1, b0r2, b0r3 to set 60 Ohm for CH0.

Capture.JPG

Capture.PNG

    1. Select the Source as b1 and Destination as b1shunt to close the relay b1shunt. Select the Source as b0 and Destination as b1 to close the relay bc01. Select the Source as b0 and Destination as b0r0 to close the relay b0r0. Select the Source as b0 and Destination as b0r1 to close the relay b0r1. Select the Source as b0 and Destination as b0r2 to close the relay b0r2. Select the Source as b0 and Destination as b0r3 to close the relay b0r3. 

Capture.JPG

  1. To configure the Routing and Faulting Custom Device to set 446 Ohm (2 Ohm + 4 Ohm + 8 Ohm + 16 Ohm + 32 Ohm + 128 Ohm + 256 Ohm) on CH1 by closing relays: bc23, b2r0, b2r1, b2r2, b3r0, b3r3, b3r4, b3r5, b3r6, b3r7, b3.

Capture.PNG

Capture.JPG

After following the above steps, you can set the resistance as you want.