Intel cPCI-7200 manual Programming Guide, ++ Libraries ∙

Page 41

5.2Programming Guide

5.2.1Naming Convention

The functions of the NuDAQ PCI cards or NuIPC CompactPCI cards’ software driver are using full-names to represent the functions' real meaning. The naming convention rules are:

In DOS Environment :

_{hardware_model}_{action_name}. e.g. _7200_Initial().

All functions in PCI-7200 driver are with 7200 as {hardware_model}. But they can be used by PCI-7200, cPCI-7200.

In order to recognize the difference between DOS library and Windows 95 library, a capital "W" is put on the head of each function name of the Windows 95 DLL driver. e.g. W_7200_Initial().

5.2.2 Data Types

We defined some data type in Pci_7200.h (DOS) and Acl_pci.h (Windows 95). These data types are used by NuDAQ Cards’ library. We suggest you to use these data types in your application programs. The following table shows the data type names and their range.

Type Name

Description

Range

U8

8-bit ASCII character

0 to 255

I16

16-bit signed integer

-32768 to 32767

U16

16-bit unsigned integer

0 to 65535

I32

32-bit signed integer

-2147483648 to 2147483647

U32

32-bit single-precision

0 to 4294967295

 

floating-point

 

F32

32-bit single-precision

-3.402823E38 to 3.402823E38

 

floating-point

 

 

 

 

F64

64-bit double-precision

-1.797683134862315E308 to

 

floating-point

1.797683134862315E309

Boolean

Boolean logic value

TRUE, FALSE

C/C++ Libraries 31

Image 41
Contents NuDAQ / NuIPC PCI-7200 / cPCI-7200 Page Trademarks Page Questions Getting service from AdlinkPage Table of Contents Ii ∙ Table of Contents 7200DITimerProgramming Guide 7200DI 7200DIChannelPage How to Use This Guide Introduction ∙ IntroductionApplications Specifications FeaturesMaximum Transfer Speed ∙ IntroductionDimension ConnectorPower Consumption Input VoltageProgramming Library Software SupportingPCIS-LVIEW LabVIEW Driver PCIS-ISG ISaGRAFTM driver What You Have InstallationInstallation ∙ Unpacking Device Installation for Windows Systems∙ Installation PCI -Bus Controller CPCI/PCI-7200’s Layout1b cPCI-7200 Layout Diagram 10 ∙ Installation Hardware configuration Hardware Installation OutlineCN1 Pin Assignments 12 ∙ Installation Connector Pin AssignmentsCN2 Pin Assignments Installation ∙ CPCI-7200 Pin Assignments 14 ∙ Installation8254 configuration 8254 for Timer Pacer Generation16 ∙ Registers Format Registers FormatI/O Registers Format DIO Status & Control Register Base + Digital Input Register Base +Digital Output Register Base + 18 ∙ Registers Format Digital Input Mode SettingDigital Output Mode Setting Digital I/O Fifo Status Interrupt Status & Control Register Base + 1CAddress Base + 1C Attribute READ/WRITE Data Format Interrupt Control20 ∙ Registers Format Timer Configuration ControlFifoff Read only Full flag of the DI Fifo 1 DI Fifo is full Ireq Polarity SelectionFifo Control and Status cPCI-7200 only 22 ∙ Registers Format 8254 Timer Registers Base +Operation Theorem ∙ Operation TheoremDirect Program Control 24 ∙ Operation Theorem Timer Pacer ModeTimer Handshaking External Clock Mode26 ∙ Operation Theorem Inreq Inack≥ 60ns CYC ≥ 5 PCI CLK Cycle ≥ 2ns ≥ 30ns Timing Characteristic≥ 0ns ≥ 60ns ≥ 2 PCI CLK Cycle ≥ 1 PCI CLK Cycle Outreq O REQ Outack O ACK 30 ∙ C/C++ Libraries Libraries Installation++ Libraries ++ Libraries ∙ Programming GuideVisual C++ Windows 7200InitialVisual Basic Windows ++ DOS7200AUXDI 7200SwitchCardNo34 ∙ C/C++ Libraries 7200AUXDIChannel7200AUXDO 7200DI 7200AUXDOChannel36 ∙ C/C++ Libraries 10 7200DIChannel11 7200DO 12 7200DOChannel 38 ∙ C/C++ Libraries 13 7200AllocDMAMem15 7200AllocDBDMAMem 14 7200FreeDMAMem40 ∙ C/C++ Libraries 16 7200FreeDBDMAMem17 7200DIDMAStart ++ Libraries ∙ 42 ∙ C/C++ Libraries Clearfifo 18 7200DIDMAStatus44 ∙ C/C++ Libraries 19 7200DIDMAStop20 7200DblBufferMode 22 7200DblBufferTransfer 21 7200CheckHalfReady46 ∙ C/C++ Libraries 23 7200GetOverrunStatus24 7200DODMAStart This memory should be double-word alignment 25 7200DODMAStatusMode 48 ∙ C/C++ Libraries 26 7200DODMAStop@ Argument 27 7200DITimer50 ∙ C/C++ Libraries 28 7200DOTimerInt W7200DOTimer U16 c1, U16 c2, Booelan mode 52 ∙ Double Buffer Mode Principle Double Buffer Mode PrincipleDouble Buffer Mode Principle ∙ 54 ∙ Limitation 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.