Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Life cycle testing

I need help writting a vi that will life cycle 20 5v up to 240v relays. The cycle time would be 3sec on and 2sec off with a counter that counts each cycle. I have no programming knowledge so your help would be greatfully appriciated.
0 Kudos
Message 1 of 6
(3,702 Views)

For some of the basics of LabVIEW, there are a couple of free tutorials. Classes and books are available as well. You will also be using the DAQmx driver for your hardware. There is the Getting Started with DAQmx page to get you familiar with the basic principles.

 

You have not provided the actual hardware you are using. Do you already have this and is it capable of driving the relays? The actual code for this is pretty simple based on your explanation. A couple of DAQmx Writes/DAQ Assistants and some Delay functions. Try writing something and if you get stuck, post your code.

0 Kudos
Message 2 of 6
(3,700 Views)

I have a NI USB-6009 that has 5v I/O, so in order to set up for the 240v I will have to get some additional relays. But I thought about just buying a board that will support the 5 and 240 volts that I need. Any recommendations? Thanks for replying.

0 Kudos
Message 3 of 6
(3,694 Views)

Are the relays you are life cycle testing DC or AC coils, or both? How are you planning to provide the correct voltage for the relays under test? Will all relays under a given test cycle have the same coil voltage?

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 4 of 6
(3,689 Views)
This will be a test fixture that will test both AC and DC coils. We will only test the relays that have the same coil voltage under a given test. Will have to figure out a way to supply the correct voltages.
0 Kudos
Message 5 of 6
(3,675 Views)

Hello mperkins,

 


mperkins wrote:

I have a NI USB-6009 that has 5v I/O, so in order to set up for the 240v I will have to get some additional relays. But I thought about just buying a board that will support the 5 and 240 volts that I need. Any recommendations? Thanks for replying.


 

I am not sure if I am reading your post right, you want to output up to 240V from a card, we will not really have the hardware you need. We do have aditional hardware that will be able to switch these voltages which just means we can hook up a 240V power supply to one side of the relays, and toggle the power by closing the relays. 

 

I could help recommend a system to do this, but I think clarification on what I'm reading would be prudent in this case.

ColeR
Field Engineer
0 Kudos
Message 6 of 6
(3,646 Views)