If/ElseIf/Else/EndIf

 

Instrument Type:

System command

Related Commands:

Trigger, Wait

Description:

The IF control command allows you to execute a command only if a certain condition is fulfilled. If the IF condition is true, the statements enclosed between IF and ENDIF are executed. Otherwise, they are ignored.

Function:

When the IF condition is true, the associated commands are executed. Otherwise, each ELSEIF condition is evaluated in turn until a condition is found to be true and the associated command(s) are executed. The statements of the final ELSE (if available) will be executed if none of the IF or ELSEIF conditions are true. The IF structure always ends with ENDIF.

Parameters:

 

 Condition

The system waits until the IF or ELSEIF condition specified here is realized (see Trigger)

 Tips:

Usually, while acquisition is disabled or interrupted, signal values cannot be evaluated.

 

Conditional execution of the Flow, %B, %C, and %D commands is restricted to isocratic separations.

 

For certain instruments, the settings cannot be changed during the sample run. Thus, it may happen that IF commands are not performed.