Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Probes (and some other aspects) not working (http://www.chiefdelphi.com/forums/showthread.php?t=101095)

Joe Ross 26-01-2012 16:40

Re: Probes (and some other aspects) not working
 
Quote:

Originally Posted by JohnGilb (Post 1114057)
Ah, there is one more thing I failed to mention.

If you turn on "Retain Wire Values" before running the VI, then everything appears to work perfectly (all probes work). However, if you start with "Retain Wire Values" off and then turn it on during execution, you still see "Not Executed."

I think that's another hint that the problem isn't that the probes aren't working, but that your code really is only executing once.

JohnGilb 26-01-2012 16:53

Re: Probes (and some other aspects) not working
 
I'll double-check tonight, but I'm fairly certain the code is executing. It's responsible for moving the robot around, and the robot actually does move around. I tried putting probes just before the "Motor -> Set Output" and got "Not Executed."

One way or another, I'll have more information in a few hours.

JohnGilb 26-01-2012 17:14

Re: Probes (and some other aspects) not working
 
One other note -

After noticing this behavior, I tried to change my debugging strategy. I placed breakpoints on various blocks (some .vi's, some just basic blocks) in the code. When the breakpoints were hit, I probed the wires, and saw "Not Executed."

If you break on a block, shouldn't the wires that are attached to the inputs of that block be available for probe?

Thanks in advance.

JohnGilb 26-01-2012 20:26

Re: Probes (and some other aspects) not working
 
1 Attachment(s)
All right, the project is attached. Here is the (in)consistent repro:

1) Download the code to the robot
2) Without enabling the robot (you can enable it, this just saves you a step), just go to Robot Main --> Periodic Tasks --> Mobility System.vi
3) Put some probes around. Nearly all of them say "Not Executed."

One curious example is the Gyro1, which is updating the front panel, but shows "Not Excuted" on the wire going into it on the Block Diagram.

Any red flags in our code that would explain this strange failure?

JohnGilb 27-01-2012 13:20

Re: Probes (and some other aspects) not working
 
Is there any sort of logging that LabVIEW does that I can package up (or would something like a memory dump be helpful?)


All times are GMT -5. The time now is 22:22.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi