ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Driver Development Kit (DDK)

cancel
Showing results for 
Search instead for 
Did you mean: 

Visual C++ .NET

Hello,
My problem is:
I want to use register Level Programming for NI6023E.
I downloaded nimhddk_visa.zip, nieseries.zip and documentation about card. Well, i unpacked nimhddk_visa.zip and done points within information file nimhddk_visa.inf. Its OK, any problem.
Then i wanted make a makefile win-visa.mak in Visual Studio C++ .Net (close specifiation are attached). VC++ started but with quest. dialog "The project win-visa.mak needs to be converted to the Visual C++ 7.0 project format. Do you want to convert?"
I said Yes. BUT, error dialog appeared "Cannot load the project due to a corrupt project file." then next "Project xx failed to open" : ((
Could you help me, please.

NI6023 working well, any problem.
DAQmx and niDAQ library work too.
I think that problem is in VC++. I could try it in LabWindows/CVI but c++ doesnt work there : (.
My software conf. is attached.

Thanx, for some advice
Download All
0 Kudos
Message 1 of 4
(8,441 Views)
Hello,
one developer answer me, throw e-mail, this advice.

To answer your customer's question, it should not be necessary to open or convert the .mak file using VS.net.  I would suggest that you use the Visual Studio Command Prompt ( Programs->Visual Studio.NET 2003->Visual Studio .NET Tools->Visual Studio .NET Command Prompt) to build from the command line.  You will also need to add some utility to provide 'make' functionality from the command line.  I use and recommend this  http://sourceforge.net/projects/unxutils

Using these tools you should be able to build the MHDDK as shipped without modification by calling 'make' from the directory that contains the MHDDK Makefile

Hopefully this helps-

I followed this article http://edin.no-ip.com/html/?q=native_win32_port_some_gnu_utils  to set up unxUtils.

UnxUtils works well. Then i go to folder nimhddk_visa and type make win-visa.mak but only one thing happen, these

make: nothing to be done for ´win-visa.mak´.


Now, i dont know what i should do, time is going on : /, project is waiting : /.


In our computer is Visual C++ 6.0, maybe it will be way.

pls. help me
Honzo
0 Kudos
Message 2 of 4
(8,432 Views)

Hello Honzo-

You should actually run make from the location of the top level Makefile (in the MHDDK examples directory).  It will call the win-visa.mak file (among others) and should encompass the entire build process.

Hopefully this helps-

Tom W
National Instruments
0 Kudos
Message 3 of 4
(8,427 Views)
OK Tom, thank you very much.

I copy to nieseries folder
a/ gpct3.cpp
b/ files from ChipObjects folder

then i delete in Makefile lines with aiex1.....aoex1...digex...etc. and let be only
    ....
    TARGETS += \
        $(BUILD_DIR)/gpct3$(PRG_SUFFIX)
    .....
  
Then in command prompt VC++ (with UnxUtils) command ´make´ and then execute "gpct3.exe"

wow, thank you

Honzo, Czech Republic
0 Kudos
Message 4 of 4
(8,391 Views)