Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Biral SWS200 Sensor configuration to CR850 on polled mode


Honour Aug 5, 2015 01:12 PM

I would like to connect biral SWS200 sensor to cr850, meantime I have a problem about polled mode programming.

On Continuous Output Sensor Mode, I succeded to connect and received all of raw data.

And then I tried polled mode, but I couldn't manage to write correct program.

here is my continuous mode program

BeginProg
SerialOpen (Com1,9600,3,0,10000)
Scan (1,Min,0,0)
PanelTemp (PTemp,250)
Battery (batt_volt)
SerialInRecord (Com1,RawString,0,0,0,NBytesReturned,01)
SplitStr (SplitStrings(),RawString,",",9,5)
FloatValueBB=SplitStrings(5)
IntegerValueNNN=SplitStrings(2)
IntegerValueXXX=SplitStrings(3)
IntegerValueCC=SplitStrings(6)
'Call Output Tables
'Example:
CallTable Test
NextScan
EndProg

You can find my reference documents below;

https://s.campbellsci.com/documents/us/technical-papers/serial.pdf

What should I add for polled mode

Also, how datalogger get sensor's command from us? For example: D? (send the latest data message). Where should I use this sensor command.

thank you for your advise

Log in or register to post/reply in the forum.