Counter features on UD devices can easily be configured and read without custom software by using our LJControlPanel and LJLogUD/LJStreamUD software on Windows.
The application LJControlPanel is included with the Windows installation package.
The LabJack Control Panel application (LJCP) handles configuration and testing of the UD series hardware (U3, U6 and UE9). Click on the “Find Devices” button to search for connected devices.
Figure 1-1 shows the results from a typical search. The application found two devices. The USB connection for a U3 has been selected in Figure 1-1, bringing up the configuration window on the right side.
This option provides control over the condition of the device at power-up or reset. Figure 1-2 shows a U3-HV with the factory default power-up configuration, which means AIN0-AIN3 set to analog input, FIO4 to CIO3 set to digital input, analog outputs set to minimum voltage (near 0), and timers/counters/watchdog disabled.
Figure 1-3 shows the test window for a U3 device. This window continuously (once per second) writes to and reads from the selected LabJack.
Any configuration done on this screen is not written to nonvolatile memory. These settings just affect the current condition of the device, not the reset/power-up condition.
When the test panel first loads it sets everything to factory default, so previous settings (or reset/power-up settings) will not be shown.
Selecting Options=>Settings from the main LJControlPanel menu brings up the window shown in Figure 1-4. This window allows some features to of the LJControlPanel application to be customized.
Search for USB devices: If selected, LJControlPanel will include USB when searching for devices.
Search for Ethernet devices using UDP broadcast packet: Only applies to UE9 device.
Search for Ethernet devices using specified IP addresses: Only applies to UE9 device.
Counter features on UD devices can easily be configured and read without custom software by using our LJControlPanel and LJLogUD/LJStreamUD software on Windows.
[1] LabJack digital inputs have an internal 100k pull-up that weakly holds them high, so when you connect a GND wire to a digital input it will pull the line low and create a falling edge. When you pull out the wire you get a rising edge. You are not likely to make a perfectly clean single contact, so a counter will typically increment many counts each time you tap the wire. Also note that you should touch the ground wire to the inside-back of the counter terminal.
The following forum topic describes how to do frequency measurement with a counter. You can also move on to Configuring a Timer or subsequently Logging Timers/Counters.
Timer features on UD devices can easily be configured and read without custom software by using our LJControlPanel and LJLogUD/LJStreamUD software on Windows.
[1] LabJack digital inputs have an internal 100k pull-up that weakly holds them high, so when you connect a GND wire to a digital input it will pull the line low and create a falling edge. When you pull out the wire you get a rising edge. You are not likely to make a perfectly clean single contact, so a counter will typically increment many counts each time you tap the wire. Also note that you should touch the ground wire to the inside-back of the counter terminal.
Once you are all set up with your timers and counters you can move on to Logging Timers/Counters.
The following guide is intended to expand upon our basic timer configuration tutorial as well as describe a useful timer and counter setup to test PWM and/or timer input capture features.
See step 9. in our Timer configuration tutorial to save timer/counter configurations and afterwards you can move on to Logging Timers/Counters.