FpsApi: BlinkStatus

BlinkStatus

Blinks status outputs (led or buzzer).

 Public Function BlinkStatus(
	  ByVal coding As Long,
	  ByVal mask As Long,
	  ByVal type_ As Long,
	  ByVal iteration As Long,
	  ByVal blink_data ) As Boolean

Parameters

coding
Coding of the data. The possible values are: 0: stop pulses, 1: data[odd]: time duration output high level [ms], data[even]: time duration output low level [ms]
mask
Mask representing the status leds and buzzer. Each bit represents a status led or buzzer on the device.
type_
Led color id or buzzer id. Its predefined values are stored in the FPS_STATUS_LED_COLOR and FPS_BUZZER enumerations.
iteration
Number of repeat, 0 menas forever.
blink_data
Data of blinking. (maximum length 16)

Return Values

On error false is returned and the error code and string of the control is set appropriately.

Languages

[Visual Basic] Public Function BlinkStatus(ByVal coding As Long, ByVal mask As Long, ByVal type_ As Long, ByVal iteration As Long, ByVal blink_data) As Boolean

[Delphi] function BlinkStatus(coding: Integer; mask: Integer; type_: Integer; iteration: Integer; blink_data: OleVariant ): Boolean;

[C++] bool BlinkStatus(long coding, long mask, long type_, long iteration, VARIANT blink_data);

Remarks

This method generates output signals on statusled(s) or buzzer to inform the user about the device status.

See Also

Class FpsApi Overview FpsApi Properties FpsApi Methods ButtonEvent