4.3.2 - Configuration
There are two IOTypes used to write or read general U6 configuration parameters:
LJ_ioPUT_CONFIG
LJ_ioGET_CONFIG
The following constants are then used in the channel parameter of the config function call to specify what is being written or read:
LJ_chLOCALID
LJ_chHARDWARE_VERSION
LJ_chSERIAL_NUMBER
LJ_chFIRMWARE_VERSION
LJ_chBOOTLOADER_VERSION
LJ_chPRODUCTID
LJ_chLED_STATE
Following is example pseudocode to write and read the local ID:
//Set the local ID to 4.
ePut (lngHandle, LJ_ioPUT_CONFIG, LJ_chLOCALID, 4, 0);
//Read the local ID.
eGet (lngHandle, LJ_ioGET_CONFIG, LJ_chLOCALID, &dblValue, 0);
tags:
Datasheets and User Guides
- UD Series (U3, U6, UE9)
- U3
- U6
- User's Guide
- Preface
- 1 - Installation on Windows
- 2 - Hardware Description
- 3 - Operation
- 4 - LabJackUD High-Level Driver
- 4.1 - Overview
- 4.2 - Function Reference
- 4.3 - Example Pseudocode
- 4.3.1 - Open
- 4.3.2 - Configuration
- 4.3.3 - Analog Inputs
- 4.3.4 - Analog Outputs
- 4.3.5 - Digital I/O
- 4.3.6 - Timers & Counters
- 4.3.7 - Stream Mode
- 4.3.8 - Raw Output/Input
- 4.3.9 - Easy Functions
- 4.3.10 - SPI Serial Communication
- 4.3.11 - I²C Serial Communication
- 4.3.12 - Asynchronous Serial Communication
- 4.3.13 - Watchdog Timer
- 4.3.14 - Miscellaneous
- 4.4 - Errorcodes
- 5 - Low-level Function Reference
- Appendix A - Specifications
- Appendix B - Noise and Resolution Tables
- Appendix C - Enclosure and PCB Drawings
- U6 Firmware Revision History
- User's Guide
- UE9
- Software Options
- U12
- Digit Series
- T Series
Search
Shopping Cart
Testimonials
-
I received the U6. I am very pleased with the device! Let me say it in spanish: Muy groso! I hope you keep developing more products so I could buy them all.
—Martin, Argentina


Comments
No comments yet. Speak up. We're listening.