Hi,
I have a PCI-6259 card installed on a Windows PC running XP Service Pack 2. The machine has Visual Studio 2005 (SP1) and newly installed DAQmx drivers V8.3.1. It also has .NET 1.1 and Visual Studio 2003 present.
I have some C# code written using Visual Studio 2005 (so its using .NET 2.0). I have referenced the two National Instruments assemblies (DAQmx & Common). The first line of C# code that uses the National Instruments classes attempts to construct a new task:
string heartbeatTaskName = "HeartbeatTask";
Task heartbeatTask = new Task( heartbeatTaskName );
When this line of code executes, the following exception is thrown:
DaqException - Internal Software Error occurred in MIG software. Please contact National Instruments Support.
TaskName: HeartbeatTask
Status code: -226995
What's the problem here? Any work-around?
A point of interest: The same C# software running on an XP SP2 box with Visual Studio 2005 SP1 (no .NET 1.1 or Visual Studio 2003), DAQmx drivers V8.3.1 and NO hardware card at all happily runs the statement.
In general, is there a resource somewhere that describes what the various status-codes contained within a DaqException mean?
Regards
David Razzetti