07-24-2017 05:31 PM
,
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?
07-24-2017 11:30 PM
@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):