Hi
I am working with 4461 Card.
While writing data to the Card I receive this error
The Channel that was configured was having
Update Rate: 9210
No of samples: 87643
Sample Mode: Finite Samples
Synchronization: Synchronized with Same AI0 of same device
Values are between 6 V and 1.2 V
error occurred in <SingleChannelWriter.Write()> function.
{Error=-223091 Message="Internal Software Error occurred in DSA software. Please contact National Instruments Support.\n\nTask Name: Magnet\n\nStatus Code: -223091"}
The Stack Trace:
" at nNIMSSAIL100.StatusObserverT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100::DotNetApi> >.CheckWithName(StatusObserverT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100::DotNetApi> >* , tCaseInsensitiveBasicString<unsigned short\\,_STL::char_traits<unsigned short>\\,_STL::allocator<unsigned short>\\,nNIDMXS100::tLocaleConsideringWideStringComparitor\\,nNIDMXS100::tLocaleConsideringWideStringCaseForcer>* pName)\r\n
at nNIMSSAIL100.StatusObserverT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100::DotNetApi> >.Check(StatusObserverT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100::DotNetApi> >* )\r\n
at nNIMSSAIL100.StatusObserverWrapperT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100::DotNetApi> >.Check(StatusObserverWrapperT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100::DotNetApi> >* )\r\n
at nNIMSSAIL100.Write<class nNIMSSAIL100::ApiTraits<class nNIMSSAIL100::DotNetApi>,class nNIMSSAIL100::AnalogWrite,double>(tTask* , Double* , UInt32 , UInt32 , UInt32 , Double , Boolean , Boolean , tScaledDataFormat , StatusObserverT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100::DotNetApi> >* )\r\n
at nNINETAI2005100.Write1D<class nNIMSSAIL100::ApiTraits<class nNIMSSAIL100::DotNetApi>,class nNIMSSAIL100::AnalogWrite,double,double,cli::array<double >^>(Task task, Double[] buffer, UInt32 numChannels, UInt32 numSamples, UInt32 lines, Double timeout, Boolean autoStart, Boolean interleaved)\r\n
at NationalInstruments.DAQmx.Internal.AnalogSingleChannelWriterImpl.WriteMultiSample(Boolean autoStart, Double[] data)\r\n
at NationalInstruments.DAQmx.AnalogSingleChannelWriter.WriteMultiSample(Boolean autoStart, Double[] data)\r\n
at Project.Analog1ChannelWriterTask.Write(Double[] data, Boolean AutoStart) in C:\\Project\\AnalogWriterTask.cs:line 446\r\n
at Project.HardwareIO.WriteAO(Double[] Data, Boolean AutoStart) in C:\\Project\\HardwareIO.cs:line 120\r\n
at Project.DataAcquisition.RunAcq() in C:\\Project\\DataAcquisition.cs:line 182\r\n
at Project.DataAcquisition.Run() in C:\\Project\\DataAcquisition.cs:line 68\r\n
at Project.Program.ThreadFunction() in C:\\Project\\Program.cs:line 47\r\n
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)\r\n
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n
at System.Threading.ThreadHelper.ThreadStart()"
TargetSite:
{Void nNIMSSAIL100.StatusObserverT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100::DotNetApi> >.CheckWithName(nNIMSSAIL100.StatusObserverT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100::DotNetApi> >*, nNIDMXS100.tCaseInsensitiveBasicString<unsigned short\,_STL::char_traits<unsigned short>\,_STL::allocator<unsigned short>\,nNIDMXS100::tLocaleConsideringWideStringComparitor\,nNIDMXS100::tLocaleConsideringWideStringCaseForcer>*)}
I am using VS2005 C#
Please tell me whats wroing
Regards,
Alok Damle