From 11:00 PM CST Friday, Apr 11th - 1:30 PM CST Saturday, Apr 12th, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CST Friday, Apr 11th - 1:30 PM CST Saturday, Apr 12th, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-10-2009 12:10 PM
Hello, I have installed Visual Studio 2008 and I am using the Visual C++ 2008 from it. However, Measurement Studio 8.1.2 (which I have) does not natively plug in to VC 2008. I have tried manually adding the controls on the toolbox.... but the NationalInstruments.UI.WindowsForms namespace does not seem to be there? Perhaps I need to change something somewhere? Any assistance would be most appreciated.
Solved! Go to Solution.
06-10-2009 01:01 PM
06-10-2009 03:01 PM
Well, I'm working on a work lap top that already has Measurement Studio on it. I just put Visual C++ on it. I don't know where that MSI file would be. I looked through the entire Measurement Studio folder and there is no MSI file to speak of. Also what do you mean by References?
Thanks
06-10-2009 03:11 PM
06-10-2009 03:23 PM
06-10-2009 05:10 PM
06-10-2009 05:25 PM
Alright. Well, I'll try opening one of those example files, maybe they will force the project to include those things into it?? ::crosses fingers:: thanks for your help.
06-11-2009 08:21 AM
Defiance -
As I understand it, you are trying to add references to the Measurement Studio .NET Assemblies to a C++ 2008 project. Is that correct?
If so, when you created your project, did you choose one of the templates under the CLR category (see attached screenshot)?
If so, then to add references to the Measurement Studio assemblies, you go to the Visual Studio menu item Project>>Properties and choose Common Properites>>Framework and References>>Add New Reference. The MStudio 8.1.2 assemblies should show up in the list. If not, you can browse to them. They should have installed by default to \Program Files\National Instruments\MeasurementStudioVS2005\DotNET\Assemblies\Current. You need to ensure that you add all required dependent assemblies (typically NationalInstruments.UI.dll and NationalInstruments.Common.dll).
You should also be able to create a Toolbox tab and add the controls to it.
If you're trying to do something else, could you provide more details on exactly the type of project you are trying to create?
David Rohacek
National Instruments
06-11-2009
01:54 PM
- last edited on
04-12-2024
02:25 PM
by
Content Cleaner
Defiance, if you have any further questions please reply to drohacek's post.
Cheers,
Kelly
06-18-2009 11:07 AM
Sorry, I haven't had access to an internet computer for a while... all the stand alone machines are faster. Everything seems to work fine now. I was able to add the reference "NationalInstruments.Common" and am now using that as follows:
NationalInstruments.Common::<whatever may be here>
The ultimate use is to communicate with a NI - DAQmx 9006 USB board.
The program allows the user to indicate amplitude, high time, low time and repitions of a desired square wave in order to create a trigger pulse. Hopefully putting the entire project in context may help.
The entire program up to this point was created using .NET framework. Now I need to send the information that I have collected from the used over the USB and onto the board... that's where I hit great big brick wall.
Again I apologize for getting back to you so late.
Thanks,
Defiance