Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Using External Code in LabVIEW.pdf
Скачиваний:
48
Добавлен:
29.05.2015
Размер:
1.85 Mб
Скачать

Chapter 6 Function Descriptions

HiByte

Macro

int8 HiByte(x);

Purpose

Returns the high order int8 of an int16.

Parameters

Name

Type

Description

 

 

 

 

 

 

x

int16

int16 for which you want to determine the

 

 

high int8.

 

 

 

Using External Code in LabVIEW

6-124

www.ni.com

Chapter 6 Function Descriptions

HiNibble

Macro

uInt8 HiNibble(x);

Purpose

Returns the value stored in the high four bits of an uInt8.

Parameters

Name

Type

Description

 

 

 

 

 

 

x

uInt8

uInt8 whose high four bits you want to

 

 

extract.

 

 

 

© National Instruments Corporation

6-125

Using External Code in LabVIEW

Chapter 6 Function Descriptions

IsAlpha

Bool32 IsAlpha(c);

Purpose

Returns TRUE if the character c is a lowercase or uppercase letter, that is, in the set a to z or A to Z. In SPARCstation, this function also returns TRUE for international characters, such as à, á, Ä, and so on.

Parameters

Name

Type

Description

 

 

 

 

 

 

c

uChar

Character you want to analyze.

 

 

 

Return Value

Bool32, which can contain the following values:

TRUE

The character is alphabetic.

FALSE

Otherwise.

Using External Code in LabVIEW

6-126

www.ni.com

Chapter 6 Function Descriptions

IsDigit

Bool32 IsDigit(c);

Purpose

Returns TRUE if the character c is between 0 and 9.

Parameters

Name

Type

Description

 

 

 

 

 

 

c

uChar

Character you want to analyze.

 

 

 

Return Value

Bool32, which can contain the following values:

TRUE

Character is a numerical digit.

FALSE

Otherwise.

© National Instruments Corporation

6-127

Using External Code in LabVIEW

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