RTXI  3.0.0
The Real-Time eXperiment Interface Reference Manual
Data Structures | Functions | Variables
nidaq_driver.cpp File Reference
#include <NIDAQmx.h>
#include <tuple>
#include <utility>
#include <fmt/core.h>
#include "daq.hpp"
Include dependency graph for nidaq_driver.cpp:

Go to the source code of this file.

Data Structures

struct  physical_channel_t
 
class  Device
 
class  Driver
 

Functions

std::vector< std::string > split_string (const std::string &buffer, const std::string &delim)
 
std::vector< std::string > physical_channel_names (const std::string &device, DAQ::ChannelType::type_t chan_type)
 
void printError (int32_t status)
 
std::string physical_card_name (const std::string &device_name)
 
DAQ::DrivergetRTXIDAQDriver ()
 
void deleteRTXIDAQDriver ()
 

Variables

const std::string_view DEFAULT_DRIVER_NAME = "National Instruments"
 

Function Documentation

◆ deleteRTXIDAQDriver()

void deleteRTXIDAQDriver()

Definition at line 870 of file nidaq_driver.cpp.

◆ getRTXIDAQDriver()

DAQ::Driver* getRTXIDAQDriver()

Definition at line 865 of file nidaq_driver.cpp.

Here is the call graph for this function:

◆ physical_card_name()

std::string physical_card_name(const std::string & device_name)

Definition at line 95 of file nidaq_driver.cpp.

◆ physical_channel_names()

std::vector<std::string> physical_channel_names(const std::string & device,
DAQ::ChannelType::type_t chan_type 
)

Definition at line 44 of file nidaq_driver.cpp.

Here is the call graph for this function:

◆ printError()

void printError(int32_t status)

Definition at line 74 of file nidaq_driver.cpp.

Here is the call graph for this function:

◆ split_string()

std::vector<std::string> split_string(const std::string & buffer,
const std::string & delim 
)

Definition at line 16 of file nidaq_driver.cpp.

Variable Documentation

◆ DEFAULT_DRIVER_NAME

const std::string_view DEFAULT_DRIVER_NAME = "National Instruments"

Definition at line 14 of file nidaq_driver.cpp.