LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ-6501 reset on windows power up.

Hi,

Is there a way to automatically reset my NI-USB-6501 Digital DAQ on windows power up and shutdown?

 

I have a System which uses DAQ digital output connected to a buzzer. The problem I am facing is that when the windows is booted or shutdown the DAQ power cycles causing all the Digital output points to be ON which rings the buzzer until the operator runs the application which resets the DAQ lines.

Is there a way to Reset the DAQ on startup or shutdown of windows?

Or prevent it from powering on until required?

0 Kudos
Message 1 of 5
(1,176 Views)

Hi linu,

 


@linu95k wrote:

Is there a way to Reset the DAQ on startup or shutdown of windows?

Or prevent it from powering on until required?


Did you read the specs?

It says: "power on state = Input" for all DIOs!

 

So your USB6501 doesn't output "ON" on it's DOs, but switches them to (high-resistance) input pins! And there's no way to prevent this in the case of a power cycle...

 

What about some external hardware where you need to switch an (additional) DO pin to a predefined state to enable all other outputs and so prevent the buzzer (and all other connected devices) from also turning on?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(1,169 Views)

@linu95k wrote:

Hi,

Is there a way to automatically reset my NI-USB-6501 Digital DAQ on windows power up and shutdown?

 

I have a System which uses DAQ digital output connected to a buzzer. The problem I am facing is that when the windows is booted or shutdown the DAQ power cycles causing all the Digital output points to be ON which rings the buzzer until the operator runs the application which resets the DAQ lines.

Is there a way to Reset the DAQ on startup or shutdown of windows?

Or prevent it from powering on until required?


Unfortunately, No. You need a more advanced DAQ card to be able to configure the power-up state. If the equipment connected on the other end of the 6501 is critical, then you should not be restarting your computer at all. Consider 6501 as a part of your computer, if your computer turns off, your 6501 also turns off.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 3 of 5
(1,144 Views)

Basically your external logic is flawed. To prevent potential shortcircuits with external hardware trying to drive those ports as an input the only save power up state for all of those pins is to configure them as high impedance inputs. Usually there is some very high impedance pull up or pull down resistance internal at the pin to prevent the pin from floating which could cause the receiver to constantly see it flipper around the threshold and eventually even overload the internal transistors and damage them.

If you want a specific level on that pin you have to design your hardware accordingly. An option might be to simply put an external pull down resistor on that pin but you need to read the specs of the device as to what the maximum current is that it can drive to ground and subtract the input current for your external circuit from it. I would start with a 47k resistor and measure the voltage at the pin in powered up but uninitialized state an then again when the signal is set active from your software. The voltage in powered up but uninitialized state should be below 0.8V but trying to keep it below half of that is better. In enabled state the voltage should be above 3.5V but higher is better.

 

Another option is to invert the logic of you external circuit by making the naturally visible high impedance state created by the internal pull up or pull down your inactive state and drive the circuit with the opposite level.

 

If you want to visit a place and that place doesn’t come to you you have to go there. 🙂

Rolf Kalbermatter
My Blog
0 Kudos
Message 4 of 5
(1,101 Views)

Use an external hub that has a power supply independent of the Windows machine!  Obviously,  when Windows reboots the internal supply shuts off.  You don't want to power cycle the device.


"Should be" isn't "Is" -Jay
0 Kudos
Message 5 of 5
(1,090 Views)