niSwitch Error -1074130544: The Session Handle Is Not Valid in LabVIEW

Updated Mar 20, 2019

Reported In

Software

  • LabVIEW

Driver

  • NI-SWITCH

Issue Details

I am trying to create a LabVIEW application for my switch hardware using NI-SWITCH and running into the following error message: 
Error -1074130544 ocurred at niSwitch Get Relay Count.vi
Possible reason(s):
IVI: (Hex 0XBFFA1190) The session handle is not valid.

Solution

Make sure you have one of the niSwitch Initialize VIs at the beginning of your dataflow. An NI-SWITCH session is established with the niSwitch Initialize With Topology VI, the niSwitch Initialize With Options VI, or the niSwitch Initialize VI

WAS THIS ARTICLE HELPFUL?

Not Helpful