National Instruments PC-OPDIO-16 Telescope User Manual


 
Contents
© National Instruments Corporation vii PC-OPDIO-16 User Manual
Creating a Windows Application Using Microsoft Visual Basic ......................4-14
Example Programs.................................................................................4-14
Special Considerations...........................................................................4-14
Chapter 5
Theory of Operation
Functional Overview......................................................................................................5-1
Theory of Operation.......................................................................................................5-2
I/O Channel Interface Circuitry .........................................................................5-2
Digital I/O Circuitry...........................................................................................5-2
Optical Isolation Circuitry .................................................................................5-3
Using NI-DAQ Functions for Isolated Digital I/O ............................................5-4
Using LabVIEW Data Acquisition Library for Digital I/O...............................5-5
Easy I/O VIs...........................................................................................5-5
Advanced VIs.........................................................................................5-5
Chapter 6
NI-DAQ Function Reference
Using NI-DAQ Functions..............................................................................................6-1
Status Codes.......................................................................................................6-1
Variable Data Types...........................................................................................6-1
Primary Types........................................................................................6-2
Programming Language Considerations............................................................6-2
Visual BASIC for DOS..........................................................................6-3
Borland Turbo Pascal.............................................................................6-3
Visual BASIC for Windows ..................................................................6-3
NI-DAQ for LabWindows/CVI .........................................................................6-4
Device Numbers.................................................................................................6-5
Function Descriptions ....................................................................................................6-5
DIG_In_Line......................................................................................................6-5
DIG_In_Port.......................................................................................................6-6
DIG_Out_Line ...................................................................................................6-7
DIG_Out_Port....................................................................................................6-8
Get_DAQ_Device_Info .....................................................................................6-9
Get_NI_DAQ_Version ......................................................................................6-10
Init_DA_Brds.....................................................................................................6-11
Appendix A
Specifications
........................................................................................................................ A-1
Appendix B
CP Clare LDA210 Data Sheet
........................................................................................ B-1
Appendix C
Register-Level Programming
......................................................................................... C-1
Appendix D
Status Codes
.......................................................................................................................... D-1