Agilent TechnologiesメーカーE1301Bの使用説明書/サービス説明書
ページ先へ移動 of 244
75000 S ER IES B Mainf r ames E1300B an d E 1301B Us er ’ s Man ual Copy rig ht © Ag il ent T echnol og i es, Inc. , 1989, 1990, 1991, 2006 M a nu a l P a r t N u m b e r : E 1300 - 90005 P r i n t e d : F e b r u a r y 2006 E d i t i o n 3 M i c r o f i c h e P a r t N u m b e r : E 1300 - 99005 P r i n t e d i n U .
.
Ce rt if ica ti on Agile nt T echnolo gies certifi es that th is p r oduct me t it s pu blished spe c ificatio ns a t th e time of ship ment from the f actory .
F ra m e or cha ss is gro und t er m i nal — ty pi - cally c onn ects to the equ ipment’ s metal frame . Al ter n ati ng c urr en t ( A C). Dire ct cu r re nt (DC ) . Indi ca te s ha za r dous vol ta ge s . Ca lls at te nt i on t o a pr oce dur e, pr ac tic e , or condi t i on t hat co uld cause bodi l y i nj ury or deat h.
Decl ar a ti on of Co nf ormit y according to I SO/IEC Guide 22 and EN 45014 Manu fa cturer’ s Na m e: Agile nt T e ch nol ogi es, Inc . Love la nd Ma nuf ac t uri ng Ce nt er Manu fa cturer’ s Ad dr ess: 815 14th S t re et S .
A gil e n t 75000 S erie s B D ocume n ta t i on M a nua l De scrip tio ns Instal lation and G etting Starte d G uide. Contai ns step -by -s tep ins tr ucti ons f or a ll a sp e c t s o f p lu g-in m o d u le a n d m a in fr a m e in st a lla t io n .
1 Re late d Do cum e nts A gilent Ins trument BA S IC Us er’ s Handbook . Inc l ud es thre e books : A g ilen t Ins t r um e nt BA S IC P r og r a m m ing T e c hni q ue s , A g i le nt Ins tr um ent BA S IC I n ter f a cin g T ech n iqu es, and A g i le nt Ins tr um e nt B A S IC L ang uag e Ref e r e nc e .
A b o ut this Man ual M an ual Con t en t T h is m a n u a l s h o ws h o w t o u s e t h e A gi le n t E 1300/ E 1301 M a in fr a m e a n d h o w t o operate and pr og ram i ns trum en ts w i thi n the m ai nf r am e us i ng S CPI ( S tandar d C o m m a n d s f o r P ro g ra m m a b l e I n s t ru m e n t s ) c o m m a n ds a n d I EEE 488.
T ab l e of C onten ts 1. G etting Starte d U sin g T h is C h a p t e r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 M a in fr a m e D e scr ip t io n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
U sin g S up p o r t e d T e r m in a ls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-16 T h e Sup p o r t e d T e r m in a ls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-16 U sin g t h e H P 700/ 22 . . . . .
T h e Se r v ic e R e q u e st B it . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-5 C le a r in g t h e Se r v ic e R e q u e st E n a b le R e gist e r . . . . . . . . . . . . . . . . . . . . 6-5 Sta n d a r d E v e n t St a t u s R e gist e r .
*SR E < ma sk > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-70 *SR E ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-71 *ST B? . . . . . . . . . . . . . . . . . . . . . . .
C . C onn e c tin g and C onf ig urin g a Dis pla y T er m inal U sin g t h is A p p e n d ix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1 O v e r v ie w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6 - Ta ble of C ontents.
Ch a p t e r 1 G etting S tar ted Us i n g T h i s Ch ap t er T h is c h a p t e r d e s c r ib e s t h e A gi le n t E 1300B / E 1301B M a in fr a m e , d e fin e s t h e i ns trum en t c on c ept, and ex pl ai ns ho w pl ug -i n mo dul es are des i g nated as i ns trum en ts i n th e m ai nf r am e.
Tr i g O u t : Al l o w s an i n s tr um en t to o u tput a neg ati v e-g oi ng p ul s e to i ndi c ate the occ urr ence of som e ev ent such as cl os ing a channel on a S w itc hbox Ins trument. The s i g nal l ev el s are s tand ard TTL (0 V to 5 V).
1 I n strume nt De fini tion S CPI- c ompati b l e pl ug -i n mo dul es i ns tall ed i n th e m ai nf r am e are treated as i ndep end ent i ns t r uments each hav i ng a uni q ue secondar y G P IB add r ess .
Instr u m ent L ogical A d d r e sse s I n s t r u m e n t s a r e id e n t ifie d b y a lo gica l a d d r e ss whic h d ir e ct ly r e la t e s t o it s G P I B s ec on dary ad dr es s . I ns truments com e f rom the f actory w i th a pres et l og i c al ad d re s s .
Ex ample: Read ing the T ime Thi s prog r am reads and prin ts the ti me f r om th e S y s tem In s tr um ent’ s in ternal c lo c k . T h e c o m p u t e r u se d in t h e e x a m p l e is a n A gi le n t Se r i e s 200/ 300 c o m p u t e r w i th Ag i l ent B AS IC as the pr og ram l ang uag e.
1-6 Gett ing St ar ted.
Ch a p t e r 2 Us in g th e F r ont Panel Us i n g t h i s Ch a p t er T h is c h a p t e r sh o ws y o u h o w t o u s e t h e A gi le n t E 1301B M a in fr a m e ’ s fr o n t p a n e l k ey board and d i spl ay to oper ate i ns trum ents i n th e m ai nf r am e.
1 Usi n g M enu s You can acc es s a S y s t em Ins trument menu and a v a r i e ty of other ins tr ument menus (d ep end i ng on i ns tal l ed ins tr uments) f rom the f ront p anel. The s e m enus i nc orp or ate t he mos t us ed f unc ti ons but do not p r ov i de a cc es s to al l of the i ns t r ument com m ands.
• P r e ss Prev Menu to return to the prev i ou s menu w i thi n an i ns tr umen t menu or e s c ape f r om an i nput p r ompt. Press Sel ect I ns tr to retur n to the S elect an I n str um en t menu . Note that w hen y ou l eav e an i n s tr um ent an d retur n l ater , y ou retur n to th e s ame m en u l ocati on y ou w er e w hen y ou l ef t.
H o w to Disp la y Log ic a l A d d r e sse s o r I nstrum e nt I nfo rm a tio n H o w to Re se t the Syste m Note: The RE SET menu sel ec ti on i s equi v al ent to the D IA G : B O O T c omma nd w hi c h has the s ame ef fec t as c y c li ng pow er to the mainf r a me.
Us i ng the Other I ns tru ment M e nu s The i ns tr ument menus al low y ou to acces s t he mos t- us e d ins t rument func ti ons or t o moni tor a n i nstrument ( moni tor mod e) w hil e it i s bei ng c ontrol l ed f rom re mote. W e’ l l use the S w i tc hbox m enu to s how y ou how to use the i ns trument menus .
H o w to O p e n / C lo se C ha nne ls How to S c an Cha n n e ls 2-6 Using the Fr ont Panel.
How t o Dis play M oni tor Ty pe, Desc r i pt i on , or R eset M odul e H o w to Se le ct M o nito r M o d e Us ing the Front Panel 2- 7.
Mo n i t o r Mo d e M o n it o r m o d e d is p la y s t h e st a t u s o f a n in st r u m e n t while it is b e in g co n t r o lle d f r om re mote.
1 Execut ing C o mma n d s F r o m t h e f ro n t p a n e l , y o u c a n t y pe a n d e x e c u t e I EEE 488. 2 C o m m o n Com m ands and S CPI Com m ands f o r the i ns trum ent pres en tl y s el ected by the S elect an in str u m en t menu.
1 K e y De scri ptions Thi s secti on e x p l a i ns the f uncti on of each of the f ront p ane l ’ s ded i c ated k ey s . If a key i s not f uncti onal in a par tic ul ar si tua ti on, p r es s ing that k ey doe s nothi ng ex cep t to cause a beep .
the cur s or to t he beg i nni ng of t he l i ne. Pre s s ing CTRL f ollo w e d b y th e le ft arr ow k ey mov es the curs or 4 charac ter s paces to the l ef t. E r as es the c harac ter at the presen t c urs or pos i ti on (f o r us er - entered data onl y ) .
1 I n Case of D i ff i c ul t y Pr ob le m : Pr ob le m C au se/ Solu t ion : E r r o r - 113 u n d e fi n e d h e a d e r e r r o r o c c u r s a ft e r e n t e r in g da ta in respons e to a menu pr omp t. For som e com m ands us e d by the menus, the da ta entered i s ap pended to a co m m and header.
2 I ns trume nt M e n us T hi s secti on contains char ts s how i ng the structur e and content for al l f ront p ane l i ns t r ument menus . A l s o s how n i n the charts are the S CPI or Comm on Comm ands us e d a nd d escri ptions of m enu- c ontroll ed i ns tr ument op er at i ons .
Syste m I nstrum e nt M e nu Me nu L e ve l s a nd C o nte nt Lev el 1 Lev el 2 Lev el 3 Lev el 4 Lev el 5 Lev el 6 U ser En t r y Co m m a n d ( s) U sed D escr i p t i o n S Y S T E M C O N F IG ? L.
Syste m I nstrum e nt M e nu Me nu L e ve l s a nd C o nte nt Lev el 1 Lev el 2 Lev el 3 Lev el 4 Lev el 5 Lev el 6 U ser En t r y Co m m a n d ( s) U sed D escr i p t i o n ( cont i n u e d f r om pr.
Switc hb o x M e n u Me nu L e ve l s a nd C o nte nt Lev el 1 Lev el 2 Lev el 3 U ser En t r y Co m m a n d ( s ) U s ed D escr i p t i o n S WI TC H M ONI TOR c a r d n u mbe r ‡ or AU TO DI S P :.
Notes Us ing the Front Panel 2- 1 7.
Sca nning V o ltm e te r M e nu Me nu L e ve l s a nd C o nte nt Lev el 1 Lev el 2 Lev el 3 Lev el 4 U ser En t r y Co m m a n d ( s) U sed D escr i p t i o n V O L T MTR MO NIT O R c ha nn e l lis t .
Sca nning V o ltm e te r M e nu Me nu L e ve l s a nd C o nte nt Lev el 1 Lev el 2 Lev el 3 Lev el 4 U ser En t r y Co m m a n d ( s) U sed D escr i p t i o n ( cont i n u e d f r om pr e vi ou s page.
A gil ent E 1326B / E1411B 5 1/ 2 Di gi t M ul ti m ete r ( St andal on e) M e nu Me nu L e ve l s a nd C o nte nt Lev el 1 Lev el 2 Lev el 3 Lev el 4 User En t r y Co m m a n d ( s ) U sed D escr i p.
A gil ent E 1328A 4-Chann el D/ A C onv e rt er M e nu Me nu L e ve l s a nd C o nte nt Lev el 1 Lev el 2 Lev el 3 Lev el 4 User En t r y Co m m a n d ( s) U sed D es cr i p t i o n D / A MO NI TO R C.
A gil ent E1330A Quad 8-B it Di gi tal Input / Out pu t M e nu Me nu L e ve l s a nd C o nte nt Lev el 1 Lev el 2 Lev el 3 Lev el 4 U s er En t r y Co m m a n d ( s) U sed D escr i p t i o n D IG _ I/.
Notes Us ing the Front Panel 2- 2 3.
A gil ent E1332A 4-Chan nel Coun t er/ T otal i zer M e nu Me nu L e ve l s a nd C o nte nt Lev el 1 Lev el 2 Lev el 3 Lev el 4 Lev el 5 U ser En t r y C om m an d ( s) U sed D escr i p t i o n C O U .
A gil ent E1332A 4-Chan nel Coun t er/ T otal i zer M e nu Me nu L e ve l s a nd C o nte nt Lev el 1 Lev el 2 Lev el 3 Lev el 4 Lev el 5 U ser En t r y C om m an d ( s) U sed D escr i p t i o n ( cont.
A gil ent E 1333A 3-Chann el Un i v e rs al C o unte r M e nu Me nu L e ve l s a nd C o nte nt Lev el 1 Lev el 2 Lev el 3 Lev el 4 L ev el 5 U ser En t r y Co m m a n d ( s ) Used D escr i p t i o n C.
A gil ent E 1333A 3-Chann el Un i v e rs al C o unte r M e nu Me nu L e ve l s a nd C o nte nt Lev el 1 Lev el 2 Lev el 3 Lev el 4 L ev el 5 U ser En t r y Co m m a n d ( s ) Used D escr i p t i o n (.
Notes 2 - 2 8 U s ing t he F r ont P a n e l.
Ch a p t e r 3 Us ing the Dis p lay T er m inal I nter f ace U s i n g t h i s C h a p t e r T h i s c h a p t e r s ho w s y ou ho w t o u s e t h e A g il e n t E 1300 B a n d A g il e n t E 1301B Mai nf r ames ’ Di s pl ay Ter mi nal Interf ac e ( termi nal i nterf ac e) to operate i ns trum en ts i n th e m ai nf r am e.
1 Te rmin a l I n ter fa ce Fe a ture s F igu r e 3-2 sh o w s a t y p ic a l t e r m in a l in t e r fa c e d isp la y with it s fu n c t io n la b e ls acros s the b o ttom of the s creen. The f i rs t f i v e f un c ti on k ey s ( f1 thr oug h f5 ) s e l ec t i ns t r ument menu c hoi ces .
1 Usi n g M enu s A S y s tem Ins t rument menu and a v ar i ety of other i ns t rument menus (d ep end i ng on i ns tal l ed i ns truments ) are av ai l abl e f rom the term i nal i n terf ace. Thes e m en u s i nc orp or ate t he mos t us ed f unc ti ons but do not p r ov i de a cc es s to the compl ete f uncti onal ity of a n i nstrument.
I f y o u m a ke a n in co r r e c t e n t r y in r e sp o n se t o a n in p u t p r o mp t , t h e b o t t o m lin e o f t h e T e x t O u t p u t A r e a w ill sho w a n e r r o r m e ssa ge .
Us i ng t he Sy st em I ns tru ment M e nu T he S y stem Ins trument menu all ow s y ou to: • S et or r ead the s y stem G P IB addr es s • R e s et (r eboot ) t he mai nf r ame • D is p la y t .
H o w to Re se t the Syste m No t e: Th e RESET m enu s e le ction is e q uiva le nt to ex e cut ing the DIAG:B OOT com m and which ha s the s a m e ef f ect as c y c li n g t h e m ai n f ram e’ s p o w er.
H o w to Disp la y Log ic a l A d d r e sse s a nd I n str um e nt I nfo r m a tio n E nt e r de v i c e ’s lo gi c a l a ddr e s s a nd pr e s s Return f o r i n di v idu a l ins tr um ent infor mation, or jus t e nte r one s pace a nd Re turn , fo r inform a tion on a ll intrum ents .
Us i ng the Other I ns tru ment M e nu s The i ns tr ument menus al low y ou to acces s t he mos t- us e d ins t rument func ti ons or t o moni tor a n i nstrument ( moni tor mod e) w hil e it i s bei ng c ontrol l ed f rom re mote. W e’ l l use the S w i tc hbox m enu to s how y ou how to use the i ns trument menus .
H o w to O p e n / C lo se C ha nne ls Ent er C h an nel Li st an d p r ess Return (e.g ., 102 f o r c h ann el 2 o n c ard # 1) S w itc hbox ins trument a t logical a dd re s s 3 2 (sec on d ary ad d.
How t o Dis play M odul e Ty pe , Descr i pti on , or R eset M odul e Ent er C ard Nu m b er an d p ress Re turn Ent er C ard Nu m b er an d p ress Re turn Ent er C ard Nu m b er an d p ress Re turn S.
Mo n i t o r Mo d e M o n it o r m o d e d isp la y s t h e st a t u s o f a n in st r u m e n t while it is b e in g co n t r o lle d f r om re mote. Moni t or mode i s usef ul f or de bug g i ng programs .
Note E nabl i ng m oni tor mode s l ow s i nstrument op er ations . If the t i m i ng or s peed of i ns trum en t o perati o ns i s cri ti cal (su c h as m aki ng mul ti meter r eadi n g s at a pr e ci se ti me interv a l ), y ou s houl d not use m oni tor mode .
1 Execut ing C o mma n d s F r o m t h e t e rm i n a l i n t er f a c e , y o u c a n t y pe a n d e x e c u t e I EEE 488.2 C o m m o n Com m ands and S CPI Com m ands f o r the i ns trum ent pres en tl y s el ected by the S elect an in str u m en t menu.
1 Ge ne ra l K e y De scrip tions Thi s secti on ex plai ns the f unc ti on of each of the t er mi nal i nte rf ace’ s m enu, m enu control, and ed i ti ng k e y s . If a k ey i s not f uncti onal in a par tic ul ar si tuat i on, pr es s i n g that k ey d oes no th i ng ex cept to c au s e a beep.
E r as es the c harac ter to the l ef t of the curs or (f or us er - entered data onl y ) . (Cl ear- to - end k ey . ) E r as es al l ch aracters f rom the pres ent c ur s or pos i ti on to the end of the i n put l i n e (f or us er- en tered d ata onl y ).
1 Using Su ppor t e d Te rmin a ls The D i s play Ter mi nal Interf ace s upports s ev er al p opul ar termi nal b rands and mo d e ls. T h is c h a p t e r will sho w y o u h o w to a c c e s s a ll o f t h e t e r m in a l in t e r fa c e f uncti ons d e s c ri bed p r ev i ous ly us ing y our s upp or ted ter mi nal .
Us i ng t he H P 700/ 22 T h e H P 700/ 22 t e r m in a l e m u la t e s t h e D E C ® V T 100 ® o r V T 220 ® ter mi nal s. S ome f unc ti ons of the D i s p l ay Ter mi na l Int er f ace hav e been map p ed i nto k ey s w ith other l abel s . A key boar d map i s p r ov i ded f or each of the emul ati on m odel s .
VT220 ® Key M ap The f unction k e y s that ar e nor mal l y l abel ed f6 thr oug h f14 are now l abel ed: Note Be c a u s e t h e H P 700/ 22 k e y b o a r d h a s n in e fu n c t i o n k e ys in t .
Us i ng the WY SE WY - 3 0 Wi th the W Y S E WY-3 0 ter mi nal , s ome f unc ti ons of the D i s p l ay Ter mi nal Interf ace hav e been as s i g ned to k ey s w i th other l abel s . U s e thi s k ey board map to hel p l oc ate the s e f uncti ons .
What “ Not Su pported” Me a n s St r ict ly s p e a kin g, a t e r min a l is n o t su p p o r t e d if it h a s n o t b e e n r igo r o u sly t e st e d w i th th e Di s pl ay Term i nal Interf ac e. Th ere are s ev er al H P ter mi nal s w hi ch m ay be c o m pati bl e w i th the termi nal i nterf ace.
If y ou now see the “S elect an i nstrument” menu l abel s : G o to the b eg i nni ng of thi s ch apter and try the m enu s . or Turn the m ai nf rame of f and then on ag ai n .
To g et a l i s t o f the l o g i cal ad dr es s es u s ed i n y our mai nf rame, s end the S CPI comma n d V X I: CONF: DLA D? to th e S y s tem In s tr um en t.
1 I n Case of D i ff i c ul t y Pr ob le m : Pr ob le m C au se/ Solu t ion : E r r o r - 113 u n d e fi n e d h e a d e r e r r o r o c c u r s a ft e r enter ing da ta in respons e to a menu pr omp t. For som e com m ands us e d by the menus, the da ta entered i s ap pended to a co m m and header.
Notes 3-24 Us in g th e Dis pl ay T er minal Inter face.
2 I ns trume nt M e n us T hi s secti on contains char ts s how i ng the structur e and content for al l te rmi nal i nter f ace i ns trum en t m enu s . Al s o s how n i n the ch arts are the S CPI or Com m on Comm ands us e d a nd d escri ptions of m enu- c ontroll ed i ns tr ument op er at i ons .
Syste m I nstrum e nt M e nu Me nu L e ve l s a nd C o nte nt Lev el 1 Lev el 2 Lev el 3 Lev el 4 Lev el 5 Lev el 6 U ser En t r y Co m m a n d ( s) U sed D escr i p t i o n S Y S T E M C O N F IG ? L.
Syste m I nstrum e nt M e nu Me nu L e ve l s a nd C o nte nt Lev el 1 Lev el 2 Lev el 3 Lev el 4 Lev el 5 Lev el 6 U ser En t r y Co m m a n d ( s) U sed D escr i p t i o n ( cont i n u e d f r om pr.
Switc hb o x M e n u Me nu L e ve l s a nd C o nte nt Lev el 1 Lev el 2 Lev el 3 U ser En t r y Co m m a n d ( s ) U s ed D escr i p t i o n S WI TC H M ONI TOR c a r d n u mbe r ‡ or AU TO DI S P :.
Notes Us ing the Di s play Ter minal Inter face 3-29.
Sca nning V o ltm e te r M e nu Me nu L e ve l s a nd C o nte nt Lev el 1 Lev el 2 Lev el 3 Lev el 4 U ser En t r y Co m m a n d ( s) U sed D escr i p t i o n V O L T MTR MO NIT O R c ha nn e l lis t .
Sca nning V o ltm e te r M e nu Me nu L e ve l s a nd C o nte nt Lev el 1 Lev el 2 Lev el 3 Lev el 4 U ser En t r y Co m m a n d ( s) U sed D escr i p t i o n ( cont i n u e d f r om pr e vi ou s page.
A gil ent E 1326B / E1411B 5 1/ 2 Di gi t M ul ti m ete r ( St andal on e) M e nu Me nu L e ve l s a nd C o nte nt Lev el 1 Lev el 2 Lev el 3 Lev el 4 User En t r y Co m m a n d ( s ) U sed D escr i p.
A gil ent E 1328A 4-Chann el D/ A C onv e rt er M e nu Me nu L e ve l s a nd C o nte nt Lev el 1 Lev el 2 Lev el 3 Lev el 4 User En t r y Co m m a n d ( s) U sed D es cr i p t i o n D / A MO NI TO R C.
A gil ent E1330A Quad 8-B it Di gi tal Input / Out pu t M e nu Me nu L e ve l s a nd C o nte nt Lev el 1 Lev el 2 Lev el 3 Lev el 4 U s er En t r y Co m m a n d ( s) U sed D escr i p t i o n D IG _ I/.
Notes Us ing the Di s play Ter minal Inter face 3-35.
A gil ent E1332A 4-Chan nel Coun t er/ T otal i zer M e nu Me nu L e ve l s a nd C o nte nt Lev el 1 Lev el 2 Lev el 3 Lev el 4 Lev el 5 U ser En t r y C om m an d ( s) U sed D escr i p t i o n C O U .
A gil ent E1332A 4-Chan nel Coun t er/ T otal i zer M e nu Me nu L e ve l s a nd C o nte nt Lev el 1 Lev el 2 Lev el 3 Lev el 4 Lev el 5 U ser En t r y C om m an d ( s) U sed D escr i p t i o n ( cont.
A gil ent E 1333A 3-Chann el Un i v e rs al C o unte r M e nu Me nu L e ve l s a nd C o nte nt Lev el 1 Lev el 2 Lev el 3 Lev el 4 L ev el 5 U ser En t r y Co m m a n d ( s ) Used D escr i p t i o n C.
A gil ent E 1333A 3-Chann el Un i v e rs al C o unte r M e nu Me nu L e ve l s a nd C o nte nt Lev el 1 Lev el 2 Lev el 3 Lev el 4 L ev el 5 U ser En t r y Co m m a n d ( s ) Used D escr i p t i o n (.
Notes 3-40 Us in g th e Dis pl ay T er minal Inter face.
Ch a p t e r 4 Us i ng th e Mainf r ame Us i n g t h i s Ch ap t er T hi s chap ter show s how to use the mai nf r ame’ s Pacer f uncti on, how to chang e the prim ar y G PIB addr es s , and how to s y nc hroni z e i nternal and ex ter nal i ns trum en ts us i ng the m ai nf r am e’ s E v ent In an d Tri g g er O ut ports.
• S O U R :PU LS : CO U N s ets the number of Pacer cy c l es. S peci fy from 1 to 8388607 c y c le s o r sp e c ify I N F fo r a c o n t i nuous output. • S O U R :PU LS : P E R sets the pe riod of each Pacer cy cl e. Y ou c an s peci f y p e r io d s fr o m 500n s t o 8.
1 Chan gin g t h e Prima ry GP I B A d dr ess You c an s et the mai nf r am e’ s pri m ar y G PIB addr es s to any i nteg er v al u e betw een 0 and 3 0 . Th e addr es s i s s et to 9 at the f ac tory . ( S ee Chapter 2 f or i ns t r ucti ons on s e tting /read ing the G P IB add r ess f rom the f ront p ane l .
Ex am ple : Sy nchr oniz ing an In te r nal In strum e n t to an E x te r n al In s tru m e n t Thi s ex ampl e u s es th e m ai nf r ame’ s Tr i g O ut and E v ent In ports to s y nch roni z e an ex t er nal m ul ti m eter to a mul ti p lex er ins t al l ed i n the mai nf rame.
mul tim eter to an i nterna l m ul tipl ex er. Connecti ons are show n i n Fi g ur e 4 - 4 . Thi s method sy nchroni z es the com puter to t he i ns tr uments and r eli es on the co m puter to enter each readi n g and adv ance to th e n ex t chann el i n th e s can l i st.
1 M a in f ram e D at a M e mory When p ow e r i s app li ed or the sy s tem reboote d (D IAG : B O O T comm and) , mai nf rame memory i s a utomati c al ly conf i g ured to p r ov i de a p r ed ef i ned amount of mem o ry f or any i ns tal l ed i ns truments that req ui r e mem or y s p ace.
Ex am ple : Storing and R etriev ing Data F r om M ainf r am e M e m or y . T h is ex am pl e sh o w s ho w to u s e mai nf r ame m emory to s tor e 1 5 readi n g s m ade us i ng a n A gi le n t E 1326A M u l t i m e t e r . A ft e r t h e r e a d in gs a r e st o r e d , t h e y a r e r e t r ie ve d by the c omputer and d i s p l ay ed .
a d d r e ss . Y o u w ill t h e n kn o w t h e s t a r t in g a d d r e ss , a n d ( fr o m t h e … NR A M:CR E < size > com mand) the l en g th of the N RA M s eg ment. Ex a mple: A ll ocat ing an NRA M s egm e nt and lo cati ng it. Thi s ex ampl e sho w s h o w t o a l lo c a t e a s m a ll 128 b y t e N R A M s e gm e n t .
Us i ng : DOWNload and : U Pl oad? t o A c ces s Dat a T h e c om m a nd DI AG: DOW N l oa d < a ddr e ss >, < d a ta_blo ck > is used to store data i n to th e N RAM s eg men t. The c om mand DI A G: U PL o a d? < a ddr e ss >, < by t e _ c ount > i s us ed to retr i ev e d ata f r om th e NRA M s eg ment.
Ex ampl e: St oring and Retriev ing data us ing DOW Nl oad a nd UPL o ad. define var iable s for DO WN load an d UPL o ad 90 DIM Ch ar s $[ 64] ,Ch ar s_b ac k $[ 80] 100 IN TE G E R Wo r d s ( 1: 16).
Ch a p t e r 5 Do w nlo a d ing De v ic e Dr iv e r s Ab out thi s C h a pte r Thi s c hapter d es cri b es the pr oc edure f or us i ng d ow nl oad abl e d ev i ce dri v er s w it h t h e A gile n t E 1405 C o m m a n d M o d u le .
Figu r e 5-1. Driv er and Do cument ati on U s age 5-2 Dow nlo ading Dev ice Dr iv er s GPIB bus GPIB bus GPIB GPIB bus.
1 M e mory C o nfig ura tion Bef or e a ttemp ti ng to d ow nload any d e v i c e dr i v ers y ou s houl d und er s tand how memory i s af f ected w hen y ou speci f y a si ze f or one or more t y pe s of R A M.
1 Download P rogram C o nfig ura tion I f y o u w ill no t b e u sin g t h e d e fa u lt co n figu r a t io n s fo r d o w nlo a d in g, y o u w ill ne e d to ed i t the conf i g ur ation f i l e t o match y our sy s t em c onf i g ur ati on.
sp e cify a file n a m e h e r e , t h e d r iv e r d o w nlo a d e r will log t o t h e s cr e e n a n d t o t h e sp e c ifie d file . DRIV E R FIL E = s p e c ifie s t h e d r iv er file o r file s t o d o w nlo a d .
1 Download ing Drivers in M S- DO S System s Th e de v i c e dri v er do w nl o a d pro g ram V XIDLD. E XE prov i ded o n t h e di s k w i th t h e d r i v e r file s fo r u se wit h a n R S-232 i n t e r fa c e m u s t b e r u n fr o m M S-D O S.
1 Download ing Drivers in GPI B System s with IB A S IC Th e de v i c e dri v er do w nl o a d pro g ram A U TOS T prov i ded o n the di s k w i th t h e dr iv e r f il es f or us e w i th G PIB m us t be r un f r om IB AS IC ( Instrument Bas i c) .
1 Download ing Drivers in GPI B System s w ith BA S I C Th e de v i c e dri v er do w nl o a d pro g ram V XIDLD_ GE T pro v i ded on the di s k w i th the d r i v e r f il es f or us e w i th G PIB m us t be r un f r om an BAS IC othe r t han I BA SI C .
1 Download ing M u lt ip le D rive rs The dr i v er dow nl o ader s of tw are automati c al l y chec k s f or the ex i s ten c e of other d r iv e r s whe n it is r u n .
1 M a nua l ly Downloadin g a Dri v erdow n manu al D ow nl oad pr og rams ar e s u ppl i ed f or us e w i th the s y s tem s etups des c ri b ed earl i er i n thi s c hapter.
M a nu a lly D o wn lo a d in g Over GPIB M a n u a lly d o w nlo a d in g a d r iv e r o v e r G P I B is fa ir ly s t r a igh t fo r w a r d . T h is di s cus s i on as s u m es that the dow nl o adabl e dev i c e dri v er has been s upp l i ed by A gile n t .
If y ou ar e g oi ng to us e any othe r setting , y ou mus t set up the ap p r op riate setti ng s i n the S y stem Ins t r ument us i ng the f oll ow i ng comm ands COMM: SE R [ n ] : R EC:B AUD <.
h a n d sh a k e m o d e is e n a b le d , t h e Sy st e m I n st r u m e n t w ill no t t r a n sm it ch a r a c t e r s w hen ei ther the CTS ( Cl ear to S end ) or the D S R (D ata S et Read y ) l i nes are not as s er ted. Thi s ac ts to pace the S y s tem Ins tr um en t o utput.
Transmitt ing Us ing a C AT Command O n H P-U X sy s t ems y ou can us e the ca t co m m and to trans f er the dev i ce dr i v er . The appr opr i ate d ev i c e f i l e m us t ex i st. Al l s hel l com m and s are as s umed to be ex ec ut ed f r om ei ther the /b i n/ s h or /bi n/ k s h s hel l .
Figu r e 5-3. M anually Dow n loadi ng a Dev i ce Dri v er Dow nl oadi ng Dev ice Dr i ver s 5-15.
5-16 Dow nlo ading Dev ice Dr iv er s.
Ch a p t e r 6 C ont r oll ing Ins tr um e nts Us ing G PI B Ab out thi s C h a pte r Thi s chap ter show s how to contr ol i nstruments i n the mai nf rame f rom an e x t e r n a l c o m pu t e r u s i n g I EEE 488.2 C o m m o n C o m m a n d s a n d t h e G P I B i nter f a ce.
2 St at us S y st em Str u ct ur e The i ns tr um en t s tatus s tructure m on i tors i mportant ev ents f or an i ns trum ent s uc h as w hen an error occ u rs or w hen a readi n g i s av ai l abl e.
The St atu s By te Regi st er A s s h o wn in F igu r e 4- 1, t h e St a t u s Byt e r e gis t e r i s t h e h i gh e s t - le ve l r e gi st e r in the status s tr uctur e. Thi s regi s ter contai ns bits w hi c h s ummariz e inf or mati on f r om the othe r s tatus g r oups.
Tabl e 4 - 1 s how s eac h o f the S tatus By te r eg i s ter bi ts and des c r i bes the ev ent that w ill se t e a c h b it . Table 4-1. St atu s B yte R egi s ter Bi t Numb er Decimal W eight Des c.
The f ol l o w i ng p rog ram reads th e s y s tem i ns trum en t’ s S tatus B y te reg i s ter us i ng the GP IB S er i al Pol l co m m and. 10 P= SPOLL( 70900) R ead S tatus B y t e R eg ist e r u.
Sta nda rd E ve nt Sta tus Regi st er The S tandard E v ent S tatus Reg i s ter i n the S tandar d E v ent s tatu s g roup moni tor s the i ns t rument status ev ents s how n i n Tabl e 4 -2 . W hen one of t hese ev ents occ urs , i t s ets a correspondi ng bi t i n the S tandar d E v ent S tatus Reg i s ter.
u n m a ske d , a n G P I B se r v ic e r e q u e st ( SR Q ) w ill be ge n e r a t e d . ( " I n t e r r u p t in g t h e E x ter nal Com puter" , l ater i n th i s c hapter con tai ns an ex ampl e p rog ram w hi ch demons trates th i s s equence).
Table 4- 3. Operation Status Group - C ondition Register Bi t Numb er Decimal W eight Des cript ion 0 1 C a lib r a t in g 1 2 Se t t lin g 24 R a n g i n g 3 8 S w eepi ng 4 1 6 Measuri ng 53 2 W a i.
B i ts i n the Op er ati on S tatus Gr oup E v ent reg i s ter w hi c h are se t can be deter mi ned w i th the c omm an d: STAT u s : O PER at i o n : EVEN t ? Thi s c om m and returns th e deci m al w ei g hted s u m of the s et bi t(s ).
SUB I n t r _r e s p B= SPOLL( 70900) OUTP UT 70900; "ST AT :O PER : EV EN ?" ENTE R 70900; E OUTP UT 70900; "DIAG:I N T R : R ESP?" ENTE R 70900; R .
Ex ample: Int er r upt ing w hen an Er r or Occu r s Thi s prog r am s how s h o w to i nterr upt an ex ternal com puter w henev er an err or o c cu r s fo r t h e in st r u me n t b e in g p r o gr a m m e d whic h , in t h is e x am p le , is a mu l ti meter at s ec on dary add r es s 0 3 .
1 Synchr oni z i ng a n E x t er nal Com puter a n d I n stru me nts Th e *O P C ? a nd *O P C comma nd s ( op er a tion comp lete co mma nd s) a ll ow y ou to mai ntai n s y nc hroni z at i on be tw een a n ex ter na l c om pute r a nd an i ns tr ument.
Ex a m ple : Synchronizing an Ex ternal C omputer and Two Instr uments using the * OPC c om m a nd. Thi s ex ampl e u s es th e * O PC c om mand and s eri al pol l to s y nc hroni z e an ex ternal com puter and tw o i n s tr um ents ( D AC at s ec on dary add r es s 0 9 ; S can ni ng Vol tm eter at s ec o n dary ad dr es s 0 3 ).
6-1 4 C ontr olling Instruments U s ing GPIB.
Ch a p t e r 7 Sy s tem Ins tr um ent C o m ma nd R ef er enc e Ab out Thi s C h a pte r Th i s c hapt e r de s cri bes the St a nd a rd Co mma nd s fo r Pro gra mma bl e Ins t rum ents ( S CPI) com m an d s et an d the IEEE 488.2 Co mmo n Co mma nd s fo r the S y s tem Ins trument.
C om m a nd Sepa rator A col on ( : ) al w ay s s ep ar a tes one c om m and f rom the nex t l ow er l ev el c om m and as s how n bel ow : RO U T e : SCAN : MODE ? Col ons sepa r ate t he r oot comm and f rom the sec ond l ev el c om m and ( R O U T e :SC A N ) a n d t h e se c o n d le v e l fr o m t h e t h ir d le v e l ( SC A N :M O D E ? ) .
( e . g., 123, 123E 2, - 123, - 1.23E 2, . 123, 1.23E - 2, 1. 23000E - 01) . Sp e c ia l cas es i ncl ud e M IN, MAX, and INF i ni ty . The Comm ents s e cti on w i thi n t h e C o m ma n d R e fe r e n c e will st a t e w h e t h e r a n u m e r ic p a r a m e t e r c a n a lso b e s p e c i fie d in h e x , o c t a l, a n d / o r b in a r y .
1 SC PI C om m and Re fe re nc e T h is se ct ion d e sc r ib e s t h e SCP I co m m a n d s fo r t h e Sy st e m I n st r u me n t . Com m ands ar e l i s ted al p habeti cal l y by s u b s y s tem an d al so w i thi n eac h su b s y st e m . A c o m m a n d gu id e is p r in t e d in t h e t o p m a r gin o f e a c h p a ge .
DI A G nost ic The D IA G nosti c s ubs y s tem al l ow s c ontrol ov er t he S y s tem Ins tr ument’ s i nt er nal pr oc es s o r s y s tem (: B O O T, an d : INTerr upt), th e al l ocati on and co.
: B OOT: C OL D DIA Gnos t i c: BOOT : COL D caus es the S y stem Ins trument to r e s tar t ( r e-boot). Conf ig ur ati ons store d i n non-v ol ati le m emory and R S - 232 co n figu r a t io n s a .
: B OOT[ :WA RM ] D IA Gnos ti c: BOOT [ : W A RM] caus es the S y stem Ins tr ument to r e s tart (r e-boot) us i ng the curr ent conf i g uration s t ore d in non- v ol a ti l e mem ory . The ef fec t i s the same a s cy cl i ng po w e r . Comments • T h e Sy st e m I n st r u me n t go e s t h r o u gh it s p o w e r - u p se lf t e st s.
: C OM M unica te :SER ial[ 0 ] [ :OW N e r] ? DI A Gnos t i c: COMMuni cat e: S ERia l [ 0] [ : OW Ner] ? R etur ns the current " ow ner " o f t h e b u ilt - in se r ia l in t e r fa c e . T h e v alu e s r e t u r n e d will be ; " SY ST " , " I B A S" , o r "N O N E ".
: DO W Nl oad: CHECk ed [ : M A DDress] DIA Gnos ti c: CH E C ked: DOW Nlo ad[ : MA DDres s ] < addre s s >, < data > wr i t e s dat a i nto a non- v ol a ti l e U ser R A M seg ment start i ng at addr e ss u s i ng erro r co rrecti on.
By te Format E a ch b y t e se n t w ith t h is c o m m a n d is e x p e ct e d t o b e in t h e fo llo w ing fo r m a t : B i t # 7 654 3210 Co n tr o l B it C h eck B its D ata B its • Cont r ol Bi t i s u s ed to i ndi c a te the s er i al dri v er i nf or m ati on s uch as cl ear, r e s e t , o r e n d o f t r a n sm iss io n .
: DO W Nl oad: CHECk ed : SA DDre ss D I AG n o s t i c :C H E C k e d :D O WN l o a d :S AD D r e s s < addre ss >, < data > wr i t e s dat a to non-v ol a ti l e U s er R AM at a s i ng l e ad d r ess speci f i ed by addr e ss u s i ng erro r co rrecti on.
By te Format E a ch b y t e se n t w ith t h is c o m m a n d is e x p e ct e d t o b e in t h e fo llo w ing fo r m a t : B i t # 7 654 3210 Co n tr o l B it C h eck B its D ata B its • Cont r ol Bi t i s u s ed to i ndi c a te the s er i al dri v er i nf or m ati on s uch as cl ear, r e s e t , o r e n d o f t r a n sm iss io n .
:D O W N lo a d [ : M A DDress] DIA Gnos ti c: DOW Nlo ad[ : MA DDres s ] < addre ss >, < data > wr i t e s dat a int o a non-v olati l e U s er R AM seg ment starting at addr e ss . The U s er R AM s eg m ent i s al l oc ated by the DIAG : N RA M: CRE ate co m m an d.
Ex am ple L o ad in g Dy na m ic C on f igu r ation in f orm a tio n in to an allo c at e d R A M seg m e n t . DIAG: NRA M:CR E 6 A llo ca te a seg m en t o f u s er RAM D I A G :BO O T :W A R M R e-.
Ex am ple Dow nloading D ata to a Sing le A ddr e s s L oc ation T h is p r o gr a m d o w n lo a d s a n a r r a y w it h t h e d a t a 1, 2, 3, 4, 5 t o r e gis t e r 32 o n a d e v ice wit h lo gic a l a d d r e s s 40 in V X I b u s A 16 a d d r e s s s p a c e .
: DRA M :CREate D I A Gn o s t i c:DRA M: CREat e < si z e >< n um _drive rs > crea tes a non- v olati l e R AM ar ea f or l oad i ng in s trument dri v er s . D I A Gn o s t i c:DRA M : CREat e 0 re mov es the R A M seg ment w hen the s y stem i s re-booted .
: DRIVer: L OA D < d riv e r_bloc k > D I AG n o s t i c :D R I Ve r :L O AD < drive r_bl o c k > lo a d s t h e in st r u m e n t d r iv e r co n tai ned i n th e dri v er _ b l ock i n to a prev i ou s l y created D R AM seg m ent.
:D R I V e r :LI S T [ :t y p e ] ? DIA Gnos ti c: DRIV er : L IST [ : ty pe] ? l i sts al l dr i v ers f r om the s peci f i ed ta bl e f ound on th e s y s tem . If no par ameter i s s p ec i f i ed, al l d r i v er tabl es are s earch ed and the da ta f rom each dr i v er t abl e i s s e pa ra ted f rom the other s by a s emi col on.
:I N T e r r u p t :AC T i va t e DIA G nos ti c: INT er rupt: A CT i v ate < mode > enabl es an i nterrup t on th e V XI b a ck p la n e in t e r r u p t lin e sp e c ifie d b y D I A G :I N T :SE T [n ] t o b e a c kn o w le d ge d .
• O N o r 1 sp e cify t h a t in t e r r u p t h a n d lin g is t o b e s e t u p fo r t h e sp e c ifie d in t e r r u p t lin e . O F F o r 0 in d ic a t e t h a t in t e r r u p t h a n d lin g o f t h e sp e c ifie d l i ne i s to b e done b y the oper ati ng sy stem .
:I N T e r r u p t :P R I o r it y [ n ] DIA Gnos ti c: INT err upt: PR Iority [ n] [ < le ve l >] giv e s a p r io r it y le v e l t o t h e V X I in t e r r u p t lin e sp e c ifie d b y [n ] in … P R I o r it y [n ].
: I N T e rrup t: RESPonse ? DIA Gnos ti c: INT err upt: RE SPons e? R eturns the i nterrup t ack now l edg e res po n s e (S TAT U S /I D w ord) f rom th e h i g he s t pri ori ty V XI i n t e rru pt l i ne.
: NRA M :A DDRe ss ? DIA Gnos ti c: NRA M: A DDRess ? R et ur ns the s tar ti ng ad dr e s s of the non- v ol at i l e U s e r R A M s e gm e n t a llo c a t e d u sin g D I A G :N R A M :C R E a t e . Comments • D IAG : NR AM : CR E Ate d oes not al l oc ate the RA M s eg ment un ti l af ter a s ubs e que nt r e-boot.
:N R AM :C R E a t e ? D I A Gn o s t i c:NRA M : CREat e ? [ MIN | MA X] R e tur ns the curr ent or all ow abl e (M IN | M AX ) s i z e of the U ser non-v ol a ti l e R AM s eg ment. Comments • D IAG : NR AM : CR E d oes not al l ocate dr i v er R A M until a subs e q uent re -boot.
:P O K E DIA Gnos t ic: POK E < addre s s >, < w idth >, < data > w r it e s da t a (number of bi ts g i v en by wid t h ) s tarti ng at addr e ss .
: RDISk : CREa te DIA Gnos ti c: RDISk: CR E ate < si z e > All oca te s me mor y for a R A M d isc v olume . The R AM d i s c v ol ume i s d ef i ned f or us e onl y by the IBAS IC op tion.
: UPL oad[ : M A DDres s ] ? D I A G n o sti c : U P L o a d [ : M A D D r e ss] ? < addre ss >, < byt e_count > R eturns the number of by tes s p eci f i ed by by t e _ c ount , s tar ti ng at addr e ss .
: UPl oad: SA DDr es s ? D I A G n ost i c : U P L o a d : SA D D r e ss? < addre ss >, < byt e_count > R etur ns the number of by tes s p eci f i ed by by t e _ c ount , a t addr e ss .
INI T i a t e T he INITi ate com m and subs y stem control s the i ni tiati on of the t r i g g e r s y stem fo r o n e o r m o r e t r igge r c y c le s.
[ SOU Rce] Th e S y st em In s tr um en t c o ntai ns a P ac er w hi ch prod uc es TTL l ev el pul s es. The S O U R CE comm and subs y s tem c ontrols the number a nd p er iod of t hese pul s e s . The outp ut of t he Pa cer i s a v ai l able at the r e ar -panel B NC connector label ed “Pac er O ut” .
: PUL Se:PERi od S OURce: PU L Se: PER iod < peri o d > sets the per i od of the pul se(s ) to be g e ner ate d by t he P acer. Pa ram e te rs Pa rameter Name Paramet er Type Ra n ge o f Va l u e s Default Units pwe i od n u m e r ic 500E - 9 t o 8.
ST A T u s The S TATus s ubs y stem c om mands ac ces s the co ndi ti o n , ev ent, and enabl e reg i s ters in th e Op erati o n S tatus g roup and the Q ues ti onabl e D ata g r oup.
• Bi t 8 i s the onl y bi t us ed i n the condi ti on r eg i ster ( by t he S y stem Ins trument) , there f or e , i t is t he onl y bit w hi c h needs to be unmas k e d i n the ev ent reg i s ter . S p eci f y i n g the " b i t w ei g ht" f or the even t unmask s t he b i t .
Ex am ple Readi ng t he Ev ent Regis ter STAT : O PER: EVEN ? qu er y if bit( s ) is set ent er st at em en t : PRESe t ST A T us: P R E Se t s ets eac h b i t i n the enabl e r eg i s ter (stan dard operati on s tatus g r o u p ) t o ’0 ’.
SY S T em The S YS TE M com m and subs y stem f or the S y s t em Ins trument p r ov i des f or : • C o n figu r a t io n o f t h e R S- 232 in t e r fa c e • Con trol and acces s o f the S y st em In s tr um en t’ s real ti m e c l ock /c al endar ( SY ST : T I M E , SY ST : T I M E ? , SY ST :D A T E , SY ST : D A T E ? ) .
: C OM M unica te : G PI B: A DDRe ss SY S T em : COMMunica te: G PI B: A DDRes s < addre s s > s ets th e pri m ary add res s of t he Instrument’ s G PIB por t.
• Se r ia l c o m m u n i c a t io n s e t t i n gs fo r t h e A gile n t E 1324A D a t a c o m m i nter f a ce c an be s tored in i ts on- board non-v ol a ti l e E E R O M onl y af ter the DIAG : CO MM : S E R [ n ] : S TO R e co m m an d i s ex ecuted.
: C OM M unica te :SER ial[ n ] :C O N T r o l :D T R ? S Y S T e m :C O M M u n i c a t e :S E R i a l [ n ] :CO N T r o l :D T R ? ret u rns th e c urre n t s ett i ng fo r D T R lin e c o n t r o l. Ex am ple Checking th e s et ti ng of DTR contro l .
: C OM M unica te :SER ial[ n ] :C O N T r o l :R T S ? S Y S T e m :C O M M u n i c a t e :S E R i a l [ n ] :CO N T r o l :R T S ? r eturns the c ur rent s etti ng fo r R T S lin e c o n t r o l. Ex am ple Checking th e s et ti ng of RT S con tro l.
: C OM M unica te :SER ial[ n ] [ :RE C e ive ] :BI T S S Y S Tem : COMMunica te: SERial [ n] [ : R EC eive] : BITS < bits > S ets the number of bi ts to b e us ed to tr ans mi t and recei v e data.
: C OM M unica te :SER ial[ n ] [ :RE C e ive ] : PA CE [ : PR OTocol ] S Y S Tem : COMMuni cat e: S ERia l [ n] [ : REC eive] : PA CE [ : PROT ocol ] < pr ot ocol > ena bl es or dis a bl es recei v e pa ci ng (XO N/XO FF ) pr otocol .
: C OM M unica te :SER ial[ n ] [ :RE C e ive ] :P AC E :T H R e s h o l d :S T AR t S Y S Tem : COMMuni cat e: S ERia l [ n] [ : REC eive] : PA CE : THR es ho l d: S TA Rt < c h ar_co u n t > c.
: C OM M unica te :SER ial[ n ] [ :RE C e ive ] :P AC E :T H R e s h o l d :S T O P S Y S Tem : COMMuni cat e: S ERia l [ n] [ : RECeiv e] : PA CE : THR es ho l d: S T OP < c h ar_co u n t > co .
: C OM M unica te :SER ial[ n ] [ :RE C e ive ] : PA Ri t y : CHECk S Y S Tem : COMMunica te: SERial [ n] [ : R EC eive] : PA R ity : CHEC k < check_ cn t r l > co n t r o ls whe t h e r o r n o t t h e p a r it y bit in r e c e iv e d se r ia l d a t a fr a me s will be co n sid e r e d sign ific a n t .
• The f ol l ow i ng ta bl e defi nes each v al ue of type : V alu e D ef inition EV EN I f … P A R it y :C H E C K is O N , t h e r e c e iv e d p a r it y b it mu s t mai ntai n ev en par i ty . The trans mi tted par i ty b it w ill ma in t a in e v e n p a r it y .
: C OM M unica te :SER ial[ n ] [ :RE C e ive ] : PA R ity [ : TY PE] ? S Y S Tem : COMMuni cat e: S ERia l [ n] [ : REC eive] : PA Rity [ : T Y PE] ? retur ns the ty pe o f pari ty c h e c k e d a n d g en e ra t e d.
: C OM M unica te :SER ial[ n ] [ :RE C e ive ] :S BI T s ? S Y S Tem : COMMunica te: SERia l[ n ] [ : REC eiv e] : S BITs ? [ MIN | MA X] ret u rn s : • The cur re nt s top bit s e tting i f no p ar ameter i s sent. • T h e m a x imu m a llo w a b le se t t in g if M A X is s e n t .
: C OM M unica te :SER ial[ n ] :T RAN sm it : PA CE [ : PR OTocol ] S Y S Tem : COMMuni cat e: S ERia l [ n] : TR A Ns mi t: PA CE[ : PROT o col ] < pr ot ocol > ena bl es or dis a bl es the tr ansm i t p aci ng ( XO N/XO FF ) pr ot ocol .
• Re lated Comm ands : SY ST : T I M E , SY ST : T I M E ? , SY ST : D A T E ? • *R ST C onditi on: *R S T does n ot c hang e the s etti ng of the cal endar .
:T I M E SY ST e m : T I M E < hour >, < m i nut e >, < sec ond > s e t s t h e E 1300/ E 1301 mai nf rame’ s i nternal cl ock . Pa ram e te rs Pa rameter Name Paramet er Type Ra n.
TRI G g e r The TR IG g er comm and subs y s tem c ontrols the behav ior of the tr i g g er sy s tem o n c e it is in it ia t e d ( se e I N I T ia t e c o m m a n d su b sy st e m ) .
[: I MMe d i a t e ] T R IGg er: IMMedi a te w ill ca u se a t r igge r c y cle t o o c cu r im m e d ia t e ly , p r o v id e d that the tri g g er s y stem has been i ni ti ated (INITi ate). Comments • R elated Com m ands : A B O R t, INITi at e • *R ST C onditi on: T hi s comm and is an e v ent a nd ha s no * R S T cond i ti on.
Comments • The f ol l o w i ng tabl e ex p l ai ns the pos si bl e cho i ces . Para meter V a l ue S o urce o f T rigger BU S G r oup E x ecute Tr i g g er ( G E T ) bus c om m and, *TR G comm on c om m and, or TR IG g er comma n d . E X Ternal “E v ent In” s i g nal at rear p anel BN C connector, or TR IG g er comm and.
VXI The VXI command subs y stem pr ov i des f or: • Dete rm i ni n g th e n um b e r, ty pe , and l og i c al addre s s of th e de v i c e s ( in s t r u m e n t s ) i n s t a lle d in t h e E 1300/ E 1301 m a in fr a m e . • D ir e c t a cc e ss t o V X I b u s A 16 r e giste r s w ith in d e v ic e s in st a lle d in t h e Mai nf r ame.
:C O N F i g u r e :D LI S t ? VX I : C O N F : D L I S ? [ < l o g i c al _addr >] r etur ns i nf ormati on about the d ev i c e sp e c ifie d b y lo g ica l_ad d r .
Pa ram e te rs Pa rameter Name Paramet er Type Ra n ge o f Va l u e s Default Units lo g ical_ad d r n u m e r ic 0- 255 ( o r n o t h i n g) none Comments • Whe n lo g ica l_ad d r is n o t s p e c ifie d , V X I :C O N F :D L I S? r e t u r n s i nf or mati on f or each of the de v i c es i ns tal l e d, s e pa r ated by semi col ons.
:C O N F i g u r e :H I E R a r c h y ? V XI: CONF: HIER ? R etur ns c urr ent hierar chy conf i g ur ati on i nf ormati on about the s el ec ted l og i cal add ress .
• Car d s w hi c h are p ar t of a c om bi ned i ns t rument suc h as a s w i t chbox or s c a n n i ng v ol tm e t e r a l w ay s re t u rn th e s am e m an u f ac t u re r’ s c om m e n t s as th e f i rs t c ard i n t h e i ns tru m en t .
reg i s ters ) w hi c h ar e pr es en t o n the dev i ce. -1 in di cates that the dev i c e has no A 1 6 me mo r y . • A 24 memo ry offs et : a n in t e ge r b e t w e e n - 1 a n d 16777215 i n c l u s iv e . Indi cates th e bas e add r es s f or any A2 4 reg i s ters w hi ch are pr es en t o n the dev i c e.
:C O N F i g u r e : I NFor mat i on : A L L ? V X I: C ONF: INF: A L L ? R et urns the s tati c i nf ormati on about al l l og i c al add ress es . The i nf or mati on i s returned i n th e o rder s peci f i ed i n the respons e to VXI: CONF : LAD D ?.
• Re lated Comm ands : VX I: W R ITE , V XI: R E G : R E AD ? Ex am ple Read from o ne of a d ev ice’ s co nfigura ti on regis t ers VXI :READ? 8, 0 r ea d I D r eg ister o n d evice a t L og i ca.
:REGiste r :WRI T e V XI: R EG : W R IT e ? < r eg ister > ,< d ata > w ri tes to the s p eci f i ed 1 6 b i t reg i s ter at the s el ec ted l og i cal add ress ( s ee V XI: S E Lect). Th e data i s a 1 6 bi t v al u e sp e c ifie d a s a n u m e r i c v a l u e in t h e r a n ge o f - 32768 t o 32767 o r 0 t o 65535.
: SEL e ct V XI: SEL ect < lo g ical _addr > sp e c ifie s t h e lo gic a l a d d r e ss w hic h is t o b e u se d b y many s ubs eq uent com m ands i n the VX I s ubs y stem.
:W R I T e V XI: W RIT e < lo g ic al_addr >, < re g i s te r_addr >, < data > al l ow s ac c es s to th e enti r e 6 4 b y te A 1 6 reg i s ter ad d res s s pace f or the dev i ce s peci f i ed by lo g ical_ad d r .
1 C o mmon C o mma n d Re fe re nc e T h i s s e c t i o n de s c ri b e s t h e I EEE- 488.2 C o m m o n C o m m a n d s t h a t c a n b e u se d t o p r o g r am instr ume n ts in th e ma i nf ra me . Comma n d s ar e li st ed by co mman d g r oups i n the s umm ary tabl e bel o w , and al p habeti cal l y in th e res t of thi s s ec ti on .
*C L S Cl ear S tatus Comm and . Th e * CLS com m an d c l ears al l statu s r eg i s ters (S tand ard E v ent S tatus R eg i s ter , S tand ard O per ati on E v ent S tatus Reg i s ter, Q ues ti on ab l e D ata E v ent R eg i s ter ) and the er ror queue f or an i ns trument.
* ESE? S tandar d E v ent S tatus E nabl e Q uer y . R e turns the w ei g hted s um of al l en abl ed (unmas k ed) bi ts i n the S tandar d E v ent S tatus R eg i s ter .
*I D N ? Identi ty . Retur ns the d ev i ce i d enti ty . Th e res pons e con s i s ts o f the f ol l o w i ng f o ur f i el ds (f i el ds are s eparated by c o m m as ) : • Manufac tur er • Model.
NOTE The S y s tem Ins trum en t n o l ong er i m pl ements the *LRN? co m m and. A t t e m p t in g t o h a v e t h e Sy st e m I n s t r u m e n t e x e cu t e t h is c o m ma n d will g e n e r a t e a n e r r o r - 113 “ U n d e fin e d h e a d e r ” .
*R C L < sta t e num b er > R ecal l s tored s tate. R ecal l s a s to red s tate f rom m emory and con f ig ur es th e i ns trum en t to th at s tate.
*S R E ? S tatus R e g i s ter E nabl e Q uer y . R eturns th e w ei g h ted s um of al l enab l ed (unmas k ed) ev ents (thos e enabl ed to as s er t S R Q ) i n the S tatus B y te R eg i s ter.
1 GP I B M e ssa ge Re fe re nc e T h i s s e c t i o n de s c ri b e s I EEE- 488.1 d e fin e d m e s sa ge s a n d t h e i r a ffe c t o n i ns trum en ts i ns tal l ed i n th e m ai nf r am e. The ex am pl es s how n are s pec i f i c al l y f o r H P 9000 Se r ie s 200/ 300 c o m p u t e r s u s in g B A SI C la n gu a ge .
Dev i ce Cl ear ( DCL ) or S el ec t ed D ev i ce Clea r (S D C ) D CL c l ears al l i n s tr um en ts i n th e m ai nf r am e. S D C cl ears a s peci f i c i ns trum en t. The p ur p os e of D CL or S DC is to p r ep ar e one or mor e i ns t ruments to re cei v e and ex ecu te c om mands (us ual l y * RS T) .
Re m ote S ets th e GPIB rem o te enab l e l in e (R E N) tr ue w hi c h pl aces an i n s trument i n the remote s tate. Comments • T h e R E M O T E 709ss ( ss = se c o n d a r y a d d r e ss) co m m a n d p la c e s t h e i ns trum en t i n the remo te s tate.
1 C o mma n d Q u ick Re fe re nc e T h e f o l l o w i n g t a b l e s s u m m a r i z e S C P I a n d I EEE 488.2 C o m m o n ( * ) c o m m a n d s fo r t h e A gile n t E 1300/ E 1031 M a i n fr a m e Sy s t e m I n s t r u m e n t . S CPI C ommands Qui ck R eference Com mand Des cripti on AB ORt [ IMMedi ate] Abor t Pac er output.
S CPI C ommands Qui ck R eference Com mand Des cripti on :N R A M : AD D Ress ? Returns s tarting address of the U ser non- v ola ti le RAM. : CRE ate < s i ze > | MI N| MAX Cr eates a User non- v o l ati le RAM seg ment. : CRE ate? [ MI N | MA X] Retur ns the c urr ent or al l ow abl e s iz e of U s er NVRAM.
S CPI C ommands Qui ck R eference Com mand Des cripti on SY ST e m : B EEPe r [ : IMMedi ate] S ound beeper (fi x ed dur ati on and tone). : C O MMuni c ate :G P I B : AD D Ress S ets the pri mary address of the c ommuni c ati ons port. : AD D Ress ? Retur ns GPIB address or mi n| max all ow ed v al ue.
S CPI C ommands Qui ck R eference Com mand Des cripti on TRIGg er : D E Lay < numeri c v al ue> S ets del ay bet w een t rig g er and f i r s t Pac er puls e. : D E LA y ? [ MIN| MA X] R eturns c ur rent tr i g g er del ay or MIN| MA X al l ow abl e v al ue.
IEEE 488. 2 Comma n Co mma nds Qu ick Reference Ca t eg o ry Co mm a n d Tit l e General *I D N? Identi f ic ati on Quer y *RS T Reset Command *T ST? Self Te st Q u er y Ins t rume nt Sta tus *C LS Cl.
7– 80 C ommand Qu ick R efer ence.
A ppe ndi x A S p ec if ic atio ns Ma i n f r a m e Sp ecificati ons Pace r ( 5 0% duty cycle) : P r o gr a m m a b le in t e r v a ls : 500 n se c t o 8.389 s e c w it h 500 n se c r e so lu t io n . A ccur acy : F ir st p u l se a ft e r t r igge r : 0.
Size: i nch es mm H ei g ht w i thout f ee t 6 . 9 7 1 7 7 H e igh t wit h fe e t 7.44 189 W id t h 16.75 426 D e p t h 20.1 510 D e p t h w it h t e r m i n a l b lo c k s 22.38 569 We ig ht: E1300B E1301B N e t 7.4 k g 7.8 k g Max per m odu l es 1 .
SC PI C onfor mance I n fo rm a ti on T h e A g il e n t E 1300 / 1301 B c on f o r m s t o S C P I - 1990 . 0 I n d o c u m e n t a t i o n p r o d u c e d p r i o r t o J u n e 1990, t h e s e SC P I c o m m a n d s a r e la b e le d a s T M SL c o m m a n d s.
M u lt im e t e r C o m m a nd s T h e fo ll o win g t a b le s a p p l y t o t h e A gile n t E 1326A a n d E 1326B . Table A -3. M ult imet er SCPI-1990.
Table A-5. M ultimeter Non-SC PI C ommands CA Libr at i on : LFRequenc y : LFRequenc y ? :ST R a in CO N Fig u re :ST R a in : QUAR t e r :H B E N d in g :H P O isso n :F B E N d in g : FPOis s on :F .
C o unt e r C o m m a nds T h e fo l lo w in g t a b l e s a p p ly t o t h e A gi le n t E 1332A 4 C h a n e l C ounter /Tota l i z er a n d t h e A gile n t E 1333A 3 C h a n n e l U n iv e r sa l C ounte r. Table A -6. Ag ilen t E 1332A SCPI- 1990.
Table A -8. Ag ilen t E 1333A SCPI- 1990.0 C onfir med C ommands AB ORt FE TCh? CO N Fig u re :F R E Q u e n cy :P E R io d :P W I D t h :N W ID t h CO N Fig u re ? FO RMat [:D A T A ] INITiate [ : IM.
D/ A Co nv e r ter C ommands T h e fo l lo win g t a b le s a p p ly t o t h e A gi le n t E 1328A 4 C h a n n e l D / A C o n v e r t e r . Table A -10.
D i g i ta l I/O Co mm an d s T h e fo llo win g t a b le s a p p ly t o t h e A gi le n t E 1330A Q u a d 8- b it D i git a l I / O Modul e. Table A -12.
Syste m I ns trum e nt C ommands Tab le A -14. Sy s tem Ins tr ument S C PI- 1990. 0 C onfir med Commands AB ORt INITiate [ : IMM edi ate] [ S OURc e ] :P U L Se : C OUN t : C OUN t? :P E R io d :P E .
Table A-17. Syst em I nstr ument Non- SC PI C om m a nds D IAG nosti c :A U T st a r t :A U T o s t a r t ? :C H E C ks u m : C O MMuni c ate :SE R ia l [:O W N e r ] [:O W N e r ]? : B OOT :C O L D [.
A - 12 Specifi cati ons.
A ppe ndi x B Erro r M e s s a ge s Usi n g T hi s A ppendi x T h is a p p e n d ix sh o ws ho w to r e a d a n in st r u m e n t ’ s e r r o r q u e u e , d iscu sse s t h e ty pes o f co m mand l .
1 Error Type s Neg ati v e er r or number s are l ang uag e- related a nd categ ori z ed as s how n bel ow . Pos i ti v e er ror num bers are i ns trum en t s p ec i f i c and f or the S y s tem Ins trum ent are s um m ari z ed i n T a b l e B - 2 .
Error Mes s ages an d Caus es Co de M e s s a ge Cau s e -101 Inv al i d character U nrec og niz ed c harac t er in s pec i fi ed paramet er. - 1 0 2 S y nt ax err or Command i s mis si ng a s pac e or c omma betw een pa ram et ers - 1 0 3 Inv ali d se parator Command parameter i s s epar ated by som e c har ac ter other than a c omma.
Error Mes s ages an d Caus es Co de M e s s a ge Cau s e 2110 C o n fig e r r o r 10, I n s u f fi cie n t sy st e m m e m o r y Too many i nstruments i nstal l ed for the amount o f R A M in st a lle d in t h e m a in fr a m e . C a n n o t con figur e in st r u m e n t s.
1 Star t -up Err o r M e ssa g e s S tart-up err ors are m os t of ten g enerated j us t af ter the mai nf rame i s pow ered -u p or r e - booted ( D IAG : B O O T comm and) .
B- 6 E rro r M e ssa g e s.
A ppe ndi x C C onne c ting and C o nf ig u r ing a Dis p lay T er m ina l Usi n g t hi s A ppen di x Thi s a pp end ix show s y ou how to conf ig ure the mai nf r ame and a suppor t ed termi nal to operate w i th th e Di s pl ay Ter mi nal Interf ac e.
Figu r e C–1 Connect in g a Ter min al to th e M ainfr ame C - 2 C onne c ting and C onfiguring a Display Terminal Agilent E1300B/E1301B Mainframe Agilent Agilent Agilent Agilent E1300B/E1301B.
1 C o nfig urin g a Te rmin a l f or the Mai n f r a m e We’ l l f i rs t s et the ter m i nal ’ s seri al c om muni cati on parameters to m atch the mai nf rame’ s def aul t setti ng s . If the mai nf r am e i s n ew and i ts f actory def au l t v a lu e s a r e s t ill se t , t h e t e r m in a l w ill be r e a d y to u se .
Try i n g it Tur n on th e m ai nf r am e w hi l e w atch i ng the termi nal ’ s di spl ay . Af ter the mai nf rame f i ni s hes i t s s elf -tes t, t he ter mi nal shoul d d i s p l ay " S el e ct an i ns t r ument" . If not, the mai nf rame’ s c om m uni cation par ameter s are not s et to the d ef aul t v al ues .
E a ch S ET Menu w ill ha v e two or m ore choice s E nter Card Num b er p ress Return (0 fo r b ui lt -in, 1-7 for a p l ug -in ) T he s e tting is now in v ola tile R A M stor e a g e. See th e “ Ho w t o St o re Int erf ac e Sett i n g s” Menu C ha rt for non- vola tile s tora ge w hich m ainta ins se ttings thr ough power cy c l e s.
How t o S t ore the S eri a l In terfa ce Configura t i on E nter Card Num b er p ress Return . Card N um b er 0 f or built - in s tor e s s e tting s into non_ v ola t ile R A M.
A ppe ndi x D S en din g B in a r y D at a Ov e r R S -232 A bo ut t his A pp endix Thi s ap p end i x desc ri bes the pr oced ur e f or sendi ng p ure bi nary d a ta ov er a n R S- 232 in t e r fa c e .
1 Se nd in g Bi na ry Dat a Ov er RS - 232 T h e R S-232 in t e r fa c e d iffe r s fr o m t h e G P I B in t e r fa c e i n t h a t t h e r e is n o d e v ice ad d re s s ing bui l t into the i nterf ac e de f ini tion. D e v i c e add r ess i ng m us t be d one on t o p o f t h e R S- 232 fu n c t io n s.
3 . S end " S I S YS TE M" and a c arri ag e return to g et the attenti on of the Sy st e m I n st r u m e n t . 4 . S end < CTR L-C> to c l ear the s y stem . 5 . S end " * RS T" and a carri ag e r eturn to put the S y s tem In s tr um en t i n a know n s tate.
D-4 Sending Binary Data Over RS-232.
In dex ! 3 - C h a n n e l U n ive r s a l C o u n t e r Menu (f ront panel ), 2 - 26 - 2- 27 M e nu ( t e r m ina l i n t e r face) , 3- 38 - 3- 39 4 - C h a n n e l C o u n t e r / T o t a lize r Me.
*S AV , 7-70 *S R E , 7-70 *S R E ? , 7-71 *S T B? , 7-71 *T R G , 7-71 *T ST ?, 7-71 *W AI , 7-71 Common Comma nds func ti onal g roupi ng s , 7 - 65 COMMu ni c at e: G P IB :AD D R e ss , 7- 36 :AD .
D I AG :P E E K? , 7-24 DI A G: POK E, 7 - 2 5 DI A G: R DI S : A DD? , 7 - 2 5 DI A G: R DI S : C RE, 7 - 2 6 DI A G: R DI S : C RE?, 7 - 2 6 DI A G: UPL : S A DD? , 7 - 2 8 DI A G: UPL [ : MA DD] ? .
F Fi l e s : VX IDL D. C F G, 5 - 4 For ma t Common Comm and, 7 - 1 S CPI Co mma n d, 7 - 1 Fr ont panel f eatures , 2- 1 menu tutori al , 2 - 2 m e nu s, 2- 2 G G E T (g ro up ex ec u te tri g g er),.
tutori al , 2 - 2 Menu ( termi nal i nt erf ac e) 3-Cha n n e l U n i v er sal Cou n t e r , 3-38 - 3- 39 4-Cha n n e l Cou n t e r /T o t a l i ze r , 3- 36 - 3- 37 Q uad 8 - Bi t D i g i tal Input/ .
S S A, termi nal i nterf ac e c o mma n d, 3 - 2 1 S c an c hannel s (f ront panel ), 2 - 5 S w i tc hbox , te rmi nal i nterf ac e, 3 -8 S c anni ng Vol t meter Menu (f ront panel ), 2 -1 8 - 2 - 19 .
SY ST : C O M M : SE R [ n ] :R E C :P A C E : T H R : ST O P , 7 - 4 3 SY ST : C O M M : SE R [ n ] :R E C :P A C E : T H R : ST O P ? , 7 - 43 SY ST :C O M M :SE R [n ]:R E C :P A R :C H E C , 7 -44.
Inde x -8.
デバイスAgilent Technologies E1301Bの購入後に(又は購入する前であっても)重要なポイントは、説明書をよく読むことです。その単純な理由はいくつかあります:
Agilent Technologies E1301Bをまだ購入していないなら、この製品の基本情報を理解する良い機会です。まずは上にある説明書の最初のページをご覧ください。そこにはAgilent Technologies E1301Bの技術情報の概要が記載されているはずです。デバイスがあなたのニーズを満たすかどうかは、ここで確認しましょう。Agilent Technologies E1301Bの取扱説明書の次のページをよく読むことにより、製品の全機能やその取り扱いに関する情報を知ることができます。Agilent Technologies E1301Bで得られた情報は、きっとあなたの購入の決断を手助けしてくれることでしょう。
Agilent Technologies E1301Bを既にお持ちだが、まだ読んでいない場合は、上記の理由によりそれを行うべきです。そうすることにより機能を適切に使用しているか、又はAgilent Technologies E1301Bの不適切な取り扱いによりその寿命を短くする危険を犯していないかどうかを知ることができます。
ですが、ユーザガイドが果たす重要な役割の一つは、Agilent Technologies E1301Bに関する問題の解決を支援することです。そこにはほとんどの場合、トラブルシューティング、すなわちAgilent Technologies E1301Bデバイスで最もよく起こりうる故障・不良とそれらの対処法についてのアドバイスを見つけることができるはずです。たとえ問題を解決できなかった場合でも、説明書にはカスタマー・サービスセンター又は最寄りのサービスセンターへの問い合わせ先等、次の対処法についての指示があるはずです。