Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Programming dio on ni5421

How do I program the dio on the ni5421.  I could not find any functions in niFgen to do this.  I tried to use DAQmx but I got an error when I did the init.  I did not know what it is looking for in the first argument.  I tried several different things but without any success. 

 

Bob Polly

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

The digital lines on the 5421 are not meant for custom DIO waveform output.  They are merely just a digital representation of the 16 bit analog output waveform and are automatically enabled to be on.  (for example if you are outputting the maximum voltage on the arb line all digital lines would be high). 

 

For more information about this you can look up Digital Data Control in the Signal Generators help, installed under Start»Programs»National Instruments»NI-FGEN»Documentation

 

If you are looking to do high speed digital waveform generation I would recommend you take a look at our HSDIO card offerings.

 

http://www.ni.com/highspeeddigitalio/

Doug Farrell
Solutions Marketing - Automotive
National Instruments

National Instruments Automotive Solutions
0 Kudos
Message 2 of 2
(3,306 Views)