How quickly are you triggering it? If it is 10Hz or less you may be able to just have a periodically processed record to read the value. That forward links to the record that clears the buffer. You don't do this in the protocol file, but rather in the database.
With StreamDevice you can also set the record that reads the value to SCAN=I/O Intr. Then it will poll for a new reading and whenever it gets one it will process your records.
If the triggering is very fast then you may need read a block of values into a waveform record.
Mark
________________________________
From: [email protected] [[email protected]] on behalf of Alireza Panna [[email protected]]
Sent: Thursday, September 11, 2014 7:20 PM
To: [email protected]
Subject: stream device with Keithley 2410
Hello all,
I am trying to perform source (I or V) sweeps and measure the sense values. The sweep needs to run an infinite amount of times (for the keithley source max is around 1e38 times ). This I can do by setting the trigger arm count. However I need to perform measurements during the sweep which I am having trouble with. Also I need to clear the buffer during this sweep cycle.
So my question is this. Is there something similar to goto or an if/else that i can use in the protocol file to achieve this i.e read measurement-> clear buffer-> repeat, after the sweep has started.
Any help would be greatly appreciated.
Thank you
Regards,
Ali
------------------------------------------------------
Alireza Panna
University of Maryland, College Park
- References:
- stream device with Keithley 2410 Alireza Panna
- Navigate by Date:
- Prev:
build labca 岳敏
- Next:
Re: build labca Andrew Johnson
- 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:
stream device with Keithley 2410 Alireza Panna
- Next:
build labca 岳敏
- 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
|