LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the possible reason for "non executable vi" error message

A friend sent me a library of VIs and subVIs that ramp the voltage. Last year i used the VIs as part of a program, and as far as i remeber, all i did to get it to work, with put in the device and channel number tinto the Output ramp subvi. I am in a different laboratory now and i am trying to adapt the same VI, however, this time, when i put in the specific device and channel numbers I am getting an error "Output ramp.vi" not executable. I have no idea where to even start trouble shooting. I'm not sure if i need to add an analog output write vi or make some other modifications so that it correctly communicates with out pci card. Although i know for sure i did not do that before. I have also attached t
he vi library.
any help would be greatly appreciated.
0 Kudos
Message 1 of 6
(3,062 Views)
In your llb exists "prepare ramp.vi" that uses "AO Generate waveform.vi". The last vi don't return error. This is a problem, because you want read error cluster that is not existing. Delete all broken wires and vi will be executable.
0 Kudos
Message 2 of 6
(3,062 Views)
I deleted the bad wires, the AO Generate waveform.vi is now functional, but the "prepare ramp.vi" is still not executable. Any ideas?
0 Kudos
Message 4 of 6
(3,062 Views)
am sorry, that did in fact fix the problem, its functional now, thanks guys.
0 Kudos
Message 5 of 6
(3,062 Views)
thank you, that did in fact fix the problem
0 Kudos
Message 6 of 6
(3,062 Views)
I made the same observation as the previous response. The lowest level VI has no error cluster output. My guess is that the person who coded this example had edited the Analog Output VI which ships with LabVIEW.

You can either follow the suggestion of the first response or you could actually save a second, edited copy of the Analog Output VI under a new name and include it in the library of VI's.

I edited your code according to the second option and I will make sure to attach the edited code here.

Good luck!
-scraggs99
0 Kudos
Message 3 of 6
(3,062 Views)