LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to talk to my wifi router using tcp(?) functions?

Hello All,

this is what I'd like to do: use the Labwin. CVI environment to log onto my wifi router,  pass user ID/password, then ask questions from router the answer to which I'd like to analyze (for example get visited URL addresses, etc.). Is this possible to do using e.g. the TCP functions of CVI?  I checked out the sample codes came with CVI but there CVI created client talks to CVI created server... I greatly appreciate any help. Cheers. kosamici

0 Kudos
Message 1 of 4
(3,337 Views)

Hi kosamici,

 

It sounds like what you want to do depends a lot on the router you're using and how it provides that information to you. Assuming the router uses a web interface, you may be able to use a Web Service to access the information you need.

 

Cheers,

KyleP
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(3,315 Views)

Hello KyleP,

thanks for your reply. It definitely looks like the application you suggested will take me along the direction I am heading.  I'd like to complete the whole exercise and try to modify from there... So in the description I read that this app will get stock prices from some google webservice and I need to get license to be able to use it...

In the .c file, however, the description talks about google's spell checker service...?

Also when I go to  http://www.google.com/apis/,    the  http://code.google.com/ site comes up and I do not know where to go from there....

 

Sby was asking about the gui, but it look like this app just communicates through the standard console, right?

Thanks again.

Kosamici

0 Kudos
Message 3 of 4
(3,304 Views)

It looks like the comments in WebServiceClient.c are inaccurate since the code seems to be loking for stock prices. Also, Google may have changed some of the ways in which you can access their APIs. Perhaps you could try finding a different API to work with and use this project as skeleton code? I think that would also be a beneficial way to learn more.

KyleP
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(3,288 Views)