COSMOS core  1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
vmt35_stop.cpp File Reference
#include <unistd.h>
#include "vmt35_lib.h"
#include "microstrain_lib.h"
Include dependency graph for vmt35_stop.cpp:

Functions

int main (int argc, char *argv[])
 

Function Documentation

int main ( int  argc,
char *  argv[] 
)
35 {
36 int iretn, handle;
37 int16_t icurrent;
38 uint16_t ivoltage;
39 float current;
40 rvector magfield, mtrvec;
41 
42 iretn = vmt35_connect((char *)"dev_vmt35");
43 
44 if (iretn < 0)
45  {
46  printf("Error: vmt35_connect() %d\n",iretn);
47  exit (iretn);
48  }
49 
50 vmt35_enable();
51 vmt35_set_amps(0,0.);
52 vmt35_set_amps(1,0.);
53 vmt35_set_amps(2,0.);
54 vmt35_disable();
55 
56 }
3 element generic row vector
Definition: vector.h:53
int iretn
Definition: rw_test.cpp:37
static antstruc current
Definition: agent_antenna.cpp:161
gige_handle * handle
Definition: kpc9612p_recv.cpp:33