This command reports the current situation of the device:
[13:42:55] ABILIS_CPX:d d gpio
RES:Gpio-1 --------------------------------------------------------------------
STATE:UP USB-STATE:CONNECTED
- Digital Input Lines State --------------------------------------------
1..16| off off off off off off off off . . . . . . . .
------------------------------------------------------------------------
- Digital Output Lines State -------------------------------------------
1..16| off off off off . . . . . . . . . . . .
------------------------------------------------------------------------
- Analog Input Lines ---------------------------------------------------
| State Value Unit ADC | State Value Unit ADC
------+--------------------------------+--------------------------------
1.. 2| NORMAL 10 C 0 | NORMAL 0.0 % 0
3.. 4| . . . . | . . . .
5.. 6| . . . . | . . . .
7.. 8| . . . . | . . . .
------------------------------------------------------------------------
The meaning:
STATE
GPIO driver state:
DOWN
- device stopped or
disconnected.
UP
- device running.
INACTIVE
- device good, but
inactive (configuration parameter
ACT
:NO
).
USB-STATE
USB device connection state:
DISCONNECTED
- device disconnected
from USB port.
CONNECTED
- device
connected.
D-IN:1...8 / D-OUT:1...4
GPIO digital input/output line state:
OFF
- logical 0 state.
ON
- logical 1 state.
N/A
(not available) - unknown
state.
State
GPIO analog input line state:
LOW
- under the low
threshold.
NORMAL
- between high and low
threshold.
HIGH
- between high and low
threshold.
N/A
(not available) - unknown
state.
Value
GPIO analog input line value. N/A
(not
available) - unknown state.
Unit
Unit for analog input/output lines.
ADC
Converted value from ADC value on analog input/output lines.
This command can help to understand what is happening, in case of troubles:
[13:48:36] ABILIS_CPX:d s gpio
RES:Gpio-1 --------------------------------------------------------------------
--- Cleared 13 days 21:06:37 ago, on 11/08/2017 at 18:08:13 ------------
-----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
USB-CONN | 67| |USB-DISC | | 66|
USB-AUTRST | 0| | | | |
CHR | 17650515| 13290463|FRM | 2777250| 2777271|
------------------------------------------------------------------------
With reference to the shown interval of time («Cleared 13 days 21:06:37 ago») these counters show the number of:
USB-CONN | USB connections. |
USB-DISC | USB disconnections. |
USB-AUTRST | USB autorestarts. Troubles on USB interface. |
CHR | Bytes in received/transmitted frames. |
FRM | Received/transmitted frames. |
This command reports the current situation of the device:
[13:42:55] ABILIS_CPX:d d mfio
RES:MfIo ----------------------------------------------------------------------
Abilis_Multi_Function_IO_Interface
STATE:ACTIVE
- Digital Input Lines State --------------------------------------------
1..7| off off off off off off off
------------------------------------------------------------------------
- Digital Output Lines State -------------------------------------------
1..7| off off off off off off off
------------------------------------------------------------------------
The meaning:
STATE
MFIO driver state:
ACTIVE
- device running.
INACTIVE
- device good, but
inactive (configuration parameter
ACT
:NO
).
D-IN:1...7 / D-OUT:1...7
MFIO digital input/output line state:
OFF
- logical 0 state.
ON
- logical 1 state.
N/A
(not available) - unknown
state.
This command can help to understand what is happening, in case of troubles:
[13:48:36] ABILIS_CPX:d s mfio
RES:MfIo ----------------------------------------------------------------------
Abilis_Multi_Function_IO_Interface
--- Cleared 0 days 13:21:08 ago, on 25/08/2017 at 02:02:40 -------------
-----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
IRQ | 35| | | | |
STATE | 2| |ERR-STATE | 0| |
LINE-STATE | 63| |ERR-LINE-ST| 0| |
ALARM | 63| |ERR-ALARM | 0| |
------------------------------------------------------------------------
With reference to the shown interval of time («Cleared 0 days 13:21:08 ago») these counters show the number of:
IRQ | MFIO interrupts. |
STATE | Set State requests. |
LINE-STATE | Set Line State requests. |
ALARM | Set Alarm requests. |
ERR-STATE | Errors during Set State. |
ERR-LINE-ST | Errors during Set Line State. |
ERR-ALARM | Errors during Set Alarm. |
Note | |
---|---|
If you notice incrementation of |
This command reports the current situation of the device:
[13:42:55] ABILIS_CPX:d d rvs
RES:Rvs-1 ---------------------------------------------------------------------
STATE:UP MAC:B8-27-EB-93-FA-DF
RemAdd-RemPort:192.168.029.101-41414
CURRENT-IMAGE:5.000 FACTORY-IMAGE:5.000 BOARD:0.0
- Digital Input Lines State --------------------------------------------
1.. 4| ON ON ON ON
------------------------------------------------------------------------
- Digital Output Lines State -------------------------------------------
1.. 4| off ON off off
------------------------------------------------------------------------
- Cameras diagnostics --------------------------------------------------
CAM: State: LIVE: LIVE-REC: ALARM-REC: STORED-ALARMS: STORED-LIVE:
------------------------------------------------------------------------
Cam-1 UP 0 NO NO 54 0
------------------------------------------------------------------------
The meaning:
STATE
RVS driver state:
DOWN
- device is down.
UP
- device is active and
ready.
INACTIVE
- device is
inactive.
MAC
RVS device driver MAC address.
RemAdd-RemPort
Remote IP address and remote port.
CURRENT-IMAGE
Current image version.
FACTORY-IMAGE
Factory image version.
D-IN:1...4 / D-OUT:1...4
RVS digital input/output line state:
OFF
- logical 0 state.
ON
- logical 1 state.
.
(not available) - unknown
state.
This command can help to understand what is happening, in case of troubles:
[13:48:36] ABILIS_CPX:d s rvs
RES:Rvs-1 ---------------------------------------------------------------------
--- Cleared 0 days 14:12:29 ago, on 25/08/2017 at 02:02:39 -------------
-----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
CONN-SUCC | | 1|BOARD-ERR | 0| |
CONN-FAIL | | 0| | | |
CLOSE | 0| 0| | | |
CFG-FAIL | 0| |SET-AO-CUT | 0| |
SET-FAIL | | 0| | | |
PROT-ERR | 0| 0| | | |
IMAGE-ERR | 0| | |
------------------------------------------------------------------------
With reference to the shown interval of time («Cleared 0 days 14:12:29») these counters show the number of:
CONN-SUCC | Successful opened sessions, at least a response received. |
CONN-FAIL | Aborted sessions (on opening), TCP failed or no response received. |
CFG-FAIL | Failed configuration of digital/analog parameters. |
SET-FAIL | Failed setting of digital/analog outputs. |
PROT-ERR | JMUX Errors. |
BOARD-ERR | Connections aborted on Missing board. |
SET-AO-CUT | Setting of analog outputs that where cutted. |
Note | |
---|---|
If you notice incrementation of these counters consult Abilis support (tem@antek.it). |
This command reports the current situation of the device:
[13:42:55] ABILIS_CPX:d d rio
RES:Rio-1 ---------------------------------------------------------------------
RIO
STATE:UP MAC:B8-27-EB-12-F7-FB
RemAdd-RemPort:192.168.001.222-41414
CURRENT-IMAGE:5.001 FACTORY-IMAGE:5.001 BOARD:1.6
- Digital Input Lines State --------------------------------------------
1.. 8| ON ON ON ON ON ON ON ON
------------------------------------------------------------------------
- Digital Output Lines State -------------------------------------------
1.. 8| off off off off off off off off
------------------------------------------------------------------------
- Analog Input Lines ---------------------------------------------------
| State Value Unit ADC | State Value Unit ADC
------+--------------------------------+--------------------------------
1.. 2| NORMAL 50.0 % 2048 | NORMAL 50.0 % 2048
3.. 4| NORMAL 50.0 % 2048 | NORMAL 50.0 % 2048
------------------------------------------------------------------------
- Analog Output Lines --------------------------------------------------
| State Value Unit ADC | State Value Unit ADC
------+--------------------------------+--------------------------------
1.. 2| NORMAL 0.0 % 0 | NORMAL 0.0 % 0
3.. 4| NORMAL 0.0 % 0 | NORMAL 0.0 % 0
------------------------------------------------------------------------
The meaning:
STATE
RIO driver state:
DOWN
- device is down.
UP
- device is active and
ready.
INACTIVE
- device is
inactive.
MAC
RIO device driver MAC address.
RemAdd-RemPort
Remote IP address and remote port.
CURRENT-IMAGE
Current image version.
FACTORY-IMAGE
Factory image version.
D-IN:1...8 / D-OUT:1...8
RIO digital input/output line state:
OFF
- logical 0 state.
ON
- logical 1 state.
.
(not available) - unknown
state.
State
RIO analog input/output line state:
LOW
- under the low
threshold.
NORMAL
- between high and low
threshold.
HIGH
- between high and low
threshold.
.
(not available) - unknown
state.
Value
RIO analog input line value. N/A
(not
available) - unknown state.
Unit
Unit for analog input/output lines.
ADC
Converted value from ADC value on analog input/output lines.
This command can help to understand what is happening, in case of troubles:
[13:48:36] ABILIS_CPX:d s rio
RES:Rio-1 ---------------------------------------------------------------------
RIO
--- Cleared 17 days 01:07:47 ago, on 08/08/2017 at 15:19:38 ------------
-----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
CONN-SUCC | | 1|BOARD-ERR | 0| |
CONN-FAIL | | 0| | | |
CLOSE | 0| 0| | | |
CFG-FAIL | 0| |SET-AO-CUT | 0| |
SET-FAIL | | 0| | | |
PROT-ERR | 0| 0| | | |
------------------------------------------------------------------------
With reference to the shown interval of time («Cleared 17 days 01:07:47 ago») these counters show the number of:
CONN-SUCC | Successful opened sessions, at least a response received. |
CONN-FAIL | Aborted sessions (on opening), TCP failed or no response received. |
CFG-FAIL | Failed configuration of digital/analog parameters. |
SET-FAIL | Failed setting of digital/analog outputs. |
PROT-ERR | JMUX Errors. |
BOARD-ERR | Connections aborted on Missing board. |
SET-AO-CUT | Setting of analog outputs that where cutted. |
Note | |
---|---|
If you notice incrementation of these counters consult Abilis support (tem@antek.it). |
Available commands for logs:
[16:32:09] ABILIS_CPX:d rio-1 ?
APPLOG Rio APP log IOLOG Rio IO log LOG Rio log SYSLOG Rio SYS log [16:39:23] ABILIS_CPX:d rvs-1 ?
APPLOG Rvs APP log IOLOG Rvs IO log LOG Rvs log SYSLOG Rvs SYS log VSLOG Rvs VS log
These commands report the log of the device:
[16:40:56] ABILIS_CPX:d rvs-1 log
CURRENT EVENTS LOG MASK: DFT (ERR+INFO) Current Local Time: Thursday 29/08/2019 16:41:02 (UTC+03:00) Date Time Event Event detail ------ ------ ----- ------------------------------------------------------ 290819 010949 Info Full initialization 290819 010949 Info CAMERA ID: 1 290819 010949 Info CAMERA STATE: DOWN 290819 010949 Info Enabling device 290819 010949 Info STORAGE INITIALIZATION STARTED FOR CAMERA:1 290819 010950 Info STORAGE INITIALIZATION COMPLETE CAMERA:1 290819 010950 Info STORAGE INITIALIZATION NEW UUID created 290819 011002 Info ALARM START 290819 011002 Info IMAGE STREAM: DEVICE OR CAMERA DISABLED 290819 011007 Info ALARM RENEWAL 290819 011007 Info Trying to connect to device 290819 011007 Info Device is connected 290819 011007 Info Got response to Get Version 290819 011007 Info Factory Version is: 5.000 290819 011007 Info Current Version is: 5.3 290819 011007 Info Hardware description is: Raspberry Pi 3 Model B Rev 1.2 290819 011007 Info Hardware ID is: r3-1.2 290819 011010 Info Got response to Get Board Type 290819 011010 Info Board Type is: 0.0 290819 011010 Info Successful setting: dout_1 290819 011010 Info Successful setting: dout_2 290819 011010 Info Successful setting: dout_3 290819 011010 Info Successful setting: dout_4 290819 011010 Info Notify State received 290819 011010 Info CAMERA ID: 1 290819 011010 Info CAMERA STATE: UP 290819 011010 Info Getting supported parameters of camera: 1 290819 011010 Info Setting parameter of camera: 1 290819 011011 Info IMAGE STREAM: Trying to connect to the device 290819 011011 Info IMAGE STREAM: Connected 290819 011108 Info ALARM STOP 290819 011108 Info Successful setting: dout_4 290819 020516 Info ALARM START 290819 020516 Info Successful setting: dout_4 290819 020617 Info ALARM STOP 290819 020617 Info Successful setting: dout_4 [15:32:36] ABILIS_CPX:d rio-1 log
CURRENT EVENTS LOG MASK: DFT (ERR+INFO) Current Local Time: Thursday 29/08/2019 15:32:41 (UTC+02:00) Date Time Event Event detail ------ ------ ----- ------------------------------------------------------ 250819 005335 Info Full initialization 250819 005335 Info Enabling device 250819 005335 Info Trying to connect to device 250819 005338 Info Device is connected 250819 005338 Info Got response to Get Version 250819 005338 Info Factory Version is: 5.001 250819 005338 Info Current Version is: 5.001 250819 005338 Info Hardware description is: Raspberry Pi Model B Plus Rev 1.2 250819 005338 Info Hardware ID is: r1-1.2 250819 005347 Info Got response to Get Board Type 250819 005347 Info Board Type is: 1.6 250819 005347 Info Successful conf: ain_2_max 250819 005347 Info Successful conf: ain_3_alarm_hi 250819 005347 Info Successful conf: ain_3_alarm_lo 250819 005347 Info Successful conf: ain_3_min 250819 005347 Info Successful conf: ain_4_alarm_lo 250819 005347 Info Successful conf: ain_2_alarm_lo 250819 005347 Info Successful conf: ain_2_upd 250819 005347 Info Successful conf: ain_2_alarm_hi 250819 005347 Info Successful conf: ain_4_min 250819 005347 Info Successful conf: ain_1_alarm_hi 250819 005347 Info Successful conf: ain_1_poll 250819 005347 Info Successful conf: adc_resolution 250819 005347 Info Successful conf: adc_gain 250819 005347 Info Successful conf: ain_1_upd 250819 005347 Info Successful conf: ain_2_min 250819 005347 Info Successful conf: ain_3_hyst 250819 005347 Info Successful conf: ain_2_hyst 250819 005347 Info Successful conf: ain_1_hyst 250819 005347 Info Successful conf: ain_1_max 250819 005347 Info Successful conf: ain_2_poll 250819 005347 Info Successful conf: ain_1_alarm_lo 250819 005347 Info Successful conf: ain_1_min 250819 005347 Info Successful conf: ain_4_max 250819 005347 Info Successful conf: ain_4_upd 250819 005347 Info Successful conf: ain_3_upd 250819 005347 Info Successful conf: ain_3_max 250819 005347 Info Successful conf: ain_4_hyst 250819 005347 Info Successful conf: ain_3_poll 250819 005347 Info Successful conf: ain_4_alarm_hi 250819 005347 Info Successful conf: ain_4_poll 250819 005347 Info Successful conf: aout_2_alarm_hi 250819 005347 Info Successful conf: aout_4_poll 250819 005347 Info Successful conf: aout_1_poll 250819 005347 Info Successful conf: aout_2_poll 250819 005347 Info Successful conf: aout_1_upd 250819 005347 Info Successful conf: aout_4_max 250819 005347 Info Successful conf: aout_3_max 250819 005347 Info Successful conf: aout_4_upd 250819 005347 Info Successful conf: aout_3_alarm_lo 250819 005347 Info Successful conf: aout_3_min 250819 005347 Info Successful conf: aout_3_poll 250819 005347 Info Successful conf: aout_1_alarm_hi 250819 005347 Info Successful conf: aout_2_cut_lo 250819 005347 Info Successful conf: aout_1_alarm_lo 250819 005347 Info Successful conf: aout_1_max 250819 005347 Info Successful conf: aout_2_min 250819 005347 Info Successful conf: aout_4_min 250819 005347 Info Successful conf: aout_3_cut_hi 250819 005347 Info Successful conf: aout_4_alarm_hi 250819 005347 Info Successful conf: aout_1_cut_hi 250819 005347 Info Successful conf: aout_2_upd 250819 005347 Info Successful conf: aout_3_upd 250819 005347 Info Successful conf: aout_2_cut_hi 250819 005347 Info Successful conf: aout_4_cut_lo 250819 005347 Info Successful conf: aout_3_hyst 250819 005347 Info Successful conf: aout_2_alarm_lo 250819 005347 Info Successful conf: aout_3_alarm_hi 250819 005347 Info Successful conf: aout_4_hyst 250819 005347 Info Successful conf: aout_2_max 250819 005347 Info Successful conf: aout_4_cut_hi 250819 005347 Info Successful conf: aout_2_hyst 250819 005347 Info Successful conf: aout_3_cut_lo 250819 005347 Info Successful conf: aout_1_cut_lo 250819 005347 Info Successful conf: aout_4_alarm_lo 250819 005347 Info Successful conf: aout_1_min 250819 005347 Info Successful conf: aout_1_hyst
To see the lO log type the following command:
[15:33:14] ABILIS_CPX:d rio-1 iolog
2019-08-28 07:06:39,559Z - INFO jmux_commands_handler.py._set_dout:121/MainThread--1225740288: set digital output 1 to pulse (t=0.5, gap=0.5
), success: True
2019-08-28 07:06:39,630Z - INFO dio_monitoring_thread.py.run:45/D-IOMonitorThread--1283460000: digital io dout_1 has changed, new value: 1
2019-08-28 07:06:40,128Z - INFO dio_monitoring_thread.py.run:45/D-IOMonitorThread--1283460000: digital io dout_1 has changed, new value: 0
2019-08-28 10:04:01,707Z - INFO jmux_commands_handler.py._set_dout:121/MainThread--1225740288: set digital output 4 to pulse (t=0.5, gap=0.5
), success: True
2019-08-28 10:04:01,779Z - INFO dio_monitoring_thread.py.run:45/D-IOMonitorThread--1283460000: digital io dout_4 has changed, new value: 1
2019-08-28 10:04:02,221Z - INFO pulse.py._phase_thread_routine:146/PulseThread--1308625824: IMPULSE phase was interrupted
2019-08-28 10:04:02,293Z - INFO dio_monitoring_thread.py.run:45/D-IOMonitorThread--1283460000: digital io dout_4 has changed, new value: 0
2019-08-28 10:05:55,199Z - INFO jmux_commands_handler.py._set_dout:121/MainThread--1225740288: set digital output 4 to pulse (t=0.5, gap=0.5
), success: True
To see the VS log type the following command:
[16:48:02] ABILIS_CPX:d rvs-1 vslog
2019-08-29 13:30:35,773Z - INF jvs/msg_incoming-542 message 'keepalive' received, id=020100000944
2019-08-29 13:30:35,774Z - INF jvs/msg_outgoing-543 message 'ack' sent, id=020100000944
2019-08-29 13:30:35,775Z - INF jvs/msg_outgoing-543 message outgoing thread awaken
2019-08-29 13:30:41,062Z - INF jvs/msg_incoming-542 message 'log' received, id=020100000945
2019-08-29 13:30:41,066Z - INF jvs/msg_outgoing-543 message 'log_fragmet' sent, id=020100000945
2019-08-29 13:30:41,066Z - INF jvs/msg_outgoing-543 message outgoing thread awaken
2019-08-29 13:31:41,058Z - INF jvs/msg_incoming-542 message 'keepalive' received, id=020100000946
2019-08-29 13:31:41,059Z - INF jvs/msg_outgoing-543 message 'ack' sent, id=020100000946
2019-08-29 13:31:41,059Z - INF jvs/msg_outgoing-543 message outgoing thread awaken
2019-08-29 13:32:41,054Z - INF jvs/msg_incoming-542 message 'keepalive' received, id=020100000947
2019-08-29 13:32:41,054Z - INF jvs/msg_outgoing-543 message 'ack' sent, id=020100000947
2019-08-29 13:32:41,054Z - INF jvs/msg_outgoing-543 message outgoing thread awaken
2019-08-29 13:33:41,049Z - INF jvs/msg_incoming-542 message 'keepalive' received, id=020100000948
2019-08-29 13:33:41,049Z - INF jvs/msg_outgoing-543 message 'ack' sent, id=020100000948
2019-08-29 13:33:41,049Z - INF jvs/msg_outgoing-543 message outgoing thread awaken
2019-08-29 13:34:41,048Z - INF jvs/msg_incoming-542 message 'keepalive' received, id=020100000949
2019-08-29 13:34:41,049Z - INF jvs/msg_outgoing-543 message 'ack' sent, id=020100000949
2019-08-29 13:34:41,049Z - INF jvs/msg_outgoing-543 message outgoing thread awaken
2019-08-29 13:35:41,041Z - INF jvs/msg_incoming-542 message 'keepalive' received, id=020100000950
2019-08-29 13:35:41,041Z - INF jvs/msg_outgoing-543 message 'ack' sent, id=020100000950
2019-08-29 13:35:41,041Z - INF jvs/msg_outgoing-543 message outgoing thread awaken
2019-08-29 13:36:41,036Z - INF jvs/msg_incoming-542 message 'keepalive' received, id=020100000951
2019-08-29 13:36:41,037Z - INF jvs/msg_outgoing-543 message 'ack' sent, id=020100000951
2019-08-29 13:36:41,037Z - INF jvs/msg_outgoing-543 message outgoing thread awaken
2019-08-29 13:37:41,033Z - INF jvs/msg_incoming-542 message 'keepalive' received, id=020100000952
2019-08-29 13:37:41,033Z - INF jvs/msg_outgoing-543 message 'ack' sent, id=020100000952
2019-08-29 13:37:41,033Z - INF jvs/msg_outgoing-543 message outgoing thread awaken
2019-08-29 13:38:41,027Z - INF jvs/msg_incoming-542 message 'keepalive' received, id=020100000953
2019-08-29 13:38:41,028Z - INF jvs/msg_outgoing-543 message 'ack' sent, id=020100000953
2019-08-29 13:38:41,028Z - INF jvs/msg_outgoing-543 message outgoing thread awaken
2019-08-29 13:39:04,162Z - INF rcc/capture-552 frame is dark: 84/100
2019-08-29 13:39:04,163Z - INF msg/capture-552 sensors data changed
2019-08-29 13:39:04,163Z - INF jvs/msg_outgoing-543 message 'notify_sensors' sent, id=03928
2019-08-29 13:39:04,163Z - INF jvs/msg_outgoing-543 message outgoing thread awaken
2019-08-29 13:39:04,171Z - INF jvs/msg_incoming-542 message 'ack' received, id=03928
2019-08-29 13:39:04,171Z - INF msg/msg_incoming-542 received response for 'notify_sensors' command
2019-08-29 13:39:41,024Z - INF jvs/msg_incoming-542 message 'keepalive' received, id=020100000954
2019-08-29 13:39:41,024Z - INF jvs/msg_outgoing-543 message 'ack' sent, id=020100000954
2019-08-29 13:39:41,024Z - INF jvs/msg_outgoing-543 message outgoing thread awaken
2019-08-29 13:40:41,022Z - INF jvs/msg_incoming-542 message 'keepalive' received, id=020100000955
2019-08-29 13:40:41,022Z - INF jvs/msg_outgoing-543 message 'ack' sent, id=020100000955
2019-08-29 13:40:41,022Z - INF jvs/msg_outgoing-543 message outgoing thread awaken