Windmill Software Ltd
|
January 2010 |
Windmill and Access |
Route Data from Transducers and Laboratory Instruments into Microsoft AccessWindmill software reads data from instruments and devices connected to your PC. We have a range of drivers for many types of equipment, and our RS232 data acquisition software is free to our Monitor newsletter subscribers. This means that you can acquire data from instruments connected to your PCs COM port, including altimeters, balances, conductivity meters, data loggers, dial guages, digital indicators, digital thermometers, DMR, extensometers, flaw detectors, fluorometers, force gauges, gas analysers, GPS, gyro compasses, hygrometers, I2C devices, ion gauges, load meters, motion sensors, multimeters, myographs, oxygen electrodes, particle analysers, pH meters, PIC microcontrollers, plcs, pressure transmitters, power analysers, RFID readers, thermoregulators, titrators, solar panel array controllers, sonar and water baths. You have the freedom to mix and match equipment from many different manufacturers in many combinations. For example, serial devices from A&D, Ashtec, Bruël & Kjær, Datel, Ecom, Funaro, Honeywell, Horiba, Mettler Toledo, Microchip, Motorola, Molyteck, Newmar, NovAtel, Nu-Metrics, Omnistar, Omron, Orion, Panametrics, Parallax, Quantum Logic, Sartorius, Siemens and Telegan have all been handled by Windmill. Many channels of data can be accepted from each instrument and imported into a Microsoft Access database. To subscribe to Monitor (ISSN 1472-0221), and download the free software, fill in your e-mail address. Acquiring Data in Access
The easiest method is to collect data with the free Windmill Logger application, and after collection has finished import it into your Access database. Logger time-stamps every data item and stores it in a tab-separated file. Alternatively you can transfer data as it arrives, using dynamic data exchange. In this case use our free Windmill DDE Panel as a gateway to transfer data values between your instruments and Access. Using Dynamic Data Exchange to Collect Live DataIt's perhaps best to use the free Software Signal Generator to start with, so you can eliminate potential hardware connection problems. The Signal Generator mimics an actual hardware device, continually sending ever-changing data. Start displaying data in the Windmill DDE Panel and then start Access. How to Update Data in Access Every Time you Click a Button
Private Sub Command7_Click
Dim myDDE
myField.SetFocus
myDDE=DDEInitiate("WINDMILL", "Data")
myField.Text=DDERequest(myDDE, "InputA")
DDETerminate (myDDE)
End Sub
Assuming:
Everytime you click the button in Access, the reading updates. Displaying Information Other Than Data Readings
For more details on DDE topics open the DDE Panel on-line Help, and go to the section entitled "Types of Information: DDE Topics". We hope this brief guide helps you get started with Windmill and Access. Once you've used the on-click button, you can experiment with different Access controls: for example using a Timer control to periodically update readings without your intervention. Questions About Windmill and AccessCan I Display a Live Graph of the Data? Yes, our free Chart program will graph the data as its collected.
How do I use Access to send data to the serial port? Download our free LabIML RS232 serial driver software and set-up DDE links. Alternatively you may like to try our new driver, COMIML. See our on-line DAQ catalogue for details.
My Access macro is asking me to start DDE Panel. Can I do this automatically? Yes. The answer is in the Windmill DDE Panel Help file, wmdde.hlp. See the "Automatically Starting DDE Panel when you Switch on the Computer" topic.
In Access, how do I store each data reading in a new cell? This depends on whether you wish to analyse the data in Access after collection has finished, or whether you need the data in Access in "real-time". In the first case you simply use Windmill Logger to save the data, then later open the data file in Access. In the second you need to create an Access macro to read and store the data from the DDE Panel.
| |
Home | Windmill 7 Software | Windmill | Data Acquisition Shop | Contact Us | Contents | Search
| Copyright Windmill Software Ltd 2001 PO Box 58, North District Office, Manchester, M8 8QR, UK. E-mail, Tel:+44 161 833 2782 Webmaster http://www.windmill.co.uk/ Designed by Studholme.net |