LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how extract data from case structure

Hi all, I would like to extract the data from case structure, it's circled in red in the attached file. How should I do it? Thanks for taking your time to look at my post. Your help is greatly appreciated. 🙂

0 Kudos
Message 1 of 9
(3,503 Views)

One Simple solution place them outside the case structure... What do you mean by extracting..? Do you want to take the data elsewhere?

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 9
(3,500 Views)

Hi,

 

first you should remove all those RubeGoldbergs and RaceConditions.

Then you could use a shift register to hold a cluster of your last readings instead of using even more locals...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 9
(3,496 Views)

"Extracting data" is not a LabVIEW term that I know. Could you explain what you mean by it?

Also, please attach your VI instead of a picture. A picture often provides insufficient information.

0 Kudos
Message 4 of 9
(3,485 Views)

Thank you guys for your prompt reply.

 

 

As u can see from the vi, there's an error, I need the values in the circled area to be passed on to the block ( Bundled by name)

 

Thanks !

0 Kudos
Message 5 of 9
(3,480 Views)

Thank you guys for your prompt reply.

 

 

As u can see from the vi, there's an error, I need the values in the circled area to be passed on to the block ( Bundled by name)

 

Thanks !

Download All
0 Kudos
Message 6 of 9
(3,480 Views)

Hi GerdW, Thanks for your reply.

 

My team and I aren't very familiar with labview. We are like newbies and we are sorry we can't really understand the term you're using, (rube goldberg, avoiding race cond). So it there any way you can help us with, using simple terms. Thanks alot

0 Kudos
Message 7 of 9
(3,465 Views)

Hi lancelim,

 

even newbies can use standard tools for looking up information:

here and here

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 9
(3,459 Views)

Just connect your BP to the Bundle by name. However, as you've wired it, it wont update until the loop stops.

 

Race condition is what happens when you read and write to the same variables at the same time, you dont know which performs first. It's a very common problem when using Local Variables as there's no wires to dictate when it'll execute.

 

Rube Goldberg is when using unnecessarily advanced solutions.

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 9 of 9
(3,453 Views)