Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
Why did wind sensor cannot received via serial test data source?
-
I am now testing wind sensor via the serial port (COM1). The brochure attached
Following is the data via hyperminal , please refer to page 38 of the brochure
Q,136,000.39,1010.7,087.4,+027.6,+025.3,,+4.9680,+99998.0003,0000.000,+11.9,00,4C
Q,146,000.41,1010.7,087.3,+027.6,+025.3,,+4.9681,+99998.0003,0000.000,+11.9,00,42
Q,146,000.35,1010.7,087.3,+027.6,+025.3,,+4.9684,+99998.0003,0000.000,+11.9,00,44
Q,146,000.39,1010.7,087.3,+027.6,+025.3,,+4.9680,+99998.0003,0000.000,+11.9,00,4C
Q,155,000.38,1010.7,087.3,+027.6,+025.3,,+4.9681,+99998.0003,0000.000,+11.9,00,4E
Q,156,000.43,1010.7,087.3,+027.6,+025.3,,+4.9684,+99998.0003,0000.000,+11.9,00,44
Q,162,000.38,1010.7,087.3,+027.6,+025.3,,+4.9680,+99998.0003,0000.000,+11.9,00,4B
Q,161,000.47,1010.7,087.3,+027.6,+025.3,,+4.9682,+99998.0003,0000.000,+11.9,00,42
Q,165,000.31,1010.7,087.3,+027.6,+025.3,,+4.9682,+99998.0003,0000.000,+11.9,00,47
Q,142,000.34,1010.7,087.3,+027.6,+025.3,,+4.9680,+99998.0003,0000.000,+11.9,00,45
Q,146,000.35,1010.7,087.3,+027.6,+025.3,,+4.9680,+99998.0003,0000.000,+11.9,00,40I apply the regex express in setting
Fill "\r "in the Message Terminator option
Fill "[\s\S]Q,\d+,?[,?][\d.?]+[,?][\d.?]+[,?]+[\d.?]+[,?]+[\d.?]+[,?]\s*[,?]+[\d.?]+[,?]+[\d.?]+[,?][\d.?]+[,?]+[\d.?]+[,?]\d+,[\s\S][^\r\n]+" in the Message Regex
Fill "wind speed=" in point Identifier option
Fill "1" in Value Index option
Fill "?]([\d.?]+)[" in value regex option
While I am testing, I got "[\s\S]Q,\d+[,?][\d.?]+[,?][\d.?]+[,?][\d.?]+[,?]+[\d.?]+[,?]+[\d.?]+[,?]\s*[,?]+[\d.?]+[,?]+[\d.?]+[,?][\d.?]+[,?]+[\d.?]+[,?]\d+,[\s\S][^\r\n]+ does not match pattern"
At this moment, the data I need is wind direction,wind speed,Analogue Input 1 ,total 3 value.
I have red marked the received sample datas I?need ,
Q,146,000.35,1010.7,087.3,+027.6,+025.3,,+4.9680,+99998.0003,0000.000,+11.9,00,40please give advise ?
BR
Attachment: download link