LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I output 01001001 on a single line?

Hello,

I am trying to output a binary address on a single channel using a USB6363 DAQ. I have tried using DAQmx, arrays, I looked at the examples, and I probably just am too new to Labview to understand how to adjust the examples for my use. I attached the code I am currently working with, but any suggestions on how to achieve this would be incredibly appreciated. 

Thank you!

0 Kudos
Message 1 of 3
(2,205 Views)

Hi Emily,

 

Could I point you in the direction of the 'Cont Write Dig Port-Int Clk.vi' example?

 

This and many more examples can be found in the Example Finder, which can be accessed from the Getting Started window, or from the Help manu in LabVIEW.

 

I believe this is exactly what you are looking for.

0 Kudos
Message 2 of 3
(2,197 Views)

You want to perform a Digital Output, Single Channel, Multiple Samples DAQmx Write. This will allow you to specify the array. I don't have LabVIEW with me at the moment, so I can't see what you've done so far.

 

Try and check out this example I made which explains how to generate these types of digital signals with a DAQ device.

https://decibel.ni.com/content/docs/DOC-19277

 

This uses a similar implementation as well:

https://decibel.ni.com/content/docs/DOC-22938

 

You'll see on the document page an example of the kind of DAQmx task you need to configure.


Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)

0 Kudos
Message 3 of 3
(2,191 Views)