LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Build ftp clinet using Labview PDA module

I want to build application that get data file via ftp and display it on PDA platform(Windows modile 2003SE or 5.0).
So, I bought the Labview PDA module and Internet connectivity toolkit.
 
The FTP Browser.vi work fine on the PC. But when I trying to bulid PDA application, it make error that sub vi is not executable.
 
Does the internet connectivity toolkit not usable on PDA?
then how can I build PDA application which has ftp clinet function?
0 Kudos
Message 1 of 6
(8,649 Views)
Most likely you've used a function that is not compatible with the PDA OS.
 
If you are using LabVIEW 8.0 or 8.2, did you build the FTP Browser.vi using a LabVIEW Project with a PDA target created? Building an application from the PDA target will remove all functions from the palette that are compatible with the PDA.
 
When I create a PDA target in LabVIEW 8.2, the Internet toolkit is no longer in the palette. A quick look into the FTP VIs shows the Semaphore functions are causing the problem. This is a bit strange because the Semaphore VIs are on the PDA palette but the error window says they are not supported for that target. It looks like the "Code Interface Node" is the underlying problem. It's not supported on the PDA and the Semaphore VIs use it.
 
Maybe some one at NI could explain this a bit more??
 
Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
Message 2 of 6
(8,637 Views)
Hi there,

As you've seen, the FTP VIs are not supported at this time in the PDA module - you may want to submit a product suggestion for that capability, here.

Some nodes, such as semaphores and some property nodes, can show up on the functions palette, but their functionality is not allowed.

As far as implementing FTP client functionality, you likely have two options:
1) Using the TCP VIs and verifying that the data transmitted adheres to the FTP protocol.
2) Use the call library function node to call some external code on your PDA that actually handles the FTP transmissions. Follow the instructions, found here.

Best of luck in your application,
-Sam F, DAQ Marketing Manager
Message 3 of 6
(8,610 Views)

Hey Lobo,

We sucessfully did what Sam suggested above. I actually just utilized the TCP server-client example that ships with LabVIEW. I just added a small VI that sent me a list of the available files (through a string array shared variable), then I could select and request the specific file through the TCP client. This was done over a wireless bridge with 802.11g communication. Just make sure that your PDA application has the aliases file deployed with it (default is 'don't deploy')  and that your computer's IP address is listed correctly in the file.

-Mellobuck

Message Edited by Mellobuck on 03-30-2007 09:56 AM


Data Science Automation

CTA, CLA, CLED
SHAZAM!
0 Kudos
Message 4 of 6
(8,370 Views)
Hi Mellobuck
 
 
Thank you for interest on my problem
Would you show me the FTP vi using TCP server-client example?
 
I also tried third party internet connectivity toolkit, but I did not succeed.
 
Firstly, the simple error handler.vi made error, so i remove it
but it still make unknwon error listed below
 
OGIC_FTP_Main.c(1176) : error C2065: 'kA___' : undeclared identifier
OGIC_FTP_ProtocolInterpreter.c(841) : error C2065: 'kA___' : undeclared identifier
 
I can not find the cause of above error, would you examine the vi?
0 Kudos
Message 5 of 6
(8,269 Views)

hey Lobo,

I will attach the client and server VIs. Again, I didn't write these, they are examples from NI. You can see that the client (on the PDA side) needs an IP address and a filename to transfer,  the server side just needs the file name.

You are right is removing the simple error handler, as the PDA does not support pop-ip screens, just wire it to a display if you need to see it.

I am afraid explaining the error messages you have are beyond my ability.

-Mello


Data Science Automation

CTA, CLA, CLED
SHAZAM!
Download All
0 Kudos
Message 6 of 6
(8,235 Views)