NI Switch Executive

Table of Contents

niseCfg Remove Object VI

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

Removes an object.

After NI Switch Executive removes an object, it does not need to be released using the niseCfg Close Object VI.

niseCfg Remove Virtual Device

Deletes a virtual device from the configuration.

niseCfg Remove Virtual Device

crn.gif

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

cfxdt.gif

Virtual Device specifies the virtual device to remove.

Specify the virtual device using any of the following data types:

  • The reference to the virtual device, which you can obtain with the niseCfg Get Virtual Device VI
  • A one-based index to the collection of virtual devices in your NI Switch Executive configuration
  • The name of the virtual device 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.

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 Remove Bus

Deletes a bus from the virtual device.

niseVirtualDevice Remove Bus

cncrn.gif

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

cfxdt.gif

Bus specifies the bus to remove from the virtual device.

Specify the bus using any of the following data types:

  • The reference to the bus, which you can obtain with the niseVirtualDevice Get Bus VI
  • A one-based index to the collection of buses on a virtual device
  • The bus name
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.

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 Remove Exclusion

Deletes an exclusion from the virtual device.

niseVirtualDevice Remove Exclusion

cncrn.gif

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

cfxdt.gif

Exclusion specifies the exclusion to remove from the virtual device.

Specify the exclusion using any of the following data types:

  • The reference to the exclusion, which you can obtain with the niseVirtualDevice Get Exclusion VI
  • A one-based index to the collection of exclusions on a virtual device
  • The exclusion name
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.

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 Remove Hardwire

Deletes a hardwire from the virtual device.

niseVirtualDevice Remove Hardwire

cncrn.gif

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

cfxdt.gif

Hardwire specifies the hardwire to remove from the virtual device.

Specify the hardwire using any of the following data types:

  • The reference to the hardwire, which you can obtain with the niseVirtualDevice Get Hardwire VI
  • A one-based index to the collection of hardwires on a virtual device
  • The hardwire name
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.

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 Remove IVI Device

Deletes an IVI device from the virtual device.

niseVirtualDevice Remove IVI Device

cncrn.gif

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

cfxdt.gif

IVI Device specifies the IVI device to remove from the virtual device.

Specify the IVI device using any of the following data types:

  • The reference to the IVI device, which you can obtain with the niseVirtualDevice Get IVI Device VI
  • A one-based index to the collection of IVI devices on a virtual device
  • The IVI device name
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.

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 Remove Route Group

Deletes a route group from the virtual device.

niseVirtualDevice Remove Route Group

cncrn.gif

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

cfxdt.gif

Route Group specifies the route group to remove from the virtual device.

Specify the route group using any of the following data types:

  • The reference to the route group, which you can obtain with the niseVirtualDevice Get Route Group VI
  • A one-based index to the collection of route groups on a virtual device
  • The route group name
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.

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 Remove Route

Deletes a route from the virtual device.

niseVirtualDevice Remove Route

cncrn.gif

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

cfxdt.gif

Route specifies the route to remove from the virtual device.

Specify the route using any of the following data types:

  • The reference to the route, which you can obtain with the niseVirtualDevice Get Route VI
  • A one-based index to the collection of routes on a virtual device
  • The route name
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.

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.

niseExclusion Remove Channel

Removes a channel from the specified set of excluded channels.

niseExclusion Remove Channel

cncrn.gif

Exclusion is the reference to the exclusion. Call the niseVirtualDevice Get Exclusion VI to obtain the reference.

cfxdt.gif

Channel specifies the channel to remove from the exclusion collection.

Specify the channel using any of the following data types:

  • The reference to the channel, which you can obtain with the niseVirtual Device Get Channel VI
  • A one-based index to the collection of channels in the exclusion set
  • The channel name
cenum.gif

Channel Group specifies the type of the collection of channels in the exclusion.

If the exclusion type is 'Mutual Exclusion', you must specify 'mutual channels' as the type of the channel group. If the exclusion type is 'Set Exclusion', you must specify either Set1 or Set2 channels as the collection from which to remove the channel.

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

Exclusion out is the reference to the exclusion. Call the niseVirtualDevice Get Exclusion VI to obtain the reference.

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.

niseHardwire Remove Channel

Removes the channel from the hardwire.

niseHardwire Remove Channel

cncrn.gif

Hardwire is the reference to the hardwire. Call the niseVirtualDevice Get Hardwire VI to obtain the reference.

cfxdt.gif

Channel specifies the channel to remove from the exclusion collection.

Specify the channel using any of the following data types:

  • The reference to the channel, which you can obtain with the niseVirtual Device Get Channel VI
  • A one-based index to the collection of channels in the exclusion set
  • The channel name
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

Hardwire out is the reference to the hardwire. Call the niseVirtualDevice Get Hardwire VI to obtain the reference.

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.

niseRouteGroup Remove Route Group

Disassociates the child route group from the route group.

niseRouteGroup Remove Route Group

cncrn.gif

Route Group is the reference to the route group. Call the niseVirtualDevice Get Route Group VI to obtain the reference.

cfxdt.gif

Child Route Group specifies the route group to remove from the collection of child route groups.

Specify the route group using any of the following data types:

  • The reference to the route group, which you can obtain with the niseVirtualDevice Get Route Group VI
  • A one-based index to the route group in the collection of child route groups
  • The route group name
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

Route Group out is the reference to the route group. Call the niseVirtualDevice Get Route Group VI to obtain the reference.

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.

niseRouteGroup Remove Route

Disassociates the child route from the route group.

niseRouteGroup Remove Route

cncrn.gif

Route Group is the reference to the route group. Call the niseVirtualDevice Get Route Group VI to obtain the reference.

cfxdt.gif

Child Route specifies the route to remove from the child route groups collection.

Specify the route using any of the following data types:

  • The reference to the route, which you can obtain with the niseVirtualDevice Get Route VI
  • A one-based index to the route group in the collection of child routes
  • The route name
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

Route Group out is the reference to the route group. Call the niseVirtualDevice Get Route Group VI to obtain the reference.

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.

niseBus Remove Channel Pair

Removes a channel pair from a bus.

niseBus Remove Channel Pair

cncrn.gif

Bus is the reference to the bus. Call the niseVirtualDevice Get Bus VI to obtain the reference.

cfxdt.gif

Bus Channel Pair specifies the reference to the channel pair to remove from the bus.

You can pass a one-based index to the collection of bus channel pairs as this parameter. Alternatively, you can pass the bus channel pair reference from the array of references you obtain with the niseBus Get Channel Pairs VI. You cannot refer to a bus channel pair by its name.

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

Bus out is the reference to the bus. Call the niseVirtualDevice Get Bus VI to obtain the reference.

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