04-28-2011 01:24 PM
I am attempting to compile an executable under LabVIEW 2010 which uses DAQmx Write Property Node.vi. The build was unsuccessful. The error message states that "The VI is broken" and references the vi in the write.llb.
This is the original write.llb which came with LabVIEW 2010. How can it be broken? How do I fix it?
04-28-2011 01:53 PM
I would suspect a bad DAQMX installation. heres info on Write.lib from my machine 979,985 bytes 983,040 on disk
04-28-2011 02:12 PM
The same thing happened with DAQmx Task Property Node. I don't think these are Property Nodes are intended as executable VIs. I simply removed them from the list of files and everything compiled nicely. I had tried the original 8.0 write.llb which was used with the original program and then tried the 2010 write.llb. I have service request filed with NI and will report if they have a different answer.
04-28-2011 02:28 PM
@wildcatherder wrote:
The same thing happened with DAQmx Task Property Node. I don't think these are Property Nodes are intended as executable VIs. I simply removed them from the list of files and everything compiled nicely. I had tried the original 8.0 write.llb which was used with the original program and then tried the 2010 write.llb. I have service request filed with NI and will report if they have a different answer.
YUP the 8.0 lib would need to re-compile to run in the 2010 RTE there is probably a version mismatch in the DAQmx libraries that prevents conversion
04-28-2011 03:38 PM
As I said, I tried BOTH versions. Version match was NOT the problem.
04-28-2011 08:10 PM
Hi wildcatherder,
This tutorial partially explains what's up with those VIs: Creating Shell VIs in LabVIEW
If you select Tools >> Advanced >> Edit Palette Set..., you can see that all of the palette items for DAQmx property nodes have the "Place VI Contents" option checked. Each property node VI contains a property node with the correct class selected. When you drag a DAQmx property node from the palette to the diagram, LabVIEW copies the contents of the corresponding VI into your diagram, much like dragging a VI snippet to the diagram.
Brad
04-28-2011 08:16 PM
You do realize that has nothing to do with compiling LabVIEW VIs, right?
04-28-2011 08:29 PM - edited 04-28-2011 08:32 PM
I think it has everything to do with why those VIs cannot be compiled. They are not complete programs or subroutines--instead, they are snippets of code to drag from the palette into your block diagram.
For another example, look at DAQmx\miscellaneous.llb\DAQmx Create Event.vi. It contains an unconfigured event structure, to make it easy to drag a "Register for Events" node and an event structure into the block diagram.
Brad
04-29-2011 11:54 AM
I said as much in my second post. Not intended to be compiled. Thanks.