National Instruments Switch Executive Quick Reference Manual
National Instruments Switch Executive Quick Reference Manual

National Instruments Switch Executive Quick Reference Manual

National instruments switch executive quick reference guide

Advertisement

Quick Links

QUICK REFERENCE GUIDE

National Instruments
Switch Executive
This document contains quick reference information about examples, VIs/functions,
route specification strings, and error codes for NI Switch Executive (NISE).
Examples
ICON
VI/FUNCTION NAME AND DESCRIPTION
Getting Started
Opens a session and makes a route connection.
Interactive Control
Uses many of the API functions through an interactive tool.
Route Specification Syntax Example
Demonstrates the many different aspects of route specifications, including
usage of routes, route groups, fully specified routes, and combinations of
route types.
Sequenced Connect And Disconnect
Uses Connect and Disconnect to sequence through different switching
system states.
Using Find Route to Connect Two Channels
Uses Find Route to determine a path between two channels and then
connects the path.
TM

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Switch Executive and is the answer not in the manual?

Questions and answers

Summary of Contents for National Instruments Switch Executive

  • Page 1: Quick Reference Guide

    QUICK REFERENCE GUIDE National Instruments Switch Executive This document contains quick reference information about examples, VIs/functions, route specification strings, and error codes for NI Switch Executive (NISE). Examples ICON VI/FUNCTION NAME AND DESCRIPTION Getting Started Opens a session and makes a route connection.
  • Page 2 This VI/ function is useful for switching from one state to another state. NISESession NISEConstString NISEConstString † Function names for C, C++, LabWindows NI Switch Executive Quick Reference Guide PARAMETER VALUE TO SET, COMMENTS virtualDeviceName Name of the NISE virtual device to open a session to...
  • Page 3 • Return = the size required to hold the entire route string routeCapability • PATH_AVAILABLE (1) • PATH_EXISTS (2) • PATH_UNSUPPORTED (3) • RSRC_IN_USE (4) • SOURCE_CONFLICT (5) • CHANNEL_NOT_AVAILABLE (6) • CHANNELS_HARDWIRED (7) Functions continued on the next page NI Switch Executive Quick Reference Guide...
  • Page 4 Queries for and returns the most recent error. NISESession sessionHandle NISEStatus* [out] errorNumber NISEBuffer* [out] errorDescription NISEInt32* [out] errorDescriptionSize NI Switch Executive Quick Reference Guide PARAMETER VALUE TO SET, COMMENTS sessionHandle Reference to virtual device session • NISE_TRUE • NISE_FALSE sessionHandle Reference to virtual device session...
  • Page 5 ). For example, in the following line of & can be: ) delimiter. For example, , other than an endpoint, within a route specification used as endpoints must not be reserved for routing NI Switch Executive Quick Reference Guide . NISE dynamically ->...
  • Page 6: Error Codes

    –29001 The IVI-specific driver does not support simulation mode. INVALID_VIRTUAL_DEVICE_NAME FFFF8EB6 –29002 The specified NI Switch Executive virtual device is invalid or does not exist. INVALID_SESSION FFFF8EB5 –29003 This session is not a valid NI Switch Executive virtual device session.
  • Page 7 VALUE VALUE DESCRIPTION (HEX) (DECIMAL) IMPORTING_FILE_FORMAT FFFF8EA9 –29014 The file is not a valid NI Switch Executive configuration file. INVALID_END_POINTS FFFF8EA8 –29015 The endpoints of the path do not match the existing endpoints. INVALID_PATH FFFF8EA7 –29016 Cannot connect this path on the device.
  • Page 8: Programming Flow

    FFFF8E94 –29036 Route cannot be found between the specified endpoints. Programming Flow The following diagram shows a typical programming flow for NI Switch Executive. , IVI ,LabVIEW , National Instruments National Instruments Corporation. Product and company names mentioned herein are trademarks or trade names of their respective companies.

Table of Contents