06-29-2007 03:44 PM
07-02-2007 12:06 PM
01-17-2008 01:49 PM
06-11-2023 08:30 AM
I HAVE LABJACK U3 LV , I HAVE PROBLEM AT FIO4 " THE COUNTER OF ENCODER WORK WIITHOUT ENCODER ONLY WHEN INSTLL ANY WIRE TO FIO4 CHANNEL " HOW CAN I DO NEW PROGRAM TO READ ENFODER AT OTHER CHANNEL AND LOAD CELL TOO ?
THANKS
06-12-2023 05:09 PM
Much of your question is related to U3 configuration rather than LabVIEW. The first timer or counter feature on the U3 will appear on the DIO# according to the TimerCounterPinOffset configuration when setting up a timer or counter. The values 4-8 are valid, meaning your first timer or counter must appear on DIO4-8 (also called FIO4-7 and EIO0). See the following related documentation:
https://labjack.com/pages/support?doc=/datasheets/u3-datasheet/29-timerscounters-u3-datasheet/
A load cell would need to be measured with an analog input channel, perhaps FIO0 set to analog input. To set FIO0 to analog, you would commonly use a command like ePut and one of the ANALOG_ENABLE IOTypes, or the eAIN function will automatically configure the given analog input channel as analog. See the following related pseudocode:
https://labjack.com/pages/support?doc=/datasheets/u3-datasheet/412-configuration-u3-datasheet/
Also see our bridge circuit app note for other recommendations. You will need amplification such as the LJTick-InAmp to take good load cell measurements with a U3:
https://labjack.com/pages/support?doc=/app-notes/sensor-types-app-note/bridge-circuits-app-note/
You would most likely set the timer and counter configurations using eTCConfig. That is what most of our timer/counter examples use. See our example archive on the following page. I would strongly recommend going through the getting started section:
https://labjack.com/pages/support?doc=/software-driver/example-codewrappers/labview-for-ud-windows/