I am trying to wire 3 T4 tensiometers from Decagon to the CR1000 (along with 3 EC-TM soil moisture sensors) using a multiplexer. Decagon does not have any program for the tensiometers with the multiplexer. the program they do have is directly from the datalogger:
'CR1000
'program to measure UMS analog tensiometer
'(T1, T3, T4, T5) with CR1000 datalogger
'Wiring
'Brown - supply (+) - Ex. Ch. 1
'Blue - supply (-) - Ground
'White - signal (+) - differential channel 1 H
'Thin Black - signal (-) - differential channel 1 L
'Thick Black - shield - ground
Public WP
Units WP=kPa
DataTable(Table1,1,-1)
DataInterval(0,30,sec,10)
Sample (1,WP,FP2)
EndTable
BeginProg
Scan(1,Sec,0,0)
BrFull(WP,1,mV250,1,Vx1,1,2500,False,False,0,_60Hz,-10.6,0.0)
'note that RevEx and RevDiff must both be false
'to read UMS tensiometers note that multiplier of
'-10.6 adjusts the sign of output to standard
'convention (pressure = positive number and
'tension = negative number)
CallTable(Table1)
NextScan
EndProg
I need help converting this program to be used by a multiplexar.
Thanks