background image

2. Setup 

  

 

 

 

22

 

GPIB-F-LPE, GPIB-FL-LPE 

Step 4 Initializing the Software 

The driver library requires the initial setting to recognize the execution environment.  It is called the 

initialization of the driver library. 

Setting the device name 

(1)  Start Device Manager.  Select [My Computer] - [Control Panel] - [System], then select the [Device 

Manager] tab. 
(Alternatively, right click on My Computer and select Properties.) 

 

(2)  The installed hardware appears under the "CONTEC Devices" node in the tree. 

Open the device tree and select the device (the selected device appears highlighted). 
Click [Properties]. 

* The name of the board you 

have just added is displayed. 
- GPIB-F-LPE 
- GPIB-FL-LPE 

 

Summary of Contents for GPIB-F-LPE

Page 1: ...C HELPER High performance High Speed GPIB Communication Board for PCI Express Low Profile GPIB F LPE High Speed GPIB Communication Board for PCI Express Low Profile GPIB FL LPE User s Guide CONTEC CO LTD ...

Page 2: ... you discover damaged or missing items contact your retailer Product Configuration List Board One of the following GPIB F LPE or GPIB FL LPE First step guide 1 CD ROM 1 API PAC W32 1 GPIB connector adapter CN GP C 1 Standard sized bracket 1 1 The CD ROM contains the driver software and User s Guide this guide CD ROM API PAC W32 GPIB connector adapter Board First step guide Standard sized bracket ...

Page 3: ...ect to change without notice All relevant issues have been considered in the preparation of this document Should you notice an omission or any questionable item in this document please feel free to notify CONTEC CO LTD Regardless of the foregoing statement CONTEC assumes no responsibility for any errors that may appear in this document or for results obtained by the user as a result of using this ...

Page 4: ...Setup 9 Using the Board under Windows Using the Driver Library API PAC W32 9 Using the Board under Windows Using Software Other than the Driver Library API PAC W32 9 Using the Board under an OS Other than Windows 10 Step 1 Installing the Software 11 About the driver to be used 11 Starting the Install Program 12 For using API GPIB 98 PC xx 13 For using API GPLV W32 15 Step 2 Setting the Hardware 16...

Page 5: ... Transfer 35 Basic GPIB Functions 36 Master slave function 36 Communication function 36 Serial poll parallel poll SRQ send functions 36 My address setting 36 Additional Functions 37 Line monitor function 37 Communication using FIFO memory 37 Analyzer function GPIB F LPE 37 5 ABOUT SOFTWARE 41 CD ROM Directory Structure 41 About Software for Windows 42 For using API GPIB 98 PC 42 Accessing the Help...

Page 6: ...GPIB F LPE GPIB FL LPE v 6 ABOUT HARDWARE 53 For detailed technical information 53 Hardware specification 53 Restrictions and Notes 55 Positioning the GPIB Connector for the GPIB F LPE GPIB FL LPE 55 ...

Page 7: ...vi GPIB F LPE GPIB FL LPE ...

Page 8: ...ers for send and receive The board has separate 2Kbyte FIFO buffers for sending and receiving data allowing both small and large volumes of data to be transferred at high speed Interface messages also use a FIFO to enable high speed transmission Built in GPIB bus analyzer function only GPIB F LPE The board features a bus analyzer function This not only allows the signals on the GPIB bus to analyze...

Page 9: ...eated according to the National Instruments Corporation s GPIB function style The driver is software to control the CONTEC GPIB board PC Cards using a LabVIEW based GPIB system or existing application program It can also be used by the installed diagnosis program to check hardware operations CONTEC provides download services at http www contec com gplv to supply the updated drivers and differentia...

Page 10: ...e 4m PCN T04 GPIB Connector CN GP C 1 Effective when the cable being plugged into the board interfere with the PC s main unit See the troubleshooting section at the end of Chapter 2 1 The GPIB connector adapter CN GP C is bundled with this product as a standard feature Check the CONTEC s Web site for more information on these options ...

Page 11: ...rge only when this device is returned freight prepaid with a copy of the original invoice and a Return Merchandise Authorization to the distributor or the CONTEC group office from which it was purchased This warranty is not applicable for scratches or normal wear but only for the electronic circuitry and original boards The warranty is not applicable if the device has been tampered with or damaged...

