Support Forums
How easy it is to create event based 10min capture and 10min data export?

Hi,

I would like to trigger DataLogger over telnet connection to start data capture, and after defined period of time 10 min for example, DataTaker should save this 10min period data back to ftp server for example.

Regards
Konrad

Hi, I would like to trigger DataLogger over telnet connection to start data capture, and after defined period of time 10 min for example, DataTaker should save this 10min period data back to ftp server for example. Regards Konrad

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
27
1
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft