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: | Re: need help |
From: | Eric Norum <[email protected]> |
To: | [email protected] |
Cc: | TECHTALK Tech-Talk <[email protected]> |
Date: | Fri, 2 Jun 2006 08:28:19 -0500 |
Hi!
I am trying to communicate with Keithley 6485 pA to read the current.After sending the command it provides current value and some other value separated by comma.but i am only interested to store the current.
The response is like this:
-1.047791E-13A,+4.055828E+03,+0.000000E+00\r
How it can be done?
will i have to use any convert function?
i am attaching the code here
static struct gpibCmd gpibCmds[] = {
/* Param 0 */
{&DSET_AI,GPIBREAD,IB_Q_LOW,"CONF:CURR""\r""READ?""\r", 0,0,20,0,0,0,NULL,NULL,"\r"}
};
Thanks
tanushyam
-- Eric Norum <[email protected]> Advanced Photon Source Argonne National Laboratory (630) 252-4793