Gw-instek GDS-800 Series Programming Manual Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Ausrüstung Gw-instek GDS-800 Series Programming Manual herunter. GW Instek GDS-800 Series Programming Manual User Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 89
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
GDS-806/810/820/840 Programming Manual
0
Table of Contents Pages
1. INTRODUCTION................................................................................................................... 2
2. COMPUTER’S CONNECTION............................................................................................. 6
3. REMOTE CONTROL'S COMMANDS................................................................................ 12
4. DETAILS OF COMMAND REFERENCE ........................................................................... 19
5. STATUS REPORTS............................................................................................................ 73
6. PROGRAM TEMPLATE FOR GPIB................................................................................... 81
7. APPENDIX A: HOW CAN WE CONVERT THE HEXADECIMAL FORMAT TO A
FLOATING POINT FORMAT. ................................................................................................ 89
Due to continuous improvements in the GDS-806/810/820/840 Digital Storage
Oscilloscope, information contained in this manual is subject to change
without notice. Contact GOOD WILL, for revisions and corrections.
GOOD WILL Instrument Co., LTD.
No.7-1, Jhongsing Rd., Tucheng City,
Taipei County 236, Taiwan
Telephone 886-2-22680389 Fax 886-2-22680639
http://www.goodwill.com.tw
Seitenansicht 0
1 2 3 4 5 6 ... 88 89

Inhaltsverzeichnis

Seite 1 - Taipei County 236, Taiwan

GDS-806/810/820/840 Programming Manual0Table of Contents Pages1. INTRODUCTION...

Seite 2 - 1. Introduction

GDS-806/810/820/840 Programming Manual94. To write data to the device, use ibwrt.ud0: ibwrt "*IDN?"[0100] (cmpl)count: 55. To read data from

Seite 3 - DB9 to DB9 Wiring

GDS-806/810/820/840 Programming Manual10The RS232 connection testingIf you want to test whether the RS-232 connection is working or not, you can send

Seite 4

GDS-806/810/820/840 Programming Manual113. Remote Control’s CommandsThis oscilloscope can be operated from computer via the GPIB port or RS-232 port.T

Seite 5

GDS-806/810/820/840 Programming Manual12As shown in the figure 3-1, the IEEE-488.1 standard locates at layer A, the layer Ais belonged to the protocol

Seite 6 - 2. Computer’s Connection

