LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI USB 6009

Solved!
Go to solution

hi,

need: virtual switch of 24 VDC relay using NI USB 6009.

i need to switch (13) 24VDC relay using the ni usb 6009, but the problem is there is only 12 available

digital output in my device (P0.0 .... P1.3). all 12 is actually working but i need 1 more for the 13th relay. 

 

can i use other pin in my device (ni usb 6009) to switch the 13th relay?

 

any suggestion?

thank you in advance. 

 

(See attachment for further information)

Download All
0 Kudos
Message 1 of 5
(2,501 Views)

You could use one of the analog outputs and output either 0 or 5 V for either on or off.  Of course you will need external driver circuitry to be able to control a 24 VDC relay.  But you probably need external circuits for the digital output lines as well.

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

The USB-6501 has 24 DIO lines.  Maybe it would be better-suited to your task.

 

Bob Schor

0 Kudos
Message 3 of 5
(2,486 Views)

how can i do that? can you provide me sample program for analog output if possible.. 

please ty.

 

0 Kudos
Message 4 of 5
(2,466 Views)
Solution
Accepted by topic author 1der-er

Look up in the example finder for out to to analog output with DAQmx.  You'll want 1 channel 1 sample.  Instead of true or false you'll write out 5 or 0.

Message 5 of 5
(2,462 Views)