C API for BALTECH SDK

§ brp_RunSequenceCmd_CmdCode

Enumerator
brp_RunSequenceCmd_CmdCode_EnablePort 

Enable the port ID stored in the Field Param.

brp_RunSequenceCmd_CmdCode_DisablePort 

Disable the port ID of the Field Param.

brp_RunSequenceCmd_CmdCode_RepeatLoop 

Jumps back to the corresponding StartLoop a specified number of repetitions.

The field Param specifies the number of loops (0-255).

brp_RunSequenceCmd_CmdCode_WaitMs 

Wait exactly the amount of ms specified in the field Param before going on.

brp_RunSequenceCmd_CmdCode_WaitSec 

Wait exactly the amount of seconds specified in Param before going on.

brp_RunSequenceCmd_CmdCode_EndOfSequence 

End Of Script Marker.

Has to be present at the end of every script.

brp_RunSequenceCmd_CmdCode_StartLoop 

Starts a loop.

Has to be followed by RepeatLoopX or RepeatLoop.

brp_RunSequenceCmd_CmdCode_OnStop 

If execution of the sequence was aborted, jump to this label and run the following commands until EndOfSequence to restore a default LED state.

The following commands must not contain WaitXXX commands as it has to finish immediately.

brp_RunSequenceCmd_CmdCode_EnablePortGreenLed 

This is a ShortCut for EnablePort GreenLed (requires only one byte intead of 2).

brp_RunSequenceCmd_CmdCode_EnablePortRedLed 
brp_RunSequenceCmd_CmdCode_EnablePortBeeper 
brp_RunSequenceCmd_CmdCode_EnablePortRelay 
brp_RunSequenceCmd_CmdCode_EnablePortBlue 
brp_RunSequenceCmd_CmdCode_DisablePortGreenLed 

This is a Shortcut for DisablePort GreenLed (requires only one byte intead of 2).

brp_RunSequenceCmd_CmdCode_DisablePortRedLed 
brp_RunSequenceCmd_CmdCode_DisablePortBeeper 
brp_RunSequenceCmd_CmdCode_DisablePortRelay 
brp_RunSequenceCmd_CmdCode_DisablePortBlue 
brp_RunSequenceCmd_CmdCode_InvertPortGreenLed 

This is a ShortCut for EnablePort GreenLed , if GreenLed is enabled otherwise DisablePort GreenLed.

brp_RunSequenceCmd_CmdCode_InvertPortRedLed 
brp_RunSequenceCmd_CmdCode_InvertPortBeeper 
brp_RunSequenceCmd_CmdCode_InvertPortRelay 
brp_RunSequenceCmd_CmdCode_InvertPortBlue 
brp_RunSequenceCmd_CmdCode_Repeat1Times 

This is a Shortcut for RepeatLoop 1 which is actually a dummy operation, as the repeat block is was already executed once.

brp_RunSequenceCmd_CmdCode_RepeatLoop2Times 

This is a ShortCut for RepeatLoop 2.

It repeats all operations since corresponding StartLoop exactly once. Thus in summary they were run twice (once the first time and once by repeating them).

brp_RunSequenceCmd_CmdCode_RepeatLoop3Times 
brp_RunSequenceCmd_CmdCode_RepeatLoop4Times 
brp_RunSequenceCmd_CmdCode_RepeatLoop5Times 
brp_RunSequenceCmd_CmdCode_RepeatLoop6Times 
brp_RunSequenceCmd_CmdCode_RepeatLoop7Times 
brp_RunSequenceCmd_CmdCode_RepeatLoop8Times 
brp_RunSequenceCmd_CmdCode_RepeatLoop9Times 
brp_RunSequenceCmd_CmdCode_RepeatLoop10Times 
brp_RunSequenceCmd_CmdCode_RepeatLoop11Times 
brp_RunSequenceCmd_CmdCode_RepeatLoop12Times 
brp_RunSequenceCmd_CmdCode_RepeatLoop13Times 
brp_RunSequenceCmd_CmdCode_RepeatLoop14Times 
brp_RunSequenceCmd_CmdCode_RepeatLoop15Times 
brp_RunSequenceCmd_CmdCode_Wait100Ms 

This is a Shortcut for WaitMs 100.

It waits 100 ms before going on with the next operation.

