« Close

Datasheets and User Guides

App Notes

Software & Driver

 

VEE for LJM - Windows

LJM VEE Examples (Software Platform)

A Keysight VEE example for the LJM library.

Release

LJM VEE Examples (Referencable)


VEE is a 
graphical programming language, as demonstrated in the code snippet below, but understand that it is still a programming language, not a simple software tool.

Keysight VEE Quick Start

Note that using a LabJack in VEE is not identical to using Keysight hardware in VEE.  Keysight hardware interfaces with the "Instrument Manager," while LabJack hardware talks through the LJM driver. That means that you will not use the "Instrument Manager" or similar Keysight wizards.

Prerequisites

Instructions
  1. Download/extract the .zip file attached at the top of this page.
  2. Navigate to the extracted VEE_LJM root directory.
  3. Copy LabJackM_VEE.h into your LabJack drivers folder. e.g.: C:\Program Files (x86)\LabJack\Drivers
  4. Open any example files. The code snippet below is eReadName.
Currently developed and tested on Windows only.

Code Snippet

 

This example uses 5 calls to the LJM library:

  1. LJM_OpenS specifies which device you want to open and returns a handle for that device.
  2. LJM_GetHandleInfo returns information about the device we just opened.
  3. We pass a register name to LJM_eReadName and it reads the value of that register.  In this case we are reading the register named "SERIAL_NUMBER" which returns the serial number of the device.  For more names refer to the T4 or T7 Datasheet or Modbus Map.
  4. LJM_Close closes the connection to the device so it is available to other processes.
  5. LJM_ErrorToString converts the numeric error code to a readable string.

Note that Keysight used to be Aligent Technologies, so this download may contain references to Aligent.