ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital port programming

Hi,

I want to program a DAQ-Card. I want to enter an integer coded on 8 bytes and
send this integer on a digital port of my card. I only have succed in programmng
one line of the port and not all the lines.

Does any of you have an example,

Thank you so much...

Frederic

PS : as you can see I am a beginner...

frederic.restagno@college-de-france.fr

--
User of http://www.foorum.com/. The best tools for usenet searching.
0 Kudos
Message 1 of 3
(2,811 Views)
Use the Write to Digital Port.vi located on the digital IO palette. Just wire-up a decimal value to the input...


Michael Aivaliotis
VI Shots LLC
0 Kudos
Message 2 of 3
(2,811 Views)
Frederic;

If you are using Labview, you can find a good example for you to start at Search Examples->I/O Interfaces->Data Acquisition->Digital Input and Output->Immediate Digital Input and Output->Write to One Digital Port.vi.
If you are using any other Programming Language which NI-DAQ has API for, you can fing some examples at C:\Program Files\National Instruments\NI-DAQ\Examples, if you already have NI-DAQ installed on your machine.
Hope this helps.
Filipe
0 Kudos
Message 3 of 3
(2,811 Views)