Hello,
We are trying to set up 8 Gill Windmasters with analog communication to either 1 CR1000 datalogger or a AM16/32B multiplexer attached to the CR1000 datalogger.
Does anyone have any recommendation for coding to help us do this? The Windmasters have 4 analog input and 4 analog output ports.
Is this even possible? Thank you!
The analog outputs from that sensor are single ended voltages. It would work with the CR1000 and AM16/32B. The switching time of the multiplexer will be a limiting factor on your scan rate. You could make it through all of them on a 1 second scan with fast integration.
Hello tanthony,
this program works for Gill Windmaster (1590-PK-20) with analog communication with CR1000.
It measures u, v, w, Ts at 100 mSec sampling rate. Sample data (30 min) are stored in CFM100 module on compact flash card.
'Declare Variables and Units
Public BattV
Public PTemp_C
Public u
Public v
Public w
Public Ts
Units BattV=Volts
Units PTemp_C=Deg C
Units u=m/s
Units v=m/s
Units w=m/s
Units Ts=Deg C
'Define Data Tables
DataTable(Gill,True,-1)
TableFile("CRD:Gill",64,-1,0,30,Min,0,0)
DataInterval(0,100,mSec,10)
Sample(1,u,FP2)
Sample(1,v,FP2)
Sample(1,w,FP2)
Sample(1,Ts,FP2)
EndTable
'Main Program
BeginProg
'Main Scan
Scan(100,mSec,1,0)
'Default Datalogger Battery Voltage measurement 'BattV'
Battery(BattV)
'Default Wiring Panel Temperature measurement 'PTemp_C'
PanelTemp(PTemp_C,250)
'Generic Differential Voltage measurements 'u'
VoltDiff(u,1,autorange ,1,True,0,250,0.004,0)
'Generic Differential Voltage measurements 'v'
VoltDiff(v,1,autorange ,2,True,0,250,0.004,0)
'Generic Differential Voltage measurements 'w'
VoltDiff(w,1,autorange ,3,True,0,250,0.001,0)
'Generic Differential Voltage measurements 'Ts'
VoltDiff(Ts,1,autorange ,4,True,0,250,0.011,15)
CallTable Gill
NextScan
EndProg
Hope it helps!
Regards