Good morning Andreia,
Yes you can by using alarms to change the schedule sample speed.
For example if you are sampling schedule A every 1 second and wish to change the sample rate to once per minute after 1 hour then you can:
Begin ' Start a new program
2ST(W)=0 'Set system timer 2 (Minutes) to 0
1CV=0 ' Flag for triggering alarm
RA1S ' Report schedule A every 1 second
Reft 'Sample a channel.
Alarm(2ST>60){1CV=1} 'If 1 hour is up then set flag
Alarm(1CV==1){RA1M} 'If flag is true change sample speed
End
Notes:
1/ 1ST holds seconds of the minute, 2ST holds minutes of the hour, 3ST holds hour of the day, 4ST holds day of the week.
2/ RA1S = report schedule A every 1 second, 1M = every 1 minute, 1H = every 1 hour, 1D = every 1 day.
Cheers,
Roger
Good morning Andreia,
Yes you can by using alarms to change the schedule sample speed.
For example if you are sampling schedule A every 1 second and wish to change the sample rate to once per minute after 1 hour then you can:
Begin ' Start a new program
2ST(W)=0 'Set system timer 2 (Minutes) to 0
1CV=0 ' Flag for triggering alarm
RA1S ' Report schedule A every 1 second
Reft 'Sample a channel.
Alarm(2ST>60){1CV=1} 'If 1 hour is up then set flag
Alarm(1CV==1){RA1M} 'If flag is true change sample speed
End
Notes:
1/ 1ST holds seconds of the minute, 2ST holds minutes of the hour, 3ST holds hour of the day, 4ST holds day of the week.
2/ RA1S = report schedule A every 1 second, 1M = every 1 minute, 1H = every 1 hour, 1D = every 1 day.
Cheers,
Roger