11-06-2009 12:40 PM
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
11-09-2009 09:32 AM
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/