Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

getfileproperty (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the support class.

Syntax

getfileproperty(file, objname, objtype, name)

value = getfileproperty(file, objname, objtype, name)

Description

Returns a property value from a file, channel, or channel group you specify.

Details

Examples

Inputs

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.

'file' File
'channel' Channel
'channel group' Channel group
name Specifies the name of the property for which to return the value. name is a string.

Outputs

Name Description
value Returns the property value from the file, channel, or channel group.

Details

This function is not supported in the LabVIEW Run-Time Engine. Do not use this function in a stand-alone application or shared library.

Examples

a = 1:10;
save 'test.tdm' a;
value = getfileproperty('test.tdm', '', 'file', 'author');

Related Topics

save
setfileproperty


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit