background image

 

5. About Software 

 

 

 

GP-IB(CB)F, GP-IB(CB)FL 

43

 

For using API-GPLV(W32) 

API-GPLV(W32) is a driver created in NI’s GPIB function style as the software for controlling 

CONTEC GPIB PC cards. 

When the driver is installed, existing applications such as LabVIEW can operate CONTEC GPIB PC 

cards.  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 information.

 

 

 

Содержание GP-IB(CB)F

Страница 1: ...PC HELPER High Speed Function IEEE 488 2 I F Board for CardBus GP IB CB F High Speed IEEE 488 2 I F Board for CardBus GP IB CB FL User s Manual CONTEC CO LTD ...

Страница 2: ...f you discover damaged or missing items contact your retailer Product Configuration List PC Card One of the following GP IB CB F or GP IB CB FL 1 First step guide 1 CD ROM 1 API PAC W32 1 Connection Cable CB GPIB 1 PC Card Attachment CARD AT1 1set 1 The CD ROM contains the driver software and User s Guide this guide CD ROM API PAC W32 Connection Cable PC Card PC Card Attachment First step guide ...

Страница 3: ... 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 nor for results obtained by the user as a result of using this produ...

Страница 4: ... 6 Environment 7 Inspection 7 Storage 7 Disposal 7 2 SETUP 9 What is Setup 9 Using the PC Card under Windows Using the Driver Library API PAC W32 9 Using the PC Card under Windows Using Software Other than the Driver Library API PAC W32 9 Using the PC Card 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 AP...

Страница 5: ... Connector shape 29 Notes on cable connection 30 4 FUNCTIONS 33 Bus Master Function 33 Bus Master Transfer 33 Basic GPIB Functions 34 Master slave function 34 Communication function 34 Serial poll parallel poll SRQ send functions 34 My address setting 34 Additional Functions 35 Line monitor function 35 Communication using FIFO memory 35 Analyzer function GP IB CB F 35 5 ABOUT SOFTWARE 39 CD ROM Di...

Страница 6: ...About Software for Linux 49 Driver Software Install Procedure 49 Accessing the Help File 50 Using Sample Programs 50 Uninstalling the driver 50 6 ABOUT HARDWARE 51 For detailed technical information 51 Hardware specification 51 ...

Страница 7: ...vi GP IB CB F GP IB CB FL ...

Страница 8: ...PU Internal 2Kbyte FIFO buffers for send and receive The PC Card 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 GP IB CB F The PC Card features a bus analyzer function This not only allows the signals...

Страница 9: ...EC provides download services at http www contec com apipac to supply the updated drivers and differential files For details read Help on the bundled CD ROM or visit the CONTEC s Web site Operating environment OS Windows XP Server 2003 2000 Me 98 etc Adaptation language Visual C NET Visual C NET Visual Basic NET Visual C Visual Basic Delphi C Builder etc API GPLV W32 library supporting LabVIEW Bun...

Страница 10: ...d services at http www contec com apipac to supply the updated drivers and differential files For details read Help on the bundled CD ROM or visit the CONTEC s Web site Operating environment OS RedHatLinux TurboLinux etc For details on supported distributions refer to Help available after installation Adaptation language gcc etc Cable Connector Option GPIB cable 2m PCN T02 GPIB cable 4m PCN T04 GP...

Страница 11: ...ge 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 PC Card s The warranty is not applicable if the device has been tampered with or damag...

Страница 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...

Страница 13: ...connecter on the PC card without pressing the locking spring as this may prevent the cable from being securely connected When you use the PC Card in a noisy environment or are nervous about noise strengthen the earthing between the PC Card frame and the frame ground of your PC Specifically install the PC Card attachment and then connect the PC Card frame and the frame ground of the PC to earth the...

Страница 14: ... to use it safely Check that the bus connector and its cable have been plugged correctly 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 PC card in the storage bag 2 Wrap it in the packing material then put it in the box 3 Store the package at room temperature at a place free from direct sunlight...

Страница 15: ...1 Before Using the Product 8 GP IB CB F GP IB CB FL ...

Страница 16: ...e 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 c...

Страница 17: ...Using the PC Card under an OS Other than Windows For using the PC Card 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 6 About Hardware ...

Страница 18: ...B 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 PC cards to run without modification Selection guide Given below is a guideline for easily selecting the appr...

Страница 19: ...he 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 Server 2003 2000 or NT log in as a user with administrator privileges ...

Страница 20: ...B FL 13 For using API GPIB 98 PC xx Select API GPIB 98 PC 1 The following dialog box appears to select Driver Type and Install Type 2 Select GPIB Communication 3 Select Driver Help etc Full Install 4 Click on the Install button ...

Страница 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 ...

Страница 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 ...

Страница 23: ...end of the supplied cable CB GPIB into the PC card CAUTION When plugging in the cable align the cable connector with the PC card socket and push firmly into place Do not apply any excessive force to the socket on the PC card as this may damage the socket or result in a bad connection Do not insert or remove the cable or PC card while the power is turned on to the PC Connection Cable PC Card PC Car...

Страница 24: ...top of the connector Refer to the instructions supplied with the PC card attachment for details on how to fit it CAUTION When using other PC cards in the same PC the PC card attachment may obstruct the other cards and make them difficult to insert In this case please remove the PC card attachment PC Card PC Card Socket Side PC Card Attachment Figure 2 2 Fitting the PC Card Attachment ...

Страница 25: ...riented so that cards is inserted with the top side facing down Refer to the manual for your PC for instructions on how to remove the card Figure 2 3 Insert the PC Card CAUTION Take note of the following points as inappropriate handling of the PC card may damage the card or connector socket and may result in a bad connection Always insert the PC card with the correct orientation and in accordance ...

Страница 26: ...nstall the PC card first determine what PC resources are free to use The resources used by each PC card do not depend on the location of the PC card slot or the PC Card itself If you remove two or more PC cards 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 PC cards is assigned to th...

Страница 27: ...formation INF file to register the PC Card 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 PC card you have just added is displayed GP IB CB F GP IB CB FL ...

Страница 28: ...ice 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 PC card you have just added is displaye...

Страница 29: ...e property page appears Enter the device 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 ...

Страница 30: ...B 98 PC xx 1 Open the advanced settings tab page and specify the settings Specify a Driver No that is not used by any other CONTEC GPIB PC card 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 ...

Страница 31: ...When you have finished click OK You have now finished installing the initial setting of Software Interface Name From the list select the PC Card to be set up GPIB Address Set the device address of the PC Card 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 PC Card ...

Страница 32: ... an external device is actually connected Using the Diagnosis Report feature reports the driver settings the presence or absence of the PC card I O status and interrupt status Check Method Perform the transmit receive test and check the execution environment with the PC Card connected to the remote device Before diagnosis check the address of the remote device Prepare the user s guide and command ...

Страница 33: ...emote 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 ...

Страница 34: ... as a text file GpibRep txt in the install folder Program Files CONTEC API PAC W32 The diagnosis program performs PC card presence absence check driver file test PC card setting test and so on 2 A diagnosis report is displayed as shown below The name of the PC card you have just added is displayed GP IB CB F GP IB CB FL Click on Diagnosis The name of the PC card you have just added is displayed GP...

Страница 35: ...t the PC card Turn off the power to the PC and remove the PC card Reboot the OS and use Control Panel Add Remove Applications to uninstall the CONTEC API GPIB WDM driver Turn off the PC again plug the PC card and restart the OS Let the OS detect the PC card and use API TOOL Configuration to make PC card settings over again If your problem cannot be resolved Refer to the troubleshooting section of ...

Страница 36: ...rated Attention Service Request Interface Clear Not Data Accepted Not Ready for Data Data Valid Management bus End or Identify SHIELD ATN SRQ IFC NDAC NRFD DAV EOI Data bus DIO4 Data bus DIO3 Data bus DIO2 Data bus DIO1 Management bus Handshake bus GND Ground GND Ground GND Ground GND Ground GND Ground GND Ground GND Ground REN Remote Enable Management bus DIO8 Data bus DIO7 Data bus DIO6 Data bus...

Страница 37: ...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...

Страница 38: ... 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...

Страница 39: ...3 External Connection 32 GP IB CB F GP IB CB FL ...

Страница 40: ...a static 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 PC card 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 ...

Страница 41: ...ccordance 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 parallel polling My address setting...

Страница 42: ...alyzed by using the on PC Card 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 Running...

Страница 43: ...e name set for the hardware in the property page then click Select Board This window does not appear if only one PC Card 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 ...

Страница 44: ...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...

Страница 45: ...4 Functions 38 GP IB CB F GP IB CB FL 3 Viewing analysis data in a chart The analysis utility can display analysis data in a chart ...

Страница 46: ...html Version information on each API TOOL English APIPAC Windows driver file AIO DISK1 DISK2 DISKN AioWdm CNT DIO HELP HELP file Aio Cnt INF Each INF file for OS WDM Win2000 Win95 linux Linux driver file cnt dio Readme Readme file for each driver 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 ...

Страница 47: ...ed 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 xx Accessing the Help File 1 Click on the Start button on the Windows taskbar 2 From the Start ...

Страница 48: ...odes and support ADVANTEST Multimeters YEW voltage generators and SONY Tektronix oscilloscopes Use these sample programs as references for program development and operation check 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 ...

Страница 49: ...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...

Страница 50: ...stalled existing applications such as LabVIEW can operate CONTEC GPIB PC cards 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 informat...

Страница 51: ...s 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 ...

Страница 52: ...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...

Страница 53: ...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...

Страница 54: ...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 ...

Страница 55: ...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 xx or CONTEC API GPLV W32 xx Change Remove button Follow the on screen instructions to uninstall the function libraries ...

Страница 56: ...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...

Страница 57: ...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 ...

Страница 58: ... CB F Table 6 1 Specification GP IB CB F 1 2 Item Specifications GPIB Number of channel 1ch Conforms to IEEE 488 1 488 2 GPIB standards Transfer format 8 bit parallel 3 wire handshake system Transfer rate 1 5Mbyte 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 l...

Страница 59: ...ecting Cables GP IB CB FL Table 6 2 Specification GP IB CB FL 1 2 Item Specifications GPIB Number of channel 1ch Conforms to IEEE 488 1 488 2 GPIB standards Transfer format 8 bit parallel 3 wire handshake system Transfer rate 1 5Mbyte 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 ...

Страница 60: ...es External dimensions 85 6mm 2 0m 54 0mm 5 0mm 9 0mm 58 4mm 17 0mm 17 4mm 20 0mm Connection Cable PC Card Table 6 3 Interface function Code Function SH1 Source 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 ...

Страница 61: ...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 11122007 04172003 Management No A 46 744 11122007_rev5 Parts No LYCP262 ...

Отзывы: