Experimental Physics and Industrial Control System
John,
Yes, you are correct. Your GPIBCVTIO routine executes in the port thread for that asyn port, and it blocks all other I/O for that port. You are guaranteed that all I/O you do is "atomic" and no other I/O can interfere, as long as all other I/O to that device is also using asyn.
Mark
________________________________
From: John Dobbins [mailto:[email protected]]
Sent: Fri 1/20/2006 6:26 PM
To: [email protected]
Subject: ASYN Question
Dear All,
I have a serial device for which I am trying to implement Device Support
using ASYN. This is an EOS-901 from Eye on Science, a VAC ION Pump
controller.
There is one parameter, the Soft_Current_Trip_Level that requires the
following procedure:
1) Send: "UHV99S" (constant string)
2) Read: "Enter Alarm Limit\r"
(the unit will now wait until a new value is sent as follows)
3) Send: "0.000001\r" (value dependent string)
4) Read: "new limit=1.00e-06\r"
I can write a GPIBCVTIO routine that will accomplish all four
steps. Am I correct in assuming that no other gpibCmd for this device will
process while my gpibCmd with the GPIBCVTIO routine is executing? i.e. the four
steps cannot be interrupted by a request from some other periodically scanned
record associated with this device?
Thanks,
John Dobbins
Laboratory for Elementary Particle Physics
Cornell University
Ithaca, NY
- Navigate by Date:
- Prev:
ASYN Question John Dobbins
- Next:
Re: Timestamp record? UPTIME Miroslaw Dach
- 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:
ASYN Question John Dobbins
- Next:
Agilent 34401A DVM support? Eric Norum
- 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