06-05-2007 05:02 PM
06-06-2007 01:39 AM
This reminds me of older bugs in the event structure on the PDA where you wouldn't get some of the data from the terminals. I would suggest typecasting both references to I32 and seeing if they are actually the same number.
This also reminds me of this thread, although the problem there was different. Perhaps casting the references to a more generic class might help.
Another option would be to see if you can wire the reference into a property node and compare it from there.
The last option I can think of is using two events and doing the actual code somewhere else or in a subVI.
06-06-2007 11:39 AM
06-07-2007 12:35 PM
Hi there,
I built the exact same VI (attached below) as in your image, and I only got 4-digit numbers for all. Having said that, I did only have the Mobile 5.0 Emulator. Could you please post your VI so I can test it out to be sure? Thanks!
Stephanie
06-07-2007 01:08 PM
06-08-2007 12:52 PM
Hey there Guru -
I figured out it was because of your numeric representation. You had the numbers as I32 and the CtlRef inside the structure only uses 16 bits, and so it was only using part of the information, which is why you were seeing different values. I changed your code to have all of the refs be I16 and you can see they are all the same. Hope this helps!
Stephanie
06-08-2007 01:19 PM
06-11-2007 05:27 PM
It's because there's a bug.
I've filed this to R&D with your VI (thanks!) with reference number 4AAGC269. Thanks for finding this but I hope this is an acceptable workaround for now!
Stephanie
06-11-2007 07:26 PM
06-15-2007 02:24 PM