« Close

Datasheets and User Guides

App Notes

Software & Driver

 

5.9 - Re-Enumerate

Detaches from the USB, reloads config parameters, and then reattaches so the device can be re-enumerated. Config parameters include local ID, power allowance, and calibration data.

Table 5.9-1.

Command  
Byte # Description
0 XXXXXXXX
1 XXXXXXXX
2 XXXXXXXX
3 XXXXXXXX
4 XXXXXXXX
5 0100XXXX (Re-Enumerate)
6 XXXXXXXX
7 XXXXXXXX

LabJackPython Example

  
>>> import u12
>>> d = u12.U12(debug=True)
open called
Writing: [0x0, 0x0, 0x0, 0x0, 0x0, 0x57, 0x0, 0x0]
Received: [0x57, 0x0, 0x0, 0x0, 0xff, 0xff, 0x0, 0x0]
>>> d.rawReenumerate()
Writing: [0x0, 0x0, 0x0, 0x0, 0x0, 0x40, 0x0, 0x0]