Sample code and utilities for communicating with Newport 1830‑R and 1918‑2936 family power meters via GPIB, USB, C# and LabVIEW.
This document provides example projects that demonstrate how to control Newport 1830‑R and the 1918‑2936 family power meters. Samples are organized by instrument model and interface (GPIB, USB) and include LabVIEW projects for multiple LabVIEW versions as well as C# source code.
The ConnectionTest utility (ConnectionTest.exe) allows you to verify USB connectivity. All samples rely on the PowerMeterCommands.dll library, which exposes methods for sending commands, reading data, and performing queries to the instrument.
The ConnectionTest.exe application repeatedly attempts to connect to the instrument and can send arbitrary commands once a connection is established.