Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

NI device not detected on computer restart

Hi 

 

I am using NI 9201 (DSUB) device to measure voltage levels over ethernet, however if I restart my host computer to which this device is connected, it sometimes doesn't detect it and gives back the error code -201003 when I create a new task in my C# program to start reading values.

 

Temporary solution I use : I locate the device in Measurment and Automation Explorer (MAX) and reset chassis. It then detects it immediately.

 

I want to know is there a programmtic way to reset chassis so that when my C# application starts I would reset it through my program and avoid going to MAX. or If there is a better solution to handle this problem.

 

 

Thanks

Shrikant.

 

 

 

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

Hello Shrikant,

 

Yes, there is a way to programatically reset your cDAQ chassis.  Please take a look at the information provided at the link below and let me know if you need further assistance!

 

How Can I Perform a Reset/Self-Test of My NI-DAQ Device Programatically?

| Zach J. | Systems Engineer, HIL and Test Cells | National Instruments |
0 Kudos
Message 2 of 2
(5,423 Views)