LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to commnunicate PDA with my LABVIEW DMX program

hai
 
i have developed a LABVIEW program to control the dimmer lights using a USB/DMX interface. Now i have to communicate the same program using PDA, making the system wireless. i am new to this PDA.
 
i am using LABVIEW 8 and  installed PDA module for pocket PC. Now i want to communicate using wi-fi of the PDA.......so i am confused how i can link the pocket PC front panel of PDA to the actual LABVIEW program( see the attachemnt for actual labview program which i have done). i have to send data values to each channel from the PDA.
thanks in advance
 
regards
kranthi
Download All
0 Kudos
Message 1 of 4
(7,588 Views)

Hi,

  you need to put a TCP layer into your code (on both sides) so you can TCP write out from the PDA, and the "Server" side connected to the hardware can receive that and use the passed in values.

There's shipping examples on TCP that should get you up and running.

[ Mercislessly stolen from another posting : http://forums.ni.com/ni/board/message?board.id=170&message.id=220347&requireLogin=False ]

One thing to look out for is that PDAs are usually set to go off if they haven't been used in a while and their WLAN is often set to have some kind of automatic power management. In such a case, you would lose the connection. What I do is implement a system where I gurantee a constant delivery of packets and if nothing comes through the connection for too long a time both sides close the connection and try reopening it again.

Hope that helps

Thanks

Sacha Emery
National Instruments (UK)

// it takes almost no time to rate an answer Smiley Wink
Message 2 of 4
(7,553 Views)
Good Morning,
We went the shared variable route on this kind of communication, check out the tutorial on PDA network shared variable integration at:
 
You can set the string value at the PDA and then read it on your computer before performing the VISA write. Once the variable is set, you don't have to worry about lost communication or power down on the PDA side, you'll just have to re-connect if you want it to be changed.
 
-Mellobuck

Data Science Automation

CTA, CLA, CLED
SHAZAM!
0 Kudos
Message 3 of 4
(7,432 Views)
Hello,

Does you DMX desk work properly with DMX receivers ?

How do you manage Break and MAB ?

Why don't you use I8 instead of I32 type for the DMX values of channels 1 thru 4 ?

Thnaks in advance for your answers.

0 Kudos
Message 4 of 4
(5,843 Views)