Page 12: ...the destruction of equipment and resources Understand the meanings of these labels to operate the equipment safely DANGER DANGER indicates an imminently hazardous situation which if not avoided will result in death or serious injury WARNING WARNING indicates a potentially hazardous situation which if not avoided could result in death or serious injury CAUTION CAUTION indicates a potentially hazard...

Page 13: ... board to or from the extension slot while the computer s power is turned on And also do not connect the board and external device while the power is turned on Otherwise the board may malfunction overheat or cause a failure Be sure that the personal computer or the I O extension unit power is turned off Make sure that your PC or extension unit can supply ample power to all the boards installed Ins...

Page 14: ... connector of the board and its cable have been plugged correctly Check that the board has no dust or foreign matter adhering The gold plated leads of the bus connector have no stain or corrosion Storage When storing this product keep it in its original packing form 1 Put the board in the storage bag 2 Wrap it in the packing material then put it in the box 3 Store the package at room temperature a...

Page 15: ...1 Before Using the Product 8 GPIB F LPE GPIB FL LPE ...

Page 16: ...software and hardware You can use the diagnosis program later to check whether the software and hardware function normally Step 1 Installing the Software Step 2 Setting the Hardware Step 3 Installing the Hardware Step 4 Initializing the Software Step 5 Checking Operations with the Diagnosis Program If Setup fails to be performed normally see the Setup Troubleshooting section at the end of this cha...

Page 17: ...oard under an OS Other than Windows For using the board under an OS other than Windows see the following parts of this manual This chapter Step 2 Setting the Hardware Chapter 3 External Connection Chapter 5 About Software Chapter 6 About Hardware ...

Page 18: ...PIB 98 PC provides a CONTEC proprietary function interface API GPLV W32 provides a function interface equivalent to that from National Instruments Corporation hereafter NI allowing the GPIB488 GPIB488 2 and VISA functions of LabVIEW to be used directly and application programs created for NI boards to run without modification Selection guide Given below is a guideline for easily selecting the appr...

Page 19: ...ur PC 2 The API PAC W32 Installer window appears automatically If the panel does not appear run CD ROM drive letter AUTORUN exe 3 Click on the Install Development or Execution Environment button CAUTION Before installing the software in Windows XP 2000 log in as a user with administrator privileges ...

Page 20: ...3 For using API GPIB 98 PC Select API GPIB 98 PC 1 The following dialog box appears to select Driver Type and Install Type 2 Select GPIB Communication API GPIB 98 PC 3 Select Driver Help etc Full Install 4 Click on the Install button ...

Page 21: ... and Show readme file check boxes are displayed When you are installing the software or hardware for the first time 1 Uncheck Perform a hardware setup now 2 Click on the Finish button Go to Step 2 to set and plug the hardware When the hardware has already been installed Check Perform a hardware setup now then go to Step 4 Initializing the Software You have now finished installing the software ...

Page 22: ... the Install button Executing the Installation 1 Follow the on screen instructions to proceed to install 2 The driver installation is completed when the GPIB setup utility is started If you are installing the software and hardware for the first time click on the Cancel button in this step to terminate the installation procedure When the hardware has already been installed Go to For Using API GPLV ...

Page 23: ...faults untouched You can change board settings later Replacing the Bracket This board is shipped with a Low Profile size bracket mounted To plug the board into a standard size slot replace the bracket with the bundled standard size bracket The replacing method is as follows Sccrew Standard size bracket Use a flathead screwdriver to undo and tighten the screws Spring washer Remove the screws and re...

Page 24: ...to show the names of major parts on the board Note that the switch setting shown below is the factory default SW1 BOARD ID SW1 BOARD ID 0 1 2 3 4 5 6 7 9 A B C D E F 8 Interface connector CN1 Board ID setting switch SW1 GPIB F LPE GPIB FL LPE Figure 2 2 Part Names GPIB F LPE GPIB FL LPE ...

Page 25: ...0 should be used Setting Procedure To set the board ID use the rotary switch on the board Turn the SW1 knob to set the board ID as shown below BOARD ID SW1 0 1 2 3 4 5 6 7 9 A B C D E F 8 Board ID 0 Factory setting Figure 2 3 Board ID Settings SW1 Plugging the Board 1 Before plugging the board shut down the system unplug the power code of your PC 2 Remove the cover from the PC so that the board ca...

