pravin Posted February 19, 2010 Report Share Posted February 19, 2010 Hi all, is their any way to display location (city) in labview front panel. or is their any library for that. Quote Link to comment
EricLarsen Posted February 19, 2010 Report Share Posted February 19, 2010 Here is a way to display a Google Map in a front panel. Is this what you are looking for? http://decibel.ni.com/content/docs/DOC-7983 Quote Link to comment
pravin Posted February 25, 2010 Author Report Share Posted February 25, 2010 (edited) Here is a way to display a Google Map in a front panel. Is this what you are looking for? http://decibel.ni.co...t/docs/DOC-7983 HI, you are getting wrong, i want a combobox type of control that containing city, somthing like in when we are creating account in gmail or yahoo that time the register form having that type of combobox to select the city or country Edited February 25, 2010 by pravin Quote Link to comment
Yair Posted February 25, 2010 Report Share Posted February 25, 2010 Get a list of cities from the Internet ("list of cities" in Google might be a good start) and push it into a combo box or a ring by creating a property node for the control and using the Strings[] property. If you want to do this by country, you can create a text file for each country, use the list of files to populate the country list, then read the selected file and use that to populate the city list. If you can't find a simple list online, you can write code which will extract the list. What you basically do is use Datasocket Read and append "[text]" to the end of the URL to get the data as a string. You can then parse the HTML to get the relevant links and names. The exact code will depend on the page in which the information is found. Of course, you could also consider not including the feature. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.