04-15-2014 10:08 AM
I installed IMAQdx as an addon for Labview. I managed to make it run but I am getting a timeout error (error 1074360293). The IMAQdx sign is placed in a while loop. Images start being produced after about 15 cycles and only last for 3 cycles before producing the timeout error mentioned above. How can I fix this?
Solved! Go to Solution.
04-22-2014 02:06 AM
Hi
This one is probobly easily fixed if we know what the code looks like. Please post the code or a picture of it.
Best regards
04-22-2014 07:44 AM
These are two attempts of the code. Thank you for your help
04-22-2014 08:01 AM
I don't have any experience with your acquisition method, but in the attached VI I show you how I do it. Is this helpfull for you are do you need to do it your way?
Kind regards
Ruts
04-22-2014 08:29 AM - edited 04-22-2014 08:30 AM
Ok, so you are using express vis. All the settings are hidden inside of the express vi, so its hard to see whats wrong. I duplicated the your code on a "vi level" and it worked for me.
To get forward, you can:
1) Try to remove the daq-task from the while loop and see if it helps.
2) Try diffrent settings for the vision express vi.
3) Use the solution suggested by "RutsT" above (using native IMAQdx vi).
I prefere (3), it will probobly work.
best regards.
04-23-2014 07:23 AM - edited 04-23-2014 07:44 AM
Thank you.
04-23-2014 07:33 AM - edited 04-23-2014 07:43 AM
Thank you. I tried opening it but since I have an older version of labview (2010) I could not open your vi. Would it be possible to get a screenshot?
Also, this is also one of our older attempts but it produces the timeout error. We then deleted the outside loop and the daq assistant, it ran but only produced a black image
04-23-2014 08:16 AM
I saved the vi in LabVIEW2010 for you.
Best regards
04-23-2014 09:09 AM
Thank you very much DanOlsson and RutsT. I managed to get it to work but, the camera produces some completely black frames first then the images start being generated. Do you know what could be the cause of this and if there a way to fix it. I attached a screenshot of the code.
04-23-2014 09:30 AM
DanOlsson made a litlle change to my VI, I don't use the shift register. Maybe try that, altough with shift register is also works fine for me. DanOlsson is there a reason why you use a shift register? It looks unnessecary to me.
Grtz Ruts