Ask a Question

CheckProperty on "wText" with cmpEqual intermittently fails

qadude73
Occasional Contributor

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
NisHera
Valued Contributor

TestObj.wText is a string value
probably your value is a number or floating point
try to convert your value to string

cancel
Showing results for 
Search instead for 
Did you mean: