ThreadIberr

NI-488.2

ThreadIberr


Purpose

Return the value of the thread-specific Iberr.

Format

C

unsigned long ThreadIberr ()

Visual Basic

rc% = ThreadIberr ()

Input

none No input parameters

Output

Function Return Value of Iberr for the calling thread

Description

ThreadIberr returns the current value of Iberr for a particular thread of execution. The global NI-488.2 status functions (Ibsta, Iberr, Ibcnt) are maintained on a per process basis, which means that their values are updated whenever any thread in that process makes NI-488.2 calls. The thread NI-488.2 status variables are maintained on a per thread basis, which means that their values are updated whenever that particular thread makes NI-488.2 calls. If your application performs NI-488.2 operations in multiple threads, your application should examine the thread NI-488.2 status functions using ThreadIbsta, ThreadIberr, and ThreadIbcnt instead of the global NI-488.2 status functions.


Return to Supplemental Calls for Multithreaded NI-488.2 Applications

Related Topics:

ibnotify

GpibNotify

ThreadIbcnt

ThreadIbsta