get_board_name()
Returns the board name of a specified board, or iterates through a list of all supported boards.
Prototype
get_board_name(board_num)
Parameters
board_num (int)
board_num can be one of the following values:
- The number associated with the board when it was installed with InstaCal or created with create_daq_device(), or
- The list of all board types that are supported by the library. Set board_num to Iterator.GET_FIRST or Iterator.GET_NEXT.
Returns
- (string), based on the board_num arguement:
- The board name for the installed board at the given board_num.
- Iterator.GET_FIRST returns the first board type in the list of supported boards. Subsequent calls with board_num set to Iterator.GET_NEXT returns each of the other board types supported by the library. When you reach the end of the list, an empty string is returned. Refer to the ULGT04 example program for more details.
Notes
- Using the Iterator version of this function will list all boards supported by the base Universal Library, and does not necessarily reflect those supported by the Python layer.