Actor Framework Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Build fails because "Actor.vi" has no block diagram

Documents\LabVIEW DAta\VIObjCache and then delete the folder matching the version of LV you're using. You'll need LV closed to be able to delete the folder. That's for the user cache that the Advanced menu entry for clearing cache has not worked for me.

 

The LV Dist VIObjCache folder is in the LabVIEW install folder and contains the compile cache for everything nested under the labview install folder. (vi.lib, instr.lib, user.lib, resource, etc)

 

Most of the time (for me at least) this seems related to dependency detection issues and the build behavior of stripping files from lvlibs that LV doesn't think is needed. Particularly when a dynamic dispatch VI depends on another dynamic dispatch hierarchy. Then later on LV realizes it needs a file but now it's already in a state where the containing library thinks it doesn't own the file anymore but the file still thinks its owned by the library so it breaks the build. I've asked LV R&D about this and never got a peep of a response back.

~ Helping pave the path to long-term living and thriving in space. ~
Message 11 of 12
(135 Views)

To loop back and revisit my previous posts, recently I was able to successfully reintegrate the Conditional Disable structure without creating build problems:

 

  1. Create a TypeDef with appropriate values for each possible value of the condition associated with your Conditional Disable structure.
  2. Drop an instance of that TypeDef in each sub diagram of the Conditional Disable structure, and change its value to match the condition associated with that sub diagram.
  3. Wire all the TypeDef instances to a common output terminal.
  4. Wire the output terminal of the Conditional Disable structure to the Case selector terminal of a standard Case structure.
  5. Add your conditional code in the appropriate sub diagrams of the Case structure.
0 Kudos
Message 12 of 12
(123 Views)