LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview tunnel and indicator acting unexpectedly

I want to pass the true values of my machine location to the indicator "System Status Report," but the values are replaced with the zero vector and the indicator remains at zero. Supposedly this code works on my Porfessor's computer, so I'm wondering if this is a settings issue or something. Any help would be greatly appreciated.

0 Kudos
Message 1 of 7
(1,595 Views)

Can you save for previous. Most here don't have LabVIEW 2021.

 

(it is also hard to tell what we are supposed to look at in the video)

0 Kudos
Message 2 of 7
(1,592 Views)

The interesting part is that the case structure is handling the no-error case.

 

My theory is that whenever there is "no error" the data is 0 and probe 14 updates data, but the majority of the time when you get correct data, it comes with an error and hence your probe 14 is not updating.

 

Important - never leave error wires unwired or else you will spend time debugging why things don't work when you have an error.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 3 of 7
(1,572 Views)

I opened your block diagram.

For a short time.

Then I closed it.

It's way too ugly for me.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 4 of 7
(1,549 Views)

Hi jpdunn,

 

probe also the error cluster coming out from JSON to LabVIEW subVI. 
I bet it's not tunnel and indicator acting unexpectedly, but rather there's an error in the error cluster, which then runs the case structure with an error scenario.

 

 

_______________________________________________________________

-Patrik
CLA || CTA
If it helps - Kudo it, if it answers - Mark As Solution
0 Kudos
Message 5 of 7
(1,522 Views)

I've figured out a partial solution. The error cases are necessarily triggered while running the machine. They control which status report the unflatten from JSON reads. I added feedback nodes like shift registers and that seems to be doing the job for the status report, although the "qr out" doesn't seem to be working with unflatten form JSON.

0 Kudos
Message 6 of 7
(1,492 Views)

Did anyone actually check the VI that there are no overlapping tunnels, for example? (No LabVIEW 2021 access here)

0 Kudos
Message 7 of 7
(1,477 Views)