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.

Pausing Scan Loop


texagg98 May 9, 2021 09:59 PM

I have a scan loop that sequences through multiple phases that last approximately a week.  I'd like to build in a way to "pause" the scan loop via digital input (manual switch, preferably), remove the sensors for evaluation, replace them, and then pick back up without losing place.  Is there any way to do this?


Nico May 10, 2021 05:43 AM

Don't think so.. but you can influence the writing to the output table.. see TrigVar for DataTable() command. This will disable triggering of the table and thus not write anything to memory.

TrigVar (Trigger Variable)

The constant, variable, or expression that will be tested to determine whether or not to trigger output to the DataTable. If the TrigVar is 0, a new record will not be saved to the datatable. If it is any non-zero number, a new record will be written.

Trigger

Type: Constant, Variable, or Expression

Assumption ('place' = 'memory space') and your goal being to save logger memory for data?! per this bit of your post:

..then pick back up without losing place.

 ..

You can then use one of the control ports to detect a manual switch (for example have the port set up as input) and then have a switch wired to 5V (check port voltage tolerance, for CR1000 you can even apply 12V) and control a variable which controls the DataTable() TrigVar - see PortsConfig() and PortGet() commands.

PS: I did something like that to control the RS232 port of a CR800 and switch it from reading a device to me being able to connect to the logger via the same port from Loggernet.

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