LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

while loop inside the event structure

Have you downloaded the JKI state machine?  If not, you can find it here.

You'll also find tutorials for using it. 

aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
0 Kudos
Message 11 of 15
(378 Views)

@newmemeber123 wrote:

hello sorry for late reply... im attaching the VI the parallel loops with procedure and consumer architecture but im not getting how to queue the visa resource name out in a queue so the 1st loop will execute once and then next while loop execute continuously.( commands in 1st loop are initialization  commands for 2nd loop that is the reason it should execute once and measurements in the 2nd loop measure continuously. ). waiting for suggestions. 


Your code and description still has very serious logical and architectural problems.

 

  • You have two parallel while loops so there is no "first" and "second".
  • Why you would wire a queue to a visa resource is very hard to understand.
  • You can never close the queue because after the panel close event, the queue is invalid (use default if unwired!).
  • Iterations are integers, so why do you have a DBL for "desired iterations"?
  • Never hide the label of terminals (e.g. the stop button)
  • ...
  • ...

 

On the front panel, don't waste time with ugly decorations, that comes last!

Arrange the controls logically instead of scattered randomly.

0 Kudos
Message 12 of 15
(365 Views)

i downloaded it buts showing like unpublished in lab-view

0 Kudos
Message 13 of 15
(338 Views)

i will improve this and i will be back

0 Kudos
Message 14 of 15
(337 Views)

@newmemeber123 wrote:

i downloaded it buts showing like unpublished in lab-view


What is "it" and what is you definition of "unpublished"? What is lab-view? (Do you mean LabVIEW?)

Message 15 of 15
(299 Views)