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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: StreamDevice reading waveforms |
From: | Davide Marcato <[email protected]> |
To: | [email protected] |
Date: | Fri, 10 Apr 2015 09:34:58 +0200 |
I had a similar problem, I think that you can't parse two
integers on the same line (the 'in' field of the protocol file),
but I'm not sure, maybe someone more expert can explain..
I solved parsing the whole line as a string and then I
converted it into two integers. Maybe you already know, but pay
attention not to parse the separator "\n" as part of that string
because because otherwise the waveform is not able to recognize it
as the separator.
On 09/04/2015 23:01, Anthony Pietryla
wrote:
I have a device which uses SCPI protocol and returns sets of waveforms in columns where I can request how many rows to return. For instance I can query the device for 3 values of position data and it will return 2 columns (X & Y) and 3 rows. I want to read the columns into separate waveform records. I am having problems with the protocol file for which I need help. -- Davide Marcato INFN - Laboratori Nazionali di Legnaro Viale dell'Universita', 2 35020 LEGNARO (PD) - ITALY Phone: +39 0498068454 |