Write Sensor Servo Offset VI

LabVIEW 2014 Robotics Module Help

Edition Date: June 2014

Part Number: 372983F-01

»View Product Info
Download Help (Windows Only)

Requires: LabVIEW Robotics Starter Kit

Owning Palette: Starter Kit 1.0 VIs, Starter Kit 2.0 VIs

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:

  • labview\examples\robotics\Starter Kit 1.0\Starter Kit 1.0.lvproj
  • labview\examples\robotics\Starter Kit 2.0\Starter Kit 2.0.lvproj


Not Helpful