Interesting.
1) I think that caget does not require the '-d LONG' since specifying -0x (or b or o) sets type = DBR_LONG; anyway.
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.
>
--
Eric Norum
[email protected]
- Replies:
- Re: camonitor and caget - displaying unsigned longs in hexadecimal Ernest L. Williams Jr.
- References:
- camonitor and caget - displaying unsigned longs in hexadecimal Allison, Stephanie
- Re: camonitor and caget - displaying unsigned longs in hexadecimal Andrew Johnson
- RE: camonitor and caget - displaying unsigned longs in hexadecimal Allison, Stephanie
- Navigate by Date:
- Prev:
RE: camonitor and caget - displaying unsigned longs in hexadecimal Allison, Stephanie
- Next:
asyn R4.10, R4.11, R4.12 Szalata, Zenon M.
- 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:
RE: camonitor and caget - displaying unsigned longs in hexadecimal Allison, Stephanie
- Next:
Re: camonitor and caget - displaying unsigned longs in hexadecimal Ernest L. Williams Jr.
- 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
|