Member of the support class.
getfileproperty(file, objname, objtype, name)
value = getfileproperty(file, objname, objtype, name)
Returns a property value from a file, channel, or channel group you specify.
| Name | Description | ||||||
| file | Specifies the path to the file from which you want to get a property value. If file is a relative path, LabVIEW begins searching for the file in the current working directory. file is a string. | ||||||
| objname | Specifies the name of the channel or channel group. If objtype is 'file', objname can be empty. objname is a string. | ||||||
| objtype | Specifies whether to return a property value from a file, a channel, or a channel group. objtype is a string that accepts the following values.
|
||||||
| name | Specifies the name of the property for which to return the value. name is a string. |
| Name | Description |
| value | Returns the property value from the file, channel, or channel group. |
This function is not supported in the LabVIEW Run-Time Engine. Do not use this function in a stand-alone application or shared library.
a = 1:10;
save 'test.tdm' a;
value = getfileproperty('test.tdm', '', 'file', 'author');