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.
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...
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.
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.
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.
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.)
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.
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.
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.
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.
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.
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;...
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.
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.
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.
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.
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...
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.
Need help?
Do you have a question about the PCI-1255 and is the answer not in the manual?
Questions and answers