Experimental Physics and Industrial Control System
Subject: |
Question on supporting GPIB waveform acquisition from a variety of scopes |
From: |
"Chestnut, Ronald P." <[email protected]> |
To: |
<[email protected]> |
Date: |
Wed, 21 Jun 2006 09:49:31 -0700 |
We are moving our legacy VMS-based GPIB control and acquistion to EPICS. SLAC uses a number of different scopes from different vendors. The more modern scopes, like the Tektronix TDS3000 support GPIB commands which return a "preamble" with the waveform data. This preamble contains, among other things, scaling information needed for proper display. Other, older scopes, require that each tidbit of information be requested individually.
The TDS3000 "WAVFrm?" command returns:
Write returned 0 and wrote 7 bytes
Read returned 0 and stopped for 1 read 1024 bytes
Buffer: 2;16;BIN;RI;MSB;10000;"Ch2, AC coupling, 5.0E-2 V/div, 4.0E-7 s/div, 10000 points, Sample mode";Y;4.0E-10;0;-2.08E-6;"s";7.8125E-6; 0.0E0;1.5744E4;"V";#520000
Has someone addressed the problem of a generic method to receive these interesting strings and parse the information out?
I can see a few ways to do each device with GENSUB or driver code or even (my favorite hammer) some SEQ program, but am hoping someone has a clever solution already.
Ron Chestnut
- Replies:
- Re: Question on supporting GPIB waveform acquisition from a variety of scopes Luedeke Andreas
- RE: Question on supporting GPIB waveform acquisition from a variety of scopes Allison, Stephanie
- Navigate by Date:
- Prev:
RE: CA troubles Jeff Hill
- Next:
[Fwd: Re: Question on supporting GPIB waveform acquisition from a variety of scopes] Ned Arnold
- 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
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
VDCT survey results Shepherd, EL (Emma)
- Next:
Re: Question on supporting GPIB waveform acquisition from a variety of scopes Luedeke Andreas
- 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
2018
2019
2020
2021
2022
2023
2024