beautypg.com

3 inhibit sampler’s program, Inhibit sampler’s program – Campbell Scientific 10164-L Water Sampler Control Cable for use with Isco and Sigma Autosamplers User Manual

Page 12

background image

10164-L Sampler Control Cable for use with Isco and Sigma Autosamplers

'CR1000 Series Datalogger

'Declare Public Variables
Public Events

'Define Data Tables
DataTable (Sampler,1,1000)
Totalize (1,Events,FP2,False)
EndTable

'Main Program
BeginProg
Scan (1,Sec,0,0)
PulseCount (Events,1,1,0,0,1.0,0)
'Call Output Tables
CallTable Sampler
NextScan
EndProg

4.1.3 Inhibit Sampler’s Program

To inhibit a sampler’s onboard program, use the

PortSet() instruction.

Whether the port should be set low or high depends on the onboard program’s

logic. For samplers such as the products manufactured by Isco, the onboard

program is inhibited by setting the control port low.

TABLE 4-3. Wiring for Example of Inhibiting an

Isco Onboard Program

Color Description CR800, CR850, CR1000, or CR3000
Purple Ground

Green Control Port C1
Clear

Shield

For example, if the cable is wired as shown in TABLE 4-3, a datalogger

program that includes the following CRBasic instruction will inhibit an Isco

sampler’s onboard program:

PortSet(1,0)

Above is only a portion of the CRBasic program.

After an Isco sampler’s program has been inhibited, it can be allowed to run by

setting the port high.

NOTE

6