07-27-2021 08:25 AM
Hi
Right, I will see what vis are missing and get them too you immediately.
what can I give you regarding the camera setup?
The cameras are two Hikrobot MV-CA013-20GM cameras and one Hikrobot MV-CA013-20GN cameras communicating via a GigE connection.
I ill try to get a MWE version to you as soon as i can.
Best Wishes
Andrew
07-27-2021 08:41 AM - edited 07-27-2021 08:45 AM
Hi Andrew,
when opening the only lvproj file in your ZIP then the one and only VI referenced in this project is missing:
When opening some of those other VIs in that folder they also claim for missing subVIs…
What's so hard to maintain all related files in one folder and in one lvproj project file?
07-27-2021 08:54 AM
@GerdW wrote:when opening the only lvproj file in your ZIP then the one and only VI referenced in this project is missing:
When opening some of those other VIs in that folder they also claim for missing subVIs…
I got the same.
07-27-2021 08:59 AM
Hi Gerd and Wiebe
Im very sorry I have made a very stupid error. Give me a few moment to clear my mind and sort this mess out.
Best Wishes
Andrew
07-27-2021 11:08 AM
Hi both
I have tried to put everything into one folder but apparently even as a zip file, it tells me that its too large. Is there another alternative?
07-27-2021 11:15 AM
Hi Andrew,
@AndrewIons01 wrote:
I have tried to put everything into one folder but apparently even as a zip file, it tells me that its too large. Is there another alternative?
Well, when the resulting ZIP file is too large, then you probably didn't create a "MWE"… 😉
07-27-2021 01:39 PM
I have made a minimum version I think, how can i copy all the dependencies into 1 folder without having to dig them all up
07-27-2021 01:52 PM
Hi Gerd
try this one and let me know how it goes. 🙂
Best wishes
Andrew
07-28-2021 03:18 AM
@AndrewIons01 wrote:try this one and let me know how it goes. 🙂
I think our ideas about minimum are different 🙄.
We cannot run this code. Even if I had IMAQ installed, I wouldn't have the camera setup. How are we ever going to test values coming out of a PID without even valid inputs?
For a MWE (in this case, something that shows your error in the PID) I'd expect the PID VI and a VI that calls it. Nothing else.
BTW and OT:
At this time of your development, you might have a look at OO. It seems that the way you treat your camera (as an object) is very OO-ish. Putting all camera stuff in a camera class, and all camera data in the class's private data is pretty much what you're doing now, but with a class it will actually be nice. The camera is just one example, but very exemplary.
Once you have it working (and a good understanding of OO), it would be very (very) easy to make a child class that simulates the camera. That way, you can very easily switch between real camera input and a recording. As a bonus.
07-28-2021 03:30 AM
Hi Wiebe
I will send you the PID vi, with some image data then. What is OO?
I have never heard of this term before?
Best Wishes
Andrew