Campbell Hausfeld 4-Channel Current/Voltage SDM-CVO4 User Manual

Page 28

Advertising
background image

SDM-CVO4 4-Channel Current/Voltage Output Module

EndIf

' Scale the measurements for the SDM-CVO4 to output 0-10000 mV

WSOut = WS_ms*200 'WS: 0-50 m/s = 0-10000 mV

WDOut = WD_0_540 *18.59 'WD: 0-540 deg = 0-10000mV

TempOut= 100*(Temp_C+40) 'Temp: -40-60 deg C = 0-10000 mV

RHOut = RH *100 'RH: 0-100 % RH = 0-10000 mV

' Send mV outputs to SDM-CVO4 using the option to override the switch settings

SDMCVO4

(CVO4Output(),4,0,10)

NextScan
EndProg

This is a blank page.

22

Advertising