DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Call toolkit vi from Diadem

Hi there,
 
I try to start a VI within a llb from a toolkit and it doesn't work...
 
The path to the VI is :
C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\Addons\Time Series Analysis\Correlation and Spectral Analysis.llb\TSA Welch (waveform).vi
 
I try this code :
 
' -------------------------------------------
  ' Initialize the LVRuntime
  Dim sgRunTimeVersionT : sgRunTimeVersionT = ""
  LVRuntime.Init sgRunTimeVersionT
  ' -------------------------------------------
  ' Load "Test.VI"
  Dim objVI
  Set objVI = LVRuntime.LoadVI("
C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\Addons\Time Series Analysis\Correlation and Spectral Analysis.llb\TSA Welch (waveform).vi
")
  ' -------------------------------------------
  ' Call the VI
    Call objVI.Run(true)
    ' -------------------------------------------
  ' Clean up
  Set objVI = Nothing
  LVRuntime.DeInit
 
I had
[LVRT]
libdir = "C:\Program Files\National Instrument\Labview 8.5"
in the Diadem.ini file
 
The error message is attached...
 
Please, could anyone help me !
 
Thank's in advance.
0 Kudos
Message 1 of 2
(3,593 Views)
Duplicate post.

Please post answers in this thread.
0 Kudos
Message 2 of 2
(3,583 Views)