Jump to content

vane

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by vane

  1. OK, Something clicked with this while I was having my coffee and Vegemite on toast.

    I think your problem is that your dynamic vi has dependencies on LabVIEW vi.lib, user.lib or instr.lib. The runtime engine doesn't have the capability to include vi's that are outside the vi's root folder, ie if you call a dynamic then all the depenant vi's and ctls must be in the same folder or they all must sit in a llb.

    So what you need to do is in your project create a Build called a Source Distribution for your dynamic vi Beta.vi that will copy all the dependancies to a distribution folder.

    I've included an example in 8.2 that demonstrates this.

    DynamicCallDemo.zip

    Included is the source and a build that demonstrates your issue and one that resolves it.

    The demo is dependant on OpenG Lib so included is Packages.vipc use VI Package Manager to install the OpenG Packages you need.

    Hope this helps

    Fantastic!!!

    I try your solution and it works!!!

    Thanks a lot

  2. Hi,

    I have a main VI Alpha that calls another VI Beta with Open Vi reference, Invoke Node with FP.Open and Invoke Method Run VI.

    I have no error if the Vi are not executer but when I create the executer of the main VI Alpha it opens the VI Beta, it shows the front panel but I have the following error:

    "The VI is not executable. The full development version of LabView is required to fix the errors".

    I have the professional LabView 8.2, I try to create the executer of the Beta VI, or to add the Beta VI property: Run when opened but It doesn't work.

    Can you help me, please?

  3. Hi,

    Do you have this problem when running the code under labview, or only when having compiled the exe?

    I had the same problem. Used Open, Control Value Set (variant version), Run VI. Got the same behavior, diagram opened, did not seem to be running. Turns out there was an error in the vi I was opening, it ran once, too fast to notice. When I fixed that, it worked fine, both under Labview and as an Exe. Could it be something like that?

    Espen

    I remove all the errors but if the main is . exe the subvi doesn't run and it shows the following error:

    The VI is not executable. The full development version of LabView is required to fix the errors.

    I try to create the subvi as Exe or gets the property "Run when opened" but it doesn't work.

  4. HI,

    I have 2 Vi (in 2 different computer) that they comunicate with 4 shared folders.

    I want to create the absolute path for the folders because I want to search, write and move files from a folder to another one.

    Can you help me?

    Thanks

  5. Hello,

    Are you sure there is no error before you call the Run VI method?

    You can try to disconnect the error input on this method and see if then the VI is ran.

    I try to disconnect the error input on this method and now the VI is ran but I don't understand where is the error...

    Thanks a lot

  6. HI,

    I have a problem...I want to run a main vi .exe and when it calls the subvi the subvi runs.

    I use the Open VI reference, the Invoke node FP Open and then the Invoke node RUn VI but it doesn't work.

    It shows the subvi front panel but it doesn't run.

    Thanks

    Prova.zip

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.