NI Switch Executive

Table of Contents

niseCfg Get Object VI

  • Updated2023-02-21
  • 15 minute(s) read

Returns the reference to an object.

All objects that you retrieve from the API must be closed with the niseCfg Close Object VI.

niseCfg Get Virtual Device

Returns the virtual device from the NI Switch Executive configuration.

niseCfg Get Virtual Device

crn.gif

niseCfg is the NI Switch Executive configuration session handle. Call the niseCfg Open Configuration VI to obtain the session handle.

cstr.gif

Virtual Device Name specifies the name of the virtual device to retrieve from the configuration.

cerrcodeclst.gif

error in (no error) describes error conditions that occur before this node runs. This input provides standard error in functionality.

cbool.gif

status is TRUE (X) if an error occurred before this VI ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI ran. The default is FALSE.

ci32.gif

code is the error or warning code. The default is 0. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.

cstr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI that produced the error or warning. The default is an empty string.

irn.gif

niseCfg out is the NI Switch Executive configuration session handle. Call the niseCfg Open Configuration VI to obtain the session handle.

incrn.gif

Virtual Device is the reference to the virtual device.

ierrcodeclst.gif

error out contains error information. This output provides standard error out functionality.

ibool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

ii32.gif

code is the error or warning code. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.

istr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI that produced the error or warning.

niseVirtualDevice Get Bus

Returns a bus on the virtual device.

niseVirtualDevice Get Bus

cncrn.gif

Virtual Device is the reference to the virtual device. Call the niseCfg Get Virtual Device VI to obtain the reference.

cstr.gif

Bus Name specifies the name of the bus to retrieve from the virtual device.

cerrcodeclst.gif

error in (no error) describes error conditions that occur before this node runs. This input provides standard error in functionality.

cbool.gif

status is TRUE (X) if an error occurred before this VI ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI ran. The default is FALSE.

ci32.gif

code is the error or warning code. The default is 0. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.

cstr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI that produced the error or warning. The default is an empty string.

incrn.gif

Virtual Device out is the reference to the virtual device. Call the niseCfg Get Virtual Device VI to obtain the reference.

incrn.gif

Bus is the reference to the bus.

ierrcodeclst.gif

error out contains error information. This output provides standard error out functionality.

ibool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

ii32.gif

code is the error or warning code. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.

istr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI that produced the error or warning.

niseVirtualDevice Get Channel

Returns a channel on the virtual device.

niseVirtualDevice Get Channel

cncrn.gif

Virtual Device is the reference to the virtual device. Call the niseCfg Get Virtual Device VI to obtain the reference.

cstr.gif

Channel Name specifies the alias name or the full channel name of the channel to retrieve from the virtual device.

cerrcodeclst.gif

error in (no error) describes error conditions that occur before this node runs. This input provides standard error in functionality.

cbool.gif

status is TRUE (X) if an error occurred before this VI ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI ran. The default is FALSE.

ci32.gif

code is the error or warning code. The default is 0. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.

cstr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI that produced the error or warning. The default is an empty string.

incrn.gif

Virtual Device out is the reference to the virtual device. Call the niseCfg Get Virtual Device VI to obtain the reference.

incrn.gif

Channel is the reference to the channel.

ierrcodeclst.gif

error out contains error information. This output provides standard error out functionality.

ibool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

ii32.gif

code is the error or warning code. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.

istr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI that produced the error or warning.

niseVirtualDevice Get Exclusion

Returns the exclusion for the virtual device.

niseVirtualDevice Get Exclusion

cncrn.gif

Virtual Device is the reference to the virtual device. Call the niseCfg Get Virtual Device VI to obtain the reference.

cstr.gif

Exclusion Name specifies the name of the exclusion to retrieve from the virtual device.

cerrcodeclst.gif

error in (no error) describes error conditions that occur before this node runs. This input provides standard error in functionality.

cbool.gif

status is TRUE (X) if an error occurred before this VI ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI ran. The default is FALSE.

ci32.gif

code is the error or warning code. The default is 0. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.

cstr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI that produced the error or warning. The default is an empty string.

incrn.gif

Virtual Device out is the reference to the virtual device. Call the niseCfg Get Virtual Device VI to obtain the reference.

incrn.gif

Exclusion is the reference to the exclusion.

ierrcodeclst.gif

error out contains error information. This output provides standard error out functionality.

