Hello,
I am using a client-server based tool to control the NI cards and having an external clock (Opal Kelly XEM3001) which is attached to a PXIe 6363 card, and I am getting the following error when trying to generate a simple sinusodial signal:
Failed buffer generation due to exception: A hardware failure has occurred. The operation could not be completed as specified.
Task Name: Dev6 output task
Status Code: -50152
at nNIMSSAIL100.StatusObserverT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100::DotNetApi> >.CheckWithName(StatusObserverT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100::DotNetApi> >* , tCaseInsensitiveBasicString<wchar_t\,_STL::char_traits<wchar_t>\,_STL::allocator<wchar_t>\,nNIDMXS100::tLocaleConsideringWideStringComparitor\,nNIDMXS100::tLocaleConsideringWideStringCaseForcer>* pName)
at nNIMSSAIL100.StatusObserverT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100::DotNetApi> >.Check(StatusObserverT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100::DotNetApi> >* )
at nNIMSSAIL100.StatusObserverWrapperT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100::DotNetApi> >.Check(StatusObserverWrapperT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100::DotNetApi> >* )
at nNIMSSAIL100.Write<class nNIMSSAIL100::ApiTraits<class nNIMSSAIL100::DotNetApi>,class nNIMSSAIL100::AnalogWrite,double>(tTask* , Double* , UInt64 , UInt64 , UInt64 , Double , Boolean , Boolean , tScaledDataFormat , StatusObserverT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100::DotNetApi> >* )
at nNINETAI2005100.Write2D<class nNIMSSAIL100::ApiTraits<class nNIMSSAIL100::DotNetApi>,class nNIMSSAIL100::AnalogWrite,double,double,cli::array< ?? ::N ,2>^>(Task task, Double[,] buffer, UInt32 numChannels, UInt32 numSamples, UInt32 lines, Double timeout, Boolean autoStart, Boolean interleaved)
at NationalInstruments.DAQmx.Internal.AnalogMultiChannelWriterImpl.WriteMultiSample(Boolean autoStart, Double[,] data)
at AtticusServer.DaqMxTaskGenerator.createDaqMxTask(String deviceName, DeviceSettings deviceSettings, SequenceData sequence, SettingsData settings, Dictionary`2 usedDigitalChannels, Dictionary`2 usedAnalogChannels, ServerSettings serverSettings, Int64& expectedSamplesGenerated) in D:\Cicero\Cicero-Word-Generator-master\AtticusServer\ServerRuntime\DaqMxTaskGenerator.cs:line 724
Does anybody have an idea of what might be the cause of this problem?