Hello,
I installed the Aravis library on a host machine but in the Aravis viewer I could not find the camera name and vendor. I can open the stream because the USB icone is show up but nothing else is written in the camera line.
The first time I tried to connect the new_aravis function in my application but, could not open the camera, the camera is not recognized. If I pass NULL to the new Aravis function it works and the camera sends the frames…
I am using a USB3 camera.
Hi,
It could be a permission issue.
What is the camera model ? The aravis version and the platform ?
What is the output of arv-test-0.8 -d all
?
hello this is the output of the arv-test
~$ arv-test-0.8 -d all
[16:18:27.331] interface> Found 1 USB3Vision device (among 6 USB devices)
[16:18:27.331] interface> [GvDiscoverSocket::new] Add interface 127.0.0.1 (127.0.0.1)
[16:18:27.331] interface> [GvDiscoverSocket::new] Add interface 169.254.1.1 (169.254.255.255)
[16:18:27.331] interface> [GvDiscoverSocket::new] Add interface 192.168.100.50 (192.168.100.255)
[16:18:27.333] interface> [GvInterface::discovery] Device 'Pleora Technologies Inc.-iPORT CL-GigE-PT01-CL0IP01-128x-00:11:1c:05:22:63' found (interface 169.254.1.1) user_id '' - MAC '00:11:1c:05:22:63'
Found 2 devices
[16:18:28.340] device> [UvDevice::new] GUID =
[16:18:28.341] device> [UvDevice::new] Using control endpoint 2, interface 0
[16:18:28.341] device> [UvDevice::new] Using data endpoint 1, interface 2
[16:18:28.341] device> Get genicam
[16:18:28.341] device> MANUFACTURER_NAME = 'FLIR'
[16:18:28.341] device> MAX_DEVICE_RESPONSE_TIME = 0x000000c8
[16:18:28.341] device> DEVICE_CAPABILITY = 0x0000000000000f0d
[16:18:28.341] device> SRBM_ADDRESS = 0x0000000000010000
[16:18:28.341] device> MANIFEST_TABLE_ADDRESS = 0x0000000000040000
[16:18:28.342] device> U3VCP_CAPABILITY = 0x00000003
[16:18:28.342] device> MAX_CMD_TRANSFER = 0x00000200
[16:18:28.342] device> MAX_ACK_TRANSFER = 0x00000200
[16:18:28.342] device> SIRM_OFFSET = 0x0000000000020000
[16:18:28.343] device> SIRM_INFO = 0x03000000
[16:18:28.343] device> SIRM_CONTROL = 0x00000000
[16:18:28.343] device> SIRM_REQ_PAYLOAD_SIZE = 0x000000000005eec0
[16:18:28.343] device> SIRM_REQ_LEADER_SIZE = 0x00000034
[16:18:28.343] device> SIRM_REQ_TRAILER_SIZE = 0x00000024
[16:18:28.343] device> SIRM_MAX_LEADER_SIZE = 0x00000000
[16:18:28.343] device> SIRM_PAYLOAD_SIZE = 0x00000000
[16:18:28.343] device> SIRM_PAYLOAD_COUNT = 0x00000000
[16:18:28.343] device> SIRM_TRANSFER1_SIZE = 0x00000000
[16:18:28.343] device> SIRM_TRANSFER2_SIZE = 0x00000000
[16:18:28.343] device> SIRM_MAX_TRAILER_SIZE = 0x00000000
[16:18:28.343] device> MANIFEST_N_ENTRIES = 0x0000000000000001
[16:18:28.343] device> MANIFEST ENTRY
00000000 00 00 00 01 00 04 01 01 00 00 00 60 00 00 00 00 ...........`....
00000010 7f bc 00 00 00 00 00 00 96 04 75 1e f1 41 21 09 ..........u..A!.
00000020 23 76 cb cc dd 53 de 34 3a 2e b5 4e 00 00 00 00 #v...S.4:..N....
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[16:18:28.343] device> genicam address = 0x0000000060000000
[16:18:28.343] device> genicam size = 0x000000000000bc7f
[16:18:28.355] device> zip file = public_camxml.xml
[16:18:28.356] dom> [GcFeature::set_attribute] Unknown attribute 'xmlns:xi'
[16:18:28.360] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:28.360] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:28.370] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:28.371] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:28.371] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:28.372] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:28.372] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:28.373] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:28.373] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:28.373] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:28.375] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:28.375] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:28.375] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:28.375] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:28.375] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:28.375] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:28.375] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:28.376] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:28.376] device> Failed to set endpoint 81 in halt condition: LIBUSB_ERROR_IO
Testing ':'
Genicam:Load SUCCESS
Genicam:Schema IGNORED
Properties:SensorSizeReadout SUCCESS
Properties:SensorSizeCheck IGNORED
Properties:GainReadout SUCCESS
Properties:ExposureTimeReadout SUCCESS
[16:18:28.382] stream> SIRM_INFO = 0x03000000
[16:18:28.382] stream> SIRM_REQ_PAYLOAD_SIZE = 0x000000000005eec0
[16:18:28.382] stream> SIRM_REQ_LEADER_SIZE = 0x00000034
[16:18:28.382] stream> SIRM_REQ_TRAILER_SIZE = 0x00000024
[16:18:28.382] stream> Required alignment = 8
[16:18:28.383] stream> SIRM_PAYLOAD_SIZE = 0x0005eec0
[16:18:28.383] stream> SIRM_PAYLOAD_COUNT = 0x00000001
[16:18:28.383] stream> SIRM_TRANSFER1_SIZE = 0x00000000
[16:18:28.383] stream> SIRM_TRANSFER2_SIZE = 0x00000000
[16:18:28.383] stream> SIRM_MAX_LEADER_SIZE = 0x00000038
[16:18:28.383] stream> SIRM_MAX_TRAILER_SIZE = 0x00000028
[16:18:29.513] sp> USB transfer error: LIBUSB_ERROR_TIMEOUT
[16:18:29.515] stream> [UvStream::finalize] n_completed_buffers = 10
[16:18:29.515] stream> [UvStream::finalize] n_failures = 0
[16:18:29.515] stream> [UvStream::finalize] n_underruns = 0
[16:18:29.515] stream> [UvStream::finalize] n_aborted = 0
[16:18:29.515] stream> [UvStream::finalize] n_transferred_bytes = 3888840
[16:18:29.515] stream> [UvStream::finalize] n_ignored_bytes = 0
[16:18:29.515] stream> [Stream::finalize] Flush 2 buffer[s] in input queue
[16:18:29.515] stream> [Stream::finalize] Flush 0 buffer[s] in output queue
MultipleAcquisitionA:BufferCheck SUCCESS 10/10
MultipleAcquisitionA:FrameRate SUCCESS 10.00 Hz
[16:18:29.523] stream> SIRM_INFO = 0x03000000
[16:18:29.523] stream> SIRM_REQ_PAYLOAD_SIZE = 0x000000000005eec0
[16:18:29.523] stream> SIRM_REQ_LEADER_SIZE = 0x00000034
[16:18:29.523] stream> SIRM_REQ_TRAILER_SIZE = 0x00000024
[16:18:29.523] stream> Required alignment = 8
[16:18:29.523] stream> SIRM_PAYLOAD_SIZE = 0x0005eec0
[16:18:29.523] stream> SIRM_PAYLOAD_COUNT = 0x00000001
[16:18:29.523] stream> SIRM_TRANSFER1_SIZE = 0x00000000
[16:18:29.523] stream> SIRM_TRANSFER2_SIZE = 0x00000000
[16:18:29.523] stream> SIRM_MAX_LEADER_SIZE = 0x00000038
[16:18:29.523] stream> SIRM_MAX_TRAILER_SIZE = 0x00000028
[16:18:29.865] sp> USB transfer error: LIBUSB_ERROR_TIMEOUT
[16:18:29.867] stream> [UvStream::finalize] n_completed_buffers = 5
[16:18:29.867] stream> [UvStream::finalize] n_failures = 0
[16:18:29.867] stream> [UvStream::finalize] n_underruns = 0
[16:18:29.867] stream> [UvStream::finalize] n_aborted = 0
[16:18:29.867] stream> [UvStream::finalize] n_transferred_bytes = 1944420
[16:18:29.867] stream> [UvStream::finalize] n_ignored_bytes = 0
[16:18:29.867] stream> [Stream::finalize] Flush 2 buffer[s] in input queue
[16:18:29.867] stream> [Stream::finalize] Flush 0 buffer[s] in output queue
SoftwareTrigger:BufferCheck SUCCESS 5/5
[16:18:29.873] stream> SIRM_INFO = 0x03000000
[16:18:29.873] stream> SIRM_REQ_PAYLOAD_SIZE = 0x000000000005eec0
[16:18:29.873] stream> SIRM_REQ_LEADER_SIZE = 0x00000034
[16:18:29.873] stream> SIRM_REQ_TRAILER_SIZE = 0x00000024
[16:18:29.873] stream> Required alignment = 8
[16:18:29.873] stream> SIRM_PAYLOAD_SIZE = 0x0005eec0
[16:18:29.873] stream> SIRM_PAYLOAD_COUNT = 0x00000001
[16:18:29.873] stream> SIRM_TRANSFER1_SIZE = 0x00000000
[16:18:29.873] stream> SIRM_TRANSFER2_SIZE = 0x00000000
[16:18:29.873] stream> SIRM_MAX_LEADER_SIZE = 0x00000038
[16:18:29.873] stream> SIRM_MAX_TRAILER_SIZE = 0x00000028
[16:18:31.903] sp> USB transfer error: LIBUSB_ERROR_TIMEOUT
[16:18:31.904] stream> [UvStream::finalize] n_completed_buffers = 10
[16:18:31.904] stream> [UvStream::finalize] n_failures = 0
[16:18:31.904] stream> [UvStream::finalize] n_underruns = 0
[16:18:31.904] stream> [UvStream::finalize] n_aborted = 0
[16:18:31.904] stream> [UvStream::finalize] n_transferred_bytes = 3888840
[16:18:31.904] stream> [UvStream::finalize] n_ignored_bytes = 0
[16:18:31.904] stream> [Stream::finalize] Flush 2 buffer[s] in input queue
[16:18:31.904] stream> [Stream::finalize] Flush 0 buffer[s] in output queue
MultipleAcquisitionB:BufferCheck SUCCESS 10/10
MultipleAcquisitionB:FrameRate SUCCESS 5.00 Hz
[16:18:31.906] stream> SIRM_INFO = 0x03000000
[16:18:31.906] stream> SIRM_REQ_PAYLOAD_SIZE = 0x000000000005eec0
[16:18:31.906] stream> SIRM_REQ_LEADER_SIZE = 0x00000034
[16:18:31.906] stream> SIRM_REQ_TRAILER_SIZE = 0x00000024
[16:18:31.906] stream> Required alignment = 8
[16:18:31.907] stream> SIRM_PAYLOAD_SIZE = 0x0005eec0
[16:18:31.907] stream> SIRM_PAYLOAD_COUNT = 0x00000001
[16:18:31.907] stream> SIRM_TRANSFER1_SIZE = 0x00000000
[16:18:31.907] stream> SIRM_TRANSFER2_SIZE = 0x00000000
[16:18:31.907] stream> SIRM_MAX_LEADER_SIZE = 0x00000038
[16:18:31.907] stream> SIRM_MAX_TRAILER_SIZE = 0x00000028
[16:18:32.138] sp> USB transfer error: LIBUSB_ERROR_TIMEOUT
[16:18:32.138] stream> [UvStream::finalize] n_completed_buffers = 1
[16:18:32.138] stream> [UvStream::finalize] n_failures = 0
[16:18:32.138] stream> [UvStream::finalize] n_underruns = 0
[16:18:32.138] stream> [UvStream::finalize] n_aborted = 0
[16:18:32.138] stream> [UvStream::finalize] n_transferred_bytes = 388884
[16:18:32.139] stream> [UvStream::finalize] n_ignored_bytes = 0
[16:18:32.139] stream> [Stream::finalize] Flush 0 buffer[s] in input queue
[16:18:32.139] stream> [Stream::finalize] Flush 0 buffer[s] in output queue
SingleAcquisition:BufferCheck SUCCESS
[16:18:32.139] dom> [GcFeature::set_attribute] Unknown attribute 'xmlns:xi'
[16:18:32.145] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:32.145] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:32.155] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:32.157] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:32.157] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:32.157] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:32.158] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:32.158] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:32.158] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:32.158] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:32.160] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:32.160] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:32.160] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:32.160] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:32.160] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:32.160] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:32.161] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:32.162] dom> [Genicam::create_element] Unknown tag (pAlias)
[16:18:32.211] stream> SIRM_INFO = 0x03000000
[16:18:32.211] stream> SIRM_REQ_PAYLOAD_SIZE = 0x000000000005eee0
[16:18:32.211] stream> SIRM_REQ_LEADER_SIZE = 0x00000034
[16:18:32.211] stream> SIRM_REQ_TRAILER_SIZE = 0x00000024
[16:18:32.211] stream> Required alignment = 8
[16:18:32.212] stream> SIRM_PAYLOAD_SIZE = 0x0005eee0
[16:18:32.212] stream> SIRM_PAYLOAD_COUNT = 0x00000001
[16:18:32.212] stream> SIRM_TRANSFER1_SIZE = 0x00000000
[16:18:32.212] stream> SIRM_TRANSFER2_SIZE = 0x00000000
[16:18:32.212] stream> SIRM_MAX_LEADER_SIZE = 0x00000038
[16:18:32.212] stream> SIRM_MAX_TRAILER_SIZE = 0x00000028
[16:18:32.442] sp> USB transfer error: LIBUSB_ERROR_TIMEOUT
[16:18:32.442] stream> [UvStream::finalize] n_completed_buffers = 1
[16:18:32.442] stream> [UvStream::finalize] n_failures = 0
[16:18:32.442] stream> [UvStream::finalize] n_underruns = 0
[16:18:32.442] stream> [UvStream::finalize] n_aborted = 0
[16:18:32.442] stream> [UvStream::finalize] n_transferred_bytes = 388920
[16:18:32.442] stream> [UvStream::finalize] n_ignored_bytes = 0
[16:18:32.442] stream> [Stream::finalize] Flush 0 buffer[s] in input queue
[16:18:32.442] stream> [Stream::finalize] Flush 0 buffer[s] in output queue
Chunks:BufferCheck SUCCESS
[16:18:32.468] interface> Found 1 USB3Vision device (among 6 USB devices)
[16:18:32.468] device> [GvDevice::new] Interface address = 169.254.1.1
[16:18:32.468] device> [GvDevice::new] Device address = 169.254.41.147
[16:18:32.470] device> [GvDevice::load_genicam] xml url = 'Local:iport_cl_gige_pt01_cl0ip01_128xg_1_0_0_D7C3F940.zip;3fff8000;9faf' at 0x200
[16:18:32.470] device> [GvDevice::load_genicam] Xml address = 0x3fff8000 - size = 0x9faf - iport_cl_gige_pt01_cl0ip01_128xg_1_0_0_D7C3F940.zip
[16:18:32.739] device> [GvDevice::load_genicam] Zipped xml data
[16:18:32.762] genicam> [Gc::set_default_node_data] Add 'GevSCPAddrCalc'
[16:18:32.767] device> [GvDevice::new] Device endianness = big
[16:18:32.767] device> [GvDevice::new] Packet resend = yes
[16:18:32.767] device> [GvDevice::new] Write memory = yes
[16:18:32.767] device> [GvDevice::new] Legacy endianness handling = no
Testing 'Pleora Technologies Inc.:iPORT CL-GigE-PT01-CL0IP01-128x'
Genicam:Load SUCCESS
Genicam:Schema IGNORED
Properties:SensorSizeReadout FAILURE [SensorWidth] Not found
Properties:SensorSizeCheck IGNORED
Properties:GainReadout FAILURE [GainRaw] Not found
Properties:ExposureTimeReadout FAILURE [ExposureTimeAbs] Not found
MultipleAcquisitionA:BufferCheck FAILURE [AcquisitionFrameRateAbs] Not found
SoftwareTrigger:NoSupport FAILURE
MultipleAcquisitionB:BufferCheck FAILURE [AcquisitionFrameRateAbs] Not found
[16:18:32.779] device> [GvDevice::create_stream] Number of stream channels = 1
[16:18:32.840] device> [GvDevice::auto_packet_size] Try packet size = 576
[16:18:32.895] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:32.950] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:33.005] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:33.060] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:33.116] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:33.172] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:33.229] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:33.285] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:33.342] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:33.398] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:33.454] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:33.511] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:33.566] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:33.622] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:33.679] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:33.734] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:33.790] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:33.847] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:33.903] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:33.959] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:34.017] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:34.074] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:34.130] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:34.185] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:34.239] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:34.295] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:34.350] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:34.405] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:34.460] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:34.515] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:34.570] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:34.625] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:34.680] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:34.736] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:34.791] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:34.846] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:34.901] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:34.956] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:35.011] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:35.066] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:35.121] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:35.177] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:35.234] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:35.292] device> [GvDevice::auto_packet_size] Try packet size = 56
[16:18:35.348] device> [GvDevice::auto_packet_size] Try packet size = 56
Could you attach the USB informations about your device, using lsusb ?
First you need to find your device vendor:product numbers, for example:
lsusb
Bus 002 Device 067: ID 199e:9088 The Imaging Source Europe GmbH DFK 33UJ003
...
Then display the device informations:
lsusb -d 199e:9088 -v
Bus 002 Device 067: ID 199e:9088 The Imaging Source Europe GmbH DFK 33UJ003
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 9
idVendor 0x199e The Imaging Source Europe GmbH
idProduct 0x9088
bcdDevice 0.00
iManufacturer 1 The Imaging Source Europe GmbH
iProduct 2 DFK 33UJ003
iSerial 3 41610435