Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

two while loops

Dear,
 
In my rough thinking in making timer, I tried to realize this with two while loops (see my attachment).
1. Why one(below) of two while loops couldn't be run ?
2. how can the values inside another(above) loop be extracted to the outside or the below loop in real time?
 
0 Kudos
Message 1 of 3
(2,612 Views)

Your second loop will wait to start until your first loop is finished. Read about the dataflow principle in the Labview manual, is THE basic principle in Labview.

One way of piping values from one independent loop to another is using queues. (Advanced-synchronization) ... depending on your task.  The bad and ugly way is using Locals or Globals.     

BTW: this is more related to the LabVIEW forum

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 2 of 3
(2,608 Views)

sorry for my mistakes.

 

메시지가 09-12-2005 05:12 AM에 labmaster에 의해 편집되었음

메시지가 09-12-2005 05:12 AM에 labmaster에 의해 편집되었음

0 Kudos
Message 3 of 3
(2,607 Views)