LLC2_API
|
null control system example. More...
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <stdlib.h>
#include <errno.h>
#include <assert.h>
#include "ll2.h"
#include "testharness.h"
Go to the source code of this file.
Defines | |
#define | SAMPLES (the_system.getSamples()) |
Functions | |
int | main (int argc, const char *argv[]) |
null control system example.
Simplest "null control system": outputs and fills user buffers no data change, no use of data.
Definition in file example0.cpp.
#define SAMPLES (the_system.getSamples()) |
Referenced by main().
int main | ( | int | argc, |
const char * | argv[] | ||
) |
Definition at line 42 of file example0.cpp.
References LL_ControlSystem::addCard(), LL_ControlSystem::Arm(), BITS_PER_DX_WORD, LL_ControlSystem::closedown(), LL_ControlSystem::create(), ACQ::getAI_count(), ACQ::getAO_count(), ACQ::getDI_count(), ACQ::getDO_count(), ACQ::getStatus_count(), LL_ControlSystem::init(), LL_ControlSystem::IO(), SAMPLES, SLOT2, SLOT4, and LL_ControlSystem::Stop().