Example Code

InstruTech Hornet 402 Vacuum Gauge Control VI

Code and Documents

Attachment

Overview

This software (written by student and faculty end users at Cal State Fullerton) allows automation of the basic functions of the InstruTech Hornet 402 Vacuum Gauge.

 

Description

This document contains two example programs and dependencies.

 

The file Hornet_ASCII_communications_V4.vi is a ready to use controls VI using the ASCII communications protocol. This allows the user to view the vacuum pressure, using either the ion gauge or either of two convection gauges, over a user-specified time range (1 minute to 1 week). The "Additional commands" tab contains every communication command from the user manual, which can be used to further control the gauge. Note that any responses returned by these commands are displayed but not otherwise handled by the VI. 

 

The file InstruTech 402 Comm example.vi is a minimal example of communication with the instrument for developers to incorporate into their own software.


InstruTech VI.png

Figure 1: Hornet_ASCII_communications_V4.vi.

 InstruTech VI Comm Example.png

Figure 2: InstruTech 402 Comm example.vi.

 

Hardware and Software Requirements

Hardware

  • InstruTech Hornet 402 Vacuum Gauge (ion and convection gauges operating in tandem)
  • USB to serial cable.
  • PC.

Software

Tested on Labview 2016 with a Windows 10 PC. Might work on other systems.

 

Steps to Implement or Execute Code

  1. Check that the requirements below are satisfied.
  2. Download the .zip file below, unzip. 
  3. Open the Hornet_ASCII_communications_V4.vi and open the "IO Controls" tab.
    • Check that the address in the program matches the address programmed in the menus of the 402 controller.
    • In the same tab on the VI, choose the correct COM port from the list under the VISA resources name. If you get this wrong, the VI will return an error.
  4. Click on the LabVIEW "run" button.
  5. Let us know if that doesn't work so we can improve these directions.

 

Additional Information or References

InstruTech IGM402 User Manual: http://www.instrutechinc.com/site/files/1082/124783/426747/756398/000861_Manual_IGM402_Hornet_w_dual...

 

Authors: Adrian Avila-Alvarez, Juan Rocha, Leigh Hargreaves, Josh Smith

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors