Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Switch Executive Error -1074118655 in TestStand Application

Primary Software: TestStand
Primary Software Version: 3.1
Primary Software Fixed Version: N/A
Secondary Software: Switch Executive, Instrument Drivers/IVI

Problem: I'm building an application using the switching capabilities in TestStand, but have gotten to a point where I need to do several steps in between switching and have decided to build a VI in LabVIEW that I will call from TestStand. However, when I insert the LabVIEW VI as an action in my sequence and run my sequence in TestStand, I always encounter error -1074118655 when it calls the LabVIEW VI. Why is this happening? Is there a workaround?

Solution: Error -1074118655 occurs when a program attempts to open more than one session to any particular IVI Device. In this case, this error occurs because the both TestStand and LabVIEW are calling the Switch Executive DLL and trying to create a session reference to a single Switch Executive Virtual Device. This, in turn, results in trying to open two sessions to a single IVI Device, which is not allowed.. Currently the easiest way to get around this is to make a choice: either do all of your switching in LabVIEW or do all of your switching in TestStand.

This error should not occur if you are trying to accomplish switching on two different switch devices.

Related Links:
TestStand Support
LabVIEW Support
National Instruments Switch Executive Getting Started Guide

Attachments:





Report Date: 10/21/2004
Last Updated: 11/14/2004
Document ID: 3EK7ROQT

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit