09-18-2014 03:58 AM
Hi,
I have a PC with windows 7 professional edition 64 bits and visual studio 2012.
I have first installed NI DAQmx driver (version 9.8).
I have installed an evaluation edition of measurement studio 2013 (version 13.0.0.242) without selecting driver. They have been installed previously.
In order to install C++ Legacy Support Dependencies, i strictly follow your document
"Measurement Studio Visual C++ MFC Legacy Support R1 for Visual Studio 2012 Readme" and particularly the section "
Install Visual C++ Dependencies from Measurement Studio 2010 Service Pack 1 or Later".
The installation seems to work properly. I have no error.
However when I want to add Include and Library Paths to my project, I can not find the directory VCNET under "Program Files (x86)\National Instruments\MeasurementStudioVS2012" path.
A screenshot of my directories under "MeasurementStudioVS2012" directory is in attachment.
Why this directory doesn't exist?
What is wrong in my installation?
Thanks in advanced
09-22-2014 04:10 AM
Hello,
When yo install a new software from National Instruments, you must finish the installation by the driver (DAQmx ot other driver) to create the path and charge register with the good value.
I suggest you to install again DAQmx 9.8 :
http://www.ni.com/download/ni-daqmx-9.8/4297/en/
If you don't have DAQmx 9.8, you can download it for free on National Instruments website.
If you have some question, ask me.
Best Regards,
09-22-2014 07:34 AM
Hello,
Thanks a lot for help.
I have unsinstalled all National Instruments' softwares.
Then I have installed Measurement Studio software first, and after I have installed the drivers (NI DAQmx 9.8).
I select the default directories for the two softwares.
However, the VCNET directory is not created.
There is the same problem.
I wonder if an evaluation Measurement Studio version allows the legacy MFC C++ dependencies installation?
May be I have to purchase one of Measurement Studio version(standard, professional, Enterprise) before installing the legacy MFC C++ dependencies ?
Do someone have the answer?
Best regards.
09-22-2014 09:27 AM
Hello,
I have made some additional search.
Visual Studio 2012—Visual C++ MFC is a legacy environment for Measurement Studio 2013.
If you want to use it, you need to have an active SSP contract :
http://www.ni.com/mstudio/legacysupport/
This is the reason why it doesn't work.
If you want to use Measurement Studio 2013 for C++ with Visual studio 2012, you don't need to use this tool.
You just have to follow this tutorial:
http://www.ni.com/pdf/manuals/373225c.pdf (page 19)
If you have some question, ask me
Best Regards,
09-22-2014 10:43 AM
Hello Guillaume.
Thanks a lot again for help.
I know now why the VCNET directory is not created.
In fact, I have an old MFC project build with Visual Studio C++ 6.0 under Windows XP.
This old project needs header files, lib files and dll files provided by National Instruments.
I must now build this project with Visual Studio 2012 under Win7 using C++ MFC.
So I need the new header files, lib files and dll files provided by National Instruments to build my new project.
I believe that Measurement studio software is the only way to provide these C++ MFC dependencies.
Is it right?
On your last link (page 19), all creating applications are in C#.
In this case, no MFC C++ dependencies are required. It's sure.
Best regards.
09-22-2014 11:39 AM - last edited on 11-05-2014 10:25 AM by dcarva
Hello,
To answer at your question, you could find library for Visual C++ MFC in the driver of our instruments which id DAQmx. These librairies are used only if you control National Instruments Hardware. The other librairies are including in Measurement Studio.
The last version of NI DAQmx with a full support for Visual C++ MFC for Visual studio 2005 and Visual studio 2008 is NI DAQmx 9.2 :
<link no longer exists>
http://download.ni.com/support/softlib//multifunction_daq/nidaqmx/9.2.3/readme.html
Moreover, you need to use Measurement Studio 2009.
NI DAQmx 9.2 and Measurement Studio 2009 are compatible with Windows 7 64 bits :
http://download.ni.com/support/softlib//multifunction_daq/nidaqmx/9.2.3/readme.html
I suggest you to migrate your application to this configuration (Measurement Studio 2009, NI DAQmx 9.2 and Visual Studio 2008) which looks compatible with Windows 7 64 bits.
If your SSP contract is active, you are allowed to access at aversion of Measurement Studio which is compatible with Visual Studio 2012—Visual C++ MFC .
To have an active SSP contract, ask the local Sales representative of National Instruments.
If you have some question, ask me.
Best Regards,