Creating IVI Device to use in NI Switch Executive for a Switch That Cannot Be Simulated in NI MAX

Updated Oct 8, 2024

NI MAX doesn't have the option to simulate the PXIe-2746, how can I create a Virtual Device for it in NI Switch Executive?

There are a few NI switch modules that do not support this feature and the PXIe-2746 happens to be one of them. 
 
There are two alternatives:
  • It can be simulated in LabVIEW using the niSwitch Initialize With Topology function, but the simulated settings are not saved in NI MAX for future reuse.
  • Create an IVI Logical Name and use that. The Downside is that once everything has been configured as an IVI device, it should continue being used as an IVI device.
The steps to do so are as follows:
1. Open with NI Switch Executive
2. Expand My System
3. Expand IVI Drivers
4. Click Driver Sessions
5. Click Create New in toolbar on right
6. Rename Driver Session to something useful (ex: "IVI2747DS")
7. Click General Tab on bottom right
8. Change Simulate With to Specific Driver
9. Change Driver Setup to "topology:2747/Dual 8x1 Mux".
step 6.png
10. Click Software Tab on bottom right
11. Change Software Module to niSwitch
12. Click Save IVI Configuration
13. Click Logical Names
14. Click Create New in toolbar on right
15. Rename Logical Name to something useful (ex: "IVI2747LN")
16. Change Driver Session to name of the driver session you created (ex: "IVI2747DS")
step 16.png
17. Click Save IVI Configuration
18. Create a Switch Executive Virtual Device the Logical Name and create routes.
 
 

This is how it will look like in NI MAX with NI Switch Executive:
step 18.png

Next Steps

When you get your hardware, you can simply edit the Driver Session to include the device.
 
  1. Click your driver session
  2. Click General Tab on bottom right
  3. Change Simulate With to "Don't Simulate"
  4. Click Hardware tab on bottom right
  5. Click Add
  6. Give a valid name (ex: "Real2747")
  7. Click checkbox
  8. Change Resource Descriptor to the alias of the 2747 device you want to use.
  9. Add Description
  10. Click Save IVI Configuration
  11. Validate Virtual Device configuration in Switch Executive.