After three months, I finally completed the task of developing the power quality meter! I was a little scared when I took over this project, because I have never completed a project under the arm system's wince system, so I feel a lot of reason and self-feeling! There are mainly the following points:
1. Some VI and controls in LabVIEW cannot support wince, and some functions can only be completed by calling evc dll.
2. Modify the Low-layer driver of Wince to collect 10-bit ad of arm2440 (the sampling speed is 100 K)
3. Modify the driver to complete common protocols such as SPI, PWM, and I2C to communicate with the external device (I2C and SPI communicate with AD)
4. Successfully called the wince DLL. Of course, both EVC and VS can achieve the goal.
5. through continuous efforts, the man-machine interface can reach the level of the iPhone 4 interface I used, including dynamic controls, transparency, and image processing.
Although the above difficulties have been overcome by hard work, the combination of LabVIEW and WinCE (not to mention wince and ARM9.) is discovered only after the product is successfully run:
1. The interface is not as rigid as it is on a PC. You can do whatever you want. This is mainly because in has not worked hard in an embedded system. Some property nodes do not support wince, and custom controls do not support it, but we have done it in other ways!
2. for hardware reasons, the execution efficiency of LabVIEW itself is incomparable with that of other software. What's more, it runs in a hard environment like ARM9. it is as slow as that of ox, so when I switch from one screen to another, it's a bit of a card. We plan to use arm11 in the future.
In short, there are many shortcomings, but the portable device can only do this, atom is much larger than his power consumption!
At present, we have completed three portable devices related to wince + LabVIEW + arm. We will continue to innovate in the future!
On the diagram of one of the projects:
Reprinted address http://blog.163.com/gogo423@126/blog/static/692110842011271018953/