Owning Palette: Connectivity VIs and Functions
Use the Input Device Control VIs to obtain information about the joystick, keyboard, or mouse connected to a computer.
Use the Query Input Devices VI to obtain information about the devices connected to a computer. Use the appropriate Initialize VI to open a reference to and initialize a device. Use the Acquire Input Data VI to acquire the data you want. Use the Close Input Device VI to close the reference to the device.
(Windows) You must have DirectX 8.0 or later to use the Input Device Control VIs.
| Palette Object | Description |
|---|---|
| Acquire Input Data | Returns data about the device connected to the computer. The data type you wire to the device ID input determines the polymorphic instance to use. |
| Close Input Device | Closes the device you specify in device ID. The data type you wire to the device ID input determines the polymorphic instance to use. |
| Initialize Joystick | Opens a reference to and initializes a joystick device at the index you specify. |
| Initialize Keyboard | Opens a reference to and initializes the keyboard connected to the computer. |
| Initialize Mouse | Opens a reference to and initializes the mouse connected to the computer. |
| Query Input Devices | Obtains information about the devices connected to the computer. |
Refer to the labview\examples\input\InputDemo.llb for examples of using the Input Device Control VIs.