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. |
status status is TRUE (X) if an error occurred before this node ran or FALSE (checkmark) to indicate a warning or that no error occurred before this node ran. The default is FALSE. |
code code is the error or warning code. The default is 0. If status is TRUE, code is an error code. If status is FALSE, code is 0 or a warning code. |
source source specifies the origin of the error or warning and is, in most cases, the name of the node that produced the error or warning. The default is an empty string. |
RobotConfig |
Motors |
DriveLeftPrimary |
CAN Address |
Invert |
InvertSensor |
Unit Conversion Factor |
Brake Mode |
Reverse Limt Switch Mode |
Forward Limt Swith Mode |
PWM Channel PWM Channel specifies the channel you want to use for the motor controller. Select a value from PWM 0 to PWM 9 or from PWM MXP 0 to PWM MXP 9. The default is PWM 0. If PWM Channel is Invalid, this VI returns an error. |
Motor Controller Type |
DriveLeftSecondary1 |
CAN Address |
Invert |
InvertSensor |
Unit Conversion Factor |
Brake Mode |
Reverse Limt Switch Mode |
Forward Limt Swith Mode |
PWM Channel PWM Channel specifies the channel you want to use for the motor controller. Select a value from PWM 0 to PWM 9 or from PWM MXP 0 to PWM MXP 9. The default is PWM 0. If PWM Channel is Invalid, this VI returns an error. |
Motor Controller Type |
DriveRightPrimary |
CAN Address |
Invert |
InvertSensor |
Unit Conversion Factor |
Brake Mode |
Reverse Limt Switch Mode |
Forward Limt Swith Mode |
PWM Channel PWM Channel specifies the channel you want to use for the motor controller. Select a value from PWM 0 to PWM 9 or from PWM MXP 0 to PWM MXP 9. The default is PWM 0. If PWM Channel is Invalid, this VI returns an error. |
Motor Controller Type |
DriveRightSecondary1 |
CAN Address |
Invert |
InvertSensor |
Unit Conversion Factor |
Brake Mode |
Reverse Limt Switch Mode |
Forward Limt Swith Mode |
PWM Channel PWM Channel specifies the channel you want to use for the motor controller. Select a value from PWM 0 to PWM 9 or from PWM MXP 0 to PWM MXP 9. The default is PWM 0. If PWM Channel is Invalid, this VI returns an error. |
Motor Controller Type |
RightIntake |
CAN Address |
Invert |
InvertSensor |
Unit Conversion Factor |
Brake Mode |
Reverse Limt Switch Mode |
Forward Limt Swith Mode |
PWM Channel PWM Channel specifies the channel you want to use for the motor controller. Select a value from PWM 0 to PWM 9 or from PWM MXP 0 to PWM MXP 9. The default is PWM 0. If PWM Channel is Invalid, this VI returns an error. |
Motor Controller Type |
LeftIntake |
CAN Address |
Invert |
InvertSensor |
Unit Conversion Factor |
Brake Mode |
Reverse Limt Switch Mode |
Forward Limt Swith Mode |
PWM Channel PWM Channel specifies the channel you want to use for the motor controller. Select a value from PWM 0 to PWM 9 or from PWM MXP 0 to PWM MXP 9. The default is PWM 0. If PWM Channel is Invalid, this VI returns an error. |
Motor Controller Type |
ArmPivot |
CAN Address |
Invert |
InvertSensor |
Unit Conversion Factor |
Brake Mode |
Reverse Limt Switch Mode |
Forward Limt Swith Mode |
PWM Channel PWM Channel specifies the channel you want to use for the motor controller. Select a value from PWM 0 to PWM 9 or from PWM MXP 0 to PWM MXP 9. The default is PWM 0. If PWM Channel is Invalid, this VI returns an error. |
Motor Controller Type |
ArmExtend |
CAN Address |
Invert |
InvertSensor |
Unit Conversion Factor |
Brake Mode |
Reverse Limt Switch Mode |
Forward Limt Swith Mode |
PWM Channel PWM Channel specifies the channel you want to use for the motor controller. Select a value from PWM 0 to PWM 9 or from PWM MXP 0 to PWM MXP 9. The default is PWM 0. If PWM Channel is Invalid, this VI returns an error. |
Motor Controller Type |
ArmPivot2 |
CAN Address |
Invert |
InvertSensor |
Unit Conversion Factor |
Brake Mode |
Reverse Limt Switch Mode |
Forward Limt Swith Mode |
PWM Channel PWM Channel specifies the channel you want to use for the motor controller. Select a value from PWM 0 to PWM 9 or from PWM MXP 0 to PWM MXP 9. The default is PWM 0. If PWM Channel is Invalid, this VI returns an error. |
Motor Controller Type |
Climber |
CAN Address |
Invert |
InvertSensor |
Unit Conversion Factor |
Brake Mode |
Reverse Limt Switch Mode |
Forward Limt Swith Mode |
PWM Channel PWM Channel specifies the channel you want to use for the motor controller. Select a value from PWM 0 to PWM 9 or from PWM MXP 0 to PWM MXP 9. The default is PWM 0. If PWM Channel is Invalid, this VI returns an error. |
Motor Controller Type |
Selfie Stick |
CAN Address |
Invert |
InvertSensor |
Unit Conversion Factor |
Brake Mode |
Reverse Limt Switch Mode |
Forward Limt Swith Mode |
PWM Channel PWM Channel specifies the channel you want to use for the motor controller. Select a value from PWM 0 to PWM 9 or from PWM MXP 0 to PWM MXP 9. The default is PWM 0. If PWM Channel is Invalid, this VI returns an error. |
Motor Controller Type |
Sensors |
IMU |
Yaw Axis |
SPI Chip Select |
AHRS Algorithm |
Calibration Time (s) |
Calibrate On Open |
LimitSwitch1 |
DIO Channel |
Active Low |
LimitSwitch2 |
DIO Channel |
Active Low |
BeamBreak |
DIO Channel |
Active Low |
JeVois |
Baud Rate Baud Rate specifies the rate of transmission. The default is 9600. |
Parity Parity specifies the parity type to use for the parity bit of each data character you want to transmit or receive. |
Data Bits Data Bits specifies the number of bits in each data character. The value of data bits is between five and eight. The default value is 8. |
Stop Bits Stop Bits specifies the number of stop bits that indicate the end of a data character. |
Termination Char (0xA = '\n' = LF) Termination Char (0xA = '\n' = LF) specifies a character that terminates the read operation. The default is 0xA, which specifies a line feed character. |
Enable Termination Char? (T) Enable Termination Char? (T) specifies, when TRUE, that the serial device terminates a read operation when it reads the Termination Char. The default is TRUE. |
Flow Control Flow Control specifies the type of control used by the transfer mechanism. |
Timeout Value (ms) Timeout Value (ms) specifies the minimum timeout value, in milliseconds, to use for the write and read operations. The default is 5000. |
Serial Port Serial Port specifies whether to use the Onboard or MXP serial port. |
PID |
ArmExtend |
P |
I |
D |
F |
IZone |
ArmRotate |
P |
I |
D |
F |
IZone |
Drive |
P |
I |
D |
F |
IZone |
DriveGyro Kp ((in/sec)/deg) |
CameraPole |
P |
I |
D |
F |
IZone |
Solenoids |
ArmClaw |
Forward Channel |
Invert |
Reverse Channel |
IntakeExtend |
Forward Channel |
Invert |
Reverse Channel |
IntakeOpen |
Forward Channel |
Invert |
Reverse Channel |
Shifter |
Forward Channel |
Invert |
Reverse Channel |
RobotDimensions |
Length |
Height |
HeightOfBumpers |
DistanceFromFrameEdgeToPyramid |
HeightOfFrameToIntake |
EdgeOfFrameToOrigin |
ArmHomePosition |
Angle (rad) |
Radius (in) |
SelfieStickParams |
Home Height (in) |
CruiseVelocity |
MaxAccel |
Low Height (in) |
High Height (in) |
Mid Height (in) |
Enable Compressor |
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. |
status status is TRUE (X) if an error occurred before this node ran or FALSE (checkmark) to indicate a warning or that no error occurred before this node ran. |
code code is the error or warning code. If status is TRUE, code is an error code. If status is FALSE, code is 0 or a warning code. |
source source specifies the origin of the error or warning and is, in most cases, the name of the node that produced the error or warning. |
"SensorOpen.vi History"
Current Revision: 25