08-02-2021 09:48 AM
silly question but how can I stick an input for the class type?
The create control option does not work here? XD
Best Wishes
Andrew
08-02-2021 10:04 AM
@AndrewIons01 wrote:
silly question but how can I stick an input for the class type?
The create control option does not work here? XD
I don't know what that means.
You can create class controls.
If you expect a cluster, than that's not possible. By design. You can only unbundle\bundle the elements in the class.
08-02-2021 10:11 AM
When i create a control, i only see a grey square like this, how do I create a control where i can give the user control over which camera is which and which ones can be activated.
Best Wishes
Andrew
08-02-2021 10:23 AM
@AndrewIons01 wrote:
When i create a control, i only see a grey square like this, how do I create a control where i can give the user control over which camera is which and which ones can be activated.
Those are class controls, so you can't change the data directly.
Make a VI that sets the camera.
This could be the init. So the init would have a numeric, string or whatever, and pu tit in the class's private data.
08-03-2021 03:08 AM
Hi Wiebe
I am making progress with the OO version of the code and it seems to be coming along very nicely.
I do have another question however?
I was trying to tune my PID controller again and ended up sending the beams off of the screen, I am aware that the method I am using will cause some degree of movement in the other motors but I don't see why I should be causing the beams to go off of the screen.
I have a feeling its could be a problem with the transformation matrix. This is supposed to be a matrix that relates change in position with change in voltage/ number of steps.
Would anyone be able to check to see if this matrix is built correctly?
Best Wishes
Andrew