Hi
I am new at using the Cr1000 datalogger and need some help writing a programe to measure oxygen using a FIBOX 3 (Fiber-optic oxygen meter) to measure oxygen every 1 hour. Here are some information about the FIBOX 3:
GENERAL SPECIFICATION - ANALOG OUTPUT
Channels 2
Connector BNC
Resolution 12 bit
Output range 0 to 4095mV (±2mV max. error)
Galvanic isolation 500V rms
Shortcut protection Yes
GENERAL SPECIFICATION - EXTERNAL TRIGGER INPUT
Channels 1
Connector BNC
Input voltage range TTL-compatible / up to 24V
Trigger mode Low-High-Low
(Input must be kept Low for at least 50 μs)
Normal state no current
Isolation 500 V rms
Timing Specifications:
Min rise &fall time for trigger 15 ns (see TTL-specification)
Max rise &fall time for trigger 2 ms
Min pulse length 3 ms
Min pause length 10 ms
Min period length 13 ms
I guess that the two output channels (Oxygen and temperature) should be connected to two SE channels on the Cr1000? But which panel triggers the measurement on the FIBOX 3?
Do anyone have a suggestion for a programme code?
JHolger,
Give this a try. You may have to adjust the delay. You have to change the multiplier to read the correct Oxygen and Temperature, I didn't look up the ranges so this will give you millivolts.
Good Luck,
IslandMan
'CR1000 Series Datalogger
'Declare Public Variables
Public Oxygen,TempC
'Define Data Tables
DataTable (Test,1,1000)
DataInterval (0,15,min,10)
Average (1,Oxygen,FP2,False)
Average (1,TempC,FP2,False)
EndTable
'Main Program
BeginProg
Scan (1,Sec,0,0)
PortSet (1 ,0 )
If IfTime(0,1,min) Then
PortSet (1 ,1 )
Delay (1,20,mSec)
PortSet (1 ,0 )
VoltSe (Oxygen,1,mV5000,1,1,0,_60Hz,1.0,0)
VoltSe (TempC,1,mV5000,2,1,0,_60Hz,1.0,0)
EndIf
CallTable Test
NextScan
EndProg
This post is under review.