AnalogueSetEvent

Top  Previous  Next

Message

 

AnalogueSetEvent <linenumber>|<alias> above|below|range [<parameters>] <eventtext>

 

Originator

 

Client

 

Response

 

Info: analogue event created: <linenumber> <eventclass>

Error: analogue event refused: <reason for refusal>

SyntaxError: insufficient parameters to AnalogueSetEvent

SyntaxError: invalid parameters to AnalogueSetEvent

 

Response (immediate socket)

 

Success

Failure

 

Details

 

The following event classes may be requested from analogue input or output lines:

 

Above <voltage>. Produces an event when voltage exceeds specified value. No further events are produced while the voltage remains above the threshold; the next such event will occur once the voltage falls below and then rises above the threshold again.
Below <voltage>. Produces an event when voltage falls below specified value.
Range <minVoltage> <maxVoltage>. Produces an event when voltage enters the specified range.

 

Only one event of each class may be set.

 

Examples

 

AnalogueSetEvent echemProbe above 0.5V BurningBrain

AnalogueSetEvent echemProbe below –0.5V BurningBrain

AnalogueSetEvent echemProbe range –0.005V 0.005V NiceAndChilled

 

Revision history

 

Implemented in WhiskerServer version 2.6.8.