Obtains information about the devices connected to the computer.

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


icon

Inputs/Outputs

  • cerrcodeclst.png error in (no error)

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

  • i1dcclst.png joystick info

    joystick info contains information about the joysticks connected to the computer.

  • iu32.png axes total

    axes total (Windows) is the total number of axes for each joystick connected to the computer.

  • iu32.png buttons total

    buttons total (Windows) is the total number of buttons for each joystick connected to the computer.

  • iu32.png pov total

    pov total (Windows) is the total number of points of view for each joystick connected to the computer.

  • istr.png device name

    device name is the device name of each joystick connected to the computer.

  • i1dcclst.png key info

    key info contains information about the keyboard connected to the computer.

  • iu32.png buttons total

    buttons total (Windows) is the number of keys on the keyboard connected to the computer.

  • istr.png device name

    device name is the device name of the keyboard connected to the computer.

  • i1dcclst.png mouse info

    mouse info contains information about the mouse connected to the computer.

  • iu32.png axes total

    axes total (Windows) is the total number of axes for the mouse connected to the computer.

  • iu32.png buttons total

    buttons total (Windows) is the total number of buttons for the mouse connected to the computer.

  • istr.png device name

    device name is the device name of the mouse connected to the computer.

  • ierrcodeclst.png error out

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

  • The operating system recognizes more than one mouse or keyboard but interprets them to be one virtual mouse/keyboard. LabVIEW cannot return the output for each device separately but returns only the sum of both outputs.

    Examples

    Refer to the following example files included with LabVIEW.

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