Obtaining GPS coordinates using internal GPS receiver and VBA - vba

We currently have HP XP2 tablets with a built in internal GPS receiver. What we'd like to achieve is obtain GPS Lat/Long coordinates using an MS Access database and VBA code.
Would it be possible for anyone to please provide the VBA code required to access the coordinates to make them available to add to our Access database?
Please see details below regarding GPS receiver model and drivers:
Driver = u-blox GNSS Location Sensor Driver.
Description = The u-blox GNSS Location Sensor driver is required to enable the u-blox USB GPS standalone device.
Standalone GPS name = HP Graff GNSS Module

If i understand correctly you want to extract with VBA the GPS coordinates from your internal GPS receiver and add them to a an Access database.
If that is the case, then unfortunately VBA is a language only used by MS office application, therefore if your built in GSP receiver is not an office application i'm quite sure you wont be able to extract the data using VBA (it is possible in a few cases but it requires a very advance knowledge of VBA)
The easiest way for you would be to extract manually the data and save them in a specific location of your files and then ask the VBA macro to open the file and save the data in your database.
If you really want to extract the data without any human interaction, I suggest you use python or another programming language or check on the IFTTT website if you can create an applet.
I hope this answer will help you!
If you need a more detailed question, you'll need to send more specification about your data, the built in GPS app...

Related

How to capture voice of user using Avaya IVR?

Dears,
I want to capture voice of users using IVR built on Orchestration Designer and store it in file system as wav files. As far as I know, there is a way to do that by using Speech Servers such as Nuance,but, since it is expensive we want to find an alternative way. I have been searching internet for week, but could not find anything related. Is there a way to capture voice using java or voiceXML? Is it even possible without using speech servers?
you could use recoding node to record the voice. '.wav' would be saved in data/temp in your application but it would be deleted once your session is over. You need to write customize java code to copy and paste from temp to your local dir before the session gets invalidated.

How to programatically retrieve trace data from an E5071C with SCPI commands?

I am working with an Agilent E5071C VNA and am trying to retrieve trace data from the machine. Unlike the docs for other VNAs, I've found the doc for the E5071C to be much harder to follow. What I am trying to do is select a trace for a particular channel and then get the measurement data.
Working with a PNA, this would just be simple as setting the channel and trace, querying CALC<num>:DATA? FDATA, then get the frequency CALC<num>:X?.
How would a similar routine be programmed for the E5071C. The programming manual does not give much of an insight for how to retrieve data like this.
There's a VBA example program for the E5071C VNA on Keysight's webiste:
[VBA Sample Program] Save Trace Data VBA
OR
This Microsoft Excel sample VBA program enables the ENA user to transfer the data to an external PC:
[VBA Sample Program] ENA Data Transfer Program
This will have the right commands to use.

IOKit get current power source

How do I get the current power source on a Mac, using IOKit?
I want to see if the Mac is running via the built-in battery or via a power adapter.
The functions in IOPowerSources.h (specifically, IOPSGetProvidingPowerSourceType()) will give you the info you're looking for.

Access 2007 Image Capture

I have been trying to figure out how to capture an image withing my Microsoft Access 2007 application using a webcam.
We have been paying for a 3rd party application for this in the past - it is used for taking ID card photos, but the software has grown buggy over time, and I think we should be able to accomplish this ourselves!
All I need is for my Access application to use the webcam to capture the image and save it in a network share. That's it!
I have been trying to hunt down vba code, twain drivers, ActiveX controls... but they all seem to be either deprecated (Access 97/2000) or proprietary! There's got to be some other solution out there though!
You could possibly shell out to another app (using the vba Shell function) that can take a snapshot from the webcam and save it to a file. I found one example:
http://batchloaf.wordpress.com/2011/04/06/snapz-a-command-line-cam-image-grabber/
Good luck.

Developing an API for a USB connected Glucometer

I have a ReliOn Glucometer that can be connected to a Windows PC via USB. Glucometer Details Here. I have never tried this, but can someone point me in the right direction to go about connecting to a USB device (C# or Delphi) and pulling data from it? I want to download the current test result and save off to a database to build log of test history. I am a diabetic and I hate doing the tests everyday, but I realized if I can leverage this necessary evil with learning how to work with USB connected device, I at least can get some pleasure in knowing I made some good out of this.
Has anyone done this or something similar? I know there is a website I can join and they have an OCX to do this.. but I don't want to put my info/data on a site, plus it misses the point - I want the challenge of doing this.
Any advice - directions where to start would be greatly appreciated.
I would begin by looking at the USB device driver that comes with the software, especially the inf file. Is it HID or is it for a specific USB chipset, etc? Then look for a relevant development kit/info to take it from there.