PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
Macros | Functions
SEIDrv.cpp File Reference
#include "SEIDrv.h"
#include <string>
#include <Windows.h>
#include <chrono>
Include dependency graph for SEIDrv.cpp:

Go to the source code of this file.

Macros

#define CatchAndReturn1
 

Functions

long A2GetMode (long address, long *mode)
 
long A2GetPosition (long address, long *pos)
 
long A2GetResolution (long address, long *res)
 
long A2SetMode (long address, long mode)
 
long A2SetOrigin (long address)
 
long A2SetPosition (long address, long pos)
 
long A2SetResolution (long address, long res)
 
long A2SetSleep ()
 
long A2SetStrobe ()
 
long A2SetWakeup ()
 
void CloseSEI ()
 
void enumerateEncoders (long comPort, long mode, int devicesExpected)
 
void enumerateEncodersAll (long mode, int devicesExpected)
 
long GetDeviceInfo (long devnum, long &serialnum, long &addr, char *model, char *firmwareVersion)
 
long GetNumberOfDevices ()
 
long InitializeSEI (long comm, long mode, int devicesExpected)
 
bool IsInitialized ()
 

Macro Definition Documentation

◆ CatchAndReturn1

#define CatchAndReturn1
Value:
catch (System::Exception^ exc) \
{ \
System::Console::WriteLine("A managed exception occurred in InitializeSEI!\n{0}", exc->ToString()); \
} \
catch (...) \
{ \
System::Console::WriteLine("An unknown exception occurred in InitializeSEI!"); \
} \
return 1

Definition at line 56 of file SEIDrv.cpp.

Function Documentation

◆ A2GetMode()

long A2GetMode ( long  address,
long *  mode 
)

Definition at line 193 of file SEIDrv.cpp.

◆ A2GetPosition()

long A2GetPosition ( long  address,
long *  pos 
)

Definition at line 259 of file SEIDrv.cpp.

◆ A2GetResolution()

long A2GetResolution ( long  address,
long *  res 
)

Definition at line 226 of file SEIDrv.cpp.

◆ A2SetMode()

long A2SetMode ( long  address,
long  mode 
)

Definition at line 212 of file SEIDrv.cpp.

◆ A2SetOrigin()

long A2SetOrigin ( long  address)

Definition at line 179 of file SEIDrv.cpp.

◆ A2SetPosition()

long A2SetPosition ( long  address,
long  pos 
)

Definition at line 281 of file SEIDrv.cpp.

◆ A2SetResolution()

long A2SetResolution ( long  address,
long  res 
)

Definition at line 245 of file SEIDrv.cpp.

◆ A2SetSleep()

long A2SetSleep ( )

Definition at line 169 of file SEIDrv.cpp.

◆ A2SetStrobe()

long A2SetStrobe ( )

Definition at line 158 of file SEIDrv.cpp.

◆ A2SetWakeup()

long A2SetWakeup ( )

Definition at line 174 of file SEIDrv.cpp.

◆ CloseSEI()

void CloseSEI ( )

Definition at line 141 of file SEIDrv.cpp.

◆ enumerateEncoders()

void enumerateEncoders ( long  comPort,
long  mode,
int  devicesExpected 
)

Definition at line 14 of file SEIDrv.cpp.

◆ enumerateEncodersAll()

void enumerateEncodersAll ( long  mode,
int  devicesExpected 
)

Definition at line 32 of file SEIDrv.cpp.

◆ GetDeviceInfo()

long GetDeviceInfo ( long  devnum,
long &  serialnum,
long &  addr,
char *  model,
char *  firmwareVersion 
)

Definition at line 117 of file SEIDrv.cpp.

◆ GetNumberOfDevices()

long GetNumberOfDevices ( )

Definition at line 112 of file SEIDrv.cpp.

◆ InitializeSEI()

long InitializeSEI ( long  comm,
long  mode,
int  devicesExpected 
)

Definition at line 67 of file SEIDrv.cpp.

◆ IsInitialized()

bool IsInitialized ( )

Definition at line 107 of file SEIDrv.cpp.