National Instruments PC-OPDIO-16 инструкция обслуживания
- Просмотреть online или скачать инструкцию
- 92 страниц
- 0.27 mb
Идти на страницу of
Похожие руководства по эксплуатации
-
Network Card
National Instruments Isolated Analog Output Module SCC-AO10
12 страниц 0.29 mb -
Network Card
National Instruments NI 2590/2591
44 страниц 0.48 mb -
Network Card
National Instruments NI 6509
23 страниц 0.49 mb -
Network Card
National Instruments NI PXIe-6672
57 страниц 0.66 mb -
Digital Photo Keychain
National Instruments NI PXI/PCI-5124
32 страниц 0.43 mb -
Network Card
National Instruments VXIpc
40 страниц 0.21 mb -
Graphics Tablet
National Instruments PXI/PCI-5114
23 страниц 0.3 mb -
Network Card
National Instruments E Series
132 страниц 0.55 mb
Хорошее руководство по эксплуатации
Законодательство обязывает продавца передать покупателю, вместе с товаром, руководство по эксплуатации National Instruments PC-OPDIO-16. Отсутствие инструкции либо неправильная информация, переданная потребителю, составляют основание для рекламации в связи с несоответствием устройства с договором. В законодательстве допускается предоставлении руководства в другой, чем бумажная форме, что, в последнее время, часто используется, предоставляя графическую или электронную форму инструкции National Instruments PC-OPDIO-16 или обучающее видео для пользователей. Условием остается четкая и понятная форма.
Что такое руководство?
Слово происходит от латинского "instructio", тоесть привести в порядок. Следовательно в инструкции National Instruments PC-OPDIO-16 можно найти описание этапов поведения. Цель инструкции заключается в облегчении запуска, использования оборудования либо выполнения определенной деятельности. Инструкция является набором информации о предмете/услуге, подсказкой.
К сожалению немного пользователей находит время для чтения инструкций National Instruments PC-OPDIO-16, и хорошая инструкция позволяет не только узнать ряд дополнительных функций приобретенного устройства, но и позволяет избежать возникновения большинства поломок.
Из чего должно состоять идеальное руководство по эксплуатации?
Прежде всего в инструкции National Instruments PC-OPDIO-16 должна находится:
- информация относительно технических данных устройства National Instruments PC-OPDIO-16
- название производителя и год производства оборудования National Instruments PC-OPDIO-16
- правила обслуживания, настройки и ухода за оборудованием National Instruments PC-OPDIO-16
- знаки безопасности и сертификаты, подтверждающие соответствие стандартам
Почему мы не читаем инструкций?
Как правило из-за нехватки времени и уверенности в отдельных функциональностях приобретенных устройств. К сожалению само подсоединение и запуск National Instruments PC-OPDIO-16 это слишком мало. Инструкция заключает ряд отдельных указаний, касающихся функциональности, принципов безопасности, способов ухода (даже то, какие средства стоит использовать), возможных поломок National Instruments PC-OPDIO-16 и способов решения проблем, возникающих во время использования. И наконец то, в инструкции можно найти адресные данные сайта National Instruments, в случае отсутствия эффективности предлагаемых решений. Сейчас очень большой популярностью пользуются инструкции в форме интересных анимаций или видео материалов, которое лучше, чем брошюра воспринимаются пользователем. Такой вид инструкции позволяет пользователю просмотреть весь фильм, не пропуская спецификацию и сложные технические описания National Instruments PC-OPDIO-16, как это часто бывает в случае бумажной версии.
Почему стоит читать инструкции?
Прежде всего здесь мы найдем ответы касательно конструкции, возможностей устройства National Instruments PC-OPDIO-16, использования отдельных аксессуаров и ряд информации, позволяющей вполне использовать все функции и упрощения.
После удачной покупки оборудования/устройства стоит посвятить несколько минут для ознакомления с каждой частью инструкции National Instruments PC-OPDIO-16. Сейчас их старательно готовят или переводят, чтобы они были не только понятными для пользователя, но и чтобы выполняли свою основную информационно-поддерживающую функцию.
Содержание руководства
-
Страница 1
© Copyright 1995 National Instruments Corporation. All Rights Reserved. PC-OPDIO-16 User Manual Optically Isolated Digital I/O Board for the PC May 1995 Edition Part Number 320937A-01[...]
-
Страница 2
National Instruments Corporate Headquarters 6504 Bridge Point Parkway Austin, TX 78730-5039 (512) 794-0100 Technical support fax: (800) 328-2203 (512) 794-5678 Branch Offices: Australia (03) 879 9422, Austria (0662) 435986, Belgium 02/757.00.20, Canada (Ontario) (519) 622-9310, Canada (Québec) (514) 694-8521, Denmark 45 76 26 00, Finland (90) 527 [...]
-
Страница 3
Limited Warranty The PC-OPDIO-16 is warranted against defects in materials and workmanship for a period of one year from the date of shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace equipment that proves to be defective during the warranty period. This warranty includes parts and[...]
-
Страница 4
WARNING REGARDING MEDICAL AND CLINICAL USE OF NATIONAL INSTRUMENTS PRODUCTS National Instruments products are not designed with components and testing intended to ensure a level of reliability suitable for use in treatment and diagnosis of humans. Applications of National Instruments products involving medical or clinical treatment can create a pot[...]
-
Страница 5
© National Instruments Corporation v PC-OPDIO-16 User Manual Contents ____________________________________________________ About This Manual ............................................................................................................. ix Organization of This Manual ...................................................................[...]
-
Страница 6
Contents PC-OPDIO-16 User Manual v i © National Instruments Corporation Chapter 3 Signal Connections ............................................................................................................. 3-1 I/O Connectors ............................................................................................................... 3-2 Sig[...]
-
Страница 7
Contents © National Instruments Corporation v i i PC-OPDIO-16 User Manual Creating a Windows Application Using Microsoft Visual Basic ...................... 4-14 Example Programs ................................................................................. 4-14 Special Considerations ............................................................[...]
-
Страница 8
Contents PC-OPDIO-16 User Manual v i i i © National Instruments Corporation Appendix E Customer Communication ............................................................................................... E-1 Glossary ...................................................................................................................... Glossary-1 [...]
-
Страница 9
© National Instruments Corporation i x PC-OPDIO-16 User Manual About This Manual ____________________________________________________ This manual describes the electrical and mechanical aspects of the PC-OPDIO-16 and contains information concerning its installation, operation, and programming. The PC-OPDIO-16 is fully compatible with industry stan[...]
-
Страница 10
About This Manual PC-OPDIO-16 User Manual x © National Instruments Corporation • Appendix D, Status Codes , lists the status codes returned by NI-DAQ, including the name and description. • Appendix E, Customer Communication , contains forms you can use to request help from National Instruments or to comment on our products. • The Glossary co[...]
-
Страница 11
About This Manual © National Instruments Corporation x i PC-OPDIO-16 User Manual National Instruments Documentation The PC-OPDIO-16 User Manual is one piece of the documentation set for your data acquisition system. You could have any of several types of manuals depending on the hardware and software in your system. Use the manuals you have as fol[...]
-
Страница 12
© National Instruments Corporation 1- 1 PC-OPDIO-16 User Manual Chapter 1 Introduction This chapter describes the PC-OPDIO-16; lists what you need to get started; describes the optional software and optional equipment; and explains how to unpack your PC-OPDIO-16. About Your PC-OPDIO-16 Board Thank you for purchasing the PC-OPDIO-16, which is an op[...]
-
Страница 13
Introduction Chapter 1 PC-OPDIO-16 User Manual 1- 2 © National Instruments Corporation Software Programming Choices There are several options to choose from when programming your National Instruments DAQ and SCXI hardware. You can use LabVIEW, LabWindows/CVI, or NI-DAQ. LabVIEW and LabWindows/CVI Application Software LabVIEW and LabWindows/CVI are[...]
-
Страница 14
Chapter 1 Introduction © National Instruments Corporation 1- 3 PC-OPDIO-16 User Manual minimal modifications to your code. Figure 1-1 illustrates the relationship between NI-DAQ and LabVIEW and LabWindows/CVI. You can see that the data acquisition parts of LabVIEW and LabWindows/CVI are functionally equivalent to the NI-DAQ software. LabWindows/CV[...]
-
Страница 15
Introduction Chapter 1 PC-OPDIO-16 User Manual 1- 4 © National Instruments Corporation Cabling National Instruments offers two cable termination accessory kits, the CB-50 and CB-50 LP, for use with the PC-OPDIO-16. These kits include a terminated, 50-conductor, flat ribbon cable and a connector block. You can attach signal input and output wires t[...]
-
Страница 16
© National Instruments Corporation 2- 1 PC-OPDIO-16 User Manual Chapter 2 Installation and Configuration This chapter contains instructions for installing the PC-OPDIO-16, installing the NI-DAQ software, configuring your PC-OPDIO-16 board, and cabling. Hardware Installation You can install the PC-OPDIO-16 in any available 8-bit or 16-bit expansion[...]
-
Страница 17
Installation and Configuration Chapter 2 PC-OPDIO-16 User Manual 2- 2 © National Instruments Corporation Hardware Configuration The PC-OPDIO-16 is completely software configurable. Typically, two types of configuration are performed on a DAQ board—bus related and data acquisition related. To configure the PC -OPDIO-16 bus, you only have to set t[...]
-
Страница 18
Chapter 2 Installation and Configuration © National Instruments Corporation 2- 3 PC-OPDIO-16 User Manual Data Acquisition-Related Configuration The PC-OPDIO-16 supplies eight channels of optically isolated digital input and eight channels of optically isolated digital output at the I/O connector. NI-DAQ Software Installation This following section[...]
-
Страница 19
Installation and Configuration Chapter 2 PC-OPDIO-16 User Manual 2- 4 © National Instruments Corporation LabVIEW users are encouraged to use the Easy I/O VIs in LabVIEW. These VIs allow full access to the PC-OPDIO-16 board functionality. For specific information on the VIs and on how to write LabVIEW data acquisition applications, refer to your La[...]
-
Страница 20
Chapter 2 Installation and Configuration © National Instruments Corporation 2- 5 PC-OPDIO-16 User Manual NI-DAQ Installation for Windows To install NI-DAQ for Windows, run the SETUPWIN program on Disk 1. One way to do this is to select the File menu from the Program Manager Window, then select Run... and type in a:setupwin , assuming a: is the fl[...]
-
Страница 21
Installation and Configuration Chapter 2 PC-OPDIO-16 User Manual 2- 6 © National Instruments Corporation When the configuration utility finds a new switchless device in your computer, it assigns the first available device number to the new device. The utility also assigns default resources such as I/O address. When you remove the device from your [...]
-
Страница 22
Chapter 2 Installation and Configuration © National Instruments Corporation 2- 7 PC-OPDIO-16 User Manual With this option, you can create multiple configuration files for different NI-DAQ applications or projects; simply use the appropriate path name when you want to create a new configuration file or view an existing one. Be sure to enter only th[...]
-
Страница 23
Installation and Configuration Chapter 2 PC-OPDIO-16 User Manual 2- 8 © National Instruments Corporation DAQCONF Command-Line Flags You can use the following command-line flags with DAQCONF : Command-Line Flag Description -t Disable auto tests -i Assume ISA bus computer -e Assume EISA bus computer -a Auto test for bus type -u Usage -x Disable auto[...]
-
Страница 24
Chapter 2 Installation and Configuration © National Instruments Corporation 2- 9 PC-OPDIO-16 User Manual 3. Select the Device menu item to select your device type. Device type is the name of your device. After you select the device type, you can see the default settings for your device. 4. Modify the base address if the default setting is not acce[...]
-
Страница 25
© National Instruments Corporation 3- 1 PC-OPDIO-16 User Manual Chapter 3 Signal Connections This chapter describes the pin arrangement, signal names, and signal connections on the PC-OPDIO-16. Warning: Connections that exceed any of the maximum ratings of input or output signals on the PC-OPDIO-16 may damage your PC-OPDIO-16 board and your comput[...]
-
Страница 26
Signal Connections Chapter 3 PC-OPDIO-16 User Manual 3- 2 © National Instruments Corporation I/O Connectors Figure 3-1 shows the pin assignments for the PC-OPDIO-16 I/O connector. VCCO0 1 2 VOUT0 COM0 3 4 VCCO1 VOUT1 5 6 COM1 VCCO2 7 8 VOUT2 COM2 9 10 VCCO3 VOUT3 11 12 COM3 VCCO4 13 14 VOUT4 COM4 15 16 VCCO5 VOUT5 17 18 COM5 VCCO6 19 20 VOUT6 COM6[...]
-
Страница 27
Chapter 3 Signal Connections © National Instruments Corporation 3- 3 PC-OPDIO-16 User Manual Signal Connection Descriptions Pin Signal Name Description 1, 4, 7, 10, 13, 16, 19, 22 VCCO<0..7> Isolated V cc for Output, channels 0 through 7—This signal is the Vcc for the output channels. Range: +5 V to +24 V. 2, 5, 8, 11, 14, 17, 20, 23 VOUT&[...]
-
Страница 28
Signal Connections Chapter 3 PC-OPDIO-16 User Manual 3- 4 © National Instruments Corporation Optically Isolated Digital Output I/O connector pins 1 through 24 shown in Figure 3-1 represent the optically isolated output signal pins. Output Channels The optically isolated outputs of the PC-OPDIO-16 consist of a photo coupler and a load resistor. The[...]
-
Страница 29
Chapter 3 Signal Connections © National Instruments Corporation 3- 5 PC-OPDIO-16 User Manual Signal Connection Example Figure 3-2 shows signal connections for the load connected to an isolated output. 5.6 k Ω 5.6 k Ω 5.6 k Ω PC-OPDIO-16 TLP121 Isolation 5.6 k Ω + - Load Digital Logic +5 V VCCO VOUT COM I OH Isolated Ground 470 Ω 5.6 k ?[...]
-
Страница 30
Signal Connections Chapter 3 PC-OPDIO-16 User Manual 3- 6 © National Instruments Corporation Increasing Switching Frequency for TTL Loads You can increase the switching frequency for the TTL loads by putting a resistor in parallel to VCCO and VOUT. This parallel arrangement will reduce load resistance and increase switching frequency. You can choo[...]
-
Страница 31
Chapter 3 Signal Connections © National Instruments Corporation 3- 7 PC-OPDIO-16 User Manual Sensing DC Voltages When a positive or negative DC voltage with a magnitude of at least 2 V is referenced to the IGND of a channel and is applied to an input of that channel, the PC-OPDIO-16 registers a logic high for that input. If no voltage is present, [...]
-
Страница 32
Signal Connections Chapter 3 PC-OPDIO-16 User Manual 3- 8 © National Instruments Corporation Reducing the Forward Current for 24 V Inputs You can reduce the forward current, I f , for 24 V input signals by adding a series resistance with the 3.3 k Ω current-limiting resistor, as shown in Figure 3-5. The value of resistance should be such that at[...]
-
Страница 33
© National Instruments Corporation 4- 1 PC-OPDIO-16 User Manual Chapter 4 Fundamentals of Building Applications with NI-DAQ _____________________________________________________________________________ This chapter contains general information about building NI-DAQ applications that run in DOS and Windows and explains the nature of the files neede[...]
-
Страница 34
The Fundamentals of Building Applications with NI-DAQChapter 4 PC-OPDIO-16 User Manual 4- 2 © National Instruments Corporation 2. Compile your source code with the Microsoft C Compiler (Version 8.0 or later) and use the large memory model, which you select when you include the /AL flag in the command line. For example, to compile diginout.c and it[...]
-
Страница 35
Chapter 4 The Fundamentals of Building Applications with NI-DAQ © National Instruments Corporation 4- 3 PC-OPDIO-16 User Manual 2. NI-DAQ library needs to allocate some memory for internal use. Therefore, you need to set aside memory using the SETMEM statement. The amount of memory you need will depend on which NI-DAQ functions you are using. If y[...]
-
Страница 36
The Fundamentals of Building Applications with NI-DAQChapter 4 PC-OPDIO-16 User Manual 4- 4 © National Instruments Corporation Running Your Application Inside the Visual Basic Environment First, you must create an NI-DAQ Quick library. MAKEQLB.BAT in the QLBUTIL subdirectory is useful for creating Quick libraries for Visual Basic. The steps for ma[...]
-
Страница 37
Chapter 4 The Fundamentals of Building Applications with NI-DAQ © National Instruments Corporation 4- 5 PC-OPDIO-16 User Manual your LIB environment variable so the linker can find the libraries. The following statement is an example of how to set the LIB environment variable in your autoexec.bat file: SET LIB=C:NIDAQDOSLIB;C:VBDOSLIB Example [...]
-
Страница 38
The Fundamentals of Building Applications with NI-DAQChapter 4 PC-OPDIO-16 User Manual 4- 6 © National Instruments Corporation If you are using Borland C++ version 4.0, you need to edit the definition of halloc in the include file MALLOC.H in the include directory. To do so, go to line 65 in MALLOC.H and remove the underscore from in front of farm[...]
-
Страница 39
Chapter 4 The Fundamentals of Building Applications with NI-DAQ © National Instruments Corporation 4- 7 PC-OPDIO-16 User Manual Memory Requirement If the Turbo Pascal interactive environment runs out of memory while compiling NI-DAQ applications, try some or all of the following: • Set the Turbo Pascal compile destination to disk. • Set the Tu[...]
-
Страница 40
The Fundamentals of Building Applications with NI-DAQChapter 4 PC-OPDIO-16 User Manual 4- 8 © National Instruments Corporation The NI-DAQ Libraries The NI-DAQ for Windows function libraries are DLLs, which means that NI-DAQ routines are not linked into the executable files of applications. Only the information about the NI-DAQ routines in NI-DAQ i[...]
-
Страница 41
Chapter 4 The Fundamentals of Building Applications with NI-DAQ © National Instruments Corporation 4- 9 PC-OPDIO-16 User Manual Huge (Greater Than 64 KB) Buffer Access Buffers of allocated memory that exceed 64 KB are divided into 64 KB groups, or segments . When you are accessing data within the buffer and you reach the end of one of these segmen[...]
-
Страница 42
The Fundamentals of Building Applications with NI-DAQChapter 4 PC-OPDIO-16 User Manual 4- 10 © National Instruments Corporation Example Programs You can find some example programs and project files created in version 3.1 NIDAQWINBCCP_EX in the directory. Newer versions can use 3.1 project files. Special Considerations See Special Considerations i[...]
-
Страница 43
Chapter 4 The Fundamentals of Building Applications with NI-DAQ © National Instruments Corporation 4- 11 PC-OPDIO-16 User Manual Creating a Windows Application Using Microsoft Visual C++ This section assumes that you will be using the Microsoft Visual Workbench to manage your code development. For Windows programs in general, remember to follow th[...]
-
Страница 44
The Fundamentals of Building Applications with NI-DAQChapter 4 PC-OPDIO-16 User Manual 4- 12 © National Instruments Corporation 3. Turn on the {$N+} compiler option to enable the extended floating-point types. You can use this option whether or not you actually have a math coprocessor; if you do not have a coprocessor, Turbo Pascal will emulate on[...]
-
Страница 45
Chapter 4 The Fundamentals of Building Applications with NI-DAQ © National Instruments Corporation 4- 13 PC-OPDIO-16 User Manual Huge Buffer Access Unlike C and C++, Turbo Pascal does not support huge pointers. Consequently, you must perform your own pointer arithmetic when accessing memory buffers greater than 64 KB in size. Essentially, whenever[...]
-
Страница 46
The Fundamentals of Building Applications with NI-DAQChapter 4 PC-OPDIO-16 User Manual 4- 14 © National Instruments Corporation Creating a Windows Application Using Microsoft Visual Basic To use the NI-DAQ functions, you must use the NI-DAQ DLL. Follow this procedure: 1. Create your forms and code as you would for any other Visual Basic program, c[...]
-
Страница 47
Chapter 4 The Fundamentals of Building Applications with NI-DAQ © National Instruments Corporation 4- 15 PC-OPDIO-16 User Manual Put fh%, , strBuffer$ : close fh% : Huge Buffer Access Visual Basic does not support buffer allocation greater than 64 KB or huge buffer access. To allocate and use buffers that are larger than 64 KB, consult the NI-DAQ [...]
-
Страница 48
© National Instruments Corporation 5- 1 PC-OPDIO-16 User Manual Chapter 5 Theory of Operation This chapter describes the theory of operation for optically isolated digital I/O on the PC-OPDIO-16. This chapter also discusses using NI-DAQ functions with the PC-OPDIO-16 board. Functional Overview The block diagram in Figure 5-1 shows a functional ove[...]
-
Страница 49
Theory of Operation Chapter 5 PC-OPDIO-16 User Manual 5- 2 © National Instruments Corporation You can execute data acquisition functions by using the digital I/O circuitry. The internal data and control buses interconnect the components. Optical isolation is attained by the optical isolation circuitry. Theory of Operation I/O Channel Interface Cir[...]
-
Страница 50
Chapter 5 Theory of Operation © National Instruments Corporation 5- 3 PC-OPDIO-16 User Manual designed around an 82C55A programmable peripheral interface (PPI). Two of the 82C55A ports are used in the PC-OPDIO-16; port A is used for output, and port B is used for input. Optical Isolation Circuitry The eight bits of digital input are optically isol[...]
-
Страница 51
Theory of Operation Chapter 5 PC-OPDIO-16 User Manual 5- 4 © National Instruments Corporation Using NI-DAQ Functions for Isolated Digital I/O The C code block below illustrates the use of the NI-DAQ digital input and output calls supported by the PC-OPDIO-16 board. The series of calls outputs the binary pattern 11110000 from port 0 and input a pat[...]
-
Страница 52
Chapter 5 Theory of Operation © National Instruments Corporation 5- 5 PC-OPDIO-16 User Manual Using LabVIEW Data Acquisition Library for Digital I/O LabVIEW users are encouraged to use the Easy I/O VIs in LabVIEW. They allow full access to the PC-OPDIO-16 board functionality. For specific information on the VIs and how to write LabVIEW data acquis[...]
-
Страница 53
© National Instruments Corporation 6- 1 PC-OPDIO-16 User Manual Chapter 6 NI-DAQ Function Reference This chapter contains important information about how to apply the NI-DAQ function descriptions in this manual to your programming language and environment. This chapter also includes a detailed description of each NI-DAQ function that supports the [...]
-
Страница 54
NI-DAQ Function Reference Chapter 6 PC-OPDIO-16 User Manual 6- 2 © National Instruments Corporation Primary Types Table 6-2 shows the primary type names and their ranges. Table 6-2. Primary Type Names Type Description Range Type Name C BASIC Pascal I16 16-bit signed integer -32,768 to 32,767 short Integer (for example: deviceNum% ) Integer U16 16-[...]
-
Страница 55
Chapter 6 NI-DAQ Function Reference © National Instruments Corporation 6- 3 PC-OPDIO-16 User Manual Visual Basic for DOS All of the function names listed in this manual have underscores (_) in the names to delineate words. In Visual Basic the underscore is illegal in a symbol name, so you must replace each underscore in the NI-DAQ function names w[...]
-
Страница 56
NI-DAQ Function Reference Chapter 6 PC-OPDIO-16 User Manual 6- 4 © National Instruments Corporation To do so, go to the Project window and choose the Global module, then choose Load Text from the Code menu. Select NIDAQCNS.INC , which is in the NIDAQWINVB_EX directory. Choose Replace or Merge , depending on how you want to incorporate this file i[...]
-
Страница 57
Chapter 6 NI-DAQ Function Reference © National Instruments Corporation 6- 5 PC-OPDIO-16 User Manual Device Numbers The first parameter to almost every NI-DAQ function is the device number of the DAQ device you want NI-DAQ to use for the given operation. After you have followed the instructions in Chapter 2, Installation and Configuration , the con[...]
-
Страница 58
NI-DAQ Function Reference Chapter 6 PC-OPDIO-16 User Manual 6- 6 © National Instruments Corporation Note to C Programmers: state is a pass-by-reference parameter. Using This Function DIG_In_Line returns the digital logic state of the specified digital line in the specified port. If the specified port is configured as an input port, NI-DAQ determin[...]
-
Страница 59
Chapter 6 NI-DAQ Function Reference © National Instruments Corporation 6- 7 PC-OPDIO-16 User Manual DIG_Out_Line Format status = DIG_Out_Line (deviceNumber, port, line, state) Purpose Sets or clears the specified digital output line in the specified digital port. Parameters Direction Name Type Description Input deviceNumber I16 assigned by configu[...]
-
Страница 60
NI-DAQ Function Reference Chapter 6 PC-OPDIO-16 User Manual 6- 8 © National Instruments Corporation DIG_Out_Port Format status = DIG_Out_Port (deviceNumber, port, pattern) Purpose Writes digital output data to the specified digital port. Parameters Direction Name Type Description Input deviceNumber I16 assigned by configuration utility port I16 di[...]
-
Страница 61
Chapter 6 NI-DAQ Function Reference © National Instruments Corporation 6- 9 PC-OPDIO-16 User Manual Get_DAQ_Device_Info Format status = Get_DAQ_Device_Info (deviceNumber, infoType, infoValue) Purpose Allows you to retrieve parameters pertaining to the device operation. Parameters Direction Name Type Description Input deviceNumber I16 assigned by c[...]
-
Страница 62
NI-DAQ Function Reference Chapter 6 PC-OPDIO-16 User Manual 6- 10 © National Instruments Corporation Get_NI_DAQ_Version Format status = Get_NI_DAQ_Version (version) Purpose Returns the version number of the NI-DAQ library. Parameter Direction Name Type Description Output version U32 version number assigned Using This Function Get_NI_DAQ_Version re[...]
-
Страница 63
Chapter 6 NI-DAQ Function Reference © National Instruments Corporation 6- 11 PC-OPDIO-16 User Manual Init_DA_Brds Format status = Init_DA_Brds (deviceNumber, deviceNumberCode) Purpose Initializes the hardware and software states of a National Instruments DAQ board to its default state, and then returns a numeric board code that corresponds to the [...]
-
Страница 64
© National Instruments Corporation A- 1 PC-OPDIO-16 User Manual Appendix A Specifications This appendix lists the specifications of the PC-OPDIO-16. These specifications are typical at 25 ° C and 50% relative humidity unless otherwise stated. The operating temperature range is 0 ° to 50 ° C. I/O Connector Electrical Specifications Compatibility[...]
-
Страница 65
Specifications Appendix A PC-OPDIO-16 User Manual A- 2 © National Instruments Corporation Digital logic levels ...................................................... . Level Min Max Ouput low voltage (I OL = 4.0 mA) — ± 1 VDC Ouput high voltage (I OH = 250 µ A) 22 VDC at VCCO = 24 V 3 VDC at VCCO = 5 V — Output low current — 7.0 mA Supply [...]
-
Страница 66
© National Instruments Corporation B- 1 PC-OPDIO-16 User Manual Appendix B CP Clare LDA210 Data Sheet * This appendix contains a manufacturer data sheet for the LDA210 solid state current sensor (CP Clare Corporation). This sensor is used on the PC-OPDIO-16 isolated input port. * Copyright © CP Clare Corporation. 1994. Reprinted with permission o[...]
-
Страница 67
© National Instruments Corporation C-1 PC-OPDIO-16 User Manual Appendix C Register-Level Programming This appendix describes in detail the address and function of each PC-OPDIO-16 register. Note: If you plan to use a programming software package such as NI-DAQ or LabWindows/CVI with your PC-OPDIO-16, you do not need to read this chapter. Base I/O [...]
-
Страница 68
Register-Level Programming Appendix C PC-OPDIO-16 User Manual C - 2 © National Instruments Corporation Register Description Register Description Format The remainder of this chapter discusses each of the PC-OPDIO-16 registers in the order shown in Table C-1. Each register group is introduced, followed by a detailed bit description of each register[...]
-
Страница 69
Appendix C Register-Level Programmingt © National Instruments Corporation C-3 PC-OPDIO-16 User Manual Port B Register Reading the Port B Register returns the logic state of the eight optically isolated digital input lines VIN0 through VIN7. Address: Base address + 01 (hex) Type: Read-only Word Size: 8-bit Bit Map: 76 54 32 10 D7 D6 D5 D4 D3 D2 D1 [...]
-
Страница 70
Register-Level Programming Appendix C PC-OPDIO-16 User Manual C - 4 © National Instruments Corporation Programming The pseudocode for controlling the output port of the PC-OPDIO-16 is: 1. Write to 82 hex to the Digital Control Register to configure port A as the output port and port B as the input port. 2. Write digital value to the Port A Registe[...]
-
Страница 71
Appendix C Register-Level Programmingt © National Instruments Corporation C-5 PC-OPDIO-16 User Manual Example: Reading binary XXXXXXX1 at port B will imply a high on the VIN0, if proper signal connections are done. Table C-2. Input Sense Data Value Read Channel Sensed XXXXXXX1 High on VIN0 XXXXXX1X High on VIN1 XXXXX1XX High on VIN2 XXXX1XXX High [...]
-
Страница 72
© National Instruments Corporation D- 1 PC-OPDIO-16 User Manual Appendix D Status Codes This appendix lists the status codes returned by NI-DAQ, including the name and description. Each NI-DAQ function returns a status code that indicates whether the function was performed successfully. When an NI-DAQ function returns a code that is a negative num[...]
-
Страница 73
Status Codes Appendix D PC-OPDIO-16 User Manual D- 2 © National Instruments Corporation Table D-1. Status Code Summary (Continued) Status Code Status Name Description 8 readOutputLine A digital line configured for output has been read. 7 relatedPortBusy Another port on the same chip is busy. Config and setup call may corrupt its signal lines. 6 no[...]
-
Страница 74
Appendix D Status Codes © National Instruments Corporation D- 3 PC-OPDIO-16 User Manual Table D-1. Status Code Summary (Continued) Status Code Status Name Description -81 portAssignToGrp The specified port is currently assigned to a group and can be accessed only through DIG_Grp calls until unassigned. -82 noPortAssignErr No port is assigned to th[...]
-
Страница 75
Status Codes Appendix D PC-OPDIO-16 User Manual D- 4 © National Instruments Corporation Table D-1. Status Code Summary (Continued) Status Code Status Name Description -103 multSourceInputErr Attempt to drive more than one signal onto another signal or trigger line. -104 lowScanIntervalErr The scan interval must be at least 2 µ sec greater than th[...]
-
Страница 76
Appendix D Status Codes © National Instruments Corporation D- 5 PC-OPDIO-16 User Manual Table D-1. Status Code Summary (Continued) Status Code Status Name Description -130 RTSIlineInUseErr The user is using an RTSI line needed by the system. -131 dacUpdateRTSIinUseErr Attempt to clear an RTSI connection in use by the system. -132 noRTSIlineAvailEr[...]
-
Страница 77
Status Codes Appendix D PC-OPDIO-16 User Manual D- 6 © National Instruments Corporation Table D-1. Status Code Summary (Continued) Status Code Status Name Description -165 dacUpdateRTSINotAvailErr dacUpdate RTSI line is currently being driven by a RTSI bus line. -166 SCXIConfigErr The SCXI configuration parameters specified indicate an invalid con[...]
-
Страница 78
Appendix D Status Codes © National Instruments Corporation D- 7 PC-OPDIO-16 User Manual Table D-1. Status Code Summary (Continued) Status Code Status Name Description -195 noNIDAQLibErr Pertains to LabVIEW only. -196 noNIDAQFuncErr Pertains to LabVIEW only. -197 incompatibleVISRDErr Incorrect version of VISRD.386 is installed. -198 port1InLatchedM[...]
-
Страница 79
Status Codes Appendix D PC-OPDIO-16 User Manual D- 8 © National Instruments Corporation Table D-1. Status Code Summary (Continued) Status Code Status Name Description -420 multiRatePreTrigErr You cannot use multirate scanning and pretriggering together. -421 functionNotLinkedErr You must call one of the USE_E_Series functions at the beginning of y[...]
-
Страница 80
Appendix D Status Codes © National Instruments Corporation D- 9 PC-OPDIO-16 User Manual Table D-1. Status Code Summary (Continued) Status Code Status Name Description -459 criticalResourceConflictErr A conflict was detected when trying to report base address resources for this device. -460 switchlessBoardErr NI-DAQ unable to find one or more Plug [...]
-
Страница 81
© National Instruments Corporation E- 1 PC-OPDIO-16 User Manual Appendix E Customer Communication For your convenience, this appendix contains forms to help you gather the information necessary to help us solve technical problems you might have as well as a form you can use to comment on the product documentation. Filling out a copy of the Technic[...]
-
Страница 82
Technical Support Form Photocopy this form and update it each time you make changes to your software or hardware, and use the completed copy of this form as a reference for your current configuration. Completing this form accurately before contacting National Instruments for technical support helps our applications engineers answer your questions m[...]
-
Страница 83
PC-OPDIO-16 Hardware and Software Configuration Form Record the settings and revisions of your hardware and software on the line to the right of each item. Complete a new copy of this form each time you revise your software or hardware configuration, and use this form as a reference for your current configuration. Completing this form accurately be[...]
-
Страница 84
Documentation Comment Form National Instruments encourages you to comment on the documentation supplied with our products. This information helps us provide quality products to meet your needs. Title: PC-OPDIO-16 User Manual Edition Date: May 1995 Part Number: 320937A-01 Please comment on the completeness, clarity, and organization of the manual. I[...]
-
Страница 85
© National Instruments Corporation Glossary- 1 PC-OPDIO-16 User Manual Glossary ____________________________________________________ Prefix Meaning Value p- pico- 10 - 12 n- nano- 10 - 9 µ - micro- 10 - 6 m- milli- 10 - 3 k- kilo- 10 3 M- mega- 10 6 G- giga- 10 12 ° degrees Ω ohms / per % percent ± plus or minus +5 V +5 volt signal A amperes [...]
-
Страница 86
Glossary PC-OPDIO-16 User Manua Glossary- 2 © National Instruments Corporation ID identification IGND isolated input ground signal INL integral nonlinearity I/O input/output I OH current, output high I OL current, output low IOUT current output signal ISA Industry Standard Architecture LED light-emitting diode LSB least significant bit MB megabyte[...]
-
Страница 87
© National Instruments Corporation Index- 1 PC-OPDIO-16 User Manual Index Numbers/Symbols +5 V signal, 3-3 24 V inputs, reducing forward current for, 3-8 A AC voltages, sensing, 3-7 advanced VIs, 5-5 B base I/O address selection, 2-2, C-1 bit descriptions Digital Control Register, C-3 Port A Register, C-2 Port B Register, C-3 block diagram of PC-O[...]
-
Страница 88
Index PC-OPDIO-16 User Manual Index- 2 © National Instruments Corporation D D<7..0> bit Port A Register, C-2 Port B Register, C-3 DAQCONF command-line flags (table), 2-8 device configuration, 2-7 NI-DAQ configuration file, 2-6 to 2-7 when to use, 2-6 data acquisition-related configuration, 2-3 data types for NI-DAQ functions, 6-1 primary typ[...]
-
Страница 89
Index © National Instruments Corporation Index- 3 PC-OPDIO-16 User Manual electrical specifications, A-1 pin assignments (figure), 3-2 L LabVIEW software NI-DAQ installation, 2-3 to 2-4 programming capabilities, 1-2 using data acquisition library for digital I/O, 5-5 LabWindows/CVI software NI-DAQ installation, 2-4 programming capabilities, 1-2 us[...]
-
Страница 90
Index PC-OPDIO-16 User Manual Index- 4 © National Instruments Corporation Visual Basic for Windows, 6-3 to 6- 4 status codes, 6-1 using for isolated digital I/O, 5-4 variable data types, 6-1 primary types (table), 6-2 NI-DAQ libraries, 4-8 NI-PNP.EXE utility, 2-5 O operating environment specifications, A-2 operation of PC-OPDIO-16. See theory of o[...]
-
Страница 91
Index © National Instruments Corporation Index- 5 PC-OPDIO-16 User Manual register map for PC-OPDIO-16 (table), C-1 S signal connections exceeding maximum ratings (warning), 3-1 I/O connector pin assignments (figure), 3-2 optically isolated digital input, 3-6 to 3-8 input channels, 3-6 to 3-8 power-on condition, 3-8 reducing forward current for 24[...]
-
Страница 92
Index PC-OPDIO-16 User Manual Index- 6 © National Instruments Corporation U unpacking the PC-OPDIO-16, 1-4 to 1-5 V variable data types for NI-DAQ functions, 6-1 primary types (table), 6-2 VCCO<0..7> signal description (table), 3-3 exceeding voltage limits (warning), 3-4 isolation from output channels, 3-4 VIN<0..7> signal description [...]