ibool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

ii32.gif

code is the error or warning code. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.

istr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI that produced the error or warning.

niseVirtualDevice Get Hardwire

Returns a hardwire on the virtual device.

niseVirtualDevice Get Hardwire

cncrn.gif

Virtual Device is the reference to the virtual device. Call the niseCfg Get Virtual Device VI to obtain the reference.

cstr.gif

Hardwire Name specifies the name of the hardwire to retrieve from the virtual device.

cerrcodeclst.gif

error in (no error) describes error conditions that occur before this node runs. This input provides standard error in functionality.

cbool.gif

status is TRUE (X) if an error occurred before this VI ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI ran. The default is FALSE.

ci32.gif

code is the error or warning code. The default is 0. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.

cstr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI that produced the error or warning. The default is an empty string.

incrn.gif

Virtual Device out is the reference to the virtual device. Call the niseCfg Get Virtual Device VI to obtain the reference.

incrn.gif

Hardwire is the reference to the hardwire.

ierrcodeclst.gif

error out contains error information. This output provides standard error out functionality.

ibool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

ii32.gif

code is the error or warning code. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.

istr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI that produced the error or warning.

niseVirtualDevice Get IVI Device

Returns an IVI device on the virtual device.

niseVirtualDevice Get IVI Device

cncrn.gif

Virtual Device is the reference to the virtual device. Call the niseCfg Get Virtual Device VI to obtain the reference.

cstr.gif

IVI Logical Name specifies the IVI Logical Name for the switch device you want to use in the configuration.

Note  IVI logical names are case sensitive.
cerrcodeclst.gif

error in (no error) describes error conditions that occur before this node runs. This input provides standard error in functionality.

cbool.gif

status is TRUE (X) if an error occurred before this VI ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI ran. The default is FALSE.

ci32.gif

code is the error or warning code. The default is 0. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.

cstr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI that produced the error or warning. The default is an empty string.

incrn.gif

Virtual Device out is the reference to the virtual device. Call the niseCfg Get Virtual Device VI to obtain the reference.

incrn.gif

IVI Device is the reference to the IVI device.

ierrcodeclst.gif

error out contains error information. This output provides standard error out functionality.

ibool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

ii32.gif

code is the error or warning code. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.

istr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI that produced the error or warning.

niseVirtualDevice Get Route Group

Returns a route group on the virtual device.

niseVirtualDevice Get Route Group

cncrn.gif

Virtual Device is the reference to the virtual device. Call the niseCfg Get Virtual Device VI to obtain the reference.

cstr.gif

Route Group Name specifies the name of the route group you want to retrieve from the virtual device.

cerrcodeclst.gif

error in (no error) describes error conditions that occur before this node runs. This input provides standard error in functionality.

cbool.gif

status is TRUE (X) if an error occurred before this VI ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI ran. The default is FALSE.

ci32.gif

code is the error or warning code. The default is 0. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.

cstr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI that produced the error or warning. The default is an empty string.

incrn.gif

Virtual Device out is the reference to the virtual device. Call the niseCfg Get Virtual Device VI to obtain the reference.

incrn.gif

Route Group is the reference to the route group.

ierrcodeclst.gif

error out contains error information. This output provides standard error out functionality.

ibool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

ii32.gif

code is the error or warning code. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.

istr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI that produced the error or warning.

niseVirtualDevice Get Route

Returns a route on the virtual device.

niseVirtualDevice Get Route

cncrn.gif

Virtual Device is the reference to the virtual device. Call the niseCfg Get Virtual Device VI to obtain the reference.

cstr.gif

Route Name specifies the name of the route you want to retrieve from the virtual device.

cerrcodeclst.gif

error in (no error) describes error conditions that occur before this node runs. This input provides standard error in functionality.

cbool.gif

status is TRUE (X) if an error occurred before this VI ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI ran. The default is FALSE.

ci32.gif

code is the error or warning code. The default is 0. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.

cstr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI that produced the error or warning. The default is an empty string.

incrn.gif

Virtual Device out is the reference to the virtual device. Call the niseCfg Get Virtual Device VI to obtain the reference.

incrn.gif

Route is the reference to the route.

ierrcodeclst.gif

error out contains error information. This output provides standard error out functionality.

ibool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

ii32.gif

code is the error or warning code. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.

istr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI that produced the error or warning.

Log in to get a better experience