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

 

 

Chapter 7 File Manager Functions

 

 

See the Pointers as Parameters section of

 

 

Chapter 1, CIN Overview, for more information

 

 

about using this parameter.

returns

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

 

Error

Description

 

mFullErr

Insufficient memory.

 

 

 

 

FTextToPath

syntax MgErr FTextToPath(text, tlen, *p);

FTextToPath creates a path from a string (at the address text) that represents a path in the platform-specific syntax for a path.

 

Parameter

Type

Description

 

text

UPtr

String that contains the path in platform-specific

 

 

 

syntax.

 

tlen

int32

Number of characters in text.

 

p

Path *

Address at which FTextToPath stores the

 

 

 

resulting path. If the value at p is non-zero, the

 

 

 

function assumes that it is a valid path, resizes the

 

 

 

path, and fills in its value. If the value at p is zero

 

 

 

(NULL), the function creates a new path, fills in its

 

 

 

value, and stores the path at the address referred to

 

 

 

by p.

 

 

 

See the Pointers as Parameters section of

 

 

 

Chapter 1, CIN Overview, for more information

 

 

 

about using this parameter.

returns

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

 

Error

Description

 

 

 

mFullErr

Insufficient memory.

 

 

 

 

 

FUnFlattenPath

syntax int32 FUnFlattenPath(fp, pPtr);

National Instruments Corporation

7-35

LabVIEW Code Interface Reference Manual

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