Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

NationalInstruments.DAQmx.DaqException: Network device is not reserved for this host. Compact Daq 9184 with one 9237

I have registered the Measurement and Automation Explorer and I can create a dummy task in there and get data that seems valid at first glance.

 

it is a compact daq 9184  with one single 9237 (strain) running over ethernet.

 

I had to add some filtering features in my C# code, and upgraded from 9.7 to 9.8.

Now I keep getting this damn exception - and it does not help me much.

 

NI have you changed some APIs or?

I am referencing

NationalInstruments.Common 13,0,35,190 (have also tried 13,0,40,190)

NationalInstruments.DAQmx 9.8.35.42

 

Here are some details.

Status Code: -201388
   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 NationalInstruments.DAQmx.Device.SelfTest()

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

Hi Larover88

 

Are you able to do a self test from within Measurement and Automation Explorer (MAX) on the specified module)?

 

If yes, are you able to acquire data from within MAX?

 

 

If you can't do the self test from MAX, try to reset the MAX database by 

1) Opening MAX

2) Click Tools --> Reset Configuration Data

3) Let the computer reboot when asked for.

 

 

Best Regards

Anders Rohde

0 Kudos
Message 2 of 2
(5,007 Views)