Intel LPCI-7200S manual 13 7200AllocDMAMem

Page 53

5.13 _7200_Alloc_DMA_Mem

@ Description

Contact Windows 95/98 system to allocate a block of contiguous memory for single-buffered DMA transfer. This function is only available in Windows 95/98.

@ Syntax

Visual C++ (Windows 95)

int W_7200_Alloc_DMA_Mem (U32 *buff, U32 *handle, U32 buf_size, U32 *actual_size)

Visual Basic (Windows 95)

W_7200_Alloc_DMA_Mem (buff As Long, handle As Long, ByVal buf_size As Long, actual_size As Long ) As Long

@ Argument

buff: The start address of the user buffer for DMA data transfer. This buffer will be attached to the DMA memory allocated by this function. When using this DMA memory handle as an argument of the W_7200_DI_DMA_Start function, DI data will be copied to this buffer. When using this DMA memory handle as an argument of the W_7200_DO_DMA_Start function, the data stored in this buffer will be the DO data.

handle: The handle of system DMA memory returned from system. Use this handle in _7200_DI_DMA_Start or _7200_DO_DMA_Start.

buf_size: Bytes to allocate. Please be careful, the unit of this parameter is BYTE, not SAMPLE.

actual_size: The actual size system allocate for DMA memory. The unit is BYTE. If system is not able to get a block of contiguous memory of specified buf_size, it will allocate a block of memory as large as it can. In this case, this function returns ERR_SmallerDMAMemAllocated, and actual_size denotes the actual size of allocated memory.

@ Return Code

ERR_NoError

ERR_SmallerDMAMemAllocated

C/C++ Libraries 45

Image 53
Contents NuDAQ→ / NuIPC→ PCI-7200 / cPCI-7200 / LPCI-7200S Page Trademarks Questions Getting Service from AdlinkDetailed Company Information Table of Contents Double Buffer Mode Principle Limitations Warranty How to Use This Guide Page Applications IntroductionSpecifications FeaturesMaximum Transfer Speed FifoDimension ConnectorPower Consumption PCI signaling environmentProgramming Library Software SupportingPCIS-VEE HP-VEE Driver PCIS-LVIEW LabVIEW DriverDAQBenchTM ActiveX Controls DASYLabTM PROPCIS-OPC OPC Server PCIS-ISG ISaGRAFTM driverPCIS-ICL InControlTM Driver What Included InstallationUnpacking Device Installation for Windows SystemsPCI -Bus Controller PCI-7200/cPCI-7200/LPCI-7200S’s Layout1b cPCI-7200 Layout Diagram Installation 1c LPCI-7200S Layout Diagram Installation Dimension mm Hardware configuration Hardware Installation OutlinePCI-7200 Pin Assignments Connector Pin AssignmentsCN2 Pin Assignments Installation CN Pin Assignments CPCI-7200 Pin AssignmentsCN1A Pin Assignments LPCI-7200S Pin AssignmentsCN1B Pin Assignments 4MHz Clock 8254 for Timer Pacer GenerationTimer Onboard Pull-ups and Terminations in digital input LPCI-7200S PCI Bus SignalingRegister Format Register FormatI/O Registers Format Digital Output Register Base + Digital Input Register Base +DIO Status & Control Register Base + Address Base + Attribute Read Only Data Format‹ Digital Output Mode Setting ‹ Digital Input Mode Setting‹ Digital I/O Fifo Status Interrupt Status & Control Register Base + 1CAddress Base + 1C Attribute READ/WRITE Data Format ‹ Interrupt Control‹ Timer Configuration Control ‹ Fifo Control and Status cPCI-7200 only ‹ Ireq Polarity Selection8254 Timer Registers Base + Page Direct Program Control Operation TheoryCLK0 Timer Timer Pacer ModeHandshaking External Clock ModeOreq & Oack for Digital Output ≥ 60ns CYC ≥ 5 PCI CLK Cycle ≥ 2ns ≥ 30ns Operation Theory Timing Characteristic≥ 60ns CYC ≥ 5 PCI CLK Cycle ≥ 2ns ≥ 30ns ≥ 0ns ≥ 60ns ≥ 2 PCI CLK Cycle ≥ 1 PCI CLK Cycle Outack Page ++ Libraries Libraries Installation++ Libraries Naming Convention Programming GuideData Types 38 C/C++ LibrariesVisual C++ Windows 7200InitialVisual Basic Windows ++ DOS40 C/C++ Libraries 7200SwitchCardNo7200AUXDI 7200AUXDO 7200AUXDIChannel42 C/C++ Libraries 7200AUXDOChannel7200DI 11 7200DO 10 7200DIChannel44 C/C++ Libraries 12 7200DOChannel13 7200AllocDMAMem 46 C/C++ Libraries 14 7200FreeDMAMem15 7200AllocDBDMAMem 17 7200DIDMAStart 16 7200FreeDBDMAMem48 C/C++ Libraries Bus Mastering DMA mode of the PCI-7200++ DOS 50 C/C++ Libraries 18 7200DIDMAStatusClearfifo 20 7200DblBufferMode 19 7200DIDMAStop52 C/C++ Libraries 21 7200CheckHalfReady22 7200DblBufferTransfer 24 7200DODMAStart 23 7200GetOverrunStatus54 C/C++ Libraries 25 7200DODMAStatus26 7200DODMAStop 56 C/C++ Libraries 27 7200DITimer@ Argument 28 7200DOTimer 58 C/C++ Libraries Double Buffer Mode Principle Double Buffer Mode Principle Limitations Page Product Warranty/Service Warranty Policy

