Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Labview Code Interface Reference Manual.pdf
Скачиваний:
33
Добавлен:
29.05.2015
Размер:
1.13 Mб
Скачать

 

 

 

Chapter 7 File Manager Functions

 

infop

FInfoPtr

Address of information FSetInfo sets for the file

 

 

 

or directory. See the File Manager Data Structures

 

 

 

section of this chapter for a description of the

 

 

 

FInfoPtr data type.

returns

MgErr, which can contain the errors in the following list.

 

Error

Description

 

 

 

mgArgErr

A bad argument was passed to the function. Verify path.

 

fNotFound

File not found.

 

 

 

fIOErr

Unspecified I/O error occurred.

 

 

 

 

 

Getting Default Access Rights Information

FGetDefGroup

syntax LStrHandle FGetDefGroup(groupHandle);

FGetDefGroup gets the LabVIEW default group for a file or directory.

Parameter

Type

Description

groupHandle

LStrHandle

Handle that represents the LabVIEW default group

 

 

for a file or directory.

 

 

If groupHandle is NULL, FGetDefGroup

 

 

allocates a new handle and returns the default group

 

 

in it. If groupHandle is a handle, FGetDefGroup

 

 

returns it, and groupHandle resizes to hold the

 

 

default group.

returns

The resulting LStrHandle; if groupHandle was not NULL, then the return

 

value is the same LStrHandle as groupHandle. If an error occurs, NULL is

 

returned.

 

 

 

Creating and Determining the Contents of Directories

FListDir

syntax

MgErr

FListDir(path, list, typeH);

FListDir determines the contents of a directory.

National Instruments Corporation

7-17

LabVIEW Code Interface Reference Manual

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]