ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Control from pda

Hello,

I am designing an application in labview 8 with TCP communication with an HP PDA (Pocket PC 2003). (I was based on the example PDA TCP Data Client/Server)

I would like to use the same numeric control from the computer AND the PDA. So if I change the control on the computer, the control on the PDA will be updated; and if I change the control on the PDA, the value on the computer should be updated too.

The problem I am facing is in the “2-way update”: If I change the value on the PDA, it will be updated on the computer but I cannot update the control on the computer anymore because the PDA will keep sending its value. I modified the program and I got the problem reversed: I change the control on the computer, it is send to the PDA, but I cannot update the PDA anymore, it will keep receiving the value from the computer. I tried to store the received values in different variables and to use time delay but arrived to a dead end.

Any advice is appreciated.

Thank you

Sam

0 Kudos
Message 1 of 2
(4,865 Views)
Hi PolySam
 
I've solved a similar problem by utlizing the Shared Variables feature. You probably need to Poll the variable, unless you come up with a cool way to trigger an event. Make sure to deploy the Shared Variable support on the PDA.
 
A simple numeric control shouldn't be too bad,  I was trying to do something more complex like a cluster of controls and ran into some bugs that I still need to report to NI.
 
Good Luck!
0 Kudos
Message 2 of 2
(4,732 Views)