02-24-2003 01:00 PM
02-24-2003 02:08 PM
Hi,
You can do this with an Expression similar to the following:
Object.datamember = if(Pb1, Pot1, Object.datamember)
Where Object.datamember is the datamember of the Object you want to write to.
Pb1, is a PushButton -- it can be any logical condition.
Pot1, is a Pot -- it can be any other source for your numeric data.
The IF statement basically says, "if Pushbutton Pb1 is pressed, write the current value of Pot1 to the Object's datamember. And if it's not pressed, leave its value as-is."
Hope this helps.
Regards,
Khalid 🙂
02-25-2003 08:03 AM