![TSI Incorporated 8587A Скачать руководство пользователя страница 71](http://html1.mh-extra.com/html/tsi-incorporated/8587a/8587a_operation-and-service-manual_1178069071.webp)
Technical Information for Program Development Using USB Communications C-3
A successful completion of a command sent to the device will have the
following return values:
The DWORD win32 Error Code of ERROR_SUCCESS, or 0x0000
The USB command status value of 0x0000, or USB_OK as defined in
the TsiUsbApi.h file.
For successful operation,
ALWAYS
pay attention to the win32 return value
and the USB command status returned from the device (when this value is
present).
Troubleshooting Win32 Errors
A function is provided that converts a Win32 error code into the appropriate
Win32 error string. This function is TsiUsbGetWin32String().
A list of the most common error codes returned by the DLL and some
common solutions is presented below. This list does not include standard
Win32 error codes. A complete list of Win32 Error Codes and descriptions
can be found in the MSDN help a
rticle titled “System Error Codes” in the
“.Net” Microsoft Development Tools, Debugging and Error Handling
Section
Error Descriptions
A non-successful return value of
ERROR_OPERATION_ABORTED
is the
value returned when a request of the device has timed out and the current
operation has been cancelled.
A non-successful return value of
ERROR_INVALID_HANDLE
is the value
returned upon a request of the device that has been closed or the handle
returned from DeviceOpen is not valid. Check your connections, device
power, and check that the device is available and functioning properly
through Windows Device Manager.
A non-successful return value of
ERROR_DEV_NOT_EXIST
or
ERROR_BAD_COMMAND
is the value returned upon a request of the
device that is not available. Check your connections, device power, and
check that the device is available and functioning properly through device
manager.
A non-successful return value of
ERROR_INVALID_PARAMETER
is the
value returned upon a request of the device that does not have a valid
parameter. Check the function calling the DLL for null
parameters.
A non-successful return value of
ERROR_IO_DEVICE
is the value
returned upon a request of the device that did not call the driver. Most
functions within the DLL initialize the return value to
ERROR_IO_DEVICE
.
A non-successful return value of
ERROR_GEN_FAILURE
is the value
returned upon a request of the device that failed at the driver level. The
device may not be responding properly to this request.
Содержание 8587A
Страница 1: ...LASER PHOTOMETER MODEL 8587A OPERATION AND SERVICE MANUAL P N 1980538 REVISION D JULY 2015 ...
Страница 2: ......
Страница 10: ...x Model 8587A Laser Photometer This page intentionally left blank ...
Страница 16: ...xvi Model 8587A Laser Photometer This page intentionally left blank ...
Страница 22: ...2 4 Model 8587A Laser Photometer This page intentionally left blank ...
Страница 34: ...3 12 Model 8587A Laser Photometer Figure 3 4 Sheath Air Flow System ...
Страница 46: ...4 8 Model 8587A Laser Photometer This page intentionally left blank ...
Страница 52: ...5 6 Model 8587A Laser Photometer This page intentionally left blank ...
Страница 68: ...B 14 Model 8587A Laser Photometer This page intentionally left blank ...
Страница 80: ...C 12 Model 8587A Laser Photometer This page intentionally left blank ...
Страница 84: ......