Datalogic .NET SDK
BlinkLED (Method)

 

Syntax

 

   public static Boolean BlinkLED(LEDs LED, Int32 Count, UInt32 OnTime, UInt32 OffTime);

 

 

Class                           : Device

Namespace                : Datalogic.API

Assembly                   : Datalogic.API.DLL

 

 

Description

Blinks an LED on the device.

 

Parameters Table

 

Type

Parameter

Description

[in]

LEDs

 

LED

Specifies the affected LED.

[in]

 

Int32

Count

Specifies the number of  on/off cycles that occur before the LED is left in the off state. If set to zero the LED is turned off immediately. If set to -1, the LED is cycled until it is explicitly turned off.  The maximum value supported is 256.

[in]

 

UInt32

OnTime

Specifies the time (in ms) to turn the LED on. If this value is zero the LED will be turned off  immediately.

[in]

UInt32

 

OffTime

This parameter specifies the time (in ms) to turn the LED off. If this value is set to zero the LED will be on for a duration of OnTime multiplied by Count.

[returns]

Boolean

 

TRUE on success.

[on error]

FALSE

 

-

 

 

 

 

See Also

EnableLED, LEDs(Enum)

 

 

 

Copyright © Datalogic ADC. All Right Reserved