function [neg_on_err] = pb_init()
% FUNCTION NAME:
%   pb_init
%
% DESCRIPTION:
%   Initializes the board. This must be called before any other
%   functions are used which communicate with the board. If you have multiple 
%   boards installed in your system, pb_select_board() may be called first to 
%   select which board to initialize.
%
% INPUTS:
%
% OUTPUTS:
%   neg_on_err - A negative number is returned on failure, and spinerr is set
%                to a description of the error. 0 is returned on success. 
%
% $Revision: R2017a$ 
% $Author: SpinCore Technologies, Inc.$
% $Date: November 17, 2023$
% ------------------------------------------------------------------------------

global SPINAPI_DLL_NAME;

neg_on_err = calllib(SPINAPI_DLL_NAME, 'pb_init');

end