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: 

C-Series relay module..sending digital signal

,

I got a question about regarding sending signal to 2 channel at the time to our c-series relay module. I looked at this tutorial but looks like I can only send signal to each line at  the time.

http://digital.ni.com/public.nsf/allkb/515BD99CD2AF31EA8625724C0061F342

Is there a way to send digital signal to 2 lines at the time?

0 Kudos
Message 1 of 2
(2,179 Views)

@Canucks.canucks wrote:

,

I got a question about regarding sending signal to 2 channel at the time to our c-series relay module. I looked at this tutorial but looks like I can only send signal to each line at  the time.

http://digital.ni.com/public.nsf/allkb/515BD99CD2AF31EA8625724C0061F342

Is there a way to send digital signal to 2 lines at the time?


I guess you misunderstood the explanations about the difference between sending signal as port or line output.

What you want is very easy, just specify the two lines, and use a single DAQmx Write for both. Actually there is just exactly the same example what I say under the link you posted (you just need to modify the 4 lines into 2 lines, depending on your actual wiring):

 

linecontrol.png

 

 

 

 

0 Kudos
Message 2 of 2
(2,128 Views)