Output Queue; Error Queue; Description Of Error Numbers - JGR MBR5 User Manual

Multi-output backreflection meter
Table of Contents

Advertisement

and   cannot   be   signaled   when   the   input   queue   becomes   full.   Therefore,  
characters   s ent   t o   t he   M BR5   M eter   a re   l ost.  
If   a   new   program   message   is   received   before   the   response   to   a   query   in   a  
previous  message  is  read,  the  output  queue  is  cleared,  MAV  is  set  to  false,  and  
the   q uery   e rror   b it   i s   s et.   T his   e rror   i s   a lso   r eferred   t o   a s   a n   u nterminated   e rror.  
Output   Q ueue  
Responses   t o   q uery   m essages   a re   p laced   i n   t he   o utput   q ueue.   T his   q ueue   i s   1 28  
characters  in  length.  When  a  response  is  placed  in  the  output  queue,  the  MAV  
bit   i n   t he   s tatus   r egister   i s   s et.   T he   M AV   b it   i s   c leared   w hen   t he   r esponse   i s   s ent.  
Response   messages   are   always   terminated   with   the   sequence   <LF>   and,   if   the  
response  is  being  sent  through  the  GPIB,  the  EOI  signal  is  set  to  true  when  the  
last   c haracter   i n   a   r esponse   i s   s ent.  
If   an   attempt   is   made   to   read   the   output   queue   when   it   is   empty   and   the  
current   p rogram   m essage   d oes   n ot   c ontain   a   q uery,   a   q uery   e rror   b it   i s   s et.  
Error   Q ueue  
The   error   queue   is   where   errors   are   placed   and   it   can   contain   up   to   10   error  
messages.  Because  it  is  a  FIFO  queue,  the  error  returned  when  the  error  queue  
is   r ead   i s   a lways   t he   f irst   e rror   t hat   o ccurred.    
If  more  than  10  errors  are  put  in  the  error  queue,  an  overflow  error  occurs  and  
the   last   error   in   the   queue   is   overwritten   with   error   number   -­‐350   (Queue  
Overflow).   E ach   e rror   i n   t he   q ueue   c onsists   o f   a n   e rror   n umber   a nd   a   b rief   e rror  
message.  

Description of Error Numbers

 
0  
No   e rror  
No   e rror   h as   o ccurred.  
 
-­‐100  
Command   e rror  
A   c ommand   e rror   w as   d etected,   b ut   t he   p arser   c annot   b e   m ore   s pecific.  
 
-­‐130  
Suffix   e rror  
An   error   was   detected   in   the   suffix   sent   with   the   command,   but   the   parser  
cannot   b e   m ore   s pecific.  
 
MBR5   R ev   0 07  
 
MBR5 User Manual
                                                  4 9    
 

Advertisement

Table of Contents
loading

Table of Contents