Page 26: ...he board may malfunction overheat or cause a failure If the terminals are touched by someone s hands clean the terminals with industrial alcohol Do not install or remove the board to or from the slot while the computer s power is turned on Otherwise the board may malfunction overheat or cause a failure Doing so could cause trouble Be sure that the personal computer or the I O extension unit power ...

Page 27: ...e attempting to install the board first determine what PC resources are free to use The resources used by each board do not depend on the location of the PCI Express bus slot or the board itself If you remove two or more boards that have already been installed and then remount one of them on the computer it is unknown that which one of the sets of resources previously assigned to the two boards is...

Page 28: ...information INF file to register the board Source folder The setup information INF file is contained in the following folder on the bundled CD ROM INF WDM Gpib You have now finished installing the hardware INF WDM Gpib The name of the board you have just added is displayed GPIB F LPE GPIB FL LPE ...

Page 29: ...vice name 1 Start Device Manager Select My Computer Control Panel System then select the Device Manager tab Alternatively right click on My Computer and select Properties 2 The installed hardware appears under the CONTEC Devices node in the tree Open the device tree and select the device the selected device appears highlighted Click Properties The name of the board you have just added is displayed...

Page 30: ...e name in the common settings tab page The device name displayed initially is a default value You can leave this default name if you wish Ensure that the same device name is not used for more than one device The name of the board you have just added is displayed GPIB F LPE GPIB FL LPE ...

Page 31: ...ab page and specify the settings Specify a Driver No that is not used by any other CONTEC GPIB board The Driver No determines the API routine names to use 2 When you have finished click OK You have now finished installing the initial setting of Software The name of the board you have just added is displayed GPIB F LPE GPIB FL LPE ...

Page 32: ... 2 When you have finished click OK You have now finished installing the initial setting of Software Interface Name From the list select the board to be set up GPIB Address Set the device address of the board The primary address can be set to 0 30 Termination Methods Set the termination format I O Timeout Set the transmit receive time out period System Controller Select whether to use the board as ...

Page 33: ...ed Using the Diagnosis Report feature reports the driver settings the presence or absence of the board I O status and interrupt status Check Method Perform the transmit receive test and check the execution environment with the board connected to the remote device Before diagnosis check the address of the remote device Prepare the user s guide and command reference for the remote device as required...

Page 34: ...remote device and displays it along with the number of data items Trigger Sends a trigger command to the remote device Polling Polls the remote device and displays the obtained status byte Note When communication has been completed successfully xxxxx completed normally is displayed as the return value 1 Specify the remote device address and click on the OK button 2 Specify the communication format...

Page 35: ...yed as a text file GpibRep txt in the install folder Program Files CONTEC API PAC W32 The diagnosis program performs board presence absence check driver file test board setting test and so on 2 A diagnosis report is displayed as shown below Click on Diagnosis The name of the board you have just added is displayed GPIB F LPE GPIB FL LPE The name of the board you have just added is displayed GPIB F ...

Page 36: ... You can use the GPIB connector adapter CN GP C to work around this problem As this problem occurs on most PCs with Low Profile PCI Express slots a CN GP C is included with the GPIB F LPE and the GPIB FL LPE CN GP C GPIB Cable GPIB Cable Board Board The OS won t normally get started or detect the board Turn off the power to the PC and remove the board Reboot the OS and use Control Panel Add Remove...

Page 37: ...2 Setup 30 GPIB F LPE GPIB FL LPE ...

Page 38: ...55139 1 AMP Compatible connector cable GPIB cable IEEE 488 rated Figure 3 1 Interface Connectors and Mating Connectors Connector Pin Assignment Management bus End or Identify Data Valid Not Ready for Data Not Data Accepted Interface Clear Service Request Attention Ground Data bus DIO1 Data bus DIO2 Data bus DIO3 Data bus DIO4 EOI DAV NRFD NDAC IFC SRQ ATN GND CN1 Handshake bus 1 2 3 4 5 6 7 8 9 10...

