User`s guide
isvalid
Purpose Determine whether image acquisition object is as sociated with image
acquisition device
Syntax bool = isvalid(obj)
Description bool = isvalid(obj) returns t rue if the video input object obj is
valid, otherwise
false.Anobjectisaninvalidimageacquisitionobject
if it is no longer associated with any hardware; that is, the object was
deleted using the
delete function. Ifthisisthecase,obj should be
cleared from the workspace.
If
obj is an array of video input objects, bool is a logical array where
each element in
bool represents the corresponding element in obj.If
an object in
obj is valid, the isvalid function sets the corresponding
element in
bool to true,otherwisefalse.
See Also delete, imaqfind, vid eoin put
12-35