short ar_set_multithread_protect (short board, short state);
This function controls conditional execution of Semaphore/Mutex protection around most device accesses in the API. Thread protection is required for any multi-threaded application, including basic multiple-path LabVIEW applications. Although thread protection increases API overhead, the application throughput decrease should be negligible.
Input |
||
Name |
Type |
Description |
board |
short |
(input) Device Number for the board to initiate thread protection, (valid range is 0-9). |
state |
short |
(input) Assigns the thread protection state for the API around
most device accesses in the API, as follows: |
Name |
Type |
Description |
status |
short |
status
of the function call, with valid values of: ARS_INVARG An invalid state parameter value was supplied. |
Utility
Functions
Alphabetical
Function Index
Hierarchical
Function Index