Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with the new NIDAQ 8.6.1

I was programming my application using visual studio.net 2003 (version 7.1) with NIDAQ 7.4 and it was working fine.  I am using Visual C++.net.   Now we start getting NiDAQ 8.6 with several new data acquisition cards (M series) we purchased.  So I upgraded my computer (the one used to compile the software) from NiDAQ 7.4 to 8.6.1.   I uninstalled 7.4 and installed 8.6.1.  Now I am trying to compile my code and I got an error in NiIncludes.h and the error was "fatal error C1083: Cannot open include file: 'NiGraph3DComponent.h': No such file or directory".

Now I am wondering if NIDAQ 8.6.1 supports visual studio.net 2003 at all.  If it does, how do I convert my project to be compatible with NIDAQ 8.6.1.

Thanks,
Yajai.
0 Kudos
Message 1 of 6
(4,698 Views)

Hi Yajai,

When you are referring to version 8.6, I am assuming you are referring to the DAQmx driver.  The DAQmx driver will definitely work with an M-Series device.  I suspect that  the program that you are using was programmed with Traditional NI-DAQ 7.4.  The Traditional NI-DAQ driver is National Instruments' legacy driver that will work with devices such as an E Series device but will not work with M Series devices. 

To get the M-Series card to work, you will have to rewrite part of the code to use the other driver.  There are some DeveloperZone articles that describe how to make this conversion in several environments such ANSI C and Visual Basic .NET.  You can use the tutorials to get an idea of how to convert your code.  There are also a number of shipping examples that you can take a look at.  Refer to the KnowledgeBase article, KB 47CCSQ5B: NI-DAQmx, NI-VISA and NI-488.2 .NET Example Locations, if you would like to know the location of the examples. 

 


Best Regards

Hani R.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 6
(4,671 Views)
For your information, tonight I exported from MAX 4.3, which has NIDAQmx 8.6f12,  my scales, tasks, devices in a *.nce file. I uninstalled NIDAQmx 8.6f12 on my LabView 8.2 , XP SP2 and replaced it with NIDAQmx 8.6.1f0.  I have attempted to import my .nce file, but I always get an error code 0x80040408.
 
So, print out your tasks, scales, and device settings, because you may not be able to import your nce file.
 
Victor V. - Texas
0 Kudos
Message 3 of 6
(4,647 Views)

Victor V.,

We have recently discovered an issue with NI-DAQmx 8.6.0f12 that can cause the configuration data in Measurement and Automation Explorer to become corrupt if you upgraded from a version of NI-DAQmx 8.6.0 prior to NI-DAQmx 8.6.0f12.  I suspect that the error you are receiving is related to this corruption.  Before upgrading or removing NI-DAQmx 8.6.0f12 I would recommend manually witting down and manually verifying your previous configuration.  

 


If you have any further questions let me know.

Regards,

Neil S.
Multifunction DAQ
Product Support Engineer
National Instruments

0 Kudos
Message 4 of 6
(4,640 Views)
I have tried to export a configuration file from Max 4.3.0f0 with daqmx 8.6.0f6 to a second computer with MAX 4.3.0f0 with daqmx 8.6.1f0.  I get the same error code 0x80040408.  Both computers are negative to the test recommended in Knowledgebase "Product Notice: Software Problem May Corrupt Configuration in MAX (NI-DAQmx)" regarding NI-DAQmx 8.6.0f12.  I also have some problems exporting some of my daqmx tasks from the first computer (some digital data tasks).
 
My first question is how do I fix the problem.  I would rather not blindly install and reinstall all of your software to blindly try to fix the problem throuh trial and error.
 
 
 
Is daqmx 8.6.0f6 corrupted like 8.6.0f12? 
 
Are NI software products turning into a Microsoft Windows type of software nightmare with respect to stability?  I hope you NI folks realize that there are not only academic folks using your software and these sorts of software instabilities make using NI products a large liability as the software changes monthly or weekly and it is nearly impossible to keep up with the constantly changing software versions, compatibilities, incompatibilities etc.  This is especially true if your software glitches are going to impact the system stability of my computer causing crashes etc as is alluded to in the knowlegebase article cited above.
 
 
Nick
0 Kudos
Message 5 of 6
(4,316 Views)
Nick,

The only version affected is NI-DAQmx 8.6.0f12.  NI-DAQmx 8.6.0f6 is not affected by the notification and should not be corrupt.  However, depending on your system configuration there are other ways that the MAX database can become corrupted.  For example FAT32 partitions are not as resilient to computer crashes and the database file have been known to become corrupt if the system loses power unexpectedly or a system crash occurs.  There are also other possibilities.  Have you tried to export the configuration as an ini file instead of a nce file?

Regards,

Neil S.
0 Kudos
Message 6 of 6
(4,307 Views)