Hello,
Any idea why this does not compile? With error message for the SerialInRecord: "line 30: Number of bytes 16 must be less than input buffer 0"
I've set the buffersize in serialopen to "17".
Datalogger is CR1000X
'Main Program
BeginProg
Scan (1,Sec,0,0)
PanelTemp (PTemp,15000)
'Flowmeter
SerialOpen (ComC1,38400,0,0,17,0)
SerialOut (ComC7,"DCFTP0001","",0,0)
SerialInRecord (ComC7,FlowString,0,16,&H13,NBytesReturned,01)
SplitStr (FlowResult(),FlowString,",",3,5)
CallTable Test
NextScan