Jump to content

read data while loop is still running


Recommended Posts

I've fully wrapped a genicam sdk in lv. The images are being read out in a loop. I would like to read the images out via another vi. The issue at the moment is, that the images are being passed after the loop is done.. I've looked into produce/consumer but then the aquisition fails. The image how I read out the data is attached. I'm curious how the lv-pros would pass each frame to antoher vi?quesion_lv.png.34d7ebb73a0ce07676558cb1ce077575.png

Link to comment
14 hours ago, ShaunR said:

What do you mean "fails"? You are not consuming fast enough?

When I use the producer consumer pattern mycamera throws an "Error" telling me that the handle is incorrect. This happens only when I try to pass the data to the consumer as shown in the following link https://labviewwiki.org/wiki/Producer/Consumer

this happens as well when I use the synchronised consumer

Link to comment
1 hour ago, thenoob94 said:

When I use the producer consumer pattern mycamera throws an "Error" telling me that the handle is incorrect. This happens only when I try to pass the data to the consumer as shown in the following link https://labviewwiki.org/wiki/Producer/Consumer

this happens as well when I use the synchronised consumer

What are you queueing? The image array or the U64 reference? (then reading the image in the consumer).

You'll need to post your code so we can see what you are doing.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.