# a_load_queue()

Loads the A/D board's channel/gain queue. This function only works with A/D boards that have channel/gain queue hardware.

Some products do not support channel/gain queue, and some that do support it are limited on the order of elements, number of elements, and gain values that can be included, and so on. Refer to device-specific information for details.

## Prototype

a_load_queue(board_num, chan_list, gain_list, count)

## Parameters

board_num (int)

The number associated with the board when it was installed with InstaCal or created with create_daq_device().

chan_list (list of int)

A list containing channel values. This array should contain all of the channels that will be loaded into the channel gain queue.

gain_list (list of (ULRange)

A list containing A/D range values. This array should contain each of the A/D ranges that will be loaded into the channel gain queue.

count (int)

Number of elements in chan_list and gain_list, or 0 to disable channel/gain queue. Specifies the total number of channel/gain pairs that will be loaded into the queue. chan_list and gain_list should contain elements at least the size of the count value. Set count=0 to disable the board’s channel/gain queue. The maximum value is specific to the queue size of the A/D board’s channel gain queue.