LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PID tuning array instance

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 

0 Kudos
Message 31 of 65
(1,177 Views)

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?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 32 of 65
(1,176 Views)

@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.

0 Kudos
Message 33 of 65
(1,165 Views)

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

0 Kudos
Message 34 of 65
(1,157 Views)

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? 

0 Kudos
Message 35 of 65
(1,140 Views)

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"… 😉

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 36 of 65
(1,138 Views)

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

 

0 Kudos
Message 37 of 65
(1,127 Views)

Hi Gerd

 

try this one and let me know how it goes. 🙂

 

Best  wishes

Andrew

0 Kudos
Message 38 of 65
(1,124 Views)

@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.

0 Kudos
Message 39 of 65
(1,111 Views)

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

 

 

0 Kudos
Message 40 of 65
(1,107 Views)