Returns data about the device connected to the computer. Wire data to the device ID input to determine the polymorphic instance to use or manually select the instance.

(Windows) You must have DirectX 8.0 or later to use this VI.


icon

Inputs/Outputs

  • cdlrn.png device ID

    device ID identifies which device you acquired data from.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • idlrn.png device ID

    device ID identifies which device to acquire data from.

  • inclst.png axis info

    axis info contains numeric values for the axes. The number of axes depend on the specific joystick.

    When you use this VI on a myRIO target, the value of axis info is the raw data value this VI acquires from the joystick.

  • ii32.png X axis

    X axis is the numeric value of the x-axis.

  • ii32.png Y axis

    Y axis is the numeric value of the y-axis.

  • ii32.png Z axis

    Z axis is the numeric value of the z-axis.

  • ii32.png X axis rotation

    X axis rotation is the numeric value of the x-axis rotation.

  • ii32.png Y axis rotation

    Y axis rotation is the numeric value of the y-axis rotation.

  • ii32.png Z axis rotation

    Z axis rotation is the numeric value of the z-axis rotation (rudder).

  • ii32.png U axis

    U axis is the numeric value of the u-axis.

  • ii32.png V axis

    V axis is the numeric value for the v-axis.

  • icclst.png button info

    button info contains Boolean values for up to 32 buttons. A TRUE value indicates that the button was pressed when the VI ran.

  • ibool.png button 1

  • ibool.png button 2

  • ibool.png button 3

  • ibool.png button 4

  • ibool.png button 5

  • ibool.png button 6

  • ibool.png button 7

  • ibool.png button 8

  • ibool.png button 9

  • ibool.png button 10

  • ibool.png button 11

  • ibool.png button 12

  • ibool.png button 13

  • ibool.png button 14

  • ibool.png button 15

  • ibool.png button 16

  • ibool.png button 17

  • ibool.png button 18

  • ibool.png button 19

  • ibool.png button 20

  • ibool.png button 21

  • ibool.png button 22

  • ibool.png button 23

  • ibool.png button 24

  • ibool.png button 25

  • ibool.png button 26

  • ibool.png button 27

  • ibool.png button 28

  • ibool.png button 29

  • ibool.png button 30

  • ibool.png button 31

  • ibool.png button 32

  • inclst.png direction info

    direction info contains numeric values for up to four points of view.

  • ii32.png pov 1

  • ii32.png pov 2

  • ii32.png pov 3

  • ii32.png pov 4

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.

  • Examples

    Refer to the following example files included with LabVIEW.

    • labview\examples\Connectivity\Input Device Control\Monitoring Keyboard and Mouse Activity.vi