I have a script but it can't be compiled because writing came out " Expression too long break it up "
'open serial port
SerialOpen (COM1,9600,0,0,100000)
'output serial string
If ASRS.output(1,1) Then
SerialOut(COM1,"MMI"&""&Year&";"&Month&";"&DOM&";"&hour&";"&minute&";"&sundir_azimuth&";"&sundir_altitude&";"&diffuse_rad_round&";"&DNI_rad_round&";"&global_rad_round&";"&reflected_rad_round&";"&UVA_rad_round&";"&UVB_rad_round&";"&IR_rad_round&";"&nett_rad_round&";"&Sunshine_minutes&CR&LF,"",0,100)
EndIf
please give mee solution...
thanks...
Create a string variable. On a line before SerialOut(), set the string equal to the expression. Then, use the string as the source for SerialOut().