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: 

Programmatic dial-up using ActiveX or whatever with Labview.

We are trying to dial-up a internet provider programmatically to send data to a ftp site. Is there an easy way to do this? Basically, dial-up, download and then disconnect.
0 Kudos
Message 1 of 3
(2,713 Views)
The internet toolkit is your best bet. It contains self contained VIs to do this, with the possible exception of dialup.

I would suggest looking on the example programs database or doing a search. Someone out there has to have something to do a dialup. If you have an external (serial) modem, then it is a simple matter of getting the command line. If it is an internal, same thing applies, but you may have to use a dll call or something. I am sure someone out there has done this before.

Don't rely on ActiveX. It is primarily for doing interface with platform specific, manufacturer specific applications on a specific platform. Using it is not only complicated, but also limits the application of your program. I ALWAYS try to avoid platform specific programming.


Browse NI's support and here for downloads that may help you. The folks here are always willing to help.

Good luck
0 Kudos
Message 2 of 3
(2,713 Views)
A way to do it is:
1. start the connection app with
"rundll rnaui.dll,RnaDial "
2. if you need to do some other operations (like password or closing the connection) control this app simulating key press action with SendMessage() Windows API function (detailed doc in MSDN Library)

I know it' s not simple at all, but if you don't have anything else ...
good luck
0 Kudos
Message 3 of 3
(2,713 Views)