EasyManua.ls Logo

LabJack UE9 - Control Functions

LabJack UE9
86 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Command:
Byte
0
Checksum8
1
0x78
2
0x0B
3
0xAF
4
Checksum16 (LSB)
5
Checksum16
(MSB)
6
Write
7
Reserved
8-11
IP #0
12-15
IP #1
16-19
IP #2
20-23
IP #3
24-27
IP #4
Response:
Byte
0
Checksum8
1
0x78
2
0x0B
3
0xAF
4
Checksum16 (LSB)
5
Checksum16
(MSB)
6
Write
7
ErrorCode
8-11
IP #0
12-15
IP #1
16-19
IP #2
20-23
IP #3
24-27
IP #4
Write: Set to non-zero if new values should be updated. Pass 0×00 if only reading. A value of non-zero will only work if the
command is sent via USB.
IP #0: First IP address allowed to connect. A value of 0xFFFFFFFF disables feature.
IP #1: Second IP address allowed to connect.
IP #2: Third IP address allowed to connect.
IP #3: Fourth IP address allowed to connect.
IP #4: Fifth IP address allowed to connect.
5.3 - Control Functions
These are functions that are handled by the Control processor, and thus the packet destination bit is 1 for remote. Most functions
can be transferred by USB, Ethernet TCP, or Ethernet UDP. The exception is stream commands which are not supported over
UDP.
5.3.1 - BadChecksum
Response:
Byte
0
0xB8
1
0xB8
5.3.2 - ControlConfig
Configures various parameters associated with the Control processor. Although this function appears to have many of the same
digital I/O and DAC parameters as other functions, most parameters in this case are affecting the power-up values, not the current
values.
If WriteMask is nonzero, some or all default values are written to flash. The Control flash has a rated endurance of at least 20000
writes, which is plenty for reasonable operation, but if this function is called in a high-speed loop with a nonzero WriteMask, the
flash could be damaged.
There is a hardware method to restore parameters to the default values described below (in parentheses). Power up the UE9 with
a short from FIO2<=>SCL, then remove the jumper and power cycle the device again. This also returns Comm (Section 5.2.1) and
Watchdog (Section 5.3.13) settings to factory defaults.
Note: If the stream is running, you cannot update any of the values (WriteMask must equal 0).
56