Windmill Data Acquisition Software Logo
14 February 2017

Windmill Software
Data Acquisition Intelligence
Call now: +44 (0)161 834 6688


Connecting a Vitrek High Voltage Meter

Vitrek 4700 high voltage meter

Windmill software lets you interface Vitrek HV meters, and other instruments with RS232 serial ports, to a PC running Windows. Subscribers to the Monitor newsletter (ISSN 1472-0221) can download the ComDebug software, which continuously logs data from one instrument, for free.

To use Windmill to collect data from a Vitrek HV meter :

  1. Run the Windmill ComDebug, select Create a new Windmill Instrument File, and enter your balance's serial communication settings.
  2. Run the Windmill DDE Panel, Logger or Chart program to save or display data from your balance.

Using ComDebug to Enter Data about Your Vitrek HV meter | Data Logging Options | Getting the data into Excel | Fault-Finding


Using ComDebug to enter your Vitrek HV meter Settings

For an overview of entering the configuration settings see the Getting Started with COMIML and ComDebug page. Specific example settings for various Vitrek HV meter s are given below.

Run ComDebug and choose Create a New Windmill Instrument File. Choose Serial Communications.

COM Port Settings

Choose Serial and enter settings which match those your meter is using, ie

BaudSelect a baud rate on the meter via its Configuration Screen, eg 115200, and choose this.
Data Bits 8
Parity None
Stop Bit 1
Flow Control Hardware
More Information:4700 Precision High Voltage Meter Downloads

Requesting and Receiving Data

After entering the COM port settings, choose to Edit Message 1. Use the NonPrint menu to enter the <ESC> <CR> (carriage return) and <LF> (linefeed) characters.

Example Prompt CommandMeasurement query command followed by a Carriage Return, eg
DCV?<CR>
Example data string received12 characters starting with a + or -
Example ParsingStep 1 : Add Action = Ignore until +-
Step 2 : Extract = Extract Until <CR>

Assign a channel to hold the data you extract. Click Step to check whether data is correctly extracted.

Instrument Timings

In the Main Menu Select Edit the Instrument Timings.

ReadRead Directly
Data PersistanceLonger than your sampling rate, so data doesn't expire between readings.
Instrument Idle Time0
Timeoutat least 100 milliseconds

Does it Work?

In the Message Screen click Run to check that everything is working. Save Settings and Create a Windmill Device in order to use the Windmill Logging, Charting etc programs.


Success?

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

Details of how you are using Windmill:

:    
          
  
:        

Fault-Finding

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

  1. No, the data message isn't there...
    1. Make sure that the voltmeter 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 instrument: COM port, baud rate, parity, etc.
    3. If using a USB-RS232 converter, its settings must also match those used by the instrument - read the USB-Serial page for details, especially point 7.
  2. Yes, data is shown in ComDebug but not in DDE Panel...
    1. Go to ComDebug's Message Screen, click the Parse button.
    2. Enter your Ignore and Extract Settings and click the Step menu. Is your data shown in the Value column?
    3. 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.

Still having problems? Fill in our technical support form.


Comments