VIDEO_OA_HID_init()
Initializes a driver for communication with the HID-Joystick or HID-JogShuttle connected to host via USB.
Synopsis
dyn_string VIDEO_OA_HID_init();
Description
Initializes a driver for communication with the HID-Joystick or HID-JogShuttle connected to host via USB.
The function can be called via CTRL or the UI. If the function is called via a UI, the panel which calls the function must not be closed. Therefore, it is recommended to call the function e.g. in the base panel of the first monitor. Moreover, the function must not be called several times in a UI. If several UIs are started on one computer, the function still must only be called once per host.
The function interacts with the workstation data point of the manager number with which the UI or the CTRL was started. If the function shall initialize a joystick or a jog shuttle of UI number 5, the function must be called in UI number 5 (start option -num5) or in CTRL number 5. UI or CTRL and the USB interface must be on the same computer. Only one joystick and one jog shuttle can run on the same host parallel. Running two joysticks or two jog shutles on one host is not possible.
EXAMPLE
main()
{
if((VIDEO_OA_isJoystickAvailable()) ||
(VIDEO_OA_isJogShuttleAvailable()))
VIDEO_OA_HID_init();
}
Assignment
Video functions
Availability
UI, CTRL