JWAVE User Guide > JWAVE Wrapper API > DMDataExists Function
  

DMDataExists Function
Determines if the named data exists in the current PV‑WAVE session.
Usage
result = DMDataExists(data_name)
Input Parameters
data_name—A scalar string containing a data name (in the default domain, $GLOBAL) or a 2-element string array containing a domain name and data name.
Returned Value
result—Returns true if the named data exists; returns false otherwise. Also returns false if the data_name is invalid.
Discussion
To be valid, the data_name input parameter name must begin with a letter. The name is not case-sensitive, and may contain letters, underscores, and numbers.
Examples
See the example for DMRestore.
See Also
DMCopyData, DMEnumerateData, DMGetData, DMInit, DMRemoveData, DMRenameData, DMRestore, DMStoreData

Version 3.6
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.