07-25-2011 11:50 AM
@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
07-25-2011 11:52 AM
I can deal with the stop button issue. I am still getting an issue with the vi not executing though.
07-25-2011 11:56 AM
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.
07-25-2011 12:03 PM
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?
07-25-2011 12:17 PM
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.
07-25-2011 12:24 PM
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?
07-25-2011 12:29 PM
@Ravens Fan: I am still getting the same error with the resaved code.
07-25-2011 12:30 PM
I've also tried to rebuild the AO portion from scratch and it comes up with the same error.
07-25-2011 12:55 PM
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"
07-25-2011 01:07 PM
repair NI DAQ