LPCI-7200S specifications

The Intel LPCI-7200S is a powerful and versatile communication controller that stands out in the field of embedded computing solutions. This product is designed to cater to a wide range of applications including industrial automation, telecommunications, and transportation systems. Its robust architecture, combined with advanced features and technologies, makes it an attractive option for developers and system integrators looking for reliable performance in mission-critical environments.

One of the main features of the LPCI-7200S is its enhanced processing capability. The controller is built around Intel’s latest processor technology, enabling high-speed data handling and improved overall system response. This makes the LPCI-7200S suitable for applications that require real-time data processing and quick decision-making based on incoming information.

Additionally, the LPCI-7200S incorporates a variety of communication interfaces, ensuring seamless integration with other devices and systems. It features multiple serial ports, Ethernet interfaces, and various other connectivity options, allowing for flexible configuration depending on the needs of the application. This versatility enables users to easily connect a range of peripherals, including sensors, cameras, and other industrial equipment.

The LPCI-7200S also supports various industrial communication protocols, making it adaptable to specific market needs. With support for standards such as CAN, Modbus, and Ethernet/IP, it can facilitate efficient data exchange in diverse industrial environments.

Power efficiency is another key characteristic of the LPCI-7200S. Intel has designed this controller to operate effectively within lower power consumption thresholds, which is critical for embedded applications, particularly those that need to manage thermal output and maintain long operational life without requiring frequent maintenance.

Moreover, the LPCI-7200S boasts a rugged design, suitable for harsh environments. Its components are built to withstand extreme temperatures, vibrations, and dust, ensuring functionality even in challenging conditions. This durability makes it an ideal choice for use in outdoor applications or manufacturing settings where reliability is paramount.

Finally, with an emphasis on security, the LPCI-7200S implements advanced cybersecurity features to protect sensitive data and prevent unauthorized access. This attention to security is increasingly important in modern connected environments where the risks of cyber threats are ever-present.

In summary, the Intel LPCI-7200S is a cutting-edge communication controller that offers a blend of processing power, versatile connectivity, industrial protocol support, energy efficiency, ruggedness, and security. These characteristics make it an invaluable asset for a wide array of applications across various industries.