The Input Device Control VIs can return the following error codes. This includes the Acquire Input Data, Close Input Device, Initialize Joystick, Initialize Keyboard, Initialize Mouse, and Query Input Devices VIs. Refer to the KnowledgeBase for more information about correcting errors in LabVIEW.
Code | Description |
–2000000013 | Input Sprockets Failure The Mac Input Sprockets tool kit is not properly installed on the machine. |
–2000000012 | Close failure. Make sure the device is currently open. |
–2000000011 | Read failure. Fails to read the device. |
–2000000010 | The deviceCount being passed in is incorrect. Please connect the deviceCount parameter from initializeVI to the input parameter of closeDeviceVI. |
–2000000009 | The operation cannot be performed while the device is acquired. |
–2000000008 | Please check to see if the device is attached correctly. Please make sure the deviceIndex you passed in to initDevice.vi is correct. |
–2000000007 | Data is not yet available. |
–2000000006 | The operation cannot be performed unless the device is acquired. |
–2000000005 | Access to the input device has been lost. It must be reacquired. |
–2000000004 | This object has not been initialized. |
–2000000003 | The DirectInput subsystem could not allocate sufficient memory to complete the call. This value is equal to the E_OUTOFMEMORY standard COM return value. |
–2000000002 | The application requires a newer version of DirectInput. |
–2000000001 | An invalid parameter was passed to the returning function, or the object was not in a state that permitted the function to be called. This value is equal to the E_INVALIDARG standard COM return value. |
–2000000000 | The application was written for an unsupported prerelease version of DirectInput. |
–1 | Check to see if proper initialization VI has been called. Also, please check the Microsoft web page for additional information about directInput. |