05-10-2022 07:40 AM
The attached .vi will be apart of a larger .vi, that will go to index arrays, controlling SSR's.
I cannot seem to figure out why it freezes after completing a cycle of any of the four test cases.
Just a heads up, I'm very new at LabVIEW and I'm forced to try and learn it at a fast pace.
I understand there is probably another way to do this, but I'm trying to accomplish it using simplicity.
Thanks in advance!
05-10-2022 08:06 AM - edited 05-10-2022 08:08 AM
Hi Noob,
@NoobGee wrote:
Just a heads up, I'm very new at LabVIEW and I'm forced to try and learn it at a fast pace.
I understand there is probably another way to do this, but I'm trying to accomplish it using simplicity.
The VI "freezes" because of:
Suggestion:
Start over from scratch!
Start with drawing an algorithm on a sheet of paper first…
05-10-2022 10:51 AM
@NoobGee wrote:
I understand there is probably another way to do this, but I'm trying to accomplish it using simplicity.
Sorry you need to learn LabVIEW so quickly, but you are just digging yourself into a hole here. Your VI has nothing to do with "simplicity" but is completely constipated. All your events lock the front panel until the event completes, but due to interactive inner loops, the VI can never complete because the interaction is never seen. Stuck forever!
It is really not nice to attach a VI with a front panel as follows. Is that what you are planning to present to the user?
05-10-2022 11:47 AM
Unfortunately my only option is Rude Goldberg at the moment.
I've had bare minimal experience with LabVIEW and no one else at the facility has any 🤣. All of my experience is NI forums, google and playing around. I have not been able to take any formal classes. My company plans to hire an instructor in the near future.
I agree with it being constipated! Trying to have it fit to one screen.
How do I see what interactions are not being completed?
The attached .vi is my endgame... When it works correctly. The calibration can be deleted to see funcion.
The While loops for each match up with the front panel.
I am going to look into your suggestions and see what I come up with
05-10-2022 12:05 PM
@NoobGee wrote:
The attached .vi is my endgame... When it works correctly. The calibration can be deleted to see funcion.
That obviously will not work. Your upper loop cannot go to the next iteration until all inner while loops have completed.