Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

compiling examples fail in vb.net with daqmx

The VB.net examples that I installed with DAQmx fail when I try to compile them. They state:
 
The command ""C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\..\..\SDK\v2.0\bin\mt.exe" -manifest "C:\Documents and Settings\sjosephson\My Documents\Visual Studio 2005\Projects\Measure Voltage\ContAcqVoltageSamples_IntClk\vb\ContAcqVoltageSamples_IntClk.exe.manifest" -outputresource:"C:\Documents and Settings\sjosephson\My Documents\Visual Studio 2005\Projects\Measure Voltage\ContAcqVoltageSamples_IntClk\vb\bin\ContAcqVoltageSamples_IntClk.exe";#1 " exited with code 9009.
 
What does this mean and how can it be fixed? The folder in Program Files I noticed doesn't exist on my computer. Do I have to point it in a new direction? I'm using Visual Basic 2005 Express Edition.
 
Thanks!
Scott J.
0 Kudos
Message 1 of 3
(4,140 Views)

Hello Scott,

From the looks of it this error is related to that initial path not being present on your computer. I checked my own Visual Studio 8 directory and was able to find mt.exe in three different locations, one of which matched that path listed in your error report. There are a couple questions I want to ask to help better troubleshoot the issue.

1.       Are you missing that specific path or the Visual Studio 8 directory in its entirety?

2.       Have you installed the .NET 2.0 Framework on your computer in addition to Visual Basic 2005 Express Edition?

3.       Do all of the DAQmx examples result in this error or specific ones?

Also, if you could describe the system you are currently working on in terms of operating system etc. it would be helpful. If you do have the Visual Studio 8 directory, try searching for the mt.exe file to see if it has been misplaced.

Regards,

Chris Behnke
Sr. RF Engineer
High Frequency Measurements
0 Kudos
Message 2 of 3
(4,108 Views)
Thanks for the reply. In order to fix the problem, I had to import the code/form into a new project. Then it worked. I don't even have mt.exe on my computer. In regards to the questions:
1) I have VS 8 (Express), in its entirety as far as I know.
2) I have .NET 2.0 Framework
3) All of the examples I loaded (except compiled .exe files) failed with the same error.
 
Scott J.
0 Kudos
Message 3 of 3
(4,106 Views)