action? Returns the name of the action.
position? Returns the position of the 3D digitizer probe.
front? Returns the direction vector of the 3D digitizer probe.
up? Returns the up vector of the 3D digitizer probe.
locate! Ask the 3D digitizer to send a new probe position
on! Starts the processing of events generated by the 3D digitizer.
off! Stops the processing of 3D digitizer events.
probe1! Use the 2 LED probe (only gives x,y,z and direction vector).
probe3! Use the custom 3 LED probe (the default).
serial_port= Sets the serial port that the workstation communicates to the pixsys over.
serial_port? Gets the serial port that the workstation communicates to the pixsys over.
error? Returns 0 for no error, 1 for error, and 2 for warning
error_message? Returns a description of the last error
free! Closes connection to pixsys and frees the instance.
actions new: some_action
tick_actions = ` pix print:position; pix print:front; pix print:up;
' ; pixsys new: pix
action=some_action
on! ;