Page 39: ...JIS C1901 1987 Note however the individual cables between devices must be within 4 m long Some examples are given below System with a total of two devices 2 m x Number of devices 2 20 m The maximum total length of cables for this system is therefore 4 m 3765 System with a total of three devices 2 m x Number of devices 3 20 m The maximum total length of cables for this system is therefore 6 m The t...

Page 40: ... turn on the measuring instrument first and then on the PC 6 Neither unplug plug the cable nor turn on off the device during communication Doing so stops the operation or causes an error resulting in trouble 7 The talker and listener must be addressed to talk and to listen respectively by the controller before the talker can send messages to the listener 8 At least two thirds of all the devices co...

Page 41: ...3 External Connection 34 GPIB F LPE GPIB FL LPE ...

Page 42: ...tatic area defined using a normal variable declaration Under Windows the application memory space is represented using logical addresses and does not necessarily map on to a continuous physical address space However the board is able to transfer data consecutively to the discontinuous physical address space Bus master data transfer can be performed for a maximum 64MBytes physical memory area The a...

Page 43: ...an send and receive data in accordance with the IEEE 488 Standard You can add delimiters and EOI End of Identify to outgoing data depending on the software settings Serial poll parallel poll SRQ send functions The following functions can be used depending on the master slave configuration Master Serial poll Parallel poll Slave Status byte setting SRQ Service ReQuest transmission Response to parall...

Page 44: ... analyzed by using the on board FIFO memory A maximum of 64K data items can be collected This function can be used to locate the cause of a failure or to check data flowing on lines The function is provided by the analyzer utility Analyzer exe Open the Start Menu then select CONTEC API PAC W32 GPIB GPIB ANALYZER Otherwise directly execute Program Files API PAC W32 GPIB ANALYZER Analyzer exe Runnin...

Page 45: ...erty page then click Select Board This window does not appear if only one board is present that supports the analyzer function 3 Click on the Start Analyze button The analyzer utility analyzes the subsequent changes to lines When the communication you want to analyze has been completed click on the Stop Analyze button The analysis results will be displayed on the screen The name of the board you h...

Page 46: ...tc a data line match specified ASCII code or a delimiter match Select Set Trigger Condition from the Set menu The analyzer utility works as follows with the settings made on the Trigger Set Dialog below The analyzer utility starts analysis the moment IFC changes The analyzer utility ends analysis upon transmit receive of data CR 0DH 2 Saving analysis data Once saved obtained analysis data can be o...

Page 47: ...4 Functions 40 GPIB F LPE GPIB FL LPE 3 Viewing analysis data in a chart The analysis utility can display analysis data in a chart ...

Page 48: ...OL Japanese Readmeu html Version information on each API TOOL English APIPAC Each installer AIO DISK1 DISK2 DISKN AioWdm CNT DIO HELP HELP file Aio Cnt INF OS specific INF file WDM Win2000 Win95 Readme Driver readme file folder Release Driver file on each API TOOL API_NT For creation of a user specific install program API_W95 UsersGuide Hardware User s Guide PDF files ...

Page 49: ...yed to assure transfer even between the sending and receiving devices different in speed For details refer to the help file The help file provides various items of information such as Function Reference Sample Programs and FAQs Use them for program development and troubleshooting For using API GPIB 98 PC Accessing the Help File 1 Click on the Start button on the Windows taskbar 2 From the Start Me...

Page 50: ...EW voltage generators and SONY Tektronix oscilloscopes Use these sample programs as references for program development and operation check The sample programs are stored in Program Files CONTEC API PAC W32 GPIB Samples Running a Sample Program 1 Click on the Start button on the Windows taskbar 2 From the Start Menu select Programs CONTEC API PAC W32 GPIB SAMPLE 3 A sample program is invoked ...

Page 51: ...and events to sample and display data Voltage Source control Allows the master to gain control of a digital voltmeter at fixed intervals Oscilloscope 1 Receives screen data from an oscilloscope and displays it in a graph Oscilloscope 2 Receives screen data from an oscilloscope and saves it in CSV format MultiLine Message Creates a multiline message for the remote device Master Mode MultiLine Messa...

