PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

Has anyone ever manually programmed a PXI Relay Driver?

I had this idea that it would be really nice to be able to program the relay card to open and close certain relays with a single input, instead of controlling a single relay with a bunch of labview code and have my timing be limited to software constraints.

I want to be able to turn on 4 relays, sequentially, within 5ms. I don't think I could do this with software because it would take to long for the computer to make it happen. But if i could make it a hardware timed event, that would be really cool.

Theoretically it would make sense that i would be able to program the relay card, but i have no idea how or where to begin.

The relay card I am using is a NI PXI-2567.

Thanx!

0 Kudos
Message 1 of 3
(871 Views)

You can refer to shipping examples for NI-Switch. Go to Help >> Find Examples... > Hardware Input and Output >> Modular Instruments >> NI-Switch.

You can pay attention to the examples of Scanning with NI-DMM, which implements hardware scan triggers.

-------------------------------------------------------
Control Lead | Intelline Inc
Message 2 of 3
(821 Views)

@ranvealiu wrote:

I had this idea that it would be really nice to be able to program the relay card to open and close certain relays with a single input, instead of controlling a single relay with a bunch of labview code and have my timing be limited to software constraints.

I want to be able to turn on 4 relays, sequentially, within 5ms. I don't think I could do this with software because it would take to long for the computer to make it happen. But if i could make it a hardware timed event, that would be really cool.

Theoretically it would make sense that i would be able to program the relay card, but i have no idea how or where to begin.

The relay card I am using is a NI PXI-2567.

Thanx!


Just so you do consider the actuation time of relays, typical electro-mechanical relays take a few ms to actuate. When you turn ON 4 relays sequentially in 5ms, there is no guarantee that the order of real actuation is the same as the first relay could actuate in 5ms and the last one could actuate in 1ms. Only way to ensure the order of actuation is preserved is giving sufficient actuation and debounce delay between relay actuation.

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
Message 3 of 3
(815 Views)