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

Chapter 7 File Manager Functions

Error

Description

mgArgErr

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

fIOErr

Unspecified I/O error occurred.

 

 

FSetAccessRights

syntax

MgErr

FSetAccessRights(path, owner, group,

 

 

permPtr);

FSetAccessRights sets access rights information for the specified file or directory. If an error occurs, no information changes.

 

Parameter

Type

Description

 

path

Path

Path of the file or directory for which you want to set

 

 

 

access rights information.

 

owner

PStr

New owner that FSetAccessRights sets for the

 

 

 

file or directory if owner is not NULL.

 

group

PStr

New group that FSetAccessRights sets for the

 

 

 

file or directory if group is not NULL.

 

permPtr

int32 *

Address of new permissions that

 

 

 

FSetAccessRights sets for the file or directory

 

 

 

if permPtr is not NULL.

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.

 

 

 

 

 

FSetInfo

syntax MgErr FSetInfo(path, infop);

FSetInfo sets information for the specified file or directory. If an error occurs, no information changes.

Parameter

Type

Description

path

Path

Path of the file or directory for which you want to set

 

 

information.

LabVIEW Code Interface Reference Manual

7-16

National Instruments Corporation

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