EasyManua.ls Logo

LabJack UE9 - Page 75

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
0xF8
2
0x12
3
0x12
4
Checksum16 (LSB)
5
Checksum16 (MSB)
6
Number of Points
7
Reserved
8
Reserved
9
StreamDAC Config
Bit 7: 1=DAC1, 0=DAC0
Bits [0:2]: Block number (0-7)
10
DAC Value (0 + 16 * BlockNum) L
11
DAC Value (0 + 16 * BlockNum) H
...
40
DAC Value (15 + 16 * BlockNum) L
41
DAC Value (15 + 16 * BlockNum) H
Response:
Byte
0
Checksum8
1
0xF8
2
0x01
3
0x12
4
Checksum16 (LSB)
5
Checksum16 (MSB)
6
Errorcode
7
0x00
To enable StreamDAC set the number of points to a value greater than zero, to disable set the value to zero.
When loading multiple blocks of points, byte 6 (Number of Points) should be set to the total number of points the DAC should cycle
through.
Up to 128 points can be loaded, 16 at a time. Use bits [0:2] in byte 9 to select which block of 16 is being loaded.
5.3.23 - SetDefaults (SetToFactoryDefaults)
Executing this function causes the current or last used values (or the factory defaults) to be stored in flash as the power-up defaults.
The UE9 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 the flash could eventually be damaged.
Note: Do not call this function while streaming.
Command:
Byte
0
Checksum8
1
0xF8
2
0x01
3
0x0E
4
Checksum16 (LSB)
5
Checksum16 (MSB)
6
0xBA (0x82)
7
0x26 (0xC7)
Response:
Byte
0
Checksum8
1
0xF8
2
0x01
3
0x0E
4
Checksum16 (LSB)
5
Checksum16 (MSB)
6
Errorcode
7
0x00
5.3.24 - ReadDefaults (ReadCurrent)
Reads the power-up defaults from flash (Read the current configuration).
75