« Close

Datasheets and User Guides

App Notes

Software & Driver

 

5.2.5.6 - LED: IOType=9

Table 5.2.5.6-1. LED Command Response

LED, 2 Command Bytes: 
0 IOType = 9
1 State
   
0 Response Bytes: 

This IOType simply turns the status LED on or off.

  • State: 1=On, 0=Off.

3 comments

Why does the status LED exit this code ON rather than OFF?

import u6

d = u6.U6()

try:

    #Turn LED off, on, off, on, off
    d.getFeedback( u6.LED( State = 0 ) )
    d.getFeedback( u6.LED( State = 1 ) )
    d.getFeedback( u6.LED( State = 0 ) )
    d.getFeedback( u6.LED( State = 1 ) )
    d.getFeedback( u6.LED( State = 0 ) )

finally:
    d.close()

FWIW: A couple well written Python examples using the U6 would save new users many hours.

Thanks,

Looks like you are the first person to use this function. The USB system is overriding your settings. Firmware 1.38 gives priority to your manual settings.

http://labjack.com/support/firmware/u6/beta

Thanks.... LED now turns on/off as expected.