LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Losing data along wire when not in Highlight Execution

Solved!
Go to solution

I don't have LV2018, but last I checked, you can't put two probe points on the same wire.  Anyone have a clue what's happening here?

0 Kudos
Message 11 of 33
(1,237 Views)

Good catch - unless this has changed in LV2018 (why would it) it looks like you have two wires overlapping. 


@Mancho00 wrote:

I don't have LV2018, but last I checked, you can't put two probe points on the same wire.  Anyone have a clue what's happening here?


 

0 Kudos
Message 12 of 33
(1,228 Views)

I don't think I do? I've attached a version that's even cleaner and showing the same problem.Losing Data 3.png

0 Kudos
Message 13 of 33
(1,210 Views)

Something is pointing to a wiring problem with the double probe.  When I open your VI, I don't see an extra wire that could cause a double probe.

 

Use Block Diagram Cleanup tool on your diagram.  If there are overlapping tunnels or wires, they should jump out.

 

There is no need for a separate tunnel to exit the while loop to go to the indicator.  Just use the output of the shift register.

0 Kudos
Message 14 of 33
(1,208 Views)

Can you save for a prior version?

0 Kudos
Message 15 of 33
(1,207 Views)

Just for clarity, place a probe on the Action wire as well.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 16 of 33
(1,201 Views)

I think the probe thing is a red herring.  In fact, it's not even incorrect.  I believe wires are different across structure boundaries, since the values could be different from one side to the other.  (Tunnels/SRs.)

 

Try triple-clicking a wire to see if you can select anything "on the other side" of a boundary and you'll see what I mean.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 17 of 33
(1,189 Views)

@billko wrote:

I think the probe thing is a red herring.  In fact, it's not even incorrect.  I believe wires are different across structure boundaries, since the values could be different from one side to the other.  (Tunnels/SRs.)

 

Try double-clicking a wire to see if you can select anything "on the other side" of a boundary and you'll see what I mean.


I believe you're looking at the wrong image - the one on the prior page (post 10) shows two probes on what appears to be the same wire.

0 Kudos
Message 18 of 33
(1,183 Views)

They are referring to the picture in message #10 where probes 2 and 4 "appear" to be on the same wire in the same structure, i.e. between the case structure and the while loop.

0 Kudos
Message 19 of 33
(1,181 Views)

In either case, unless its a duplicate wire, as others have said it is most likely a race condition. In whatever case you are passing out the default value, replace that with a 'test' string constant, and put a breakpoint in that case. I would bet it is being called from somewhere you aren't expecting. 

0 Kudos
Message 20 of 33
(1,178 Views)