Intel cPCI-7200 manual ++ Dos, 42 ∙ C/C++ Libraries

Page 52

@ Syntax

Visual C++ (Windows 95)

int W_7200_DI_DMA_Start (U8 mode, U32 count, U32 handle, Boolean wait_trg, U8 trg_pol, Boolean clear_fifo, Boolean disable_di)

Visual Basic (Windows 95)

W_7200_DI_DMA_Start (ByVal mode As Byte, ByVal count As Long, ByVal handle As Long, ByVal wait_trg as Byte, ByVal trg_pol As Byte, ByVal clear_fifo As Byte, ByVal disable_di As Byte) As Long

C/C++ (DOS)

int _7200_DI_DMA_Start (U8 mode, U32 count, U32 *di_buffer, Boolean wait_trig, U8 trig_pol, Boolean clear_fifo, Boolean disable_di)

@ Argument

mode :Digital Input trigger modes DI_MODE0 : Internal timer pacer (TIME 0) DI_MODE1 : external signal I_REQ rising edge DI_MODE2 : external signal I_REQ falling edge DI_MODE3 : I_REQ & I_ACK handshaking

count :For non-double-buffered DI, this parameter denotes the number of digital input samples to read. For double-buffered DI, it is the size of circular buffer (in samples, not in bytes!).

handle (Win 95): the handle of system DMA memory. In Windows 95 environment, before calling _7200_DI_DMA_Start, depending on using double-buffer mode or not, either _7200_Alloc_DMA_Mem or _7200_Alloc_DBDMA_Mem must be called to allocate a contiguous DMA memory and get the handle of it.

di_buffer (DOS):If double buffer mode is disabled, this is the start address of the memory buffer to store the DI data. If double buffer mode is enabled, this memory buffer is actually of no use. But the buffer size still must be larger than the number of count (that is, count*4 bytes). You can use this buffer as transfer buffer in _7200_DblBufferTransfer to make use of this buffer.

**This memory should be double-word alignment. wait_trig : The waiting status of trigger

DI_NONWAITING : the input sampling will be start immediately

DI_WAITING : the input samples waiting rising or falling edge trigger to start DI

trig_pol : trigger polarity DI_RISING : rising edge trigger DI_FALLING : falling edge trigger

42 C/C++ Libraries

