LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Case Structure Problem (probably trivial)

Solved!
Go to solution

Hey guys, since last time I managed to get my hardware work with LabView (big thanks to Mark Yedinak).

So I am receiving signal data from a TCP Socket , and i get the Signal presented on a graph.

 

No I am trying to make a simple fuzzy controler, to classify the signal. But somehow my Data is not leaving the case structure, any idea how to make the data stream flow through to the fuzzy control? When I set a probe on the wire it says "not executed"

 

grafik.png

 

 

 

0 Kudos
Message 1 of 4
(2,610 Views)
Solution
Accepted by topic author lepina

Hi lepina,

 

THINK DATAFLOW!

 

But somehow my Data is not leaving the case structure,

The data will leave the case structure - but not the while loop around that! THINK DATAFLOW!

 

any idea how to make the data stream flow through to the fuzzy control?

Several options:

- put everything into just one loop

- use notifiers/queues/channels to transfer data between loops

Again: THINK DATAFLOW!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(2,601 Views)

If you run your VI in Highlight mode (the lamp on toolbar) you'll see what's happening. Your data won't "leave the loop" until you stop the first loop, exactly like you've programmed it.
Also, the 2nd loop won't start until you stop the 1st for the same reason.

/Y

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

Qestit Systems
Certified-LabVIEW-Developer
Message 3 of 4
(2,583 Views)

thanks I put all into the same loop and its working fine!

Message 4 of 4
(2,579 Views)