Chapter 3 software overview – National Instruments NI-VXI User Manual

Page 5

Advertising
background image

Table of Contents

NI-VXI User Manual

vi

© National Instruments Corporation

Multiple Mainframe Support ..................................................................................... 2-5

Controllers................................................................................................... 2-5
The extender and controller Parameters ...................................................... 2-7

Using NI-VXI ............................................................................................................ 2-9

Header Files................................................................................................. 2-9

The datasize.h File ........................................................................ 2-9
The busacc.h File .......................................................................... 2-10
The devinfo.h File......................................................................... 2-10

The Beginning and End of an NI-VXI Program ......................................... 2-10
System Configuration Tools........................................................................ 2-11
Word Serial Communication....................................................................... 2-13
Master Memory Access............................................................................... 2-14
Slave Memory Access ................................................................................. 2-16

Interrupts and Signals ................................................................... 2-17

Triggers ....................................................................................................... 2-19

Chapter 3
Software Overview

System Configuration Functions ............................................................................... 3-1

CloseVXIlibrary .......................................................................................... 3-2
CreateDevInfo ............................................................................................. 3-2
FindDevLA ................................................................................................. 3-2
GetDevInfo.................................................................................................. 3-3
GetDevInfoLong ......................................................................................... 3-3
GetDevInfoShort ......................................................................................... 3-3
GetDevInfoStr ............................................................................................. 3-3
InitVXIlibrary ............................................................................................. 3-4
SetDevInfo .................................................................................................. 3-4
SetDevInfoLong .......................................................................................... 3-4
SetDevInfoShort.......................................................................................... 3-5
SetDevInfoStr.............................................................................................. 3-5

Commander Word Serial Protocol Functions............................................................ 3-5

Programming Considerations ...................................................................... 3-7
Interrupt Service Routine Support............................................................... 3-7
Single-Tasking Operating System Support ................................................. 3-8
Cooperative Multitasking Support .............................................................. 3-8
Multitasking Support................................................................................... 3-8
WSabort....................................................................................................... 3-10
WSclr........................................................................................................... 3-10
WScmd ........................................................................................................ 3-10
WSEcmd ..................................................................................................... 3-11
WSgetTmo .................................................................................................. 3-11

Advertising