User Manual
3. Example Applications
The LabJack U12 CD installs 7 example applications: LJconfig, LJcounter, LJfg, LJlogger,
LJscope, LJstream, and LJtest.
• LJconfig: Lists all LabJacks connected to the USB and allows the local ID to be set on
each.
• LJcounter: Reads the LabJack counter and provides the current frequency or count.
• LJfg (Function Generator): Outputs basic waveforms on AO0 (analog output zero).
• 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.
• LJstream: Uses stream mode to read, graph, and write to file, 4 AI channels.
• LJtest: Runs a sequence of tests on the LabJack itself.
The LabVIEW source code for most of these applications 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.










