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.

Inhibit ISCO auto-sampler


sbaumgartner Mar 18, 2019 03:24 PM

Hi everyone,

I'm trying to write a CR1000 programm to inhibit my ISCO auto-sampler. I have a pressure transducer connected to my CR1000 and I have programmed the ISCO sampler internaly and I want this program to run only once a certain waterIevel is reached (0.5m). The sampler should be inhibited again once the waterlevel falls under another value (0.2m). I know that I have to set a port high or low but as I have two different values I'm a bit confused how to program this.

Thanks for all your inputs.


smile Mar 18, 2019 04:51 PM

Hi

this is an simple example;

If waterLevel > 0.5 Then PortSet (1 ,1 ) 'enable the sampler
If waterLevel < 0.2 Then PortSet (1 ,0 ) 'inhibit the sampler

or

If waterLevel < 0.2 Then PortSet (1 ,1 ) 'inhibit the sampler
If waterLevel > 0.5 Then PortSet (1 ,0 )  'enable the sampler

depends how the sampler logic interprets the high or low port C1 (in my example)

Smile

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