Skip to main content
Skip table of contents

StreamDAC (UE9 Only)

This function loads a list of binary values that the DACs will output to generate waveforms. Each time stream starts a scan the DAC are set to the next value in their lists. StreamDAC is run by the stream subsystem, so Stream Config needs to be called to set frequency, Stream Start will begin waveform generation and Stream Stop will halt generation.

Command:

 

 

Byte

 

 

0

Checksum8 

1

0xF8 

2

0×12 

3

0×12 

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

0×01 

3

0×12 

4

Checksum16 (LSB) 

5

Checksum16 (MSB) 

6

Errorcode 

7

0×00 

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.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.