brp_RunSequenceCmd_CmdCode_Wait200Ms 
brp_RunSequenceCmd_CmdCode_Wait300Ms 
brp_RunSequenceCmd_CmdCode_Wait400Ms 
brp_RunSequenceCmd_CmdCode_Wait500Ms 
brp_RunSequenceCmd_CmdCode_Wait600Ms 
brp_RunSequenceCmd_CmdCode_Wait700Ms 
brp_RunSequenceCmd_CmdCode_Wait800Ms 
brp_RunSequenceCmd_CmdCode_Wait900Ms 
brp_RunSequenceCmd_CmdCode_Wait1000Ms 
brp_RunSequenceCmd_CmdCode_Wait1100Ms 
brp_RunSequenceCmd_CmdCode_Wait1200Ms 
brp_RunSequenceCmd_CmdCode_Wait1300Ms 
brp_RunSequenceCmd_CmdCode_Wait1400Ms 
brp_RunSequenceCmd_CmdCode_Wait1500Ms 
brp_RunSequenceCmd_CmdCode_Wait1600Ms 
brp_RunSequenceCmd_CmdCode_Wait1700Ms 
brp_RunSequenceCmd_CmdCode_Wait1800Ms 
brp_RunSequenceCmd_CmdCode_Wait1900Ms 
brp_RunSequenceCmd_CmdCode_Wait2000Ms 
brp_RunSequenceCmd_CmdCode_Wait2100Ms 
brp_RunSequenceCmd_CmdCode_Wait2200Ms 
brp_RunSequenceCmd_CmdCode_Wait2300Ms 
brp_RunSequenceCmd_CmdCode_Wait2400Ms 
brp_RunSequenceCmd_CmdCode_Wait2500Ms 
brp_RunSequenceCmd_CmdCode_Wait2600Ms 
brp_RunSequenceCmd_CmdCode_Wait2700Ms 
brp_RunSequenceCmd_CmdCode_Wait2800Ms 
brp_RunSequenceCmd_CmdCode_Wait2900Ms 
brp_RunSequenceCmd_CmdCode_Wait3000Ms 
brp_RunSequenceCmd_CmdCode_Wait3100Ms 
brp_RunSequenceCmd_CmdCode_Wait3200Ms 
brp_RunSequenceCmd_CmdCode_Wait3300Ms 
brp_RunSequenceCmd_CmdCode_Wait3400Ms 
brp_RunSequenceCmd_CmdCode_Wait3500Ms 
brp_RunSequenceCmd_CmdCode_Wait3600Ms 
brp_RunSequenceCmd_CmdCode_Wait3700Ms 
brp_RunSequenceCmd_CmdCode_Wait3800Ms 
brp_RunSequenceCmd_CmdCode_Wait3900Ms 
brp_RunSequenceCmd_CmdCode_Wait4000Ms 
brp_RunSequenceCmd_CmdCode_Wait4100Ms 
brp_RunSequenceCmd_CmdCode_Wait4200Ms 
brp_RunSequenceCmd_CmdCode_Wait4300Ms 
brp_RunSequenceCmd_CmdCode_Wait4400Ms 
brp_RunSequenceCmd_CmdCode_Wait4500Ms 
brp_RunSequenceCmd_CmdCode_Wait4600Ms 
brp_RunSequenceCmd_CmdCode_Wait4700Ms 
brp_RunSequenceCmd_CmdCode_Wait4800Ms 
brp_RunSequenceCmd_CmdCode_Wait4900Ms 
brp_RunSequenceCmd_CmdCode_Wait5000Ms 
brp_RunSequenceCmd_CmdCode_Wait5100Ms 
brp_RunSequenceCmd_CmdCode_Wait5200Ms 
brp_RunSequenceCmd_CmdCode_Wait5300Ms 
brp_RunSequenceCmd_CmdCode_Wait5400Ms 
brp_RunSequenceCmd_CmdCode_Wait5500Ms 
brp_RunSequenceCmd_CmdCode_Wait5600Ms 
brp_RunSequenceCmd_CmdCode_Wait5700Ms 
brp_RunSequenceCmd_CmdCode_Wait5800Ms 
brp_RunSequenceCmd_CmdCode_Wait5900Ms 
brp_RunSequenceCmd_CmdCode_Wait6000Ms 
brp_RunSequenceCmd_CmdCode_Wait6100Ms 
brp_RunSequenceCmd_CmdCode_Wait6200Ms 
brp_RunSequenceCmd_CmdCode_Wait6300Ms 
brp_RunSequenceCmd_CmdCode_undefined 

Definition at line 76 of file typedefs.h.