09-27-2016 07:01 PM
HI, I have just started using labview.
I want to send [0,0] [0,1] [1,0] and [1,1] thorugh two digital output lines, 1 and 2 respectively generated through loop number 0 to 3. The image is attached.
i have tried using diffrent things but no success. Please guide
09-27-2016
07:34 PM
- last edited on
06-23-2025
05:38 PM
by
Content Cleaner
Hi,
There are several examples for writing to a digital port and to digital line. I hope this helps. You will need to modify the write for multiple channels. But it is currently set to 1 channel and that should help you get started.
Let me know if that helps.
Example for writing to digital Port
https://forums.ni.com/t5/NI-DAQmx-Examples/DAQmx-Write-Digital-Port/td-p/3501596
Example writing to digital Line
http://www.ni.com/example/30006/en/
09-27-2016 09:28 PM - edited 09-27-2016 09:30 PM
HI Matt,
Thanks for the reply.
Although I am trying to understand what u have send, but lt is even more difficult to convert it and link with my VI 😞 Isnt there any simple block that converts boolean array to number to a from that can be sent to output?
09-27-2016 09:51 PM
On the digital output for line do this.click On the bottom of the digital write and select digital output/multiple channels/multiple samples. Then create a control for the input to that block ad you can send a 2d array of Boolean. Then simply input the output you want into the Boolean control and select the channels you'd like to output to
09-27-2016 10:14 PM
Alright. Thanks!