Comments (5)
The output of gc_stream shows that it successfully received buffers. gc_stream should either store images and show this on standard output, or produce an error message, e.g. if the image format is unknown. The only reason for not seeing either of it is that there is no image data contained in the buffer. I think that you should check if your camera is properly configured.
from rc_genicam_api.
@heikohimu Thank you for the inputs.
When we change the settings for "ChunkModeActive" to 'False', get the below error :
$ ./gc_stream 22034422 ChunkModeActive=0
Package size: 1500
Exception: Invalid layout of buffer attached to chunk parser! : RuntimeException thrown (file 'ChunkAdapterGEV.cpp', line 97)
Does gc_stream work only when ChunkModeActive is 'True' ? If so, what should be the config value for "ChunkSelector"
from rc_genicam_api.
Is there a reason for disabling chunks if they are available?
gc_stream checks if chunks a available and enables them if possible. This happens in this line https://github.com/roboception/rc_genicam_api/blob/master/tools/gc_stream.cc#L401 The user parameters are applied afterwards, so gc_stream expects chunks, but buffers do not contain any. I should change the code to check if the user explicitly disables chunks.
For the moment, you could just initialize chunkadapter with 0 in the code.
from rc_genicam_api.
That worked. Thank you for the inputs.
Here is the diff for the reference :
diff --git a/tools/gc_stream.cc b/tools/gc_stream.cc
index e26191f..7a67560 100644
--- a/tools/gc_stream.cc
+++ b/tools/gc_stream.cc
@@ -398,8 +398,9 @@ int main(int argc, char *argv[])
// get chunk adapter (this switches chunk mode on if possible and
// returns a null pointer if this is not possible)
- std::shared_ptr<GenApi::CChunkAdapter> chunkadapter=rcg::getChunkAdapter(nodemap, dev->getTLType());
+ //std::shared_ptr<GenApi::CChunkAdapter> chunkadapter=rcg::getChunkAdapter(nodemap, dev->getTLType());
+ std::shared_ptr<GenApi::CChunkAdapter> chunkadapter=0;
// set values as given on the command line
int n=1;
from rc_genicam_api.
The problem with Basler cameras is fixed in rc_genicam_api release 2.5.0.
from rc_genicam_api.
Related Issues (20)
- [Question]: Compatibility with GV-5260CP-M-GL GigE Vision Camera HOT 2
- Stream::getTLType(): std::string address passed to DSGetInfo HOT 2
- Enable multiple Components but receiving only the first one? HOT 2
- Chunk Data from rc_visard HOT 4
- ICommand::Execute() - wrong return type HOT 4
- Where can I find examples of using this API? HOT 1
- Issue with using READONLY mode for Basler camera HOT 7
- Compatibility with USB Vision cameras? HOT 2
- Does it support in nvidia TX2 ARM(V8) product HOT 2
- Linking in cmake HOT 4
- How can i find device by ip address?
- How can i open a device by ipaddress? HOT 1
- saving values instead of images HOT 2
- [BUG] Get this error ```Interface::open(): Module not initialized (-1002)``` occasionally HOT 3
- Ubuntu 22.04 Incomplete buffer received HOT 1
- before ip address configed,should be able to know which network it connected to . HOT 1
- Execution on ARM(v8) not Possible | Stoull HOT 6
- Transport Layer HOT 1
- build eroor when use vcpkg install on ubuntu 16.04 and gcc 7.5, HOT 1
- crash when reboot camera durning grab HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rc_genicam_api.