|Download Help (Windows Only)|
Requires: LabVIEW Robotics Starter Kit
Defines the amount by which the zero, or straight-forward, position of the distance sensor differs from the zero position of the sensor servo on which the sensor is mounted. You can use this VI to save the offset value to a file so the value is associated with the same robot in the future.
|save to file, if TRUE, specifies to save the offset value to a file so you can use the value in the future. When you run subsequent applications on the same robot, LabVIEW automatically reads the offset value from the file. If this VI runs on the Single-Board RIO, LabVIEW saves the file on the device. If this VI runs on a desktop computer, LabVIEW saves the file in the LabVIEW Data directory.|
|starter kit host in is a reference to the communication session between the host VI and the FPGA on the robot. Use the Starter Kit initialization VI that is appropriate for your application to generate this LabVIEW class object.|
|ccw offset angle (rad) specifies the angle, in radians, to define for the difference between the straight-forward position of the sensor and the position of the sensor servo. The angle is measured counterclockwise from the center of the robot as you view the robot from above. Thus, positive values fall to the left of center, and negative values fall to the right.|
|error in describes error conditions that occur before this node runs. This input provides standard error in functionality.|
Refer to the following VIs for examples of using the Write Sensor Servo Offset VI: