Time-based Alarms

Having problems ? let us know the details here
Post Reply
lrasmussen
Newbie
Posts: 1
Joined: Thu Oct 01, 2020 4:02 pm

Time-based Alarms

Post by lrasmussen »

Software - PicoLog 6
Hardware - PicoLog 1216
Project - power-cycling and measuring liquid levels.
Problem - getting digital outputs from alarms to turn off after capture is complete

I have alarms configured to Set/Reset a latch which controls a relay which controls my pump (Reset/deactivate pump when liquid is at max level, Set/activate pump when liquid is at min level). The alarm which resets the pump should always be active, but I would like to turn off the alarm which sets the pump when capturing is complete so that the system isn't cycling needlessly.

Is there a way to access the time (either absolute or relative to the start of recording, preferably the latter) in a custom expression for an alarm? If not, what alternatives are there using only PicoLog hardware/software? Am I better off putting a smart plug in line with my relay to permanently turn off my pump?

Gerry
PICO STAFF
PICO STAFF
Posts: 900
Joined: Mon Aug 11, 2014 11:14 am

Re: Time-based Alarms

Post by Gerry »

Hi lrasmussen,

Sorry for the delay in answering, it's been a busy week.

If, you mean that you'd like to disable the alarm, once the minimum level has been reached for the first cycle, then there's no way to use time as a control mechanism (as there's no reference to it). However, what you could do is set a 'Run Executable' alarm action to occur after the Alarm actions have taken place for the minimum level, which runs a Batch file that was transformed into an Executable from one of the many methods described on the Net (such as: https://appuals.com/batch-to-exe/). If the Batch file was first created from the PicoScope automation commands to load a settings file which has the exact same settings as those that you're currently using, except that there's no alarm for the minimum level, then when this overrides your current settings it would effectively turn off the alarm. An Automation command to load a settings file would be as follows:

picoscope /a File.Open.IO=C:\Users\[your user name]\Desktop\test.pssettings
(note that this will also start the capture once loaded)

Regards,

Gerry
Gerry
Technical Specialist

Post Reply