PH from Brazil Posted February 25, 2011 Report Share Posted February 25, 2011 Dear, how are you? I have a problem and would appreciate any help. I use a serial port from Visio 230 to read data from a Vaisala WXT520 weather station. It´s all right but the rain message. I´ll explain. I receive repeatdly the rain message in the following format: 0R3,Rc=9.9M,Rd=8s,Ri=7.7M,Hc=6.6M,Hd=5s,Hi=4.4M,Rp=9.9M,Hp=2.2M<CR><LF> But dependent on the intensity of rain, the message changes its long and may be like this 0R3,Rc=19.9M,Rd=18s,Ri=27.7M,Hc=16.6M,Hd=25s,Hi=14.4M,Rp=91.9M,Hp=22.2M<CR><LF> In resume: only the dividers are constant, but the numbers are not. The message lenght changes because of numbers change. How can I use Protocol Scan to read this message "all the time", independent on values or string length? I tried to use 8 Variables at the configuration protocol to this message, but it not worked. Some doubts: - What configurations may I do on message properties? I tried to use Numeric, Decimal ASCII with no fixed length, with No Prefix. It should be working? - When I use only one variable to transfer all the message to, it worked, but it´s very difficult solve the values when the positions are not fixed. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.