In many cases can not directly use the data collected from the device, also we need to deal with it. If the script is used, a little too complicated, while the use of arithmetic expressions, it is very easy to solve such problems.
A. Devices are connected
Operating environment set up: Win7 system, please download the device driver, download address is : Please install the VS2010 / VS2015 and expand the package
Prepare materials: YF3300 equipment package, configuration Key (when purchasing goods manufacturers will be bundled month trial version) official download YFIOsManager configuration management software. Download Link:
http://www.yfiot.com/content/downsort?current=1&title=1
Device connection: . A The configuration key into the computer, the bundled GPRS antenna connected, insert the card comes with things ( you can also use the card to buy their own things )
b. The YF3300 by Type-C connected to the computer
Two . Device Configuration:
(1) Open the downloaded YFIOsManager software, select USB connection, connection YF3300
(2) In the data configuration new in IO variables
Double-click on the New ... option to create an internal integer data configuration Value variables, the initial value is set to 1 00
Then create an internal integer variable VOut , initial value 0 .
(3) In the Policy list , double-click in the New ... from SYS select "button in Ye Fan IO variable expression operation."
(4) in the IO connection where we write an expression {Value} * 10 * 5 . Note that {} indicates that there is a variable IO variable data may vary. Output variables, we choose " VOut ", this result output.
(5) Click the deployment button deployment expression operators created, select the system is restarted, deployed
Three . Run the debugger
Click data monitoring, view the data.
We try to modify Value is 5 , you can see VOut become 5 5 a
Schematic operating results
Want to experience Ali cloud IoT platform, users can click on the following link :