Hello,
I have a CR1000 connected to HC2S3, Wndsonic1, CS106 sensors. I am trying to use SDM-CV04 to output the measured variable in 4-20mA that will be fed to an RTU.
I used ShortCut to generate the program, but the scaling values that were generated gave me results that were completely off the mark, so i edited the scaling values and tried again. It seemed to work.
But when i used a multi meter to confirm the values observed on the 'Connect' screen/module with the ones i am getting at Channels 1-4, they dont match AT ALL. 
I changed the jumper settings to output current and also checked the SDM address.
I really need help to resolve this.
Do i need to have it connected to the RTU to get correct values.  
Please advise.
below is the extract of the scaling(i made) and the code (generated by shortcut)
"
Main Program
BeginProg
	'Open Com3 for communications with the
	'WindSonic1 Two Dimensional Sonic Wind Speed & Direction Sensor
	SerialOpen(Com3,38400,3,0,505)
	'Main Scan
	Scan(5,Sec,1,0)
		'Default Datalogger Battery Voltage measurement 'BattV'
		Battery(BattV)
		'Default Wiring Panel Temperature measurement 'PTemp_C'
		PanelTemp(PTemp_C,_60Hz)
		'CS106 Barometric Pressure Sensor measurement 'BP_mbar'
		PortSet(4,1)
		VoltSE(BP_mbar,1,mV2500,1,1,0,_60Hz,0.240,500)
		'HC2S3 (constant power) Temperature & Relative Humidity Sensor measurements 'AirTC' and 'RH'
		VoltSE(AirTC,1,mV2500,2,0,0,_60Hz,0.1,-40)
		VoltSE(RH,1,mV2500,3,0,0,_60Hz,0.1,0)
		If RH>100 And RH<103 Then RH=100
		'WindSonic1 Two Dimensional Sonic Wind Speed & Direction Sensor measurements 'WindDir', 'WS_kph', and 'WSDiag'
		'Get data from WindSonic1
		SerialInRecord(Com3,WSStr,&h02,0,&h0D0A,ByteRet,00)
		WindDir=Mid(WSStr,3,3)
		WS_kph=Mid(WSStr,7,6)
		WSDiag=Mid(WSStr,16,2)
		WS_kph=WS_kph*3.6
		ChkSumF=HextoDec(Mid(WSStr,20,2)) Eqv CheckSum(WSStr,9,18)
		'Set diagnostic variables as needed
		If ByteRet=0 Then WSDiag=NAN
		Move(SmplsF,9,0,1)
		Select Case WSDiag
			Case=0
				SmplsF=1
			Case=1
				Diag1F=1
			Case=2
				Diag2F=1
			Case=4
				Diag4F=1
			Case=8
				Diag8F=1
			Case=9
				Diag9F=1
			Case=10
				Diag10F=1
			Else
				NNDF=1
		EndSelect
		If Not (ByteRet<>0 Imp ChkSumF) Then CSEF=1
		'SDM-CVO4 Current/Voltage Output
		'Configure SDM-CVO4 for mA output
		SCode(1)=255
		SCode(2)=255
		SDMSIO4(SCode(),1,0,5,320,0,0,2,1,0)
		'Scale measurements and load array with mA to be output
		CVOut(1)=29.09090909*(BP_mbar-550)+4000
		CVOut(2)=161.2903226*(AirTC+39.2)+4000
		CVOut(3)=160*RH+4000
		CVOut(4)=74.0748*WS_kph+4000
		'Send mA to be output to SDM-CVO4
		SDMAO4(CVOut(),4,0)
		'Call Data Tables and Store Data
		CallTable(Table1)
		CallTable(Table2)
	NextScan
EndProg
"