Campbell Scientific CS512 Oxyguard Type III Dissolved Oxygen Probe
|
| EXAMPLE 8. Sample Program using P86 and P22 Instructions |
|
| |
45: Do (P86) |
| |
1: | 41 | Set Port 1 High |
46: Excitation with Delay (P22) | ||
1: | 1 | Ex Channel |
2: | 20 | Delay W/Ex (units = 0.01 sec) |
3: | 0 | Delay After Ex (units = 0.01 sec) |
4: | 0 | mV Excitation |
47: Do (P86) |
| |
1: | 51 | Set Port 1 Low |
48: End (P95)
In the CR200 series dataloggers, use the Portset instruction.
EXAMPLE 9. Sample Program using Portset
Portset (1,1)
Delay(500,msec)
Portset(1,0)
In the CR1000, CR800, CR850, and CR3000 dataloggers, use the Portset instruction.
EXAMPLE 10. Sample Program using Portset
Portset (1,1)
Delay (1,500,msec)
Portset (1,0)
The above example is not as power efficient as possible and would require AC power to maintain a sufficient battery charge. If it is necessary to operate an agitator without AC power available, write the program so that the agitator is only operated for a short period of time just before the measurement is to be taken.
8