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

Chapter 4 External Subroutines

makefile specification for this example. Notice that the Dir command must end in a colon (:). Name the makefile calcmean.lvm.

name

=

name

calcmean

type

=

type

CIN

codeDir = codeDir: Complete pathname to the folder containing the .c file.

cinToolsDir = cinToolsDir:

 

Complete or partial pathname to the

 

LabVIEW cintools folder.

inclDir = inclDir:

(optional) Complete or partial

 

pathname to a folder containing any

 

additional .h files.

subrNames = subrNames

sum

Create the CIN using the following command.

Directory <full pathname to CIN directory>

cinmake sum

Microsoft Windows 3.1

Watcom C Compiler

As described in the Calling Code section of this chapter, when you compile a CIN that references an external subroutine, you use the same makefile as described in the Steps for Creating a CIN section of the Chapter 1, CIN Overview, with the addition of a directive that identifies the subroutines that this CIN uses. Following are the contents of the makefile specification for this example. Notice that the Dir command must end without a backslash (\). Name the makefile calcmean.lvm.

name =

name

calcmean

type =

type

CIN

codeDir = codeDir

Complete pathname to the directory

 

 

containing the .c file.

© National Instruments Corporation

4-13

LabVIEW Code Interface Reference Manual

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