Windmill Software Ltd
|
March 2012 |
Windmill 7 Technical Support |
Welcome to our technical support page for Windmill 7, ComIML and ComDebug. We hope you can find the answer to your question either here or in the software Help files. If not please get in touch. ConfIML and the 75x Hardware | ComDebug and ComIML | RS232 Settings | RS422 and RS485 Settings | Modbus Settings | TCP/IP Settings | NMEA and GPS | Windmill Logger, Chart and DDE Panel | Excel | Request Technical Support ConfIML and your HardwareConfIML runs when you install Windmill. It holds a list of the device drivers you will be using, and lets you configure some of your devices. In ConfIML, press the Add button and select the hardware you will be using. For RS232, RS422, RS485, TCP/IP or Modbus devices choose the ComIML Serial Instrument Handler. For other devices, like the 751 USB unit or the 840 Ethernet Logger, choose the appropriate driver.
For some devices you can choose some of their settings in ConfIML. For example, for the 751 unit you can choose the interval between recalibrating the hardware, and the resolution of the signal. See the ConfIML program Help for more details. ComDebug and ComIMLComIML reads data from almost any RS232, RS422, RS485, Modbus and TCP/IP devices. Use ComDebug to enter your serial settings. You can also use ComDebug on its own to monitor the serial port and log data from one instrument. Getting StartedFor tips on using ComDebug to enter your instrument's settings, which can then be read by the ComIML driver, see Getting Started with ComDebug and the ComIML Serial Driver. Settings to UseFor example settings to use for specific instruments, see Windmill Serial Port Driver Settings. "Failed to open the com port" Error MessageThere three possible reasons for this error.
In ComDebug, all bytes are sent but no reply is received
I can see data in ComDebug but not in DDE Panel or LoggerYou've entered your parsing instructions, clicked Run and ComDebug displays the data correctly. However, DDE Panel shows no data.
I can see data in ComDebug but am getting "Bad IML device number" Error in Logger or SetupIML
Slowing the Requests for DataThe Instrument Idle Time sets the minimum interval between sending messages to an instrument. This is especially important in Background mode for instruments that do not like being read too quickly. Go to the Instrument Timing window and set the Idle Time. For instruments that need a prompt string, enter a command into the prompt telling Windmill to wait for the Instrument Idle time. To do this select Wait from the menu bar. What do I do if my laptop has no RS232 COM ports?Windmill ComIML and ComDebug work with serial instruments connected to the COM port. If your laptop is without COM ports, you can add them by installing a serial card in the computer's PCMCIA slot, by purchasing a USB-to-Serial RS232 adaptor or, for Wi-Fi networks, by connecting a serial device server. Using a USB-Serial converterYou need to make sure that your converter's serial settings match those of Windmill (or vice versa). For instance, if you have set Windmill to continually acquire data you must make sure that your USB-to-Serial converter is continually providing data and not buffering it. How you do this depends on your converter. For a 930-based Edgeport converter, for example, you need to use its utility program to set its ports for "low latency" and "fast read and writes". Use the Edgeport configuration utility program to do this (Port Flags button). More tips on using USB-to-Serial converters... Can I monitor traffic signals to and from the modem?No. As the software is designed to acquire data from measurement instruments it needs sole control of the serial device. Other applications cannot therefore access the modem whilst you're using ComDebug. What's wrong with using multiple Ignore commands?The Ignore Until Character command tells Windmill to ignore characters in the data string until one of the specified characters arrives. The next operation takes place at this character. So, if you repeatedly told Windmill to ignore everything until the next comma (meaning to skip several commas) it would get stuck on the first comma it found. For more help see the Parsing Messages from RS232 Instruments page. What to do when the start character in a message changesWhen extracting data from the instrument's message, you need to pin-point where in the message string the data begins. For some instruments the start indicator may change each time. To detect this use the the Ignore Until action in Comdebug - adding all possibilites into the Parameters box. You might then need to Ignore a number of characters before starting to extract data. For more help see the Parsing Messages from RS232 Instruments page. RS232 SettingsHow to Communicate with RS232 DevicesUse the Windmill with ComIML package, or ComDebug, to collect data from RS232 devices. See above for quick answers, and these pages for more detailed articles.
RS422 and RS485 SettingsHow to Communicate with RS85 DevicesUse the Windmill with ComIML package, or ComDebug, to collect data from RS422 and RS485 devices. See our Understanding RS485 page for more details. Modbus SettingsHow to Communicate with Modbus DevicesUse the Windmill with ComIML package, or ComDebug, to collect data from Modbus devices. See our Modbus settings page for more details. TCP/IP SettingsHow to Communicate with TCP/IP DevicesYou can use the Windmill with ComIML package, or ComDebug, to collect data from devices over Ethernet or Internet. Windmill also has specific drivers for Ethernet hardware, such as the Microlink 840 data logger. See our TCP/IP data logger page for a tutorial on TCP/IP options. NMEA and GPSSee also Connecting a GPS Receiver to a PC and Interfacing NMEA Devices to a PC. Settings for instruments following the NMEA StandardInstruments following the NMEA standard will generally work with these settings: baud rate - 4800; bits - 8; parity - none; stop bits - 1; flow control - Xon/Xoff or hardware (you may have to try both: consult your instrument's Manual), reading protocol - continuous flow, data persistence - 2 seconds. More on NMEA. Why does my screen look funny when I plug my GPS in?Sometimes when you plug a GPS receiver into the computers COM port, Windows detects the RS232 data as indicating that a serial mouse has been plugged in. This causes the screen to behave erratically. The solution is simply to wait until the Windows system has settled down before trying again. Windmill SetupIML, Logger, Chart and DDE PanelHow fast can Windmill collect data?When using ComIML or ComDebug you can run at a speed of up to 5 samples per second per channel, with a maximum of 200 readings per second. Make sure your sampling interval is not smaller than 0.2 seconds, otherwise Windmill may slow down considerably and only make a couple of readings per minute. I can see data in ComDebug but am getting "Bad IML device number" Error in Logger or SetupIML
Error 105The hardware is not supplying data. For serial instruments use ComDebug to check your settings. Choose to Edit an Instrument File then select Edit Instrument Timings. For instruments that continuously send data, make sure that: Error 114This means "data not yet ready". For serial instruments, in ComDebug's Terminal screen press the Run button. Do you see your data appearing there? If not check your settings. Here are some example settings for a number of serial instruments. Other Error CodesSee a list of all error codes, for all Windmill drivers and applications. Can I scroll the Chart?The Windmill Chart program is designed to display data in "real-time", and so there is no scroll function. To show more data at a time, change the paper speed. Should you wish to review previously saved data, you can use the Windmill Replay software. This lets you scroll through, fast-forward, rewind, zoom in and out, see tables of data, etc. You could also use Excel.
Can I use Windmill Chart to display data from Excel?To do this you need the Windmill Harvester program. Copy the contents of Excel cells to the clipboard and paste them into Harvester. Windmill Chart can now read and display your Excel values as though they were from normal hardware channels.
DDE Panel shows the Data but Chart shows a flat lineLook carefully at the data in DDE Panel. Are there any funny characters in it? If you extract control characters as well as data DDE Panel will show them, but Chart won't be able to chart the data properly. You need to edit your parse string in ConfIML. Remember, with the Ignore command the next action occurs ON the specified character but with the Search command the next action occurs AFTER the specified characters. So if you Ignored until a carriage return and then extracted data, the carriage return would be extracted. If you searched for a carriage return and then extracted data, it wouldn't. Can I plot an x-y diagram?The free Windmill Chart program plots data against time. However, with Windmill you can collect data from your device and send it in real-time to other software like Excel. You can then create your x-y diagrams in Excel. For more details see our Excel Interfacing and Excel Charting Tips pages. ExcelSee also our Excel Interfacing and Excel Charting Tips pages.
How do I use Excel to send data to the serial port?You can create an Excel macro which uses dynamic data exchange to send data to analogue or digital channels on your instrument. More information is on our Excel Serial Port page. Can I use Windmill Chart to display data from Excel?To do this you need the Windmill Harvester program. Copy the contents of Excel cells to the clipboard and paste them into Harvester. Windmill Chart can now read and display your Excel values as though they were from normal hardware channels.
Request Technical SupportAlternatively e-mail techsupp @ windmill.co.uk giving details of the problem. It will also help if you attach these files to the e-mail - *.imd, *.ims, and iml.ini - which you will find in your windmill directory. Iml.ini is saved by ConfIML and lists the hardware drivers you have on your system: COMIML, SigGen, etc. The *.ims file is created by SetupIML and describes how you want to use your hardware: channel names, engineering units, alarm settings, etc. The *.imd files are created by ComDebug and contain the communications settings for your individual instruments: for example you might have a gps.imd containing the settings for a GPS and a balance.imd containing the settings for a weighing scale. |
Home | Windmill Measurement Software | Data Acquisition Shop | Monitor Newsletter | Contact Us | Contents: Tutorials, Tech Support, Applications, Free Stuff, etc | Search
| Copyright Windmill Software Ltd 2000 PO Box 58, North District Office, Manchester, M8 8QR, UK. E-mail, Tel: +44 161 833 2782 Webmaster Designed by Studholme.net |