From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

VI for AVL Smoke Meter

Code and Documents

Attachment

Overview

This is a fully functional VI for AVL 415S variable sampling smoke meters. The VI provides the same capabilities as the AVL PUMA software. I use this VI as part of our engine testing software at Iowa State University.

Description

The AVL 415S is described by AVL as “a filter-type smoke meter for measuring the soot content in the exhaust of diesel and GDI engines.”  This VI uses VISA commands to control the device to do three pre-configured tasks (Reset, Purge and Measure), display measured values and internal status data, and provide an option for manual control.

smoke meter fp.png

Steps to Implement or Execute Code

  1. Connect your AVL Smoke Meter and test the connection using a VISA Test Panel in Measurement & Automation Explorer.
  2. Download the attached VI.
  3. Open the block diagram and confirm that it references the appropriate VISA resource (see below).

VISA resource.png

  1. Run the VI.
  2. Use the Reset, Purge and Measure buttons to control the VI.

Requirements

Software

LabVIEW 8.5.1 or Later

NI-VISA

Hardware

AVL-415S Smoke Meter

**This document has been updated to meet the current required format for the NI Code Exchange. For more details visit this discussion thread**

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

Comments
Todd S.
NI Employee (retired)
on

Thanks for posting this code!  Any chance you could put a screen shot of the VI on there so it's easier to see what the code looks like?  Also, what's an AVL variable sampling smoke meter?

Todd S.
LabVIEW Community Manager
National Instruments
RTTestExpert
Member
Member
on

anyone can write code in LabVIEW with tons of  VIs, the trick is how to write efficient, expandable, reusable, maintainable, understandbale code.

j_h
Member
Member
on

Dr. Evil - Thanks for sharing your code.

Todd - In my lab I use a AVL Smokemeter for exhaust gas measurements: it measures the soot concentration in the exhaust gas.

kjskaar
Member
Member
on

Will there be a difference in code when using a AVL 415 and not a 415S?

Contributors