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.

  • i1denum.png keys pressed

    keys pressed indicates which keys were pressed when the VI ran. This parameter returns values associated only with US keyboards.

  • 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