function [neg_on_err] = pb_start()
% FUNCTION NAME:
%   pb_start
% DESCRIPTION:
%   Send a software trigger to the board. This will start
%   execution of a pulse program. It will also trigger a program which is 
%   currently paused due to a WAIT instruction. Triggering can also be 
%   accomplished through hardware, please see your board's manual for details 
%   on how to accomplish this. 
%
% INPUT:
%
% OUTPUT:
%    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_start');

end