# set_config_string()

Sets the configuration or device information as a null-terminated string.

## Prototype

set_config_string(info_type, board_num, dev_num, config_item, config_val)

## Parameters

info_type (InfoType)

The configuration information for each board is grouped into different categories. This parameter specifies which category you want. Always set this parameter to InfoType.BOARDINFO.

board_num (int)

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

dev_num (int)

The purpose of the dev_num parameter depends on the value of the config_item parameter. It can serve as a channel number, an index into the config_item, or it can be ignored.

config_item (BoardInfo)

Specifies which configuration item you wish to set. Set it in conjunction with the info_type parameter using the config_item parameter values table below.

config_val (int)

The value to set the specified configuration item to.

### config_item parameter values

config_item | Description
USERDEVID | Writes a user-configured string to an Ethernet, Bluetooth, or USB device. DevNum is ignored.