Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Measurment studio will not recognize LabWindows/CVI installation?

It order for me to use the Driver factory program to make a DLL, the program requires that LabWindows/CVI version 5.0 or greater be installed. Version 5.5 was installed first and Measurment studio does not recognize it. After installing the DAQ software, MAX does recognize both LabWindows/CVI and Measurment studio. Help!

Steve
0 Kudos
Message 1 of 9
(7,356 Views)
Hi Steve,
You have to launch CVI 5.5 at least once after you have installed it.
The IDF looks up the registry to see if CVI is installed.

A few questions...
(1) What is the error message that you get?
(2) What version of MeasurementStudio are you using?

Finally out of curiousity, are you using this to convert instrument drivers for use in VB ?
Thanks..
Nandan
Nandan Dharwadker
Staff Software Engineer
Measurement Studio Hardware Team
Message 2 of 9
(7,356 Views)
Yes I am. I know there are activeX controls available, but I want a DLL with all the boards functionality, so I can make my own controls and have lower-level access to the board. I am required to use VB.

I have launched CVI at least once... Do you think it has anything to do with the installation directory.

Error: CWIDF cannot locate LabWindows/CVI. In order to use factory please install LabWindows/CVI 5.0 or greater...

Version 6
0 Kudos
Message 3 of 9
(7,356 Views)
Hello Nadan,

Just to add, this person had the same problem.

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000EB670000&USEARCHCONTEXT_CATEGORY_0=_47_%24_7_&USEARCHCONTEXT_CATEGORY_S=0&UCATEGORY_0=_47_%24_7_&UCATEGORY_S=0

the solution went to email therefore not posted on the forum. I emailed NI in regards to this post requesting the solution, but have yet to get a response.

~Steve
0 Kudos
Message 4 of 9
(7,356 Views)
Hi Steve,
What the IDF does, is
(1) Look for the installation of CVI in the registry under HKLM/Software/NationalInstruments/CVI/xxx. "xxx" being the version number.
(2) If there are multiple CVIs on the machine, IDF uses the highest version number of CVI located i.e.if you have
HKLM/Software/NationalInstruments/CVI/5.0
and HKLM/Software/NationalInstruments/CVI/5.5 it will pick 5.5.
(3) IDF will then look up the installDir key under this folder.

If either of (2) or (3) fails, you get the message you've been seeing.

So what do you see under that registry location ? Is the registry version folder, or the installDir key missing?

It is possible that the machine had installed a higher version of CVI , then uninstalled, but the folder a
nd key is still there, so you have a key with a higher version of CVI, with the installdir key pointing to a "" value, instead of a valid path....

If things do appear fine in the registry, then please reconfirm the software you have installed, as i under stand it, you have CVI 5.5, then installed MesurementStudio 6.0 ? I can try to then reproduce this.

I sincerely apologize for all the trouble that you have been having...I hope this makes things little clearer and hopefully we can get you started soon..

With regards to the other thread that you pointed to , it's possible that the evaluation CD did not install all the registry keys or installed them to a different location, or the user, did not install CVI at all...

Best Regards,
Nandan
Nandan Dharwadker
Staff Software Engineer
Measurement Studio Hardware Team
0 Kudos
Message 5 of 9
(7,356 Views)
Also, I noticed the thread on the CVI group, that is definitely the easier and better approach...
In case you ever need to use the IDF again though, you know where to look 🙂
Best Regards,
Nandan
Nandan Dharwadker
Staff Software Engineer
Measurement Studio Hardware Team
0 Kudos
Message 6 of 9
(7,356 Views)
Well the correct keys are present, however the keys were installed under HKLM/.../CVI Demo instead of just CVI, could this be a problem? Otherwise all the information is present.

Correct I am using 5.5 and 6 respectivly.

Since I have the files I need already, I have abandoned the LabWindows/Measurement studio suite except for the VB support files provided.

Thank you for all of your assistance.

~Steve
0 Kudos
Message 7 of 9
(7,356 Views)
Just to make sure that this thread appears complete for future users,
Yes that registry key is a problem
The keys should be under CVI, so its most likely that the evaluation version of CVI is causing the problem.

This should not happen with current verison of MeasurementStudio and CVI(7.0 onwards), since the CVI demo version is now the same as the full version, with the exact same registry keys , the difference being that you have to have the correct activation key.
Nandan Dharwadker
Staff Software Engineer
Measurement Studio Hardware Team
0 Kudos
Message 8 of 9
(7,356 Views)
Incedently, I was told by the NI developer staff, by email, that the Driver Factory program would only be available under non-demo versions, and a correct appropriate message will be displayed for future versions

~Steve
0 Kudos
Message 9 of 9
(7,356 Views)