LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

buffered digital output

Hello,

I'm busy writing a little programm wich should generate different digital
outputs:
Is there a simple vi which demonstrates how to fill a buffer with say 1000
points (an array of 1000 U8's) and the writes the data to my digital output
with a frequency of 1000 Hz and then stops!

I thought it wouldn't be that hard but i am not very familiar with buffered
in and outputs.

Best regards, thanks in advance,

Thijs Boerée
0 Kudos
Message 1 of 4
(2,975 Views)
The answer depends on your hardare.

If you are using an NI-DAQ device you can see the examples under

help>>>Search Examples>>>Hardware Input and Output>>>DAQ(Traditional DAQ)>>>Digital Input and Output>>>...

The ... depends on the board you are using. If you can't find what you wnat there, your board may not support what you are attempting.

Ben


Ben Rayner
Certified LabVIEW Developer
www.DSAutomation.com
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 4
(2,975 Views)
Thanks for you answer, I have an E-series board AT-MIO 64 board, I'm trying
to connect a DIO config VI, but i don't know what i have to fill in at the
"port list"connection? It should be a 1D string array? All i want is the
first 8 digital channels, 0 -7 and i want to call them with a U8 array.
I have a 1000 points 1D array with U8's and i want them to be on my 8
digital channels.

Best regards,
Thijs Boerée

"Ben" schreef in bericht
news:50650000000500000037610100-1077587809000@exchange.ni.com...
> The answer depends on your hardare.
>
> If you are using an NI-DAQ device you can see the examples under
>
> help>>>Search Examples>>>Hardware Input and Output>>>DAQ(Traditional
> DAQ)>>>Digital Input and Output>>>...
>
> The ... depends on the board y
ou are using. If you can't find what you
> wnat there, your board may not support what you are attempting.
>
> Ben
>
>
>
>
href="http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=261&
HRedirected=True&HUserI...

>
> Certified LabVIEW Developer

> www.DSAutomation.com
0 Kudos
Message 3 of 4
(2,975 Views)

Hello Thijs,

The "Port List" connection of the DIO Config.VI should be wired with an array of the digital ports you wish to use. Each port has 8 digital lines.

Unfortunately, the E-series devices do not support hardware-timed digital I/O. You could still output your points in a software loop, but you would not be able to guarantee 1000 Hz. For a card that does support this, look at the 6533. For further assistance in obtaining the correct board, go to http://www.ni.com and click on "Contact NI" at the top to speak with a customer support representative.

Grant M.
National Instruments

0 Kudos
Message 4 of 4
(2,975 Views)