EPICS Controls 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  <20172018  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  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: STB and Serial Trigger for async devGpib vxi11 device support
From: Eric Norum <[email protected]>
To: "Niedermayer, Philipp" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Tue, 7 Mar 2017 11:32:24 -0800
The StreamDevice/ASYN ‘streamSCPI’ example provides a record which holds the value of the status byte (SCPI *STB? reply).  You could use this in conjunction with a sequence record or a state notation program to trigger other records to process and read the values of interest.

On Mar 2, 2017, at 5:51 AM, Niedermayer, Philipp <[email protected]> wrote:

I am implementing an EPICS IOC to control a device connected via GPIB to an Keysight E5810 LAN/GPIB Gateway. Therefore I am using devGPIB of the asyn module and connect to the gateway over LAN via the VXI11 Protocol.
 
I am able to send simple commands to the device. However, for a measurement routine a more complex protocol is required by the device. This includes not only sending and receiving binary data but also reading out the status byte (VXI: “Word Serial Read STB”) and sending a trigger (VXI: “Word Serial Trigger”). 
 
Therefore I have chosen a GPIBCVTIO command with a custom convert function that takes care of all I/O that the protocol requires. However I cannot figure out how to read the STB and trigger the device.
Below is a draft of the custom I/O function with the missing parts.
 
How can I get the STB and do Serial Triggering?



References:
STB and Serial Trigger for async devGpib vxi11 device support Niedermayer, Philipp

Navigate by Date:
Prev: cs-studio to EDM conversion tool? Luchini, Kristi L.
Next: stream device user variables Al Honey
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: STB and Serial Trigger for async devGpib vxi11 device support Mark Rivers
Next: Using asynMask without direct hardware access Luca Cavalli
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·