I am working on a NodeRed interface using rigctld which sort of works. I am working on an IC-9700 to just read a reliable frequency.
Software development is a bit new to me, at least at this level.
The problem I am having is sorting out some error codes and while the question has been asked numerous times, (I spent about 30 minutes on this), everyone keeps saying look to reference rig.h.
I searched through rig.h but it isn't so clear, at least to me.
What would I need to do next to chase down a -5 and a -6?
Thanks in advance, Mike va3mw
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
-5 and -6 would indicate problems talking to the rig.
You need to enable debug in rigctld with "-vvvvv -Z" to see what's going on.
enum rig_errcode_e { RIG_OK = 0, /!< 0 No error, operation completed successfully / RIG_EINVAL, /!< 1 invalid parameter / RIG_ECONF, /!< 2 invalid configuration (serial,..) / RIG_ENOMEM, /!< 3 memory shortage / RIG_ENIMPL, /!< 4 function not implemented, but will be / RIG_ETIMEOUT, /!< 5 communication timed out / RIG_EIO, /!< 6 IO error, including open failed / RIG_EINTERNAL, /!< 7 Internal Hamlib error, huh! / RIG_EPROTO, /!< 8 Protocol error / RIG_ERJCTED, /!< 9 Command rejected by the rig / RIG_ETRUNC, /!< 10 Command performed, but arg truncated / RIG_ENAVAIL, /!< 11 Function not available / RIG_ENTARGET, /!< 12 VFO not targetable / RIG_BUSERROR, /!< 13 Error talking on the bus / RIG_BUSBUSY, /!< 14 Collision on the bus / RIG_EARG, /!< 15 NULL RIG handle or any invalid pointer parameter in get arg / RIG_EVFO, /!< 16 Invalid VFO / RIG_EDOM /!< 17 Argument out of domain of func /};
Mike W9MDB
On Monday, February 15, 2021, 09:49:50 AM CST, Michael Walker <va3mw@users.sourceforge.net> wrote:
I am working on a NodeRed interface using rigctld which sort of works. I am working on an IC-9700 to just read a reliable frequency.
Software development is a bit new to me, at least at this level.
The problem I am having is sorting out some error codes and while the question has been asked numerous times, (I spent about 30 minutes on this), everyone keeps saying look to reference rig.h.
I searched through rig.h but it isn't so clear, at least to me.
What would I need to do next to chase down a -5 and a -6?
I am working on a NodeRed interface using rigctld which sort of works. I am working on an IC-9700 to just read a reliable frequency.
Software development is a bit new to me, at least at this level.
The problem I am having is sorting out some error codes and while the question has been asked numerous times, (I spent about 30 minutes on this), everyone keeps saying look to reference rig.h.
I searched through rig.h but it isn't so clear, at least to me.
What would I need to do next to chase down a -5 and a -6?
I am working on a NodeRed interface using rigctld which sort of works. I am working on an IC-9700 to just read a reliable frequency.
Software development is a bit new to me, at least at this level.
The problem I am having is sorting out some error codes and while the question has been asked numerous times, (I spent about 30 minutes on this), everyone keeps saying look to reference rig.h.
I searched through rig.h but it isn't so clear, at least to me.
What would I need to do next to chase down a -5 and a -6?
Thanks in advance, Mike va3mw
-5 and -6 would indicate problems talking to the rig.
You need to enable debug in rigctld with "-vvvvv -Z" to see what's going on.
enum rig_errcode_e { RIG_OK = 0, /!< 0 No error, operation completed successfully / RIG_EINVAL, /!< 1 invalid parameter / RIG_ECONF, /!< 2 invalid configuration (serial,..) / RIG_ENOMEM, /!< 3 memory shortage / RIG_ENIMPL, /!< 4 function not implemented, but will be / RIG_ETIMEOUT, /!< 5 communication timed out / RIG_EIO, /!< 6 IO error, including open failed / RIG_EINTERNAL, /!< 7 Internal Hamlib error, huh! / RIG_EPROTO, /!< 8 Protocol error / RIG_ERJCTED, /!< 9 Command rejected by the rig / RIG_ETRUNC, /!< 10 Command performed, but arg truncated / RIG_ENAVAIL, /!< 11 Function not available / RIG_ENTARGET, /!< 12 VFO not targetable / RIG_BUSERROR, /!< 13 Error talking on the bus / RIG_BUSBUSY, /!< 14 Collision on the bus / RIG_EARG, /!< 15 NULL RIG handle or any invalid pointer parameter in get arg / RIG_EVFO, /!< 16 Invalid VFO / RIG_EDOM /!< 17 Argument out of domain of func /};
Mike W9MDB
On Monday, February 15, 2021, 09:49:50 AM CST, Michael Walker <va3mw@users.sourceforge.net> wrote:
I am working on a NodeRed interface using rigctld which sort of works. I am working on an IC-9700 to just read a reliable frequency.
Software development is a bit new to me, at least at this level.
The problem I am having is sorting out some error codes and while the question has been asked numerous times, (I spent about 30 minutes on this), everyone keeps saying look to reference rig.h.
I searched through rig.h but it isn't so clear, at least to me.
What would I need to do next to chase down a -5 and a -6?
Thanks in advance, Mike va3mw
rigctld Error codes
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/hamlib/discussion/25919/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Sending this again in plain text mode...
On Monday, February 15, 2021, 09:54:10 AM CST, Black Michael mdblack98@yahoo.com wrote:
-5 and -6 would indicate problems talking to the rig.
You need to enable debug in rigctld with "-vvvvv -Z" to see what's going on.
enum rig_errcode_e {
RIG_OK = 0, /!< 0 No error, operation completed successfully /
RIG_EINVAL, /!< 1 invalid parameter /
RIG_ECONF, /!< 2 invalid configuration (serial,..) /
RIG_ENOMEM, /!< 3 memory shortage /
RIG_ENIMPL, /!< 4 function not implemented, but will be /
RIG_ETIMEOUT, /!< 5 communication timed out /
RIG_EIO, /!< 6 IO error, including open failed /
RIG_EINTERNAL, /!< 7 Internal Hamlib error, huh! /
RIG_EPROTO, /!< 8 Protocol error /
RIG_ERJCTED, /!< 9 Command rejected by the rig /
RIG_ETRUNC, /!< 10 Command performed, but arg truncated /
RIG_ENAVAIL, /!< 11 Function not available /
RIG_ENTARGET, /!< 12 VFO not targetable /
RIG_BUSERROR, /!< 13 Error talking on the bus /
RIG_BUSBUSY, /!< 14 Collision on the bus /
RIG_EARG, /!< 15 NULL RIG handle or any invalid pointer parameter in get arg /
RIG_EVFO, /!< 16 Invalid VFO /
RIG_EDOM /!< 17 Argument out of domain of func /
};
Mike W9MDB
On Monday, February 15, 2021, 09:49:50 AM CST, Michael Walker va3mw@users.sourceforge.net wrote:
I am working on a NodeRed interface using rigctld which sort of works. I am working on an IC-9700 to just read a reliable frequency.
Software development is a bit new to me, at least at this level.
The problem I am having is sorting out some error codes and while the question has been asked numerous times, (I spent about 30 minutes on this), everyone keeps saying look to reference rig.h.
I searched through rig.h but it isn't so clear, at least to me.
What would I need to do next to chase down a -5 and a -6?
Thanks in advance, Mike va3mw
rigctld Error codes
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/hamlib/discussion/25919/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
thanks...
It sounds like the FTDI to RS232 device is not playing nicely with the timeouts.
Mike