Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020 
<== Date ==> <== Thread ==>

Subject: Parse IEEE 488.2-1992 Block format with StreamDevice?
From: Christoph Schroeder <christoph.schroeder@helmholtz-berlin.de>
To: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Tue, 17 Jul 2018 18:26:01 +0200
Hi all,

I have a device which uses common SCPI commands. The measurement data
uses the "DEFINITE LENGTH ARBITRARY BLOCK RESPONSE DATA" format
described in IEEE 488.2-1992 (section 8.7.9). This format contains a
header followed by an arbitrary number of bytes. The number of bytes is
part of the header.
Is StreamDevice able to handle this format or rather is StreamDevice in
general able to dynamically parse input data resp. react on the content
of the header for further parsing as necessary  in this example?

Best regards,
Christoph


--
(bb|[^b]{2})


________________________________

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Dr. Karl Eugen Huthmacher, stv. Vorsitzende Dr. Jutta Koch-Unterseher
Geschäftsführung: Prof. Dr. Bernd Rech (kommissarisch), Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin

https://www.helmholtz-berlin.de

Navigate by Date:
Prev: Re: Question about store array in MySQL by using RDB Channel Archive Kasemir, Kay
Next: Re: caget randomly returns Channel connect timed out Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020 
Navigate by Thread:
Prev: 答复: Question about store array in MySQL by using RDB Channel Archive lzf neu
Next: Re: Parse IEEE 488.2-1992 Block format with StreamDevice? Christoph Schroeder
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020 
ANJ, 31 Jul 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·