
3. Example Applications
The LabJack U12 CD installs 4 example applications: LJconfig, LJlogger, LJscope, and LJtest.
•
LJconfig: Lists all LabJacks connected to the USB and allows the local ID to be set on
each.
•
LJlogger: Saves data to disk, writes data to an HTML page on the Internet, and
performs various actions (including email) on trigger events.
•
LJscope: Simulates an oscilloscope by reading data from 2 AI channels in burst mode.
•
LJtest: Runs a sequence of tests on the LabJack itself.
The LabVIEW source code for LJlogger and LJscope is installed in the examples directory.
3.1 LJconfig
Every LabJack has a local ID and serial number. The local ID is a value between 0 and 255
that can be changed by the user. The serial number is a value between 256 and 2,147,483,647
that is unique among all LabJacks and cannot be changed by the user. LJconfig is used to set
the local ID of a particular LabJack.
Figure 3-1. LJconfig
Figure 3-1 shows the window that opens when LJconfig is run. Each time the “Refresh” button
is pushed, LJconfig will scan the USB for all LabJacks. To change the local ID of a particular
LabJack, push the “Change” button next to that LabJack, and the window shown in Figure 3-2
will appear.