GDS-806/810/820/840 Programming Manual13Command HeaderThe command header has a hierarchical structure that can be represented by acommand tree (Figure

Seite 7 - The GPIB address setting

GDS-806/810/820/840 Programming Manual14ParameterIf the command has parameters, the values have to be included. In this manual,when we expressed the s

Seite 8 - The GPIB connection testing

GDS-806/810/820/840 Programming Manual15For the actual value of the parameter type <Boolean>, you have to enter 0 insteadof “OFF” or enter 1 ins

Seite 9

GDS-806/810/820/840 Programming Manual16Entering CommandsThe standards that govern the command set for this oscilloscope allow for a certainamount of

Seite 10

GDS-806/810/820/840 Programming Manual17Combining CommandsYou can use a semicolon (;) to combine commands and queries. This oscilloscopeexecutes coher

Seite 11 - The RS232 connection testing

GDS-806/810/820/840 Programming Manual184. Details of Command ReferenceEach command in this chapter will give a brief description. The examples of eac

Seite 12 - 3. Remote Control’s Commands

GDS-806/810/820/840 Programming Manual11. IntroductionUsers can drive this digital storage oscilloscope by using the GPIB (GeneralPurpose Interface Bu

Seite 13 - Command Syntax

GDS-806/810/820/840 Programming Manual19Examples*ESE 65 sets the ESER to binary 0100 0001.If the ESER contains the binary value 1000 0010, the *ESE? w

Seite 14 - :TRIGger:DELay:EVENt ?

GDS-806/810/820/840 Programming Manual20*LRN? (query only)Returns the string that the oscilloscope settings will be listed.Syntax*LRN?Returns*OPC?The

Seite 15 - Parameter

GDS-806/810/820/840 Programming Manual21*RCLRecall the setting data from memory which previous saved. The settings of RS-232(or GPIB) can be stored in

Seite 16 - Line feed code

GDS-806/810/820/840 Programming Manual22*SRESetup the contents of the Service Request Enable Register (SRER). The queryform returns the contents of th

Seite 17 - Command Characters

GDS-806/810/820/840 Programming Manual23*WAI (no query form)WAI prevents the programming instrument from executing further commands orqueries until al

Seite 18 - Combining Commands

GDS-806/810/820/840 Programming Manual24:ACQuire:LENGthSelect the number of record length. This oscilloscope provides record length of 500,1250, 2500,

Seite 19

GDS-806/810/820/840 Programming Manual25:ACQuire<X>:MEMory? (query only) (Available for firmware 2.03 and above only)Transfer the total waveform

Seite 20

GDS-806/810/820/840 Programming Manual26Sample Rate: Indicates the corresponding sample rate of received waveform data (4bytes). The sample rate is in

Seite 21

GDS-806/810/820/840 Programming Manual27:ACQuire<X>:POINt (query only)Transfer the displayed waveform data (always 500 points data totally) from

Seite 22

GDS-806/810/820/840 Programming Manual28:AUTosetPerform an automatic setup in order to optimize the acquisition parameters.Syntax:AUToset:CHANnel<X

Seite 23

GDS-806/810/820/840 Programming Manual2Notes for RS-232 ConfigurationThis oscilloscope contains a DB 9-pin, male RS-232 connector for serialcommunicat

Seite 24

GDS-806/810/820/840 Programming Manual29:CHANnel<X>:DISPlayEnable or disable the channel’s display.Syntax:CHANnel<X>:DISPlay {0|1}:CHANnel

Seite 25

GDS-806/810/820/840 Programming Manual30:CHANnel<X>:MATHSet the math expression.Syntax:CHANnel<X>:MATH {0|1|2|3}Arguments<X>→Specify

Seite 26 - Data size digit

GDS-806/810/820/840 Programming Manual31Next table shows the relationship between the <NR3> value and matching offsetvoltage.0.002Æ2mV 0.01Æ10mV

Seite 27

GDS-806/810/820/840 Programming Manual32:CHANnel<X>:SCALeSets or query the vertical scale of the specified channel.Syntax:CHANnel<X>:SCALe

Seite 28

GDS-806/810/820/840 Programming Manual33:CURSor:X<X>PositionSelect the cursors position of X axis.Syntax:CURSor:X<X>Position <NR1>:C

Seite 29

GDS-806/810/820/840 Programming Manual34:CURSor:<X>DELta? (query only)Return the time or voltage diversity between the two vertical or horizonta

Seite 30

GDS-806/810/820/840 Programming Manual35:CURSor:SOURceSelect which channel cursors is active for front panel control.Syntax:CURSor:SOURce {1|2|3}:CURS

Seite 31 - Offset Range:

GDS-806/810/820/840 Programming Manual36:DISPlay:CONTrastSelect contrast level of LCD screen for data readout and waveform displays.Syntax:DISPlay:CON

Seite 32

GDS-806/810/820/840 Programming Manual37:DISPlay:WAVeformSelect the dots (or vectors) display for data.points.Syntax:DISPlay:WAVeform <0|1>:DISP

Seite 33

GDS-806/810/820/840 Programming Manual38:GONogo:EXECute (Available for firmware 2.0 and above only)Start or stop the execution of GO/NO-GO comparison

Seite 34

GDS-806/810/820/840 Programming Manual3When the oscilloscope is set up with a RS-232 interface, please check the followingpoints:z Do not connect the

Seite 35

GDS-806/810/820/840 Programming Manual39:GONogo:NGCount? (query only) (Available for firmware 2.0 and above only)Return the value of fail count and to

Seite 36

GDS-806/810/820/840 Programming Manual40:GONogo:SOURce (Available for firmware 2.0 and above only)Sets and query the user-defined GO/NO-GO comparison

Seite 37

GDS-806/810/820/840 Programming Manual41:MEASure:FALL? (query only)Return the value of timing measurement that taken for falling edge of the first pul

Seite 38

GDS-806/810/820/840 Programming Manual42:MEASure:PDUTy? (query only)Return the ratio of the positive pulse width to the signal period.Syntax:MEASure:P

Seite 39

GDS-806/810/820/840 Programming Manual43:MEASure:PWIDth? (query only)Return the value of timing measurement of the first positive pulse in the wavefor

Seite 40

GDS-806/810/820/840 Programming Manual44:MEASure:SOURceSelect the measured channel (channel 1 or 2). The default setting of measuredchannel is channel

Seite 41

GDS-806/810/820/840 Programming Manual45:MEASure:VAVerage? (query only)Return the average voltages.Syntax:MEASure:VAVerage?Returns<NR3>.Note: Pl

Seite 42

GDS-806/810/820/840 Programming Manual46:MEASure:VMAX? (query only)Return the value of maximum amplitude.Syntax:MEASure:VMAX?Returns<NR3>.Note:

Seite 43

GDS-806/810/820/840 Programming Manual47:MEASure:VRMS? (query only)Return the value of true Root Mean Square voltage.Syntax:MEASure:VRMS?Returns<NR

Seite 44

GDS-806/810/820/840 Programming Manual48:TEMPlate<X>:DOWNload? (Available for firmware 2.0 and above only)Download the user-selected template.Sy

Seite 45

GDS-806/810/820/840 Programming Manual4Figure 1-3. Rear panel of the oscilloscope(1): Main power switch(2): AC power socket(3): GPIB port (option f

Seite 46

GDS-806/810/820/840 Programming Manual49Template number: The location of template stored in memory. The valid range isfrom 1 to 100 dots. The co

Seite 47

GDS-806/810/820/840 Programming Manual50:TEMPlate<X>:UPLoad (Available for firmware 2.0 and above only)Upload the user-defined template to the a

Seite 48

GDS-806/810/820/840 Programming Manual51Template data: The effective template data which covers 250 points totally(500bytes). Each point is two byt

Seite 49

GDS-806/810/820/840 Programming Manual52:TEMPlate:MIN (Available for firmware 2.0 and above only)Sets and query the number of template used for minimu

Seite 50

GDS-806/810/820/840 Programming Manual53:TEMPlate:POSition:MAX (Available for firmware 2.0 and above only)Sets and query the position of maximum templ

Seite 51

GDS-806/810/820/840 Programming Manual54:TEMPlate:POSition:MIN (Available for firmware 2.0 and above only)Sets and query the position of minimum templ

Seite 52

GDS-806/810/820/840 Programming Manual55:TEMPlate:TOLerance (Available for firmware 2.0 and above only)Sets and query the tolerance of auto template.B

Seite 53

GDS-806/810/820/840 Programming Manual56TIMebase:DELaySets the horizontal position (delay timebase) parameter.Syntax:TIMebase:DELay <NR3>:TIMeba

Seite 54

GDS-806/810/820/840 Programming Manual57:TIMebase:SCALeSets the horizontal timebase scale per division (SEC/DIV).Syntax:TIMebase:SCALe <NR3>:TIM

Seite 55

GDS-806/810/820/840 Programming Manual58:TIMebase:SWEepSelects the horizontal timebase sweep mode. This command is equivalent tosetting the horizontal

Seite 56

GDS-806/810/820/840 Programming Manual52. Computer’s ConnectionA personal computer with a GPIB card is the essential stuff in order to operate theosci

Seite 57

GDS-806/810/820/840 Programming Manual59:TIMebase:WINDow:SCALeSets and query the scale (length) of the windows zoomed timebase.Syntax:TIMebase:WINDow:

Seite 58

GDS-806/810/820/840 Programming Manual60:TRIGger:DELay:TIMeSets and query the user-defined delay trigger time.Syntax:TRIGger:DELay:TIMe <NR3>:TR

Seite 59

GDS-806/810/820/840 Programming Manual61:TRIGger:DELay:LEVelSets and query the user-defined start trigger signal level.Syntax:TRIGger:DELay:LEVel <

Seite 60

GDS-806/810/820/840 Programming Manual62:TRIGger:DELay:TYPeSelect and query the different delay trigger settings.Syntax:TRIGger:ADVance:TYPe <0|1&g

Seite 61

GDS-806/810/820/840 Programming Manual63:TRIGger:LEVelSelect and query the trigger level.Syntax:TRIGger:LEVel <NR3>:TRIGger:LEVel?Arguments<N

Seite 62

GDS-806/810/820/840 Programming Manual64:TRIGger:NREJSwitch and query the noise rejection mode.Syntax:TRIGger:NREJ <0|1>:TRIGger:NREJ?Arguments0

Seite 63

GDS-806/810/820/840 Programming Manual65:TRIGger:PULSe:TIMeSelect the time value for pulse width. The setting range is from 20ns to 10s.Syntax:TRIGger

Seite 64

GDS-806/810/820/840 Programming Manual66:TRIGger:SLOPSwitch and query the rising or falling trigger slope.Syntax:TRIGger:SLOP <0|1>:TRIGger:SLOP

Seite 65

GDS-806/810/820/840 Programming Manual67:TRIGger:TYPeSelect and query the trigger type.Syntax:TRIGger:TYPe <0|1|2|3>:TRIGger:TYPe?Arguments0→Edg

Seite 66

GDS-806/810/820/840 Programming Manual68:TRIGger:VIDeo:FIELdSelect and query the field on which the video trigger mode will be triggered.Syntax:TRIGge

Seite 67

GDS-806/810/820/840 Programming Manual6SR0 (Service Request): The oscilloscope has no SRQ (Service request)function.RL2 (Remote/Local): The oscillos

Seite 68

GDS-806/810/820/840 Programming Manual69:TRIGger:VIDeo:POLaritySelect and query the input video polarity.Syntax:TRIGger:VIDeo:POLarity <0|1>:TRI

Seite 69

GDS-806/810/820/840 Programming Manual70:WMEMory<X>:DISPlaySelect whether the stored waveform will be displayed after being saved.Syntax:WMEMory

Seite 70

GDS-806/810/820/840 Programming Manual71:WMEMory<X>:OFFSetAfter the “:WMEMory<X>:LOCate” command is specified, you can adjust theposition

Seite 71

GDS-806/810/820/840 Programming Manual725. Status ReportsA set of status registers allows the user to quickly determine the Digital storageoscilloscop

Seite 72 - :WMEMory<X>:SAVe

GDS-806/810/820/840 Programming Manual73Figure 5-1. A graphic represents the status registers and their connections.

Seite 73 - 5. Status Reports

GDS-806/810/820/840 Programming Manual74STATus:QUEStionable :OPERationFigure 5-2: STATus hierarchy of SCPI defined register:CONDition:ENABleEVENt?:CON

Seite 74

GDS-806/810/820/840 Programming Manual75QUEStionable Status Registers.Table 5-1 shows the bit designations of the 16 bit QUEStionable Status Register.

Seite 75

GDS-806/810/820/840 Programming Manual76Status Registers.There are two status registers are included with this oscilloscope which defined byIEEE-488.1

Seite 76 - OPERation Status Registers

GDS-806/810/820/840 Programming Manual77Use serial poll or the *STB? Query to read the contents of the SBR. The bits in theSBR are set and cleared dep

Seite 77 - Status Registers

GDS-806/810/820/840 Programming Manual78Enable Registers.The enable registers determine whether certain events are reported to the StatusByte Register

Seite 78

GDS-806/810/820/840 Programming Manual7The GPIB connection testingIf you want to test the GPIB connection is whether working or not, use the NationalI

Seite 79 - Enable Registers

GDS-806/810/820/840 Programming Manual79QueuesThe output queue is included with this digital storage oscilloscope.Output Queue: This digital storage o

Seite 80

GDS-806/810/820/840 Programming Manual806. Program Template for GPIB/* Filename - gds820ex1.c * * This is an example program written in C. We use a N

Seite 81 - 6. Program Template for GPIB

GDS-806/810/820/840 Programming Manual81#define EOTMODE 1 /* Enable the END message */#define EOSMODE 0

Seite 82

GDS-806/810/820/840 Programming Manual82 Delay(1000); ibwrt (Dev, "*IDN?\n", 6L); /*Get the unique identification */ printf("

Seite 83

GDS-806/810/820/840 Programming Manual83 Delay(1000); ibwrt (Dev, ":CHANnel1:DISPlay 1\n", 20L);/*Set channel 1 display on */ prin

Seite 84

GDS-806/810/820/840 Programming Manual84 Delay(1000); ibwrt (Dev, ":ACQuire:MODe 0\n", 16L); /*Set acquire mode:sample mode */

Seite 85

GDS-806/810/820/840 Programming Manual85 ibwrt (Dev, ":SYSTEM:UNLOCK\n",15L); /*Unlock GDS-806/810/820/840from remote control.*/ prin

Seite 86

GDS-806/810/820/840 Programming Manual86 while(1){ ibrd(Dev, ReadBuffer, 100); if((ibsta&ERR)||(ibsta&TIMO)){ Show

Seite 87

GDS-806/810/820/840 Programming Manual87void Delay(int i){int j,k; for(j=0;j<i;j++){ for(k=0;k<30000;k++) ; }}voi

Seite 88

GDS-806/810/820/840 Programming Manual88Appendix A: How can we convert the hexadecimal format to a floating pointformatQuestion: As the previous examp

Seite 89

GDS-806/810/820/840 Programming Manual8The following example uses ibdev to open a device, assigns it to access boardgpib0, chooses a primary address o

Kommentare zu diesen Handbüchern

Keine Kommentare