Stops one or more subsystem background operations that are in progress for the specified board. Use this function to stop any function that is running in the background, including any function that was started with the BACKGROUND option.
Execute stop_background() after normal termination of all background functions to clear variables and flags.
stop_background(board_num, function_type)
board_num (int)
The number associated with the board when it was installed with InstaCal or created with create_daq_device().
function_type (FunctionType)
Specifies which background operation to stop. Specifies which scan to retrieve status information about. Refer to the function_type parameter values section below.
AIFUNCTION | Specifies analog input scans started with a_in_scan() or a_pretrig(). |
AOFUNCTION | Specifies analog output scans started with a_out_scan(). |
DIFUNCTION | Specifies digital input scans started with d_in_scan(). |
DOFUNCTION | Specifies digital output scans started with d_out_scan(). |
CTRFUNCTION | Specifies counter background operations started with c_in_scan. |
DAQIFUNCTION | Specifies a synchronous input scan started with daq_in_scan(). |
DAQOFUNCTION | Specifies a synchronous output scan started with daq_out_scan(). |