ArgosLib.lvlib:MotorSetInvalidHandler.vi


Connector Pane

ArgosLib.lvlib:MotorSetInvalidHandler.vi


Front Panel

ArgosLib.lvlib:MotorSetInvalidHandler.vi


Controls and Indicators

ccclst

MotorControlDevRef

MotorControlDevRef specifies a reference to the motor controller you want to use.

cdbl

Output

Output specifies the output value or set-point for the motor controller.

If you use a Jaguar or Victor motor controller connected to PWM, the scaled value can range from -1.0 to 1.0.

If you use a CAN Jaguar, the scale and the units depend on the mode the Jaguar is in. In Percent VBus mode, the range is the same as the PWM interface. In Voltage, Current, Speed, and Position modes, the Output is specified in engineering units (Volts, Amps, Rotations/Minute, and Rotations respectively).

cu8

options

When using CAN Jaguar, <b>Sync Group / Parameter Slot</b> allows you to specify a group of motor controllers to be updated simultaneously by calling the Sync Output VI. This is a bitmask. When a value of 0 is used, the output is updated immediately.

When using the CAN Talon SRX, <b>Sync Group / Parameter Slot</b> allows you to dynamically specify which Parameter Slot to pull closed-loop parameters from. This allows for simple and fast switching between 2 different sets of closed-loop control parameters persisted in the flash of the controller.

cerrcodeclst

error in (no error)

error in (no error) describes error conditions that occur before this node runs. The default is no error. If an error occurred before this node runs, the node passes the error in (no error) value to error out. This node runs normally only if no error occurred before this node runs. If an error occurs while this node runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use exception control to treat what is normally an error as no error or to treat a warning as an error. Use error in (no error) and error out to check errors and to specify execution order by wiring error out from one node to error in (no error) of the next node.

icclst

MotorControlDevRef

MotorControlDevRef returns a reference to the motor controller you want to use.

idbl

Motor Output

Output specifies the output value or set-point for the motor controller.

If you use a motor controller connected to PWM, the scaled value can range from -1.0 to 1.0.

If you use a CAN Jaguar, the scale and the units depend on the mode the Jaguar is in. In Percent VBus mode, the range is the same as the PWM interface. In Voltage, Current, Speed, and Position modes, the Output is specified in engineering units (Volts, Amps, Rotations/Minute, and Rotations respectively).

ierrcodeclst

error out

error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.


Block Diagram

ArgosLib.lvlib:MotorSetInvalidHandler.vi

ArgosLib.lvlib:MotorSetInvalidHandler.vi


List of SubVIs and Express VIs with Configuration Information


VI Revision History

"ArgosLib.lvlib:MotorSetInvalidHandler.vi History"

Current Revision: 6


Position in Hierarchy

ArgosLib.lvlib:MotorSetInvalidHandler.vi


Iconified Cluster Constants