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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | How to handle various response format from device in streamdevice protocol? |
From: | Chiang, Liang-Chih [江良志] via Tech-talk <[email protected]> |
To: | "[email protected]" <[email protected]> |
Date: | Mon, 16 Sep 2019 07:02:28 +0000 |
Hi, I'm developing record support files and streamdevice protocol file for vacuum guage controller Inficon VGC502. This controller can connect to two gauges(channels).
I don't know what are the good streamdevice protocols to process the following response format. Would you please provide suggestions?
1. the command "TID" returns guage identifications: response example 1: noSENSOR,noSENSOR response example 2: MAG,MAG
The response above has two parts, corresponding to two gauges. The length of each part is not fixed.
2. the command "RES" returns a list of all present error codes. The list is of variable length. response example 1: 0 response example 2: 2,3,4
0 –> No error
3. the command "SPS returns the switching function status. 0 means Off, 1 means On. response example 1: 0,0,0,0
VGC502 has 4 switching functions, so the response has 4 zeros/ones.
VGC503 has 6 switching functions, however, what protocol could I use to support both VGC502 and VGC503?
PS the user manual(including command sets) download link: https://products.inficon.com/en-us/nav-products/product/detail/vgc50x/ Best regards.
LiangChih Chiang email: [email protected] Beamline Group National Synchrotron Radiation Research Center (NSRRC) |