Hi Konrad,
The requirement is not difficult to achieve; you can use one "while-event" schedule and one "manual" schedule for this purpose.
Assuming you have schedule A running every 15 seconds only if the value of 99CV is non-0. Then, have a CV counter (i.e., 98CV) to calculate the time interval; if you wish to run it for 10 minutes, you need to see up to 40 counts.
At the 40th count, stop schedule A by sending 99CV=0, reset CV counter 98CV=0, and trigger schedule B.
You only need to send 99CV=1 from the command interface to start the cycle. You need to start this cycle manually.
BEGIN
RA15S:99CV LOGONA
98CV(W)=98CV+1
'your channels'
....
....
IF(98CV==40){99CV=0 99CV=0 XB}
RBX
'your FTP'
DO{COPYD dest=ftp://.....}
END
Best regards,
dataTaker Expert
Hi Konrad,
The requirement is not difficult to achieve; you can use one "while-event" schedule and one "manual" schedule for this purpose.
Assuming you have schedule A running every 15 seconds only if the value of 99CV is non-0. Then, have a CV counter (i.e., 98CV) to calculate the time interval; if you wish to run it for 10 minutes, you need to see up to 40 counts.
At the 40th count, stop schedule A by sending 99CV=0, reset CV counter 98CV=0, and trigger schedule B.
You only need to send 99CV=1 from the command interface to start the cycle. You need to start this cycle manually.
````
BEGIN
RA15S:99CV LOGONA
98CV(W)=98CV+1
'your channels'
....
....
IF(98CV==40){99CV=0 99CV=0 XB}
RBX
'your FTP'
DO{COPYD dest=ftp://.....}
END
````
Best regards,
dataTaker Expert