Yokogawa DAQWORX User Manual

Page 64

Advertising
background image

2-34

IM WX103-01E

Event Functons

Function used to carry out a given operation (event). They are not case-sensitive. They
are mainly used in conjunction with the conditional operator (?).The return values are
indicated below. The event is actually executed after the computation is complete.

• Execution successful: 1.0

• Execution failed: 0.0

• Invalid parameter: NaN

Functon

Descrpton

Example

AlarmAck()

Issue an alarm acknowledge

ch(00001)>ch(00002) ? AlarmAck() : 0

ResetMath()

Reset the computation

ch(00010)>=1.0 ? ResetMath() : 0

ResetTimer()

Reset the values of all timers

ch(00010)>=1.0 ? ResetTimer() : 0

ResetTimer(<timerNo>)

Reset the specified timer

ch(00010)>=1.0 ? ResetTimer(1) : 0

ResetTLog()

Reset the TLOG computation

ch(00010)>=1.0 ? ResetTLog() : 0

StartRec()

Start recording
Valid after carrying out the
record start procedure.
Discarded if the recording is
already started (returns 1.0).

ch(00010)>=1.0 ? StartRec() : 0

SplitRec()

Move to the next data file
Valid after carrying out the
record start procedure.

ch(00010)>=1.0 ? SplitRec() : 0

StopRec()

Stop recording
Valid after carrying out the
record start procedure.
Discarded if the recording is
already stopped (returns 1.0).

ch(00010) >=0 ? StopRec() : 0

Mark(“mark”

Create a mark. The text inside
the double quotation marks is
arbitrary.

ch(00010) >=0 ? Mark(“mark” : 0

• If the spacing between the execution of StopRec() and StartRec() is short, StartRec()

may not be executed. When repeating start/stop frequently, consider using the Split

function.

• The computed result at the time record start is executed is not necessarily recorded to

the file.

2.5 Settng Computatons (Settng the Computaton Channels)

Advertising
This manual is related to the following products: