GPSPL881.VBP "GP-IB Sample software for DS-8812/DS-8814" manual 2002 Mar. Iwatsu Electric Co., Ltd. 1. Overview This is sample software under Microsoft Visual Basic to control the Iwatsu Digital Storage Oscilloscope(DSO) DS-8812/DS-8814 via GP-IB interface. This software shows basic function and programming source list. 1. Transmit the control command. 2. Acquire a new waveform, transfer the data and display the waveform. 3. Save the acquired waveform data as CSV type file. 2. Needed hardware and software DSO : DS-8812/DS-8814 Iwatsu Digital Storage Oscilloscope with GP-IB interface option. PC : Personal Computer IBM PC/AT Compatible OS : Microsoft Windows 95, or 98 GP-IB interface : National instruments Interface (NI) card and driver software. Programing software : Microsoft Visual basic Ver5 or higher 3. Preparation  Step1 Install NI GP-IB driver Follow the NI manual  Step2 Install Microsoft Visual Basic Ver5 or higher Follow the Microsoft Visual Basic manual  Step3 Copy this sample program   Copy the files to your PC as follows Formwave.frm,Gpspl881.frm,Gpspl881.frx,Gpspl881.vbp,SetupFrm.frm  Step4 Copy NI GP-IB driver Copy two files as NIGLOBAL.BAS, VBIB-32.BAS in folder of NI GP-IB driver (C:\GPIB95\LANGINT\VBASIC) to sample program folder.  Step5 Set scope GP-IB address DSO menu "UTILITIES"-> "Interface" Set Interface as GP-IB、Address as 10, Delimiter as LF NI driver request the delimiter to LF only 4. Run (Operation)  Open new project   If NIGLOBAL.BAS and VBIB-32.BAS is not same folder at this sample program, "File not found, continue? " is shown. Then select "Continue".   In this case, click "Project" at menu bar "Add standard module" select "Other"   NIGLOBAL.BAS and VBIB-32.BAS are displayed, then open them. Operation  Click "RUN" at menu bar "Start" Check Scope GP-IB address as 10 form is displayed. Click "OK" Main form is shown. (1) Command sending Command input : Input any scope command (refer DS-8812/DS-8814 manual) or click right end button it shows command example. Sent command : Transmitted command is shown, it is same as input command. Received data : Shows response data from scope. Transmit : Send the input command to scope. (2) Waveform transfer Acquire -> Transfer : Acquire a new waveform and transfer the data. Start address : Set the start address of transfer data. Data length : Set data length Case of DS-8812 : Max value is 5120 at short mode, 102400 at long mode. Case of DS-8814 : Max value is 1024 at short mode, 102400 at long mode. (3) Save as CSV Save : Waveform data is saved as text file with CSV file (Comma Separated Value) CSV type file is opened by Lotus or Excel The file contains address and value of CH1, CH2 (-127 to +127). (4) Current status Shows current running status of sample soft. Example : Completed waveform transfer 5, History Ver1.00 2000 June Ver2.00 2001 Jan Ver3.00 2002 Mar Tested on Microsoft Windows 98(English). 6. Grant of License This is sample program to understand how to remote control the DS-8812/DS-8814. You may make any new program by referring this sample program. Transferal You may transfer this program to another person, as long as all copies of the program and documentation are transferred to that person at the same time. You agree that this program remains the property of IWATSU, and is protected by the laws of copyright and trade secrets. Disclaimer of Liability IWATSU disclaims any liability for incidental or consequential damages, arising out of the use or inability to use the program, or arising from the negligence of IWATSU or its employees, consultants, dealers or associates, even if these parties have been advised of the possibility of such damages. By using the program, you indemnify and agree to hold IWATSU harmless from such claims. You assume the entire risk as to the results and performance of the program. Copyright 2000-2002 IWATSU Electric Co., Ltd. All Rights Reserved 7. Source list explanation See the file.