Obtaining Equipment Serial Port Settings and Output Format
Applies to QEST Web App, QESTLab
This article describes how to configure equipment items in the QEST Platform in order to transfer data electronically.
Contents
Overview
For equipment to interface with QESTLab or the QEST Web App the format of data output from the equipment item must first be determined.
When interfacing with worksheets in QESTLab, an equipment driver is required that can read the specific format of output data. Spectra QEST has a number of equipment drivers available for various digital equipment devices to connect with QESTLab. In order to use one of the existing equipment drivers the output from the device will need to match the expected format.
When interfacing with worksheets in the QEST Web App, a system administrator will need to ensure that an appropriate driver has been configured to parse the output format appropriately.
In order to determine the format of data that is received from an equipment item over a serial connection, the equipment item should be connected to a PC via the port and serial communication software should be used to capture the output when the equipment item sends data to the PC.
This page contains links to one or more external websites. These sites may contain software that is not authored, supported, or sold by Spectra QEST. As we have no control over the content of such sites, we take absolutely no responsibility whatsoever for any loss of data or other consequences that arise out of the visitation of the external website or the use of such software - direct or indirect.
RealTerm is one such software that can be used to capture serial port communications and will be the product described in this article. Any other software capable of capturing serial communication data would also suffice.
Capturing Output
To capture the device output from RealTerm follow the steps below:
Determine the COM port device the equipment is connected to.
If the ports are physically on the PC, they should be marked in Windows Device Manager.
If the equipment is using virtual COM ports from a USB connection or adapter, the number will need to be determined appropriately from Windows Device Manager.
Run RealTerm and configure the following Port tab settings (the equipment manual for each equipment device should contain appropriate configuration settings for the piece of equipment and instructions on how they can be set):
Baud
Parity
Data Bits
Stop Bits
Click Change when the Port tab settings have all been entered per the equipment device’s manual.
Click Open for RealTerm to start reading data from the equipment item to the PC. In some cases the equipment item will require additional steps to allow data to be sent to a PC such as pressing a Print button. In this scenario please contact the equipment manufacturer for further information on the process to send data from the equipment item to a PC.
When information is transferred from the device, RealTerm should capture the output. The output should appear in the main window similar to the example below. Note, the Status frame will also show data signals being sent and received by highlighting the appropriate pins with green indicators, as shown in the image below.
To capture the output from RealTerm:
Click on the Capture tab and select a File location by clicking the “…” button.
Click the Start:Overwrite button to begin capturing data.
Click the Stop Capture button to stop capturing data.
Save the output to a text file.
Alternatively, simply copy the output from the terminal screen above using the normal right click menu.
Spectra QEST recommends capturing at least 3 or 4 readings per device and preparing a separate text file for each device that is to be interfaced.
Troubleshooting Data Capture
Problem | Check |
---|---|
No communication observed in RealTerm |
|
Communication in RealTerm appears distorted or is composed of NULL characters | The COM port, Baud, Parity, Data Bits and Stop Sit settings are likely incorrect. Check the setup of the equipment item and ensure the correct settings are being used in RealTerm. This will often require referencing the equipment device’s manual. |
RealTerm Error – Port is already open when opening RealTerm or clicking Change | Another process is using the COM port. Ensure that only one instance of RealTerm is running. |
Related content
Integrity | Curiosity | Empathy | Unity
The content of this page is confidential and for internal Spectra QEST use only. Do not share, duplicate or distribute without permission.