 resource manager: status = viOpenDefaultRM (&defaultRM) ; Find all the VISA resources in our system and store the number of resources in the system in the "numInstrs" variable. Notice the different query descriptions that are available: Interface Expression "GPIB[0-9]*::?*INSTR" "VXI?*INSTR" GPIB-VXI "GPIB-VXI?*INSTR" Any VXI "?*VXI[0-9]*::?*INSTR" Serial "ASRL[0-9]*::?*INSTR" "PXI?*INSTR" All instruments "?*INSTR" All resources ViFindList findList; ViUInt32 numInstrs; char instrDescriptor [VI FIND_BUFLEN] ; status=viFindRsro (defaultRM, "?*INSTR", &findList, &numInstrs, instrDescriptor) The function viFindRsrc will return a list with all the available instruments. The parameters for this function (Figure 12.42) are: The viFindRsrc() function matches the value specified in the "expr" parameter with the resources available for a particular interface. You use a regular expression to specify patterns to match in a given string; in other words, it is a search criterion. The viFindRsrc() function uses a case-insensitive compare feature when matching resource names against the regular expression specified in "expr." On successful completion, this function returns the first resource found in the list and returns a count (retcnt) to indicate if there were more resources found for the designated interface. This function also returns, in the findList parameter, a handle to a find list. This handle points to the list of resources and it must be used as an input to viFindNext(). After obtaining the list of available instrument resources, we loop through this list and by calling the viFindNext function we get all the resource address Tele-Measurement Services for m-Learning Direction Description Resource Manager session (should always be the session returned from viOpenDefaultRM()). This is a regular expression followed by an optional logical expression. Refer to the discussion of the Description String in the Description section of this operation. findList Returns a handle identifying this search session. This handle will b