viFindNext(3)
HP-UX
NAME
viFindNext − Returns the next device in a list
SYNOPSIS
viFindNext(ViFindList findList, ViPRsrc instrDesc);
Description
This function returns the next device found in the list created by viFindRsrc. The list is referenced by the handle that was returned by viFindRsrc.
Parameters
findList An input parameter. Describes a find list. This parameter must be created by viFindRsrc.
instrDesc An output parameter. Returns a string identifying the location of a device. Strings can then be passed to viOpen to establish a session to the given device.
Return Values
This is the functional return status. It returns either a completion code or an error code as follows.
VI_SUCCESS Resource(s) found.
VI_ERROR_INV_SESSION VI_ERROR_INV_OBJECT The given session or object reference is invalid (both are the same value).
VI_ERROR_NSUP_OPER The given findList does not support this function.
VI_ERROR_RSRC_NFOUND There are no more matches.
See Also
viFindRsrc
AUTHOR
viFindNext was developed by HP
Hewlett-Packard Comapny — September 29, 1999