Page 52: ...stalled existing applications such as LabVIEW can operate CONTEC GPIB boards For details refer to the help file The help file provides information such as operation specifications additional information and troubleshooting Accessing the Help File 1 Click on the Start button on the Windows taskbar 2 From the Start Menu select Programs CONTEC API PAC W32 GPLV API GPLV HELP to display help informatio...

Page 53: ... ibln Check for the presence of a device on the bus ibloc Go to local ibnotify Asynchronously notify user when one or more GPIB events occur ibonl Place the device online or offline ibpad Change the primary address ibppc Parallel poll configure ibrd Read data from a device into a user buffer ibrda Read data asynchronously from a device into a user buffer ibrdf Read data from a device into a file i...

Page 54: ...notify user when one or more GPIB events occur ibonl Place the device online or offline ibpad Change the primary address ibpct Pass control to another GPIB device with Controller capability ibppc Parallel poll configure ibrd Read data from a device into a user buffer ibrda Read data asynchronously from a device into a user buffer ibrdf Read data from a device into a file ibrpp Conduct a parallel p...

Page 55: ...lk ReadStatusByte Serial poll a single device Receive Read data bytes from a device ReceiveSetup Address a device to be a Talker and the interface board to be a Listener in preparation for RcvRespMsg ResetSys Reset and initialize IEEE 488 2 compliant devices Send Send data bytes to a device SendCmds Send GPIB command bytes SendDataBytes Send data bytes to devices that are already addressed to list...

Page 56: ...am development and operation check The sample programs are stored in Program Files CONTEC API PAC W32 GPLV Samples Running a Sample Program 1 Click on the Start button on the Windows taskbar 2 From the Start Menu select Programs CONTEC API PAC W32 GPLV SAMPLE GPLV 3 A sample program is invoked Program example GpibTest Executes initialization transmission reception and polling ...

Page 57: ... 1 Click on the Start button on the Windows taskbar From the Start Menu select Settings Control Panel 2 Double click on Add Remove Programs in the Control Panel 3 Select CONTEC API GPIB WDM driver CONTEC API GPIB 98 PC or CONTEC API GPLV W32 xx Change Remove button Follow the on screen instructions to uninstall the function libraries ...

Page 58: ...inux version for GPIB communication driver API GPIB LNX is supplied as a compressed file linux gpib cgpibXXX tgz on the bundled API PAC W32 CD ROM Note XXX represents the driver version Mount the CD ROM as shown below copy the file to an arbitrary directory and decompress the file to install the driver For details on using the driver refer to readme txt and the help file in HTML format extracted b...

Page 59: ...Sample Programs Sample programs have been prepared for specific basic applications Sample programs for each language are contained in the contec cgpib samples directory For compiling them refer to the manual for the desired language Uninstalling the driver To uninstall the driver use the uninstall shell script contained in the contec cgpib directory For details check the contents of the script ...

Page 60: ...e sec Data buffer size 2Kbyte send 2Kbyte receive Signal logic Negative logic L level 0 8V or less H level 2 0V or more Cable length between device 4m or less 1 Total cable length 20m or less Connectable number of device 15 devices Analyzer buffer size 64K data points 1 data point Control signals DIO1 8 None Bus master section DMA channels 2 channels Transfer bus width 32 bit Transfer data length ...

Page 61: ...rce handshake functions AH1 Acceptor handshake functions T6 Basic talker serial polling MLA talker release L4 Basic listener MTA listener release TE0 No extended talker functions LE0 No extended listener functions SR1 Service request function RL1 Remote function DC1 Device clear function DT1 Device trigger function PP1 Configuration by remote message C1 System controller function C2 IFC send C3 RE...

Page 62: ...Although the GPIB connector on the GPIB F LPE GPIB FL LPE exceed the specified bracket opening size for Low Profile size by approximately 1 5mm this rarely causes a problem in practice GPIB Connector Size of opening stipulated in Low Profile size specifications 1 5mm CN GP C Figure 6 1 Position for Installing the GPIB Connector ...

Page 63: ...Osaka 555 0025 Japan Japanese http www contec co jp English http www contec com Chinese http www contec com cn No part of this document may be copied or reproduced in any form by any means without prior written consent of CONTEC CO LTD 02102016 03172006 Management No A 51 244 02102016_rev3 Parts No LYGD712 ...

Reviews: