Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Running a PCI- based NI5411 in DDS mode using DOS (extended mode of course) NO WINDOWS

Has anyone "out there" been able to program a PCI based Arbitrary Waveform
Generator NI5411 in Direct Digital Synthesis (DDS) from DOS (extended mode
of course) - My customers application will have to update the NI-5411's
Frequency Control Word at about 100 Hz, so Windows is out of the question.
"Command Prompt Only" mode from an interrupted reboot will run dos extended
mode (DOS4GW by Rational) no problem. The information needed is how to
reset, setup, download a DDS mode waveform and control the 5411 by direct
access to the registers through it's PCI interface.

I know how to find the PCI address spaces (look in the PCI configuration
registers) talk to the PCI addres
s spaces (using 32bit io to a 32 bit
pointer in extended mode like DOS4GW), but I don't know what to say to which
addresses in what order? Anyone out there done that yet? Anyone out there
have further information? NI has been relatively little help so far, and
they seem to have forgotten that real time apps require some level of DOS
support - GUI based apps and OS's don't respond anywhere near fast enough.

Matthew Smith.
respond via newsgroup or masmith089@qnet.com
0 Kudos
Message 1 of 2
(2,482 Views)
Update - I need to know how to control the frequency Control Work (32 bit
integer) using the PCI interface to the National Instruments MITE PCI bridge
chip. It turns out that one can generate and program a 16K word arbitrary
waveform DDS mode signal and start the board generating that signal from a
"DOS BOX" running on top of windows, and then completely reset the computer
and bring it back up in "Command prompt only" mode (you hit F8 while the
reboot occurs and get the "Microsoft Windows Menu" during the reboot)
without affecting the board at all - it keeps on generating the DDS
waveform. Has anyone worked out or heard from NI how to set the Freq.
Control Word, probably by using the MITE chips 3 DMA channels at 0x500,
0x600 or 0x700 with respect to the MITE chips base address, which is
typically at 0xf0009000, at least that's where my bios puts my board. I
suspect that there is a DMA approach to sending the 32 bit word through the
MITE chip to the FCW location directly.


"MAS" wrote in message
news:3a3837c7@newsgroups.ni.com...
> Has anyone "out there" been able to program a PCI based Arbitrary Waveform
> Generator NI5411 in Direct Digital Synthesis (DDS) from DOS (extended mode
> of course) - My customers application will have to update the NI-5411's
> Frequency Control Word at about 100 Hz, so Windows is out of the question.
> "Command Prompt Only" mode from an interrupted reboot will run dos
extended
> mode (DOS4GW by Rational) no problem. The information needed is how to
> reset, setup, download a DDS mode waveform and control the 5411 by direct
> access to the registers through it's PCI interface.
>
> I know how to find the PCI address spaces (look in the PCI configuration
> registers) talk to the PCI address spaces (using 32bit io to a 32 bit
> pointer in extended mode like DOS4GW), but I don't know what to say to
which
> addresses in what order? Anyone out there done that yet? Anyone out there
> have further information? NI has been relatively little help so far, and
> they seem to have forgotten that real time apps require some level of DOS
> support - GUI based apps and OS's don't respond anywhere near fast enough.
>
> Matthew Smith.
> respond via newsgroup or masmith089@qnet.com
>
>
>
>
0 Kudos
Message 2 of 2
(2,482 Views)