Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

how to reboot device attached to SW12-1 once every 24hours CR6


Shanks.J Mar 19, 2020 02:39 AM

I am running a simple program with an automated weather station, unfortunately after 7 days exactly it locks up. 
all that it needs is a full power cylce and it performs well again. (i have let the manifactureres know and we are working ina solution together)

in the mean time, i was thinking of powering the device with the 12volt switch, and powering it off for say 1 minute evewry 24hours.
how would i achieve this?

at the moment i runa slow sequence for a gps timing device which turns on once and hour.
but how to i keep the device on, and then turn off for a small section of time.

thanks in advance


Bluegrass Mar 19, 2020 01:26 PM

See following for detail:

https://www.campbellsci.com/forum?forum=1&l=thread&tid=2977

I still use it after I shift to RV50.


Shanks.J Mar 29, 2020 08:58 PM

FTY for people who are looking for a similar solution.

i have found two different ways to tunr the switch off for a limited time but stay on for the remainder of the time.

1.

If IfTime(640,1440,min) Then SW12(1,0) 'Turn off at 10:40am (640minutes out of 24 hours is 1040am)

If IfTime(645,1440,min) Then SW12(1,1) 'Turn on at 10:45am

 If TimeIsBetween (690,700,1440,Min) Then 'between 1130am and 1140

SW12(1,0)'turn off SW12

Else

SW12(1,1)'turn on SW12


this has worked perfectly for me,
what i plan now is to turn it off for one minute every 24 hours, and have it write to table 1 every 10 minutes, meaning that there will be no missing data in that table.

best,
J

Log in or register to post/reply in the forum.