Image 52
Contents NuDAQ / NuIPC PCI-7200 / cPCI-7200 Page Trademarks Page Getting service from Adlink QuestionsPage Table of Contents 7200DITimer Ii ∙ Table of ContentsProgramming Guide 7200DI 7200DIChannelPage How to Use This Guide Applications IntroductionIntroduction ∙ Features SpecificationsMaximum Transfer Speed ∙ IntroductionConnector DimensionPower Consumption Input VoltageSoftware Supporting Programming LibraryPCIS-LVIEW LabVIEW Driver PCIS-ISG ISaGRAFTM driver Installation ∙ InstallationWhat You Have ∙ Installation Device Installation for Windows SystemsUnpacking CPCI/PCI-7200’s Layout PCI -Bus Controller1b cPCI-7200 Layout Diagram 10 ∙ Installation Hardware Installation Outline Hardware configurationConnector Pin Assignments CN1 Pin Assignments 12 ∙ InstallationCN2 Pin Assignments Installation ∙ 14 ∙ Installation CPCI-7200 Pin Assignments8254 for Timer Pacer Generation 8254 configurationI/O Registers Format Registers Format16 ∙ Registers Format Digital Output Register Base + Digital Input Register Base +DIO Status & Control Register Base + Digital Output Mode Setting Digital Input Mode Setting18 ∙ Registers Format Interrupt Status & Control Register Base + 1C Digital I/O Fifo StatusAddress Base + 1C Attribute READ/WRITE Data Format Interrupt ControlTimer Configuration Control 20 ∙ Registers FormatFifo Control and Status cPCI-7200 only Ireq Polarity SelectionFifoff Read only Full flag of the DI Fifo 1 DI Fifo is full 8254 Timer Registers Base + 22 ∙ Registers FormatDirect Program Control Operation TheoremOperation Theorem ∙ Timer Timer Pacer Mode24 ∙ Operation Theorem External Clock Mode HandshakingInreq Inack 26 ∙ Operation TheoremTiming Characteristic ≥ 60ns CYC ≥ 5 PCI CLK Cycle ≥ 2ns ≥ 30ns≥ 0ns ≥ 60ns ≥ 2 PCI CLK Cycle ≥ 1 PCI CLK Cycle Outreq O REQ Outack O ACK ++ Libraries Libraries Installation30 ∙ C/C++ Libraries Programming Guide ++ Libraries ∙7200Initial Visual C++ WindowsVisual Basic Windows ++ DOS7200SwitchCardNo 7200AUXDI7200AUXDO 7200AUXDIChannel34 ∙ C/C++ Libraries 7200AUXDOChannel 7200DI11 7200DO 10 7200DIChannel36 ∙ C/C++ Libraries 12 7200DOChannel 13 7200AllocDMAMem 38 ∙ C/C++ Libraries14 7200FreeDMAMem 15 7200AllocDBDMAMem17 7200DIDMAStart 16 7200FreeDBDMAMem40 ∙ C/C++ Libraries ++ Libraries ∙ 42 ∙ C/C++ Libraries 18 7200DIDMAStatus Clearfifo20 7200DblBufferMode 19 7200DIDMAStop44 ∙ C/C++ Libraries 21 7200CheckHalfReady 22 7200DblBufferTransfer24 7200DODMAStart 23 7200GetOverrunStatus46 ∙ C/C++ Libraries Mode 25 7200DODMAStatusThis memory should be double-word alignment 26 7200DODMAStop 48 ∙ C/C++ Libraries27 7200DITimer @ Argument28 7200DOTimer 50 ∙ C/C++ LibrariesInt W7200DOTimer U16 c1, U16 c2, Booelan mode Double Buffer Mode Principle 52 ∙ Double Buffer Mode PrincipleDouble Buffer Mode Principle ∙ Limitation 54 ∙ LimitationProduct Warranty/Service Product Warranty/Service ∙

PCI-7200, cPCI-7200 specifications

The Intel cPCI-7200 is a high-performance, rugged computing platform designed to meet the demands of embedded and telecommunications applications. As a part of Intel’s CompactPCI family, the cPCI-7200 highlights the commitment to providing advanced processing capabilities in a flexible and modular form factor.

One of the standout features of the cPCI-7200 is its powerful multicore processing capabilities. It is equipped with Intel's latest x86 architecture, offering multiple cores that enable efficient execution of parallel tasks. This makes the cPCI-7200 particularly suitable for applications requiring real-time processing, such as network and communication systems. Additionally, the system supports high-speed data transfer, essential for bandwidth-intensive applications.

The cPCI-7200 also integrates advanced I/O technologies, ensuring that users can connect various peripherals and devices. With support for PCI Express, Ethernet, and other high-speed interfaces, the system provides a robust communication backbone for data-intensive applications. The modular design of CompactPCI allows for easy expansion, accommodating custom I/O cards as per specific application needs.

Built to function in harsh environments, the cPCI-7200 is designed with ruggedness in mind. It meets stringent environmental standards, which include resistance to shock, vibration, and temperature extremes. This makes the platform especially suitable for deployment in aerospace, military, and industrial settings where reliability is critical.

Furthermore, the Intel cPCI-7200 incorporates extensive power management features, which enhance overall system efficiency and reduce energy consumption. The adaptive power management capabilities enable the system to adjust power usage based on workload requirements, making it an eco-friendly option in comparison to other embedded systems.

Another significant characteristic of the cPCI-7200 is its scalability. The system can accommodate varying performance levels depending on application demands. Users can select from various processing options and add or remove resources as required, making this platform not only versatile but also cost-effective in the long run.

In summary, the Intel cPCI-7200 is a powerful, flexible, and rugged computing solution that caters to the evolving needs of embedded and telecommunications markets. With its advanced processing capabilities, extensive I/O options, rugged construction, energy-efficient design, and scalable architecture, it stands out as a reliable choice for developers looking to build high-performance applications in various challenging environments.