LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

No Errors, but VI will not execute

Solved!
Go to solution

@lxjx wrote:

I had to change the mechanical action so that I could use the stop button as a local variable.  There was an error stating that the latching action was incompatible with local variable


 Well, you do need to write the boolean back to F yourself then to reset the Stop boolean

"Should be" isn't "Is" -Jay
0 Kudos
Message 11 of 24
(1,452 Views)

I can deal with the stop button issue.  I am still getting an issue with the vi not executing though.

0 Kudos
Message 12 of 24
(1,450 Views)

Are you still getting no results?  Have you tried highlighting the execution or adding an ERROR indicator to the last VI in the chain.

 

I still bet your physical channel control(s) are just set wrong for your hardware.  This will cause the create channel VI to fail and an error will propagate down the line so none of the subsequent code will even execute.

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 13 of 24
(1,447 Views)

The real question is are you still getting the same error message you got in the first message where there are no errors, but yet the VI says it won't execute.  Can you post a screen shot of your VI and any error messages of when the arrow isn't broken, yet it isn't executable?

0 Kudos
Message 14 of 24
(1,441 Views)

Here is the error that I am getting.  The channels that I am using as inputs to the physical channels are valid channels for my device.  There seems to be an error message that pops up before the 'no vis with errors' message pops up, but it flashes too fast to read it.  I've tried to place an error indicator in various places to catch that potential error, but I've not been able to capture it.

0 Kudos
Message 15 of 24
(1,436 Views)

Try this VI. All I did was open and resave yours.  When I open yours, I get the "dirty dot" which says LabVIEW recompiled your VI.  After saving and reopening, I know longer get the dirty dot.

 

You said you've ctrl-clicked the run arrow, and also copied your block diagram to a new VI, and neither of these things helped.  What if you just recreate your VI from scratch in a new VI?

0 Kudos
Message 16 of 24
(1,430 Views)

@Ravens Fan: I am still getting the same error with the resaved code.

0 Kudos
Message 17 of 24
(1,425 Views)

I've also tried to rebuild the AO portion from scratch and it comes up with the same error.

0 Kudos
Message 18 of 24
(1,423 Views)

By clicking the run arrow quickly, multiple times, I was able to read what the pop-up message says before the 'no error' screen.  The pop up message is - "Poly VI 'DAQmx create virtual channel.vi': Polymorphic Subvi is broken"

0 Kudos
Message 19 of 24
(1,401 Views)

repair NI DAQ


"Should be" isn't "Is" -Jay
0 Kudos
Message 20 of 24
(1,396 Views)