Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Internal Software Error occured in CPP_API software. Requested Code -2147220693 Status Code: -224803

I have a small program that waits for a digital trigger and then reads from a channel. Using an NI-USB-6212. Everything works fine, except sometimes the program will fail to start. On debugging I see that the first line that interacts with the DAQ hangs. In this case it is 'DaqSystem.Local.GetPhysicalChannels(PhysicalChannelTypes.AI, PhysicalChannelAccess.External)'. Recently I was able to get the above error in Visual Studio. The only solution appears to be restarting the computer. This is obviously not ideal.  Any ideas?

 

Thanks,

 

-Matt

0 Kudos
Message 1 of 2
(5,425 Views)

Hello Matt,

 

Please go ahead and download the following example from our website. 

 

http://zone.ni.com/devzone/cda/epd/p/id/908

 

This example program shows you how to continuously acquire data (a waveform) using an internal clock and a digital start and reference trigger. 

 

Please use it as a reference.

 

Regards

Luis S
Application Engineer
National Instruments
0 Kudos
Message 2 of 2
(5,400 Views)