background image

11

COMMAND LIST

The  command  list  of  the  SR640  is  detailed  be-
low.

Commands  that  may  be  queried  have  a

question  mark  ?  in  parentheses  (?)  after  the  four
character  command  mnemonic.

Commands  that

may ONLY be queried have a ? after the mnemon-
ic.  Parameters  shown  in  brackets  {}  should  be
omitted  if  the  command  is  used  as  a  query.

Do

not send () or {} as part of the command. The vari-
able  i  used  in  many  of  the  commands  indicates
which  filter  channel  the  command will  operate on.
This variable can only be 1 (for channel 1) or 2 (for
channel 2).

The variable n is an integer variable,

and  must  be  sent  as  an  integer,  i.e.  no  decimal
points  or  exponents.

The  variable  x  is  a  real

number and  may be expressed  in fixed or floating
point format, with or without a decimal point.

FILTER  COMMANDS

ACDC(?) i{,n}

The  ACDC  command  sets  the  input  coupling  for
channel i to AC (n=0) or DC (n=1).

FLTR (?) i{,n}

If n=1, the FLTR command puts the channel i filter
into the signal path. If n=0, the filter is bypassed.

FR EQ(?) i{,x}

The FREQ command sets the filter cutoff frequen-
cy for channel i to x. Allowed values are 1.0 

 x 

99,900 (Hz).

INVT(?) i{,n}

The  INVT  command  inverts  the output  signal  with
respect  to  the  input  (n=1),  or  leaves  it  uninverted
(n=0).

LOCL n

The  LOCL  command  sets  the  local/remote  mode
of the instrument.

Allowed values are:

n

mode

0

local

1

remote

2

remote with local lockout

OVLD?

The OVLD? command queries the overload status
of  the  instrument.

The  result  is  returned  as  a

decimal number (0-15) which represents a 4 bit bi-

nary  number.  The  binary  number  is  coded  as  fol-
lows:

bit

meaning

3 (msb)

channel 2 output overload

2

channel 2 input overload

1

channel 1 output overload

0 (lsb)

channel 1 input overload

PR EG(?) i{,n}

The PREG command sets the input gain for chan-
nel  i  to  the  value  specified  by  n.

Allowed  values

of n are:

n

Input Gain

0

0 db

1

10 db

2

20 db

3

30 db

4

40 db

5

50 db

6

60 db

PSTG(?) i{,n}

The  PSTG  command  sets  the  output  gain  for
channel i to the value specified by n.

Allowed val-

ues of n are:

n

Output Gain

0

0 db

1

10 db

2

20 db

SR CE(?) i{,n}

The  SRCE  command  selects  the  input  source  for
channel i. The permitted values for n are:

n

Input Source

0

A

1

A-B

2

B

STATUS AND INTER FACE COMMANDS

*IDN?

The  *IDN?  command  returns  the  SR640's  identifi-
cation string. The string format is:

Stanford  Research  Systems,SR640,S/N0001,v

Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Содержание SR640 Series

Страница 1: ...service in house repair center WE BUY USED EQUIPMENT Sell your excess underutilized and idle used equipment We also offer credit for buy backs and trade ins www artisantg com WeBuyEquipment REMOTE IN...

Страница 2: ...2 99 Notice The information described in this manual pertains to the SR640 dual channel low pass filter the SR645 dual channel high pass filter and the SR650 low pass high pass filter The manual refer...

Страница 3: ...ith the SR640 9 Configuration Switches 9 Command Syntax 9 RS 232 Echo 9 COMMAND LIST Filter Commands 11 Status and Interface Commands 12 PROGRAMMING EXAMPLES Basic 13 FORTRAN 13 C 14 INSTRUMENT DESCRI...

Страница 4: ...2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Страница 5: ...lever back into its normal position and insert the correct fuse into the fuse holder LINE FUSE Verify that the correct line fuse is installed before connecting the line cord For 100V 120V use a 1 Amp...

Страница 6: ...4 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Страница 7: ...0 FILTER SPECIFICATIONS Frequency Range 1Hz to 100 kHz with 3 digit resolution Type 8 pole 6 zero elliptic Rolloff 115 dB octave Passband Ripple 0 1 dB pk pk typical Stopband Attenuation 80 dB typical...

Страница 8: ...6 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Страница 9: ...channel may be changed using the frequency increment and decrement buttons to the right of the dis play When one of these buttons is pressed the displayed frequency will begin scrolling up or down Not...

Страница 10: ...L button resets the display to the actual filter frequency If the SR640 has been placed in the REMOTE mode by a command from the computer interface press ing the CLR LOCAL button will return the unit...

Страница 11: ...nt to the SR640 may be sent in either UPPER or lower case A command to the SR640 consists of 4 ASCII characters followed by an optional question mark character followed by a list of arguments separ at...

Страница 12: ...e refer to the National Instruments manuals for complete details Once all the hardware and software has been con figured properly try using the IBIC program sup plied with the National Instruments car...

Страница 13: ...The INVT command inverts the output signal with respect to the input n 1 or leaves it uninverted n 0 LOCL n The LOCL command sets the local remote mode of the instrument Allowed values are n mode 0 l...

Страница 14: ...the byte returned by the SR640 when it is serial polled via the GPIB interface It may also be queried using the STB command SRE n The SRE command sets the service request en able byte to the value spe...

Страница 15: ...ver the COM2 port 20 30 Open the COM2 port for 9600 8 bits no parity ignore handshake 40 OPEN COM2 9600 N 8 2 CS DS CD AS 1 50 60 Clear COM2 port 70 PRINT 1 80 Set channel 1 pregain and postgain 90 PR...

Страница 16: ...format bn f14 0 write answer stop end Pr ogr am Exampl e 3 I BM PC Mi cr osof t C Nati onal I nstr uments GPI B car d Program to test SR640 communication using National Instruments GPIB card and Micro...

Страница 17: ...loat answer sr640 ibinit SR640 locate device if sr640 0 error ibwrt sr640 PREG1 1 PREG2 2 15 set gain ibwrt sr640 FREQ 1 6 query frequency ibrd sr640 string 30 and get answer sscanf string f answer pr...

Страница 18: ...n of Stage paramaters for the low pass filter are 1 6347 5493 2 8060 9507 2 0793 3 9850 2 095 1 9653 4 1 076 7 375 2 6776 For the high pass filter the parameters are simply related by the lowpass to h...

Страница 19: ...7 provides 2K of battery backed up RAM U1 is a 64K ROM which contains the calibration information for the filter channels The calibration ROM is mapped as I O requiring flip flop U5B to switch between...

Страница 20: ...service in house repair center WE BUY USED EQUIPMENT Sell your excess underutilized and idle used equipment We also offer credit for buy backs and trade ins www artisantg com WeBuyEquipment REMOTE IN...

Отзывы: