From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do I turn on multiple channels with a 9481

How do I turn on and off multiple channes on a 9481 relay module??? I am using a daqmx 9172 and am able to turn on and off a single channel with a signal generator  but am unable to do multiple channels with one daq assistant output.

0 Kudos
Message 1 of 11
(2,697 Views)

You can add extra channels in your DAQ Assistant.

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 11
(2,694 Views)

Yes I did that by double clicking my daq assistant and adding another channel, clicked the run button and I can turn on and off the channels manually but when I go to run my program I can only get one channel to turn on and off

0 Kudos
Message 3 of 11
(2,690 Views)

OK is it possible for you to post the code?

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 4 of 11
(2,688 Views)

How do I go about that??? Just copy and past

0 Kudos
Message 5 of 11
(2,685 Views)

Hope you can open this

0 Kudos
Message 6 of 11
(2,679 Views)

In your second DAQ Assistant you have only one line there. Like I suggested before, add channels in there by clicking on the '+' button right under Channel Settings.

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 7 of 11
(2,674 Views)

sorry wrong code

0 Kudos
Message 8 of 11
(2,670 Views)

Create an indicator for your Convert from Dynamic Data node that is feeding into the DAQ Assistant. Do you see two booleans going on and off? I don't understand what your code is doing. Can you explain?

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 9 of 11
(2,667 Views)

I have two channels added but can only get one channel to activate

0 Kudos
Message 10 of 11
(2,665 Views)