VXi VT1422A 사용자 설명서

다운로드
페이지 529
Creating and Running Algorithms   181
Chapter 6
Creating and Running Algorithms
 Learning Hint
This chapter builds upon the "VT1422A Programming Model" information 
presented in Chapter 4. Reading Chapter 4 is recommended before moving 
on to this chapter. 
About This Chapter
This chapter describes how to write algorithms that apply the VT1422A's 
measurement, calculation, and control resources. It describes these 
resources and how to access them with the VT1422A's Algorithm Language. 
This manual assumes that the user has programming experience already, 
ideally, in the 'C' language since the VT1422A's Algorithm Language is 
based on 'C'. Following the tutorial sections of this chapter is an Algorithm 
Language Reference. The contents of this chapter are:
-- Accessing I/O Channels  . . . . . . . . . . . . . . . . . . . . . . . . . .   page 186
-- Accessing Remote Scan Status Variables . . . . . . . . . . . . .   page 187
-- Runtime Remote Scan Verification . . . . . . . . . . . . . . . . . .   page 187
-- Defining and Accessing Global Variables. . . . . . . . . . . . .   page 190
-- Determining First Execution (First_loop) . . . . . . . . . . . . .   page 190
-- Initializing Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   page 191
-- Sending Data to the CVT and FIFO . . . . . . . . . . . . . . . . .   page 191
-- Setting a VXIbus Interrupt  . . . . . . . . . . . . . . . . . . . . . . . .   page 192
-- Determining An Algorithm's Identity (ALG_NUM)  . . . .   page 193
-- Calling User Defined Functions . . . . . . . . . . . . . . . . . . . .   page 193