DNA/DNR-429-512/566 ARINC 429 Layer
Chapter 3
23
Programming with the Low-level API
Tel: 508-921-4600
www.ueidaq.com
Vers:
4.5
Date: December 2013
DNx-429-Chap3.fm
© Copyright 2013
United Electronic Industries, Inc.
Chapter 3
Programming with the Low-level API
This chapter illustrates how to program the PowerDNA cube using the low-level
API. The low-level API offers direct access to PowerDNA DAQBios protocol and
also allows you to access device registers directly.
However, we recommend that, when possible, you use the UeiDaq Framework
High-Level API, because it is easier to use. You should need to use the low-level
API only if you are using an operating system other than Windows.
For additional information about low-level programming of the 429-512/566,
please refer to the PowerDNA API Reference Manual document under:
Start » Programs » UEI » PowerDNA » Documentation
Refer to the PowerDNA API Reference Manual on how to use the following low-
level functions of 429-512/566, as well as others related to cube operation:
Function
Description
DqAdv566BuildPacket/
DqAdv566ParsePacket
Assemble an ARINC message out of individual fields for
transmission and split a received packet into individual fields.
DqAdv566BuildFilterEntry
Assembles filter entries from the separate fields.
DqAdv566BuildSchedEntry
Assembles a scheduler entry from the separate fields.
DqAdv566SetConfig
Configures basic ARINC device parameters.
DqAdv566SetMode
Configures the mode of operation for each channel.
DqAdv566SetFilter
This function writes to or reads from the label filter.
DqAdv566SetScheduler
This function writes to or reads from scheduler table(s)
DqAdv566SetSchedTimebase
Sets one of two programmable scheduler timebases at a time
DqAdv566SetFifoRate
Sets up a timebase for writing output packets to the Tx FIFO
DqAdv566SetChannelCfg
Set up operating mode for each channel
DqAdv566Enable
Enables and disables all operations on the layer
DqAdv566SendPacket
Sends a packet to the specified channel
DqAdv566SendFifo
Put packets of data into the Tx FIFO
DqAdv566RecvPacket
Receives a packet of data from the Rx interface.
DqAdv566RecvFifo
This function retrieves messages from the Rx FIFO.
DqAdv566ReadWriteFifo
Writes and receives packets from a specified channel FIFO.
DqAdv566ReadWriteAll
Writes and receives packets from specified channel FIFOs.
DqAdv566GetStatus
Requests the error and status of the interface.
DqAdv566EnableByChip
Enables/disables operations on the layer on IC per IC basis.
DqAdv566SetChannelList
Sets up the channel list for ARINC 566 operations in
messaging mode.