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: camonitor and caget - displaying unsigned longs in hexadecimal |
From: | "Ernest L. Williams Jr." <[email protected]> |
To: | Eric Norum <[email protected]> |
Cc: | TECHTALK Tech-Talk <[email protected]> |
Date: | Mon, 07 Dec 2009 07:53:26 -0800 |
Eric Norum wrote:
Interesting. 1) I think that caget does not require the '-d LONG' since specifying -0x (or b or o) sets type = DBR_LONG; anyway.
For now, that is the only way that I can get it to work. I have to specify "-d" option
2) The getopt format string in camonitor does have "d:" in it, but there's no corresponding "case 'd':'"statement in the following switch statement. An oversight, perhaps? Could the option-handling code from caget.c be copied to camonitor.c? On Dec 4, 2009, at 4:15 PM, Allison, Stephanie wrote:Hi Andrew, Thanks for the detailed explanation. Unfortunately, camonitor doesn't support the -d option (and I'd really like to see hex from camonitor). This should be something possible with some code modification, I think.