Ok you need to edit three parts of the code to add an FPI command.
First Part:
1. Search for this in the source code:
#constant AIACTTIMERSTART 1211
2. Copy the line and paste it below.
3. Edit it for your own command, you must also increase the number at the end by one for each new command.
For example:
#constant AIACTSETSYNC 1212
Second Part:
1. Search for this in the source code:
actword$(AIACTTIMERSTART)="timerstart"
2. Copy the line and paste it below.
3. Edit it for your command.
For example:
actword$(AIACTSETSYNC)="setsync"
Third Part:
1. Search for this in the source code:
case AIACTTIMERSTART:
2. Copy the whole case (from case to endcase) and paste it below.
3. Edit it for your command.
For example:
case AIACTSETSYNC:
variable = aiactionseq(seq).value
endcase
Make sure that for all the lines you keep the AIACT bit the same.
knxrb