LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get my VI to control a digital output on the USB 6210?

Howdy y'all,

 

Thanks to all who have helped me so far, but I'm still new to LabVIEW and need another hint.

 

I'm pretty sure I'm at the end of my VI design, and the last thing I need to do is turn a digital output at my USB 6210 on and off. The attached little VI is at the tail end of my whole VI and works great. But instead of turning a virtual LED on and off, I want to control a digital output on the USB 6210. How can I make that happen?

0 Kudos
Message 1 of 7
(2,124 Views)

Have you seen examples?
Try this
C:\Program Files (x86)\National Instruments\LabVIEW NNNN\examples\DAQmx\Digital Output\Digital - Continuous Output.vi

0 Kudos
Message 2 of 7
(2,120 Views)

I saw that one Artem, and though it had potential...but where do I take the signal from, and if needed to be converted, how to convert, and how to send it to the hardware, and how to select the right port (PFI4, position 6)?

0 Kudos
Message 3 of 7
(2,107 Views)
0 Kudos
Message 4 of 7
(2,104 Views)

@Tinsnips wrote:

Repost the VI:


You need digital output. So, why are you use DAQ READ?
You need DAQ WRITE.

0 Kudos
Message 5 of 7
(2,102 Views)

Okay, I changed to write. What do I do with write's output (channels?) to control PFI4's digital level?

0 Kudos
Message 6 of 7
(2,091 Views)

RTFM is good recommendation for you.
It will be more helpful, if you understand principles of work instead of getting a ready solution.

0 Kudos
Message 7 of 7
(2,079 Views)