02-22-2006 12:33 PM
02-23-2006 05:28 PM
Dave,
We can try a couple of things to find out what is going on here. First, try entering in the following into a script and running it to see if DIAdem is seeing the path for your installed version of LabVIEW:
msgbox(LabVIEWPath)
If this points to the correct path and the button is still greyed-out, then enter in the following into a script and run it:
IsAvailLabview = true
This should activate the button. Let me know if this does not work and I'll continue to look into this for you. Thanks and have a great day.
03-02-2006 06:50 AM
Adam,
When running the popup script, I get an empty message box (I'm guessing that this is telling me that the path is not set). I tried setting the LabVIEWPath variable through a script, but get an error when trying to run it telling me that the variable cannot be modified.
I also noticed that in the Navigator window, listed in the search areas, a LV8 directory is shown so somehow DIAdem knows that LabView is there, just not how to run it.
Thanks,
Dave
03-04-2006 03:52 AM
If this does not work as well, please tell me a bit more about what you are trying to do: What kind of VI are you going to call, when. Actually there are other possibilities to call vis from DIAdem, which might suit for your purposes as well.If IsAvailLabVIEW Then
LVTemplateVI = "About.vit"
LVTemplatePath = "Templates\"
Call LaunchLabVIEW()
Else
Call MsgBoxDisp("LabVIEW is not installed.")
End If