Jump to content

Gribo

Members
  • Posts

    178
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Gribo

  1. You need few packages, OpenG and JSON Labview, both available from the code repository here, or better yet, via the VIPM.
  2. Check out the LabView <-> google maps code on the code repository. It translates LV variants to Google maps JSON objects, and sends them via web socket to a browser. You can easily draw a polygon wherever you want with those VIs. Edit: Here is the link: http://lavag.org/files/file/236-labview-google-maps-websocket-interface/
  3. File exit keyboard shortcut is Alt + F, and X usually. Without a menu option, it is Alt +F4 (Windows and some linux distros) which is a bit harder to press with the left hand. This can be either good or bad, depending on the application.
  4. Also, if the device's MAC address is known, you can use arp or netsh to map an ip address to that machine.This requires administrator privileges in windows.
  5. What sort of device is it? Some vendors have their own auto config protocols.
  6. If you use windows, there are examples in the Labview help on how to use the Excel ActiveX control, You can use different worksheets without much effort. These examples also show how to fill a range of cells with a variant, which provide an elegant solution to your problem.
  7. Hello, I have stopped supporting this code, please use the web socket one, for better functionality. I have only tested the .NET VIs under windows XP 32 bit with LV2011, and didnt manage to recreate this error.
  8. Version 1.0

    3,963 downloads

    A simple bi-directional interface between Labview and Google maps, using Websocket. See readme.txt for instructions.
  9. Name: LabView <-> google maps websocket interface Submitter: Gribo Submitted: 29 Dec 2013 Category: *Uncertified* LabVIEW Version: 2012 License Type: GNU Public A simple bi-directional interface between Labview and Google maps, using Websocket. See readme.txt for instructions. Click here to download this file
  10. Should I create a new entry into the un-certified repository? It will make it easier to update the file.
  11. Hello, Following my previous attempt with Google maps, Here is a websocket based link between LV and Google maps. Websocket class by S.Marlow http://evexiallc.com/index.php JSON API by drjdpowell Javascripts and demo application are based on the Webpanel demo application. Instructions: 1. Obtain a Google maps API key. 2. Edit the WP_Googlemaps.html and add the key to the relevant script tag. 3. Start the demo vi (google maps demo.vi) 4. Open the WP_Googlemaps.html with a modern browser. I have tested it with Chrome and Safari on iPhone 4. You might have to point to the correct path of some VIs, they are included in the vi directory. gmaps_websockets_LV2013.zip
  12. Title says it all.. I can edit my own posts in other forums.
  13. You need to get your own Google maps API key, it is free. You are not supposed to share it with others. Also, this http://lavag.org/topic/17870-lv-google-maps-via-web-sockets/ The API key string is located in the HTML document.
  14. The diagram clean up button. No one else will have a 'Make code look nice' button. I wish I had it in other parts of my life...
  15. The 0.7 update was posted. This tool is useful for a proof of concept only, to show geo spatial information generated from LV. The Javascript side of the project needs some more work (Paths, better JSON support).
  16. This is a dead end code. Websockets are the future. I will post the last update next week.
  17. I am stuck. Trying to get the next function (Polylines) to work is quite complex. I need to pass an array of coordinates (Latitude, Longitude) to the browser, but cannot get it to understand JSON objects. Does anyone have an advise regarding this? Taking it one step at a time, I am trying to pass a single coordinate cluster. Below is the Javascript code: function addmarkerJSON (Pmap, latlng, Title){//var Platlng = eval ('('+latlng+')');var Platlng = JSON.parse (latlng,function (key, value) { var type; if (value && typeof value === 'object') { type = value.type; if (typeof type === 'string' && typeof window[type] === 'function') { return new (window[type])(value); } } return value;});var options = {position: new google.maps.LatLng(Platlng.lat,Platlng.lng),map: Pmap,title: Title};alert(Platlng.lat);PMarker = new google.maps.Marker (options);return latlng.lat;}
  18. The icons. 32x32 pixels on the block diagram?
  19. Added an API test file. It draws a circle, animates it and creates a marker.
  20. Version 0.71

    2,224 downloads

    Connects to google maps javascript V3 api using the web browser .NET object (it exposes the HTML DOM model, where as the ActiveX control does not). This is an improvement over the examples from NI, as it allows dynamic adjustments to all of the map objects. Currently, only circle and marker are implemented.
  21. Name: Labview <-> Google maps VI Submitter: Gribo Submitted: 12 Nov 2013 Category: *Uncertified* LabVIEW Version: 2011 License Type: BSD (Most common) Connects to google maps javascript V3 api using the web browser .NET object (it exposes the HTML DOM model, where as the ActiveX control does not). This is an improvement over the examples from NI, as it allows dynamic adjustments to all of the map objects. Currently, only circle and marker are implemented. Click here to download this file
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.