
Integration Note
10
Line 4: Open “sio1:” channel2 \Bin
Opens the serial port to read binary data.
Line 5: dvtData := ReadStrBin(channel 2,5)
Reads 5 characters from the serial port and store them in dvtData.
Line 6: StrToVal(dvtData,dvtValue)
Converts the string in dvtData to a number and stores it in dvtValue.
Line 7: Close channel2
Closes the serial port.
Comentarios a estos manuales