Windmill Data Acquisition Software Logo
22 June 2016

Windmill Software Ltd
Data Acquisition Intelligence
Call now: +44 (0)161 833 2782

Windmill Software Connects Rice Lake Balances

Rice Lake Balance

Windmill software lets you continually log data from Rice Lake balances, and other instruments with RS232, RS485 or TCP/IP serial ports, on a PC running Windows. All data is time-stamped and can be imported into Excel either during or after data collection.

  1. Run the Windmill ComDebug program and enter your balance's settings.
  2. Use ComDebug to log data from the balance.
  3. Optionally, run the Windmill DDE Panel, Logger or Chart program to save or display data from your balance.

Details on entering the Rice Lake configuration settings into ComDebug are below.

Use ComDebug to enter data about your Rice Lake Balance | Data Logging Options | Getting the data into Excel | Trouble-Shooting

Use ComDebug to enter data about your Rice Lake Balance

Read this in conjunction with the step-by-step instructions on our Getting Started page. Here we give the specific settings for Rice Lake CW90 balances and scales connected via RS232. To change the balance settings use its Setup Menu > Serial > Port.

COM Port Settings

These must be the same as your balance uses. These are the default factory settings for Rice Lake CW90 balances.

Comm Port: Select the port to which your instrument is connected.
Baud Rate: 9600
Data Bits: 8
Parity: None
Stop Bits: 1

Data Format

balance setupIn ComDebug's Message Screen, enter a command or prompt string to send to the balance to ask for data. Click the Send button, and the instrument should send a reply. Now click the Parse button and enter instructions to extract the data from the balance's reply. These settings work for CW90 balances. Use the non-print menu to enter the carriage return (013) and linefeed (010).

Example prompt command: P<CR><LF>
Use the Non-Print menu to enter the Carriage Return and Linefeed
The balance will send the currently displayed weight with units
Example data string: +100.0G<CR><LF>
where + is the sign, G is the units (grammes), <CR> is a carriage return and <LF> a linefeed,
Data format: ASCII
Example parsing: Ignore Until +-1234567890
Extract Until G

If you want to collect data only when you press a key on the balance, then create an extra channel and Extract the "Record Number" to it. (The record number increments on every new reading, letting the other Windmill programs know that new data is available.)

You could instead set your balance to continuously stream data. Get in touch if you need help with this.

Instrument Timing

Read: Read Directly
Choose read directly unless your balance has continuous output (stream) enabled, in which case choose Read in the Background.
Timeout: 5000 ms
Instrument Idle or Wait Time: 0
Data Persistence Time: 5000 ms

Further Information:
COM Port Settings
Rice Lake CW-90/90X Installation Manual

Data Logging Options

For simple logging from one instrument you can use the free ComDebug program. For more logging options from many instruments use the Windmill Logger program.

  1. Log only when new data is available from your instrument: when a weight changes on a balance for instance. Even if two items weigh the same, Windmill knows that a change has occurred, so no readings are missed.
  2. Log to a new data file at regular intervals, every hour or every 5 minutes for example. This is useful in continuous, long-term logging.
  3. Log data only when channels are in an alarm state.
  4. Log data for a fixed duration, for example during an alarm condition and for ten minutes afterwards.
  5. Log data when you press the space key on the keyboard
  6. Use Excel to start and stop logging.
  7. Log from different channels at different rates.
  8. Log from different channels to the same or different files.
  9. Log data from RS232 instruments alongside Modbus and Ethernet devices.

Getting the data into Excel

You can collect data with Excel in real-time, or use the Windmill Logger program to collect data and after collection has finished import it into Excel. For more details see our Excel page.

Trouble-Shooting Rice Lake Balances

If you are unable to get data from your balance go back to ComDebug's Terminal screen. Make sure your command is shown in the prompt grid, like in the Message Edit picture above. Click the Send button: does your instrument reply?

  1. If you only see your command being sent, and no data...
    1. Make sure that the balance is switched on and plugged into the PC's com (RS232) port.
    2. Check that the communication settings you entered in ComDebug match those currently in use by the balance: COM port, baud rate, parity, etc.
    3. If using a USB-RS232 converter, its settings must also match those used by the balance - read the USB-Serial page for details, especially point 7.
    4. If you are still having trouble see our Testing Serial Port Communication section.
    5. If all else fails fill in our technical support form.
  2. If, in ComDebug you see data coming in but DDE Panel isn't showing it, you may need to edit your parsing settings. Go to ComDebug's Terminal or Message Screen, click the Parse button. Enter your Ignore and Extract Settings and click the Step menu. Is your data shown in the Value column? If not adjust your settings. See also our Technical Support page.
  3. If you are getting accurate data readings, but much slower than expected, change your sampling rate. With COMIML, Windmill can make 5 readings per second per channel. So it can record one weight measurement every 0.2 seconds. If you have the sampling interval set much smaller than this, then Windmill may slow down considerably and only make a couple of readings per minute.


Have you successfully used Windmill with your balance? Let us know about your project.

Details of how you are using Windmill: