
PC-414
DATEL, Inc., Mansfield, MA 02048 (USA)
Tel: (508)339-3000, (800)233-2765 Fax: (508)339-6356
Email: sales@datel.com
Internet: www.datel.com
89
All VI’s are assembled graphically using a mouse and can be
edited at any time to modify functionality or appearance. Non-
stop, seamless data acquisition continues on the PC-414
while LabVIEW simultaneously maintains the GUI and
handles the A/D data stream in real time. Easily customized,
interactive user interfaces can be created from the vast library
of front panel controls and displays offered by LabVIEW.
The PC-414LV includes extensive Dynamic Linked Library
(DLL) functions that perform the PC-414 low level hardware
control and monitor operations transparently. The software
provides VI functions that poll PC-414 status flags
independent of, and simultaneous with, data acquisition and
data transfer. Control is retained by the user as long as
LabVIEW continues to execute correctly. The multi-window,
visual programming environment facilitates building and
accessing hierarchical VI programs. Multi-tasking allows
context switches to other concurrent Windows applications
without disrupting PC-414 operation or control.
The PC-414/LabVIEW system optimizes two concurrent
processes - the PC-414 acquiring data while LabVIEW further
processes or stores the uploaded data stream. The entire
PC-414/LabVIEW combination uses only a few VI functions
that are easy to understand and incorporate into a “block
diagram” program. The basic concept is to initialize the
PC-414 hardware, reset the FIFO memory, start data
acquisition, and upload blocks of data from the FIFO to
LabVIEW memory buffers on the host - or to remote receivers
over the DT Connect I compatible output port. These data
blocks can then be further processed as screen displays,
indicators, graphs, sent to printers or plotters, or simply
archived to disk file for later analysis. The A/D continues
running and no data will be lost as long as LabVIEW uploads
the A/D data faster than the data is being acquired.
Virtual Instrument Library
In summary, PC-414LV includes the following VI functions:
PC-414 Initialize
Initialize the PC-414 hardware - board
model, I/O base address, etc.
Operating Mode
Specify A/D trigger rate, A/D sample
rate, and analog input channel.
Clear FIFO
Reset the FIFO memory
Start/Stop A/D
Enable and disable the A/D.
Read Status
Read hardware status flags - FIFO
flags, acquisition done, oversampling.
Read FIFO
Read blocks of A/D data from the
FIFO on the PC-414 and fill a
LabVIEW buffer on the host.
Write DAC
Update the analog output channel.
Inport/Outport
Read/write the 8-bit digital I/O port.
PC-414 Demo
Complete data acquisition
demonstration VI, includes real time
signal display.
Demultiplex Buffers
Unravel a multi-channel data buffer
and extract data from one channel
only.
Figure 7. PC-414LV Visual Program