SwitchEasy Command Reference

 

Command
Description
Connect/Disconnect
Connect Instrument Differential
Connects Differential Instrument to two Pins using optional bus and rules
Connect Instrument Instrument
Connects an Instrument to an Instrument
Connect Instrument MpPin
Connect Instrument Pin to MacPanel Pin
Connect Instrument Pin
Connect Instrument Pin to UUT Pin
Connect Pin Pin
Connect UUT Pin to UUT Pin
Connect Pin MpPin
Connect UUT Pin to MacPanel Pin
Connect MpPin MpPin
Connect MacPanel Pin to MacPanel Pin
Connect Trigger Instrument
Connect Trigger to Instrument
Connect Trigger MpPin
Connect Trigger to MacPanel pin
Connect Trigger Pin
Connect Trigger to UUT Pin
Connect Trigger Trigger
Connect Trigger to Trigger
Connect Digital Pin
Connect UUT Pin to digital line
Connect Digital MpPin
Connect MacPanel Pin to digital line
Disconnect Bus
Disconnect Bus from All, Instrument or Pin
Disconnect Digital Pin
Disconnect UUT Pin from digital line
Disconnect Digital MpPin
Disconnect MacPanel Pin from digital line
Disconnect Instrument Instrument
Disconnect Instrument from another instrument
Disconnect Instrument MpPin
Disconnect Instrument from MacPanel pin
Disconnect Instrument Pin
Disconnect Instrument from UUT pin
Disconnect MpPin MpPin
Disconnect MacPanel pin from another MacPanel pin
Disconnect Pin Pin
Disconnect UUT pin from another UUT pin
Disconnect Pin MpPin
Disconnect UUT Pin from MacPanel pin
Disconnect Trigger Instrument
Disconnect trigger from instrument
Disconnect Trigger MpPin
Disconnect Trigger from MacPanel pin
Disconnect Trigger Pin
Disconnect Trigger pin from UUT pin
Disconnect Trigger Trigger
Disconnect Trigger from Trigger
Reset All
Reset all boards (LF and HF) along with any RTMs and SRs.
Setup
Setup Instrument Name
Set instrument name
Setup Instrument PreferredBus
Sets a preferred bus to be used in connecting to a particular instrument
Setup Instrument Map
Maps instrument to a specific input channel (located on the RTM for an LF board, or on the HF board itself)
The instrument name is also set in this command.
Setup Log Clear
Clears the SwitchEasy Windows event log
Setup Log On
Turns the SwitchEasy Windows event logging on
Setup Log Off
Turns the SwitchEasy Windows event logging off
Setup Pin Group
Maps UUT pins to a UUT pin group
Setup Pin Map
Maps UUT pin to a specific MacPanel pin
Setup Pin Remove
Remove UUT or MacPanel pin from mapping
Setup State MpPin Analog
Sets the pin state of a MacPanel pin to analog
Setup State MpPin Digital
Sets the pin state of a MacPanel pin to digital
Setup State MpPin Hybrid
Sets the pin state of a MacPanel pin to hybrid (analog and digital)
Setup State MpPin Null
Sets the pin state of a MacPanel pin to none
Setup State Pin Analog
Sets the pin state of a UUT pin or pin group to analog
Setup State Pin Digital
Sets the pin state of a UUT pin or pin group to digital
Setup State Pin Hybrid
Sets the pin state of a UUT pin or pin group to hybrid
Setup State Pin Null
Sets the pin state of a UUT pin or pin group to none
Setup Trigger Name
Set trigger name
Setup Trigger Map
Maps trigger to a specific input channel (located on the RTM)
The trigger name is also set in this command.
Setup Dio Connection
Maps a group of 16 DIO channels to a specific LF board
Get
Get Instrument Name
Get instrument's name
Get Instrument PreferredBus
Get instrument's preferred bus
Get MpPin Count Lf
Return number of LF channels
Get MpPin Count Hf
Return number of HF channels
Get MpPin Column
Returns the MacPanel column (A, B, C, or D) that is associated with a specified MacPanel pin
Get MpPin Tier
Returns the MacPanel Tier (A or B) that is associated with a specified MacPanel pin
Get MpPin DioChannel
Returns the DIO channel number (0-based) that is mapped to a MacPanel pin
Get MpPin From Name
Returns MacPanel pin from a given pin name
Get MpPin From Position
Returns MacPanel pin from physical location specified by MacPanel Slot, Tier, Column, and Row
Get MpPin From MuxPosition
Returns MacPanel pin from mux location specified by slot, mux group (A-P), and mux channel (1-16)
Get MpPin Name
Returns the MacPanel Pin Name
Get MpPin Row
Returns the MacPanel Row location for a given MacPanel pin
Get MpPin Type
Returns a MacPanel's slot type (LF or HF)
Get MpPin MuxGroup
Return Mux Group for specified MacPanel pin
Get MpPin MuxChannel
Return Mux Channel for specified MacPanel pin
Get Pin Count
Returns number of UUT pins.
Get Pin DioChannel
Returns the DIO channel mapped to a specified UUT pin
Get Pin IsGroup
Returns True if the specified pin is a UUT pin group.
Get Pin MpPin
Returns the MacPanel pin mapped to the specified UUT pin
Get Pin MpSlot
Returns the MacPanel slot mapped to the specified UUT pin
Get Pin Name
Returns name associated with UUT pin or group
Get Pin Type
Returns a UUT pin slot type (LF or HF)
Get Pin Group Count
Returns number of UUT pin groups.
Get Pin Group Pins
Returns the array of children UUT pins.
Get Pin Group PinsCount
Returns number of children UUT pins.
Get Pin Group NextPin
Return next UUT pin is available, otherwise returns empty string.
Get Pin Group Pin
Returns name or id of the specified child UUT pin given the pin index
Get Relay Count
Returns the total number of relay openings/closures that have occurred for a specified block (board, RTM or SR)
The count for each relay is accumulated throughout the life of a board
Get Relay States
Returns the state of each relay of a specified block (board, RTM or SR)
The index of an array element specifies its relay designation minus 1.
For example, index 0 corresponds with relay K1, index 256 corresponds with relay K257.
Get Trigger Name
Returns trigger pin name
Get Connections State
Returns the current connection status of the switching system
All types or a type (instrument, trigger, or pin) of connection can be specified
Get Slot Information
Return True if SW card is installed at the specified slot, also return slot type LF/HF, and whether RTM and SR are present.
Panel
Shows the Switch Easy Panel
Utility
Utility BIT Abort
Aborts the Built In Test
Utility BIT GetStatus
Returns Built in Test Status
Utility BIT Run
Starts a Built In Test
Utility Interrupt Disable
Disable PCI interrupt.
Utility Interrupt Resume
Resume PCI interrupt.
Utility Interrupt Reset
Reset interrupt source.
Utility Interrupt Setup
Configures the behavior of the interrupts.
Utility PIO Set Output Data
Set the PIO Output Data
Utility PIO Set Output Enable
Set the PIO Output Enable
Utility PIO Get Input Data
Reads the PIO Input
Utility PIO Get Output Data
Returns the PIO Output Data
Utility PIO Get Output Enable
Returns the PIO Output Enable