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 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
<== Date ==> <== Thread ==>

Subject: Re: STB and Serial Trigger for async devGpib vxi11 device support
From: Eric Norum <eric@norum.ca>
To: "Niedermayer, Philipp" <p.niedermayer@fz-juelich.de>
Cc: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
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 <p.niedermayer@fz-juelich.de> 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  <2017
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  <2017
ANJ, 07 Mar 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·