06-15-2021 02:23 AM
Hello,
USB Camera works in vi file. In the exe file but the screen is black. I tried other solutions posted in the forum. There are those who wrote that it was fixed when repaired. I tried again it didn't work. Then I completely uninstalled labview. I reinstalled. It still didn't work. How can I find a solution?
Thanks for help
Solved! Go to Solution.
06-15-2021 02:30 AM
Hi Melli,
do you get any errors in your executable from IMAQ?
When the image display stays black then there should be an error…
AFAIK you need runtime licenses to use IMAQ/Vision functions in executables: can this be an error source in your case? (I'm not sure about that as I don't work with IMAQ.)
06-15-2021 02:37 AM - edited 06-15-2021 02:44 AM
There is no errors. Just black screen.
I checked licenses. It is okey.
I tried it when I took labview lesson. I saw it working. But now I'm stuck in my undergraduate project.
06-15-2021 02:44 AM
06-15-2021 02:59 AM
Hi, GerdW
I put error box. There was not error. The interesting thing is the camera works in vi.
I think it's a firewall issue. Do you think this could be the problem? If it is firewall problem, how can I solve?
06-15-2021 03:02 AM
Hi Melli,
@MelliCain wrote:
I think it's a firewall issue. Do you think this could be the problem? If it is firewall problem, how can I solve?
Maybe a firewall interferes network communication of your executable…
To solve that you need to check the firewall settings/parameters/rules!
06-15-2021 06:35 AM
I checked the firewall. Exe file is allowed. I did it once. There was no problem. Why is this happening? How can I find a problem?
06-15-2021 06:47 AM
Hi Melli,
@MelliCain wrote:
How can I find a problem?
Then you need to debug your code.
As you did not provide any attachments so far you need to do that on your own!
When the executable only "shows a black image" then I see two options:
In the end it sums up to "Debug your code"…
06-15-2021 06:52 AM
I have had this problem before. The quick fix was to manually install the vision runtime engine. There is a kowledgebase for this but I can't find it now.
06-15-2021 07:16 AM
In the EXE build settings, there is check box called "Allow future versions of the LabVIEW Runtime to run this application". Try turning that off.