aravis icon indicating copy to clipboard operation
aravis copied to clipboard

Problem receiving frame with a Pleora device

Open lililla opened this issue 4 years ago • 3 comments
trafficstars

Hi I’m a little new to this, I’m testing with a pleora simulator and aravis8-0-6. From arv-viewer and arv-tools-0.8 I can see the device correctly.

The problem I have is that I cannot display the image, I can only control the configuration from arv-tools-0.8 control to the device without any problem.

The simulator contains PixelMono8, PixelYUV422 and PixelBGR8 so I think this is not the problem.

It seems that the problem is that I am not receiving the stremeing, from ./arv-camera-test I check that I do not receive any frame.

I have configured the simulator with these ports, GVCP 3956 and in GVSP 20202. Firewalld, selinux and MTU disabled and configured.

I have the following output with arv-viewer --debug = all :

image

If I see the packets that I am receiving with the tcpdump, I can verify that I am receiving the stream with length 1412

Is the GVSP configuration correct?

Do I have to control any settings on the device using arv-tool-8.0?

Any other idea?

Thanks a lot. Miguel Ángel.

lililla avatar Feb 15 '21 16:02 lililla

Hi,

Please run arv-camera-test -d all for a few seconds and attach the console output.

EmmanuelP avatar Feb 22 '21 09:02 EmmanuelP

Hi, this is the output of arv-camera-test -d all: output_pleora_camera_test.txt

./arv-camera-test -d all
Looking for the first available camera
[GvDiscoverSocket::new] Add interface 127.0.0.1
[GvDiscoverSocket::new] Add interface 192.168.1.50
[GvDiscoverSocket::new] Add interface 192.168.122.1
[GvInterface::discovery] Device 'Pleora Technologies Inc-Analog Pro PT01-AN1IP0x-32yG-' found (interface 192.168.1.50) user_id '' - MAC '00:11:1c:02:50:b6'
[GvDevice::new] Interface address = 192.168.1.50
[GvDevice::new] Device address = 192.168.1.42
[GvDevice::load_genicam] xml url = 'Local:iport_analog_pro_pt01_an1ip0x_32yg.xml.zip;00034008;7455' at 0x200
[GvDevice::load_genicam] Xml address = 0x34008 - size = 0x7455 - iport_analog_pro_pt01_an1ip0x_32yg.xml.zip
[GvDevice::load_genicam] Zipped xml data
[GcFeature::set_attribute] Unknown attribute 'ToolTip'
[GcFeature::set_attribute] Unknown attribute 'StandardNameSpace'
[GcFeature::set_attribute] Unknown attribute 'ProductGuid'
[GcFeature::set_attribute] Unknown attribute 'VersionGuid'
[GcFeature::set_attribute] Unknown attribute 'xmlns'
[GcFeature::set_attribute] Unknown attribute 'xmlns:xsi'
[GcFeature::set_attribute] Unknown attribute 'xsi:schemaLocation'
[Genicam::create_element] Unknown tag (Streamable)
...
[Gc::set_default_node_data] Add 'GevSCPAddrCalc'
[GvDevice::new] Packet resend = yes
[GvDevice::new] Write memory = yes
[GvDevice::new] Legacy endianness handling = yes
vendor name           = Pleora Technologies Inc
model name            = Analog Pro PT01-AN1IP0x-32yG
device id             = 
image width           = 0
image height          = 0
horizontal binning    = 0
vertical binning      = 32
payload               = 0 bytes
exposure              = 0 µs
gain                  = 0 dB
[GvDevice::create_stream] Number of stream channels = 2
[GvDevice::auto_packet_size] Try packet size = 1500
[GvDevice::auto_packet_size] Try packet size = 773
[GvDevice::auto_packet_size] Try packet size = 409
[GvDevice::auto_packet_size] Try packet size = 227
[GvDevice::auto_packet_size] Try packet size = 136
[GvDevice::auto_packet_size] Try packet size = 91
[GvDevice::auto_packet_size] Try packet size = 68
[GvDevice::auto_packet_size] Try packet size = 57
[GvDevice::auto_packet_size] Packet size set to 1500 bytes
[GvStream::stream_new] Packet size = 1500 byte(s)
[GvStream::stream_new] Destination stream port = 49732
[GvStream::stream_new] Source stream port = 20202
[GvStream::stream_thread] Packet timeout = 40 ms
[GvStream::stream_thread] Frame retention = 200 ms
gv n_stream channels  = 2
gv current channel    = 0
gv packet delay       = 0 ns
gv packet size        = 1500 bytes
[GvStream::loop] Packet socket method
[GvStream::set_socket_filter] source ip = 0xc0a8012a - port = 20202 - dest ip = 0xc0a80132 - port 49732
packet_type  =       ok (0x0000)
content_type = data-block (0x0003)
frame_id     =     1796 
packet_id    =       21
data_size    =     1404

[GvStream::check_frame_completion] Timeout for frame 1796 at dt = 100242
  0 frame/s  -       0 MiB/s - 1 error
  0 frame/s  -       0 MiB/s
...
  0 frame/s  -       0 MiB/s
  0 frame/s  -       0 MiB/s
 frame/s  -       0 MiB/s
Completed buffers = 0
Failures          = 1
Underruns         = 0
  bins  ;Buffer r
       0;       0
-------------
>=  2000;       0
<      0;       0
min     ;     n/a
max     ;     n/a
last max
at:     ;       0
Counter =        0
[GvStream::finalize] n_completed_buffers    = 0
[GvStream::finalize] n_failures             = 1
[GvStream::finalize] n_timeouts             = 1
[GvStream::finalize] n_aborteds             = 0
[GvStream::finalize] n_underruns            = 0
[GvStream::finalize] n_missing_frames       = 0
[GvStream::finalize] n_size_mismatch_errors = 0
[GvStream::finalize] n_received_packets     = 4
[GvStream::finalize] n_missing_packets      = 2
[GvStream::finalize] n_error_packets        = 0
[GvStream::finalize] n_ignored_packets      = 0
[GvStream::finalize] n_resend_requests      = 0
[GvStream::finalize] n_resent_packets       = 0
[GvStream::finalize] n_resend_ratio_reached = 0
[GvStream::finalize] n_duplicated_packets   = 0
[Stream::finalize] Flush 50 buffer[s] in input queue
[Stream::finalize] Flush 0 buffer[s] in output queue

Thanks for your answer.

lililla avatar Feb 22 '21 10:02 lililla

Is the pleora simulator freely available ?

Could you attach the output of arv-tool-8 values ?

EmmanuelP avatar Mar 06 '21 07:03 EmmanuelP