Initialize Joystick VI
- Updated2025-07-30
- 2 minute(s) read
Opens a reference to and initializes a joystick device at the index you specify.
(Windows) You must have DirectX 8.0 or later to use this VI.

Inputs/Outputs
device index
—
device index is the index of the joystick you want to initialize. The default is 0. Set device index to 0 if you have only one joystick connected to the computer.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
device ID
—
device ID identifies which device you initialized.
error out
—
error out contains error information. This output provides standard error out functionality. |
device index
—
error in (no error)
—
device ID
—
error out
—