LLC2_API
|
simple 2 card 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 | getenvint (const char *key, int idefault) |
int | main (int argc, const char *argv[]) |
#define SAMPLES (the_system.getSamples()) |
int getenvint | ( | const char * | key, |
int | idefault | ||
) |
Definition at line 46 of file example1.cpp.
Referenced by main().
int main | ( | int | argc, |
const char * | argv[] | ||
) |
Definition at line 56 of file example1.cpp.
References LL_ControlSystem::addCard(), LL_ControlSystem::Arm(), LL_ControlSystem::closedown(), LL_ControlSystem::create(), ACQ::getAI_count(), ACQ::getAO_count(), ACQ::getDI_count(), ACQ::getDO_count(), getenvint(), ACQ::getStatus_count(), LL_ControlSystem::init(), LL_ControlSystem::IO(), SAMPLES, and LL_ControlSystem::Stop().