Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

troubleshooting with pushbutton "verify on"

With Lookout 5.1 and win2000+sp4.
Is possible to set a table writable member (a1.logical in example) with standard Pushbotton, but isn't possible with pushbutton and "verify on" options activated("push?" in example).
In the first case a led of a connected latched object is activeted, is not in the second case..why?
See, for example, the attached simple application.
Tanks.
0 Kudos
Message 1 of 3
(3,398 Views)
You would probably get a better explanation from Nation Instruments, but remember that Lookout is a loosely typed environment � except for the data table object. It is still necessary to type cast the data members, i.e. txt, logical, numeric. This can alter the interaction with other objects as you have noticed. I realize this is probably a small piece of a bigger puzzle, but I would recommend NOT using a URL to connect the PushButton and the DataTable. Instead try using an �edit connection� on the DataTable to get (pull) the value of the pushbutton (Table1.test1 = Pb1;). Or even better, bypass the DataTable completely and use the PushButton directly in the LatchGate properties (Turn On = Pb1). Either of these methods will give the expected result. The Data
Table makes for a good one way data flow (in or out via connecting data members) but has some limitations doing the two-way flow of data via the URL. The use of a PushButton to set, Switch to reset has me somewhat puzzeled, so I�ll offer this last little bit. Keep in mind that Lookout is event driven, so even when the Switch is �on� and resets the LatchGate, the Pushbutton will still activate the LatchGate.
Message 2 of 3
(3,398 Views)


Looks like you found a bug! In its simplest form, the DataTable logical doesn't seem to update when the "Verify On" is set for the PushButton -- even with a direct connection.

The same works fine with a verify-enabled Switch.

Not sure what you can do about it though. One obvious workaround is to not use the "verify" feature. Or, work around your logic to use a Switch instead of a PushButton.

Regards,

Khalid

Message 3 of 3
(3,398 Views)