12-29-2014 10:04 AM
Hello,
I have build an application with LabVIEW and I am using two GigE cameras. In NI MAX, I set the names cam0 and cam1 respectively.
Everything is working properly in the computer where I have build the application, when I execute it but when I execute the application in a different computer (that doesnt have LabVIEW installed, just VAS, Vision RTE and RTE), the application executes but the cameras dont show images.
It seems that the application doenst recognize the name and doesnt open the cameras...(I have set the same name as in the other computer: cam0 and cam1)
Any help?
Thank you.
12-29-2014 12:11 PM - edited 12-29-2014 12:14 PM
On the other computer can you see the Cameras in MAX? The names are local to the computer and don't transfer from one computer to the next. It's also possible you left out something out of the VAS install. Check the software section in MAX as well to ensure you have everything.
12-29-2014 03:35 PM
Make sure the Vision RTE has an active License, at RT license is required for vision.
12-29-2014 03:37 PM
Yes, the cameras are displayed correctly in NI MAX in both computers and with the same names: cam0 and cam1. All the software is installed and with license.
12-29-2014 03:53 PM - edited 12-29-2014 04:00 PM
If you can see the images in MAX but not your app, that points to an app error.
What happens when you run the EXE on the development computer? Do you get images?
Surely one of the aquisition VIs or something is throwing an error. Are you correctly passing errors around? Maybe there's an error opening a config file you forgot to put on your RTE computer.
Also, when you say you can't see the images, are they black or gray or what?
12-29-2014 04:00 PM
Yes, in the development compueter everything is working fine. On the RTE computer, the application executes, but doesn't open the cameras. I have not link the errors wires in the program, should I? It seems that the ID of the cameras changes (because the name is still the same).
12-29-2014 04:03 PM
Yes, we will debug this much faster if we know what component is thowing the error.
12-30-2014 03:36 AM
The images are black. I have connected the errors and I have place an indicator at the end, but no error is displayed at the RTE computer.
I am trying to attach the .vi for you, I think that it would be easier, but I can't: "The content of the file doesn't match with the type".
Thank you very much.
12-30-2014 08:34 AM
zip the vi file or try to use another browser.
Sometimes that help in attaching files to the forum posts.
12-30-2014 10:28 AM
Is the black image the right height and width? It's possible the camera settings are not right on the RTE computer and the exposure is too short. You can sometimes diagnose this with a really bright light and selecting the rainbow pallet on your image display.