CheckProperty on "wText" with cmpEqual intermittently fails
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2017
03:46 PM
03-21-2017
03:46 PM
CheckProperty on "wText" with cmpEqual intermittently fails
I have a text field that I enter incremental numerical values in and send to the firmware after each increment. In between increments, I do get a data from the firmware and compare the returned value to the last sent data. However, even though the returned value is same as the last sent, aqObject.CheckProperty(Object, "wText", cmpEqual, lastdata) sometimes fails and sometimes passes. Refer to attachment for an example.
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2017
08:08 PM
03-21-2017
08:08 PM
TestObj.wText is a string value
probably your value is a number or floating point
try to convert your value to string
