Skip to main content
Skip table of contents

Example Code/Wrappers

Example code is a great way to get started writing a custom code.

Subsections

LJM Example Code Table (T-Series Devices Only)

Libraries...

Windows

Mac

Linux

C/C++

LabVIEW

 

Python

Node.js

MATLAB

 

 

DAQFactory

 

 

Delphi

 

 

Java

.NET (C#, VB)

 

 

Processing

Visual Basic (VB6, VBA)

 

 

LabWindows/CVI

 

 

Agilent VEE

 

 

DASYLab

 

 

Embedded Lua Scripts

While the above examples are run on the host computer, there are also example Lua scripts which run on-board T-series devices.

Modbus TCP

There are also direct Modbus TCP examples that do not use LJM. Note that some features, such as streaming, are greatly simplified by the LJM library. A list of the available Modbus registers is available on the Modbus Map page.

Digit (End of life)

Example code specifically tailored to the Digit-TL/Digit-TLH can be found in the appendix-b section of the Digit's datasheet.

UD Example Code Table (U3, U6, UE9)

Libraries...

Windows

Mac

Linux

DAQFactory

 

 

LabVIEW

 

 

C, C++, VC6

 

 

C, C++

 

Python

Visual Basic (VB6, VBA)

 

 

.Net (C#, VB)

 

 

Java

 

 

Delphi

 

 

MATLAB

 

 

Agilent VEE

 

 

Igor Pro

 

 

PureBasic

 

 

LabWindows/CVI

 

 

DASYLab

 

 

U12 Example Code Table

Libraries...

Windows

Mac

Linux

Dev-C++

 

 

LabVIEW

 

 

Python

MATLAB

 

 

Perl

 

.NET (C#, VB)

 

 

Delphi

 

 

VBA Excel

 

 

Java

 

 

Visual Basic 6

 

 

PowerBASIC

 

 

Agilent VEE

 

 

TestPoint

 

 

Visual C++ OCX

 

 

Visual C++ DLL

 

 

LabWindows/CVI

 

 

DAQFactory

 

 

Modbus TCP Example Code Table

Libraries...

Windows

Mac

Linux

LabVIEW

Node.js

Python

C/C++ (Streaming)

C# .NET

UE9 Native TCP Example Code

The UE9 can be controlled via Modbus TCP. A list of the available modbus registers that the UE9 supports is available in the UD Modbus section.

Note that some features, such as streaming, are simplified by the UD library.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.