LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

loops

How to let everytime the loop excuted to be controlled by some inputs ?

0 Kudos
Message 1 of 12
(3,130 Views)

You need to give a lot more information.  I have no idea what you are trying to do.  How is the loop supposed to be controlled?  What inputs?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 12
(3,121 Views)

I have a huge loop and some inputs and what I need is to change the inputs for each time the loop is excuted. Got it ?

0 Kudos
Message 3 of 12
(3,109 Views)

@MarinaNashaat wrote:

I have a huge loop and some inputs and what I need is to change the inputs for each time the loop is excuted. Got it ?


Who is changing the inputs?  The user?  The loop itself?  Reading from a file?  Reading from an instrument?

 

What is the loop doing?

 

Any example code you can share to give context will help.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 12
(3,093 Views)

I change the inputs manually ... I want to change the inputs every loop excution so the loop excutes different cases "from case structures which is inside the loop" .. Got it ?

0 Kudos
Message 5 of 12
(3,085 Views)

In another way ... Inside the loop I'm displaying different messages to the user according to the given inputs so when the loop is excuted 4 times .. it displays the same message to the user 4 times ...SO I need to give different inputs each time to display different messages .. GOt it ?

0 Kudos
Message 6 of 12
(3,076 Views)
Your constant 'got it' is just an irritating comment and not at all professional. Your question is unclear. If what you really want to do is change from manual control to automatic control of a select number of parameters, you can simply say that. To make that change, you can change your controls to arrays and index the array with each iteration of the loop. Any more help will require you to post your code. Got it?
0 Kudos
Message 7 of 12
(3,058 Views)

Sorry for saying it ..I didn't meant at all ! 

0 Kudos
Message 8 of 12
(3,042 Views)
Okay, did I guess right as to your ultimate goal? Do you understand about replacing the controls with arrays?
0 Kudos
Message 9 of 12
(3,036 Views)

Can you run this ? let Q in parameters Query =2 and the RN16 String leave it empty and Run ...an MSG will be displayed till the loop stops .. all my work depends on RN16 input / PC/XPC,EPC,PacketCRC input / RN16 flag / PC/XPC,EPC,PacketCRC input flag ...and I need to change them to something changing each excution "I mean I can't use arrays because I Don't know the whole values for each input before running the program " ..  

0 Kudos
Message 10 of 12
(3,031 Views)