Smacq Technologies PCI-1255 User Manual

Multifunctional daq device

Advertisement

Quick Links

PCI-1255 Multifunctional DAQ Device
User Manual
Smacq Technologies Co., Ltd.
2015-09-10

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PCI-1255 and is the answer not in the manual?

Questions and answers

Summary of Contents for Smacq Technologies PCI-1255

  • Page 1 PCI-1255 Multifunctional DAQ Device User Manual Smacq Technologies Co., Ltd. 2015-09-10...
  • Page 2: Table Of Contents

    CONTENT CHAPTER 1 OVERVIEW ........................3 ......................3 RODUCT INTRODUCTION ........................3 RODUCT FEATURES ......................4 RODUCT SPECIFICATIONS CHAPTER 2 SIGNAL CONNECTION AND CONFIGURATION ..............6 ..........................6 VERVIEW ......................6 TYPE CONNECTION ......................7 CONNECTER ....................8 NALOG INPUT CHANNEL SETTING ....................
  • Page 3 GetSFifoStatus() ........................21 ReadSFifo() .......................... 22 DiRead() ..........................22 DoSet() ..........................22 CTStart() ..........................22 CTRead() ..........................23 CTStop() ..........................23 CHAPTER 5 REGISTER DETAIL ......................24 CHAPTER 6 SERVICE AND WARRANTY ....................26...
  • Page 4: Chapter 1 Overview

    PCI-1255 is a high-performance data acquisition product that is feature-rich and cost-effective. Based on 32-bit PCI interface, PCI-1255 can provide 12-bit with max sampling rate of 500kS/s, up to 32 channels analog data acquisition. Equipped with 16 digital input channels, 16 digital output channels, and 3 16-dit timer/counter channels, this is the best choice for you weighing cost control and the speed of completion.
  • Page 5: Product Specifications

     12-bit analog input resolution  Onboard 8k sampling points FIFO cache  16 channels digital input and 16 channels digital output  82C54 programmable timer/counter  LabVIEW、Visual Studio and MATLAB development support 1.3 Product specifications Analog input Channels 32 channels single-ended or 16 channels differential configurable Synchronous sampling Sampling rate...
  • Page 6 Front connector 37-pin D-type connector Back connector 40-pin IDC connector Operating temperature 0~50℃ Storage temperature -20~80℃ Dimension(mm) 175*106...
  • Page 7: Chapter 2 Signal Connection And Configuration

    2.1 Overview Before installing the DAQ device, you need to know the functions and positions of all connectors, tuners and jumpers on PCI-1255 device. PCI--1225 is equipped with two signal connectors. The 37-pin D-type connecter on its front panel is mainly used for analog input. The 40-pin IDC connector on its back panel is mainly sued for digital IO signal connection.
  • Page 8: 40-Pin Idc Connecter

    possible. 19:OUT 0 37:OUT 1 18:OUT 2 36:DGND 17:AGND 35:AI 31 16:AI 15 34:AI 30 15:AI 14 33:AI 29 14:AI 13 32:AI 28 13:AI 12 31:AI 27 12:AI 11 30:AI 26 11:AI 10 29:AI 25 10:AI 9 28:AI 24 9:AI 8 27:AI 23 8:AI 7 26:AI 22...
  • Page 9: Analog Input Channel Setting

    40 39 40:DGND 39:DGND 38:CLK-IN 2 38 37 37:CLK-IN 2 36 35 36:CLK-IN 1 35:CLK-IN 0 34:DGND 34 33 33:DGND 32:DO 15 32 31 31:DO 14 30:DO 13 30 29 29:DO 12 28 27 28:DO 11 27:DO 10 26 25 26:DO 9 25:DO 8 24:DO 7...
  • Page 10: Analog Input Range Setting

    Figure 2.5、Analog input range setting 2.6 Analog input calibration A new PCI-1255 DAQ card will be factory-calibrated as 32 channels singled ended input with 0~10V range. It can be deployed right after basic verification. If there is any change on channel input or range, it must be calibrated once again to make sure the DAQ card can acquire the correct data.
  • Page 11: Timed Trigger

    82C54 device manual. Figure 2.6、JP3 in detail 2.8 Timed trigger Timing trigger means that the DAQ card will trigger data acquisition in accordance with the set fixed frequency. Figure 2.7 illustrates the implementation principle of PCI-1255 timing trigger based on the...
  • Page 12 default factory setting for JP3. 8MHz input AD external trigger Frequency realization 82C54 signal EXT_TRIG 500kHz Counter 0 Figure 2.7、Implementation principle of default timing trigger JP3 can also enable many acquisition modes, including using digital input signal DI 0 to trigger AD acquisition and using 82C54's counter 2 to trigger AD acquisition, to meet the needs of different applications.
  • Page 13: Chapter 2 Installation And Testing

    6、 Now the DAQ card hardware is installed. Restart the computer. 3.2 Installing driver On a PC running Windows OS, if you installed Smacq PCI-1255 DAQ card without its driver, you will see an unknown device with exclamation in the Windows device manager. Please follow the steps below to install the driver correct (this manual will base the steps on 32-bit Microsoft Windows 7, which are all the same on other Windows versions.)
  • Page 14: Testing

    Trig.exe". If you see an "0" in card index option, it means that the computer recognize a Smacq PCI-1255 DAQ card installed. (The card index counts from 0.) If the card index is empty, it means that the DAQ card is not correctly installed.
  • Page 15 Figure 3.1、Basic tests using example codes.
  • Page 16: Chapter 4 Programming Guide

    In the LabVIEW environment, we made all the library functions in a sub-vi, and LabVIEW developers can look at the sub-vi class distinctions with the vi tree and refer to the example codes inside the folder of "pci-1255 \ demo \ LabVIEW \ example" to quickly grasp all the functions of PCI-1255.
  • Page 17: Opendevice()

    Notes:Get the quantity of this type of DAQ cards in the system. It does not count the cards without correct drivers. Parameter:None Return value:>=0. It means the quantity of this type of DAQ cards recognized in the system. OpenDevice() long _stdcall OpenDevice(unsigned long Index) Notes:Open specific device.
  • Page 18: Writedevice()

    hardware function, which normally will not be used during normal programming. Refer to "Chapter 5, Register Detail" for its offset addresses and corresponding functions if you need to use this it. Parameter:Index:card index,select card number to operate. nOffset:offset address, which can be found on the user manual. *pResult:The fetched value.
  • Page 19: Airangeset()

    If StartMode is 0, then IrqMode should be set as 1. ScanMode:Scan mode of the DAQ card. 0 for fixed channel mode, 1 for automatic switching channel scan. Return value:0:Success;-1: Failure. AiRangeSet() long _stdcall AiRangeSet(unsigned long Index, float AiRange) Notes:Set the channel range. Parameter:Index:card index, to select the card to manage.
  • Page 20: Aisamplerateset()

    Return value:0:Success;-1: Failure. AiSampleRateSet() long _stdcall AiSampleRateSet(unsigned long Index, unsigned long DivFactor) Notes:Set the sampling rate for hardware timing trigger acquisition Parameter:Index:card index, to select the card to manage. DivFactor:Frequency division factor。The timing trigger sampling rate is obtained by dividing the 8MHz clock by the division factor. For example,when set as 80,sampling rate=8MHz/80=100kHz Attention:For single channel mode,the max sampling rate is 500kSp/s;...
  • Page 21: Aiexttrigenable()

    AiExtTrigEnable() long _stdcall AiExtTrigEnable(unsigned long Index) Notes:Enable external trigger timing acquisition. Parameter:Index:card index, to select the card to manage. Return value:0:Success;-1: Failure. AiExtTrigDisable() long _stdcall AiExtTrigDisable(unsigned long Index) Notes:Disable external trigger timing acquisition. Parameter:Index:card index, to select the card to manage. Return value:0:Success;-1: Failure.
  • Page 22: Clearhfifo()

    time. Return value:0:Success;-1: Failure; -2: Timeout. ClearHFifo() long _stdcall ClearHFifo(unsigned long Index) Notes:Clear hardware FIFO, that is write offset address 4. Parameter:Index:card index, to select the card to manage. Return value:0:Success;-1: Failure. GetHFifoStatus() long _stdcall GetHFifoStatus(unsigned long Index) Notes:Query hardware FIFO status. Parameter:Index:card index, to select the card to manage.
  • Page 23: Readsfifo()

    Return value:The number of valid data in software FIFO. ReadSFifo() long _stdcall ReadSFifo(unsigned long Index, short *pResultArr, unsigned long Pts, unsigned long TimeOut) Notes:Trigger by software and return the specified amount of data. Parameter:Index:card index, to select the card to manage. *pResultArr:Acquired data array.
  • Page 24: Ctread()

    unsigned long InitVal) Notes:Start 82C54 specified channel counter. Parameter:Index:card index,select the card to manage. Chan:Specific 82C54’s counter channel. Mode:82C54’s working mode. InitVal:82C54’s initial value. Return value:0:Success;-1: Failure. CTRead() long _stdcall CTRead(unsigned long Index, unsigned long Chan, unsigned long *CTValue) Notes:Read 82C54 specified channel counter value. Parameter:Index:card index, to select the card to manage.
  • Page 25: Chapter 5 Register Detail

    Chapter 5 Register Detail If you do not want to use the file "pci-1255.dll", but develop applications by working directly with I/O port read and write operations through PCI interface, please carefully read the following register description list. Corresponding address (Base address + Decimal offset...
  • Page 27: Chapter 6 Service And Warranty

    Chapter 6 Service and Warranty All Smacq products can be serviced free of charge under normal use within their warranty. Refer to the warranty notes inside their package for details. Unless otherwise provided in this manual or warranty statement, Smacq does not provide any other warranties, either express or implied.

Table of Contents