Windmill Software Ltd
Data Acquisition Intelligence

Sylvac Dial Gauge
May 2011

Interfacing a Sylvac Dial Gauge

Home
Newsletters
DAQ Catalogue
Search

Windmill software lets you can connect digital dial gauges (or digital indicators as they are also known) to a PC and automatically record all measurements. Data is time-stamped and can be imported into Excel either during or after data collection. Our Windmill data acquisition software is currently reduced from £145 to £50. Alternatively, subscribers to the Monitor newsletter (ISSN 1472-0221) can download free logging software: ComDebug. This lets you log data from one instrument and save it in a text file.

How to connect a Sylvac Dial Gauge to a PC

As well as the Windmill software you need a Sylvac OPTO-RS cable. This is not only a cable, but an interface which converts the output of the gauge to a RS232 signal. Plug one end of the cable into the dial gauge and the other into a COM port of the PC.

If your PC does not have any COM ports you can use a USB-Serial converter.

To use Windmill to collect data from a Dial Gauge.

  1. Run the ComDebug program and enter the gauge's communication settings.
  2. Run the Windmill DDE Panel or Logger program to display or save data.

Once you have configured the Windmill software you can in future go straight logging data.

One of our readers - Peter Rosenbeck of Linak A/S - has compiled a guide to using Windmill with a Sylvac dial gauge. You can download this from http://www.windmill.co.uk/sylvac.pdf. Note: the guide is specific to an older version of Windmill: Windmill 4.3.


Using ComDebug to Enter Data about Your Sylvac Dial Gauge

This program, which is free to our newsletter subscribers, detects and saves a record of the hardware you want to use, in our case a Sylvac dial gauge.

For an overview of entering the configuration settings see the Getting Started with COMIML and ComDebug page. Specific example settings for Sylvac dial gauge are given below.

Entering communication settings for a Sylvac Dial Gauge

COM Port Settings

These must be the same as your Sylvac dial gauge uses. These settings should work.

Comm Port: Select the port to which your instrument is connected.
Baud Rate: 4800
Data Bits: 8
Parity: Even
Stop Bits: 2
Flow Control: None

Data Format

In ComDebug's Terminal or Message Screen, enter a command or prompt string to send to the balance to ask for data. The OPTO-RS interface will accept any character as a request to transmit the data value, so you can enter any letter you like here. Click the Send button, and the instrument should send a reply (see Trouble-Shooting below if not). Now click the Parse button and enter instructions to extract the data from the reply.
(<CR> indicates a carriage return. Use the NonPrint menu to enter a carriage return character. It appear as \C(013).)

Example prompt command: x
Example data string: +00.0000<CR>
Data format: ASCII
Example parsing: Ignore Until +-
Extract Until <CR>

Extracting data from the Sylvac reply

Instrument Timing

Read: Directly
Timeout: 1000 ms
Instrument Idle Time: 0
Data Persistence Time: 5000 ms

Further Information:
COM Port Settings


Getting the data into Excel

You can use the Windmill Logger program to collect data, and after collection has finished import it into Excel. Alternatively, you can collect data with Excel in real-time.


Success?

Have you successfully used Windmill with your dial gauge? We'd appreciate it if you would let us know about your project. Did you have any problems getting the system to work? How has the Windmill software helped your project?

Details of how you are using Windmill:

Name:          
Organisation:  
E-mail:        

Trouble-Shooting

If you are unable to get data from your dial gauge go back to ComDebug's Terminal screen. Type something in prompt grid and 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 Sylvac OPTO-RS cable is plugged into the PC's com (RS232) port and into the dial gauge.
    2. Check that the communication settings you entered in ComDebug match those currently in use by the OPTO-RS cable: COM port, baud rate, parity, etc.
    3. If using a USB-RS232 converter, it's settings must also match those used by the OPTO-RS cable - read this page for details, especially point 7.
    4. If still no luck see our Testing Serial Port Communication page.
       
  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.
     
  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 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.

If you still have problems, fill in the form on our Technical Support page.


Home | Windmill Measurement Software | Data Acquisition Shop | Monitor Newsletter | Contact Us | Contents: Tutorials, Tech Support, Applications, Free Stuff, etc | Search

Copyright Windmill Software Ltd 2008
PO Box 58, North District Office, Manchester, M8 8QR, UK.
E-mail, Tel: +44 161 833 2782
Data Acquisition News Feed (RSS) Free measurement news feed...
Designed by Studholme.net