Forum Discussion

qadude73's avatar
qadude73
Occasional Contributor
8 years ago

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

  • NisHera's avatar
    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