Class: OpalKelly::OkCFrontPanel

Inherits:
Object
  • Object
show all
Defined in:
ext/OpalKelly/FrontPanelDLL_wrap.cxx

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Object



21072
21073
21074
21075
21076
21077
21078
21079
21080
21081
21082
21083
21084
21085
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 21072

SWIGINTERN VALUE
_wrap_new_okCFrontPanel(int argc, VALUE *argv, VALUE self) {
  const char *classname SWIGUNUSED = "OpalKelly::okCFrontPanel";
  OpalKellyLegacy::okCFrontPanel *result = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  result = (OpalKellyLegacy::okCFrontPanel *)new OpalKellyLegacy::okCFrontPanel();
  DATA_PTR(self) = result;
  return self;
fail:
  return Qnil;
}

Class Method Details

.AddCustomDevice(*args, self) ⇒ Object



21204
21205
21206
21207
21208
21209
21210
21211
21212
21213
21214
21215
21216
21217
21218
21219
21220
21221
21222
21223
21224
21225
21226
21227
21228
21229
21230
21231
21232
21233
21234
21235
21236
21237
21238
21239
21240
21241
21242
21243
21244
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 21204

SWIGINTERN VALUE _wrap_okCFrontPanel_AddCustomDevice(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[2];
  int ii;
  
  argc = nargs;
  if (argc > 2) SWIG_fail;
  for (ii = 0; (ii < argc); ++ii) {
    argv[ii] = args[ii];
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_okTDeviceMatchInfo, SWIG_POINTER_NO_NULL);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_okCFrontPanel_AddCustomDevice__SWIG_1(nargs, args, self);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_okTDeviceMatchInfo, SWIG_POINTER_NO_NULL);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_okTDeviceInfo, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_okCFrontPanel_AddCustomDevice__SWIG_0(nargs, args, self);
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 2, "okCFrontPanel.AddCustomDevice", 
    "    OpalKellyLegacy::okCFrontPanel::ErrorCode okCFrontPanel.AddCustomDevice(okTDeviceMatchInfo const &matchInfo, okTDeviceInfo const *devInfo)\n"
    "    OpalKellyLegacy::okCFrontPanel::ErrorCode okCFrontPanel.AddCustomDevice(okTDeviceMatchInfo const &matchInfo)\n");
  
  return Qnil;
}

.CheckAPIVersion(*args) ⇒ Object



23132
23133
23134
23135
23136
23137
23138
23139
23140
23141
23142
23143
23144
23145
23146
23147
23148
23149
23150
23151
23152
23153
23154
23155
23156
23157
23158
23159
23160
23161
23162
23163
23164
23165
23166
23167
23168
23169
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 23132

SWIGINTERN VALUE
_wrap_okCFrontPanel_CheckAPIVersion(int argc, VALUE *argv, VALUE self) {
  int arg1 ;
  int arg2 ;
  int arg3 ;
  int val1 ;
  int ecode1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  ecode1 = SWIG_AsVal_int(argv[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","OpalKellyLegacy_okCFrontPanel_CheckAPIVersion", 1, argv[0] ));
  } 
  arg1 = static_cast< int >(val1);
  ecode2 = SWIG_AsVal_int(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","OpalKellyLegacy_okCFrontPanel_CheckAPIVersion", 2, argv[1] ));
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(argv[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","OpalKellyLegacy_okCFrontPanel_CheckAPIVersion", 3, argv[2] ));
  } 
  arg3 = static_cast< int >(val3);
  result = (bool)OpalKellyLegacy_okCFrontPanel_CheckAPIVersion(arg1,arg2,arg3);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}

.FindUSBDeviceModel(*args) ⇒ Object



21319
21320
21321
21322
21323
21324
21325
21326
21327
21328
21329
21330
21331
21332
21333
21334
21335
21336
21337
21338
21339
21340
21341
21342
21343
21344
21345
21346
21347
21348
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 21319

SWIGINTERN VALUE
_wrap_okCFrontPanel_FindUSBDeviceModel(int argc, VALUE *argv, VALUE self) {
  unsigned int arg1 ;
  unsigned int arg2 ;
  unsigned int val1 ;
  int ecode1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  OpalKellyLegacy::okCFrontPanel::BoardModel result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  ecode1 = SWIG_AsVal_unsigned_SS_int(argv[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "unsigned int","OpalKellyLegacy::okCFrontPanel::FindUSBDeviceModel", 1, argv[0] ));
  } 
  arg1 = static_cast< unsigned int >(val1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned int","OpalKellyLegacy::okCFrontPanel::FindUSBDeviceModel", 2, argv[1] ));
  } 
  arg2 = static_cast< unsigned int >(val2);
  result = (OpalKellyLegacy::okCFrontPanel::BoardModel)OpalKellyLegacy::okCFrontPanel::FindUSBDeviceModel(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

.GetAPIVersionMajor(*args) ⇒ Object



23068
23069
23070
23071
23072
23073
23074
23075
23076
23077
23078
23079
23080
23081
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 23068

SWIGINTERN VALUE
_wrap_okCFrontPanel_GetAPIVersionMajor(int argc, VALUE *argv, VALUE self) {
  int result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  result = (int)OpalKellyLegacy_okCFrontPanel_GetAPIVersionMajor();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

.GetAPIVersionMicro(*args) ⇒ Object



23100
23101
23102
23103
23104
23105
23106
23107
23108
23109
23110
23111
23112
23113
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 23100

SWIGINTERN VALUE
_wrap_okCFrontPanel_GetAPIVersionMicro(int argc, VALUE *argv, VALUE self) {
  int result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  result = (int)OpalKellyLegacy_okCFrontPanel_GetAPIVersionMicro();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

.GetAPIVersionMinor(*args) ⇒ Object



23084
23085
23086
23087
23088
23089
23090
23091
23092
23093
23094
23095
23096
23097
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 23084

SWIGINTERN VALUE
_wrap_okCFrontPanel_GetAPIVersionMinor(int argc, VALUE *argv, VALUE self) {
  int result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  result = (int)OpalKellyLegacy_okCFrontPanel_GetAPIVersionMinor();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

.GetAPIVersionString(*args) ⇒ Object



23116
23117
23118
23119
23120
23121
23122
23123
23124
23125
23126
23127
23128
23129
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 23116

SWIGINTERN VALUE
_wrap_okCFrontPanel_GetAPIVersionString(int argc, VALUE *argv, VALUE self) {
  char *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  result = (char *)OpalKellyLegacy_okCFrontPanel_GetAPIVersionString();
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}

.GetBoardModelString(*args) ⇒ Object



21351
21352
21353
21354
21355
21356
21357
21358
21359
21360
21361
21362
21363
21364
21365
21366
21367
21368
21369
21370
21371
21372
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 21351

SWIGINTERN VALUE
_wrap_okCFrontPanel_GetBoardModelString(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel::BoardModel arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  std::string result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  ecode1 = SWIG_AsVal_int(argv[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel::BoardModel","OpalKellyLegacy::okCFrontPanel::GetBoardModelString", 1, argv[0] ));
  } 
  arg1 = static_cast< OpalKellyLegacy::okCFrontPanel::BoardModel >(val1);
  result = OpalKellyLegacy::okCFrontPanel::GetBoardModelString(arg1);
  vresult = SWIG_From_std_string(static_cast< std::string >(result));
  return vresult;
fail:
  return Qnil;
}

.GetErrorString(*args) ⇒ Object



21094
21095
21096
21097
21098
21099
21100
21101
21102
21103
21104
21105
21106
21107
21108
21109
21110
21111
21112
21113
21114
21115
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 21094

SWIGINTERN VALUE
_wrap_okCFrontPanel_GetErrorString(int argc, VALUE *argv, VALUE self) {
  int arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  std::string result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  ecode1 = SWIG_AsVal_int(argv[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","OpalKellyLegacy::okCFrontPanel::GetErrorString", 1, argv[0] ));
  } 
  arg1 = static_cast< int >(val1);
  result = OpalKellyLegacy::okCFrontPanel::GetErrorString(arg1);
  vresult = SWIG_From_std_string(static_cast< std::string >(result));
  return vresult;
fail:
  return Qnil;
}

.RemoveCustomDevice(*args) ⇒ Object



21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
21264
21265
21266
21267
21268
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 21247

SWIGINTERN VALUE
_wrap_okCFrontPanel_RemoveCustomDevice(int argc, VALUE *argv, VALUE self) {
  int arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  OpalKellyLegacy::okCFrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  ecode1 = SWIG_AsVal_int(argv[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","OpalKellyLegacy::okCFrontPanel::RemoveCustomDevice", 1, argv[0] ));
  } 
  arg1 = static_cast< int >(val1);
  result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)OpalKellyLegacy::okCFrontPanel::RemoveCustomDevice(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

Instance Method Details

#ActivateTriggerIn(*args) ⇒ Object



22908
22909
22910
22911
22912
22913
22914
22915
22916
22917
22918
22919
22920
22921
22922
22923
22924
22925
22926
22927
22928
22929
22930
22931
22932
22933
22934
22935
22936
22937
22938
22939
22940
22941
22942
22943
22944
22945
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 22908

SWIGINTERN VALUE
_wrap_okCFrontPanel_ActivateTriggerIn(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  int arg2 ;
  int arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  OpalKellyLegacy::okCFrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","ActivateTriggerIn", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","ActivateTriggerIn", 2, argv[0] ));
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(argv[1], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","ActivateTriggerIn", 3, argv[1] ));
  } 
  arg3 = static_cast< int >(val3);
  result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)(arg1)->ActivateTriggerIn(arg2,arg3);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#Close(*args) ⇒ Object



22193
22194
22195
22196
22197
22198
22199
22200
22201
22202
22203
22204
22205
22206
22207
22208
22209
22210
22211
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 22193

SWIGINTERN VALUE
_wrap_okCFrontPanel_Close(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","Close", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  (arg1)->Close();
  return Qnil;
fail:
  return Qnil;
}

#ConfigureFPGA(*args) ⇒ Object



22214
22215
22216
22217
22218
22219
22220
22221
22222
22223
22224
22225
22226
22227
22228
22229
22230
22231
22232
22233
22234
22235
22236
22237
22238
22239
22240
22241
22242
22243
22244
22245
22246
22247
22248
22249
22250
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 22214

SWIGINTERN VALUE
_wrap_okCFrontPanel_ConfigureFPGA(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  std::string *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  OpalKellyLegacy::okCFrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","ConfigureFPGA", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  {
    std::string *ptr = (std::string *)0;
    res2 = SWIG_AsPtr_std_string(argv[0], &ptr);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "std::string const &","ConfigureFPGA", 2, argv[0] )); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","ConfigureFPGA", 2, argv[0])); 
    }
    arg2 = ptr;
  }
  result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)(arg1)->ConfigureFPGA((std::string const &)*arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  if (SWIG_IsNewObj(res2)) delete arg2;
  return vresult;
fail:
  if (SWIG_IsNewObj(res2)) delete arg2;
  return Qnil;
}

#ConfigureFPGAFromMemory(*args) ⇒ Object



23372
23373
23374
23375
23376
23377
23378
23379
23380
23381
23382
23383
23384
23385
23386
23387
23388
23389
23390
23391
23392
23393
23394
23395
23396
23397
23398
23399
23400
23401
23402
23403
23404
23405
23406
23407
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 23372

SWIGINTERN VALUE
_wrap_okCFrontPanel_ConfigureFPGAFromMemory(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  unsigned char *arg2 = (unsigned char *) 0 ;
  unsigned long arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  size_t size2 = 0 ;
  int alloc2 = 0 ;
  OpalKellyLegacy::okCFrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","ConfigureFPGAFromMemory", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, &size2, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "unsigned char *","ConfigureFPGAFromMemory", 2, argv[0] ));
  }  
  arg2 = reinterpret_cast< unsigned char * >(buf2);
  arg3 = static_cast< unsigned long >(size2 - 1);
  result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)OpalKellyLegacy_okCFrontPanel_ConfigureFPGAFromMemory(arg1,arg2,arg3);
  vresult = SWIG_From_int(static_cast< int >(result));
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return vresult;
fail:
  if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
  return Qnil;
}

#CreateLuaScriptEngine(*args) ⇒ Object



23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
23453
23454
23455
23456
23457
23458
23459
23460
23461
23462
23463
23464
23465
23466
23467
23468
23469
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 23438

SWIGINTERN VALUE
_wrap_okCFrontPanel_CreateLuaScriptEngine(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  okstd::auto_ptr< OpalKelly::ScriptEngine > result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","CreateLuaScriptEngine", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  {
    /*@SWIG:..\FrontPanelDLL\FrontPanelDLL.i,71,okExceptionHandlingCode@*/	try {
      result = OpalKellyLegacy_okCFrontPanel_CreateLuaScriptEngine(arg1);
    } catch (const std::exception& e) {
      SWIG_Error(SWIG_RuntimeError, e.what());
      goto fail;
    }
    /*@SWIG@*/
  }
  
  vresult = SWIG_NewPointerObj((&result)->release(), SWIGTYPE_p_OpalKelly__ScriptEngine, SWIG_POINTER_OWN |  0 );
  
  return vresult;
fail:
  return Qnil;
}

#EnableAsynchronousTransfers(*args) ⇒ Object



21731
21732
21733
21734
21735
21736
21737
21738
21739
21740
21741
21742
21743
21744
21745
21746
21747
21748
21749
21750
21751
21752
21753
21754
21755
21756
21757
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 21731

SWIGINTERN VALUE
_wrap_okCFrontPanel_EnableAsynchronousTransfers(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  bool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","EnableAsynchronousTransfers", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  ecode2 = SWIG_AsVal_bool(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "bool","EnableAsynchronousTransfers", 2, argv[0] ));
  } 
  arg2 = static_cast< bool >(val2);
  (arg1)->EnableAsynchronousTransfers(arg2);
  return Qnil;
fail:
  return Qnil;
}

#FlashEraseSector(*args) ⇒ Object



21479
21480
21481
21482
21483
21484
21485
21486
21487
21488
21489
21490
21491
21492
21493
21494
21495
21496
21497
21498
21499
21500
21501
21502
21503
21504
21505
21506
21507
21508
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 21479

SWIGINTERN VALUE
_wrap_okCFrontPanel_FlashEraseSector(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  UINT32 arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  OpalKellyLegacy::okCFrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","FlashEraseSector", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "UINT32","FlashEraseSector", 2, argv[0] ));
  } 
  arg2 = static_cast< UINT32 >(val2);
  result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)(arg1)->FlashEraseSector(arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#GetBoardModel(*args) ⇒ Object



21295
21296
21297
21298
21299
21300
21301
21302
21303
21304
21305
21306
21307
21308
21309
21310
21311
21312
21313
21314
21315
21316
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 21295

SWIGINTERN VALUE
_wrap_okCFrontPanel_GetBoardModel(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  OpalKellyLegacy::okCFrontPanel::BoardModel result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","GetBoardModel", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  result = (OpalKellyLegacy::okCFrontPanel::BoardModel)(arg1)->GetBoardModel();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#GetDeviceCount(*args) ⇒ Object



21375
21376
21377
21378
21379
21380
21381
21382
21383
21384
21385
21386
21387
21388
21389
21390
21391
21392
21393
21394
21395
21396
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 21375

SWIGINTERN VALUE
_wrap_okCFrontPanel_GetDeviceCount(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","GetDeviceCount", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  result = (int)(arg1)->GetDeviceCount();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#GetDeviceID(*args) ⇒ Object



22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 22048

SWIGINTERN VALUE
_wrap_okCFrontPanel_GetDeviceID(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::string result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","GetDeviceID", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  result = (arg1)->GetDeviceID();
  vresult = SWIG_From_std_string(static_cast< std::string >(result));
  return vresult;
fail:
  return Qnil;
}

#GetDeviceInfo(*args) ⇒ Object



21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 21909

SWIGINTERN VALUE
_wrap_okCFrontPanel_GetDeviceInfo(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  okTDeviceInfo *arg2 = (okTDeviceInfo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  OpalKellyLegacy::okCFrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","GetDeviceInfo", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "okTDeviceInfo *","GetDeviceInfo", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< okTDeviceInfo * >(argp2);
  result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)(arg1)->GetDeviceInfo(arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#GetDeviceListModel(*args) ⇒ Object



21667
21668
21669
21670
21671
21672
21673
21674
21675
21676
21677
21678
21679
21680
21681
21682
21683
21684
21685
21686
21687
21688
21689
21690
21691
21692
21693
21694
21695
21696
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 21667

SWIGINTERN VALUE
_wrap_okCFrontPanel_GetDeviceListModel(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  OpalKellyLegacy::okCFrontPanel::BoardModel result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","GetDeviceListModel", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","GetDeviceListModel", 2, argv[0] ));
  } 
  arg2 = static_cast< int >(val2);
  result = (OpalKellyLegacy::okCFrontPanel::BoardModel)(arg1)->GetDeviceListModel(arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#GetDeviceListSerial(*args) ⇒ Object



21699
21700
21701
21702
21703
21704
21705
21706
21707
21708
21709
21710
21711
21712
21713
21714
21715
21716
21717
21718
21719
21720
21721
21722
21723
21724
21725
21726
21727
21728
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 21699

SWIGINTERN VALUE
_wrap_okCFrontPanel_GetDeviceListSerial(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  std::string result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","GetDeviceListSerial", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","GetDeviceListSerial", 2, argv[0] ));
  } 
  arg2 = static_cast< int >(val2);
  result = (arg1)->GetDeviceListSerial(arg2);
  vresult = SWIG_From_std_string(static_cast< std::string >(result));
  return vresult;
fail:
  return Qnil;
}

#GetDeviceMajorVersion(*args) ⇒ Object



21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 21941

SWIGINTERN VALUE
_wrap_okCFrontPanel_GetDeviceMajorVersion(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","GetDeviceMajorVersion", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  result = (int)(arg1)->GetDeviceMajorVersion();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#GetDeviceMinorVersion(*args) ⇒ Object



21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 21965

SWIGINTERN VALUE
_wrap_okCFrontPanel_GetDeviceMinorVersion(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","GetDeviceMinorVersion", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  result = (int)(arg1)->GetDeviceMinorVersion();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#GetDeviceSensors(*args) ⇒ Object



23410
23411
23412
23413
23414
23415
23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 23410

SWIGINTERN VALUE
_wrap_okCFrontPanel_GetDeviceSensors(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::vector< okTDeviceSensor,std::allocator< okTDeviceSensor > > result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","GetDeviceSensors", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  try {
    result = OpalKellyLegacy_okCFrontPanel_GetDeviceSensors(arg1);
  } catch(std::runtime_error &_e) {
    SWIG_exception_fail(SWIG_RuntimeError, (&_e)->what());
  }
  vresult = swig::from(static_cast< std::vector< okTDeviceSensor,std::allocator< okTDeviceSensor > > >(result));
  return vresult;
fail:
  return Qnil;
}

#GetDeviceSettings(*args) ⇒ Object



22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 22013

SWIGINTERN VALUE
_wrap_okCFrontPanel_GetDeviceSettings(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  OpalKellyLegacy::okCDeviceSettings *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  OpalKellyLegacy::okCFrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","GetDeviceSettings", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_OpalKellyLegacy__okCDeviceSettings,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCDeviceSettings &","GetDeviceSettings", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "OpalKellyLegacy::okCDeviceSettings &","GetDeviceSettings", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< OpalKellyLegacy::okCDeviceSettings * >(argp2);
  result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)(arg1)->GetDeviceSettings(*arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#GetEepromPLL22150Configuration(*args) ⇒ Object



22323
22324
22325
22326
22327
22328
22329
22330
22331
22332
22333
22334
22335
22336
22337
22338
22339
22340
22341
22342
22343
22344
22345
22346
22347
22348
22349
22350
22351
22352
22353
22354
22355
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 22323

SWIGINTERN VALUE
_wrap_okCFrontPanel_GetEepromPLL22150Configuration(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  OpalKellyLegacy::okCPLL22150 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  OpalKellyLegacy::okCFrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","GetEepromPLL22150Configuration", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_OpalKellyLegacy__okCPLL22150,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCPLL22150 &","GetEepromPLL22150Configuration", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "OpalKellyLegacy::okCPLL22150 &","GetEepromPLL22150Configuration", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< OpalKellyLegacy::okCPLL22150 * >(argp2);
  result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)(arg1)->GetEepromPLL22150Configuration(*arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#GetEepromPLL22393Configuration(*args) ⇒ Object



22463
22464
22465
22466
22467
22468
22469
22470
22471
22472
22473
22474
22475
22476
22477
22478
22479
22480
22481
22482
22483
22484
22485
22486
22487
22488
22489
22490
22491
22492
22493
22494
22495
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 22463

SWIGINTERN VALUE
_wrap_okCFrontPanel_GetEepromPLL22393Configuration(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  OpalKellyLegacy::okCPLL22393 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  OpalKellyLegacy::okCFrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","GetEepromPLL22393Configuration", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_OpalKellyLegacy__okCPLL22393,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCPLL22393 &","GetEepromPLL22393Configuration", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "OpalKellyLegacy::okCPLL22393 &","GetEepromPLL22393Configuration", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< OpalKellyLegacy::okCPLL22393 * >(argp2);
  result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)(arg1)->GetEepromPLL22393Configuration(*arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#GetFPGAResetProfile(*args) ⇒ Object



21399
21400
21401
21402
21403
21404
21405
21406
21407
21408
21409
21410
21411
21412
21413
21414
21415
21416
21417
21418
21419
21420
21421
21422
21423
21424
21425
21426
21427
21428
21429
21430
21431
21432
21433
21434
21435
21436
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 21399

SWIGINTERN VALUE
_wrap_okCFrontPanel_GetFPGAResetProfile(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  okEFPGAConfigurationMethod arg2 ;
  okTFPGAResetProfile *arg3 = (okTFPGAResetProfile *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  OpalKellyLegacy::okCFrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","GetFPGAResetProfile", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "okEFPGAConfigurationMethod","GetFPGAResetProfile", 2, argv[0] ));
  } 
  arg2 = static_cast< okEFPGAConfigurationMethod >(val2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_okTFPGAResetProfile, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "okTFPGAResetProfile *","GetFPGAResetProfile", 3, argv[1] )); 
  }
  arg3 = reinterpret_cast< okTFPGAResetProfile * >(argp3);
  result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)(arg1)->GetFPGAResetProfile(arg2,arg3);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#GetHostInterfaceWidth(*args) ⇒ Object



21271
21272
21273
21274
21275
21276
21277
21278
21279
21280
21281
21282
21283
21284
21285
21286
21287
21288
21289
21290
21291
21292
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 21271

SWIGINTERN VALUE
_wrap_okCFrontPanel_GetHostInterfaceWidth(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","GetHostInterfaceWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  result = (int)(arg1)->GetHostInterfaceWidth();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#GetLastErrorMessage(*args) ⇒ Object



21118
21119
21120
21121
21122
21123
21124
21125
21126
21127
21128
21129
21130
21131
21132
21133
21134
21135
21136
21137
21138
21139
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 21118

SWIGINTERN VALUE
_wrap_okCFrontPanel_GetLastErrorMessage(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  char *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel const *","GetLastErrorMessage", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  result = (char *)((OpalKellyLegacy::okCFrontPanel const *)arg1)->GetLastErrorMessage();
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}

#GetLastTransferLength(*args) ⇒ Object



23044
23045
23046
23047
23048
23049
23050
23051
23052
23053
23054
23055
23056
23057
23058
23059
23060
23061
23062
23063
23064
23065
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 23044

SWIGINTERN VALUE
_wrap_okCFrontPanel_GetLastTransferLength(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","GetLastTransferLength", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  result = (long)(arg1)->GetLastTransferLength();
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}

#GetPLL22150Configuration(*args) ⇒ Object



22253
22254
22255
22256
22257
22258
22259
22260
22261
22262
22263
22264
22265
22266
22267
22268
22269
22270
22271
22272
22273
22274
22275
22276
22277
22278
22279
22280
22281
22282
22283
22284
22285
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 22253

SWIGINTERN VALUE
_wrap_okCFrontPanel_GetPLL22150Configuration(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  OpalKellyLegacy::okCPLL22150 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  OpalKellyLegacy::okCFrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","GetPLL22150Configuration", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_OpalKellyLegacy__okCPLL22150,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCPLL22150 &","GetPLL22150Configuration", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "OpalKellyLegacy::okCPLL22150 &","GetPLL22150Configuration", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< OpalKellyLegacy::okCPLL22150 * >(argp2);
  result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)(arg1)->GetPLL22150Configuration(*arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#GetPLL22393Configuration(*args) ⇒ Object



22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
22404
22405
22406
22407
22408
22409
22410
22411
22412
22413
22414
22415
22416
22417
22418
22419
22420
22421
22422
22423
22424
22425
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 22393

SWIGINTERN VALUE
_wrap_okCFrontPanel_GetPLL22393Configuration(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  OpalKellyLegacy::okCPLL22393 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  OpalKellyLegacy::okCFrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","GetPLL22393Configuration", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_OpalKellyLegacy__okCPLL22393,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCPLL22393 &","GetPLL22393Configuration", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "OpalKellyLegacy::okCPLL22393 &","GetPLL22393Configuration", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< OpalKellyLegacy::okCPLL22393 * >(argp2);
  result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)(arg1)->GetPLL22393Configuration(*arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#GetSerialNumber(*args) ⇒ Object



21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 21989

SWIGINTERN VALUE
_wrap_okCFrontPanel_GetSerialNumber(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::string result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","GetSerialNumber", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  result = (arg1)->GetSerialNumber();
  vresult = SWIG_From_std_string(static_cast< std::string >(result));
  return vresult;
fail:
  return Qnil;
}

#GetTriggerOutVector(*args) ⇒ Object



23012
23013
23014
23015
23016
23017
23018
23019
23020
23021
23022
23023
23024
23025
23026
23027
23028
23029
23030
23031
23032
23033
23034
23035
23036
23037
23038
23039
23040
23041
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 23012

SWIGINTERN VALUE
_wrap_okCFrontPanel_GetTriggerOutVector(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  UINT32 result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel const *","GetTriggerOutVector", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","GetTriggerOutVector", 2, argv[0] ));
  } 
  arg2 = static_cast< int >(val2);
  result = (UINT32)((OpalKellyLegacy::okCFrontPanel const *)arg1)->GetTriggerOutVector(arg2);
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}

#GetWireInValue(*args) ⇒ Object



22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 22653

SWIGINTERN VALUE
_wrap_okCFrontPanel_GetWireInValue(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  int arg2 ;
  UINT32 *arg3 = (UINT32 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  UINT32 temp3 ;
  int res3 = SWIG_TMPOBJ ;
  OpalKellyLegacy::okCFrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  arg3 = &temp3;
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","GetWireInValue", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","GetWireInValue", 2, argv[0] ));
  } 
  arg2 = static_cast< int >(val2);
  result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)(arg1)->GetWireInValue(arg2,arg3);
  vresult = SWIG_From_int(static_cast< int >(result));
  if (SWIG_IsTmpObj(res3)) {
    vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_unsigned_SS_int((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_int, new_flags));
  }
  return vresult;
fail:
  return Qnil;
}

#GetWireOutValue(*args) ⇒ Object



22876
22877
22878
22879
22880
22881
22882
22883
22884
22885
22886
22887
22888
22889
22890
22891
22892
22893
22894
22895
22896
22897
22898
22899
22900
22901
22902
22903
22904
22905
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 22876

SWIGINTERN VALUE
_wrap_okCFrontPanel_GetWireOutValue(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  unsigned long result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","GetWireOutValue", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","GetWireOutValue", 2, argv[0] ));
  } 
  arg2 = static_cast< int >(val2);
  result = (unsigned long)(arg1)->GetWireOutValue(arg2);
  vresult = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
  return vresult;
fail:
  return Qnil;
}

#IsFrontPanel3Supported(*args) ⇒ Object



22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 22605

SWIGINTERN VALUE
_wrap_okCFrontPanel_IsFrontPanel3Supported(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","IsFrontPanel3Supported", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  result = (bool)(arg1)->IsFrontPanel3Supported();
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}

#IsFrontPanelEnabled(*args) ⇒ Object



22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 22581

SWIGINTERN VALUE
_wrap_okCFrontPanel_IsFrontPanelEnabled(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","IsFrontPanelEnabled", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  result = (bool)(arg1)->IsFrontPanelEnabled();
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}

#IsHighSpeed(*args) ⇒ Object



22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 22557

SWIGINTERN VALUE
_wrap_okCFrontPanel_IsHighSpeed(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","IsHighSpeed", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  result = (bool)(arg1)->IsHighSpeed();
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}

#IsOpen(*args) ⇒ Object



21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 21861

SWIGINTERN VALUE
_wrap_okCFrontPanel_IsOpen(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","IsOpen", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  result = (bool)(arg1)->IsOpen();
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}

#IsRemote(*args) ⇒ Object



21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 21885

SWIGINTERN VALUE
_wrap_okCFrontPanel_IsRemote(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","IsRemote", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  result = (bool)(arg1)->IsRemote();
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}

#IsTriggered(*args) ⇒ Object



22972
22973
22974
22975
22976
22977
22978
22979
22980
22981
22982
22983
22984
22985
22986
22987
22988
22989
22990
22991
22992
22993
22994
22995
22996
22997
22998
22999
23000
23001
23002
23003
23004
23005
23006
23007
23008
23009
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 22972

SWIGINTERN VALUE
_wrap_okCFrontPanel_IsTriggered(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  int arg2 ;
  UINT32 arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","IsTriggered", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","IsTriggered", 2, argv[0] ));
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(argv[1], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "UINT32","IsTriggered", 3, argv[1] ));
  } 
  arg3 = static_cast< UINT32 >(val3);
  result = (bool)(arg1)->IsTriggered(arg2,arg3);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}

#LoadDefaultPLLConfiguration(*args) ⇒ Object



22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 22533

SWIGINTERN VALUE
_wrap_okCFrontPanel_LoadDefaultPLLConfiguration(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  OpalKellyLegacy::okCFrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","LoadDefaultPLLConfiguration", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)(arg1)->LoadDefaultPLLConfiguration();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#OpenBySerial(*args, self) ⇒ Object



21818
21819
21820
21821
21822
21823
21824
21825
21826
21827
21828
21829
21830
21831
21832
21833
21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 21818

SWIGINTERN VALUE _wrap_okCFrontPanel_OpenBySerial(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[3];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 3) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 1) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      return _wrap_okCFrontPanel_OpenBySerial__SWIG_1(nargs, args, self);
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_okCFrontPanel_OpenBySerial__SWIG_0(nargs, args, self);
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 3, "okCFrontPanel.OpenBySerial", 
    "    OpalKellyLegacy::okCFrontPanel::ErrorCode okCFrontPanel.OpenBySerial(std::string str)\n"
    "    OpalKellyLegacy::okCFrontPanel::ErrorCode okCFrontPanel.OpenBySerial()\n");
  
  return Qnil;
}

#ReadFromBlockPipeOut(*args) ⇒ Object



23318
23319
23320
23321
23322
23323
23324
23325
23326
23327
23328
23329
23330
23331
23332
23333
23334
23335
23336
23337
23338
23339
23340
23341
23342
23343
23344
23345
23346
23347
23348
23349
23350
23351
23352
23353
23354
23355
23356
23357
23358
23359
23360
23361
23362
23363
23364
23365
23366
23367
23368
23369
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 23318

SWIGINTERN VALUE
_wrap_okCFrontPanel_ReadFromBlockPipeOut(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  int arg2 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  int arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  size_t size4 = 0 ;
  int alloc4 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","ReadFromBlockPipeOut", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","ReadFromBlockPipeOut", 2, argv[0] ));
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(argv[1], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","ReadFromBlockPipeOut", 3, argv[1] ));
  } 
  arg3 = static_cast< int >(val3);
  res4 = SWIG_AsCharPtrAndSize(argv[2], &buf4, &size4, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char *","ReadFromBlockPipeOut", 4, argv[2] ));
  }  
  arg4 = reinterpret_cast< char * >(buf4);
  arg5 = static_cast< int >(size4 - 1);
  result = (long)OpalKellyLegacy_okCFrontPanel_ReadFromBlockPipeOut(arg1,arg2,arg3,arg4,arg5);
  vresult = SWIG_From_long(static_cast< long >(result));
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return vresult;
fail:
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return Qnil;
}

#ReadFromPipeOut(*args) ⇒ Object



23218
23219
23220
23221
23222
23223
23224
23225
23226
23227
23228
23229
23230
23231
23232
23233
23234
23235
23236
23237
23238
23239
23240
23241
23242
23243
23244
23245
23246
23247
23248
23249
23250
23251
23252
23253
23254
23255
23256
23257
23258
23259
23260
23261
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 23218

SWIGINTERN VALUE
_wrap_okCFrontPanel_ReadFromPipeOut(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  size_t size3 = 0 ;
  int alloc3 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","ReadFromPipeOut", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","ReadFromPipeOut", 2, argv[0] ));
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, &size3, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char *","ReadFromPipeOut", 3, argv[1] ));
  }  
  arg3 = reinterpret_cast< char * >(buf3);
  arg4 = static_cast< int >(size3 - 1);
  result = (long)OpalKellyLegacy_okCFrontPanel_ReadFromPipeOut(arg1,arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return vresult;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return Qnil;
}

#ReadRegister(*args) ⇒ Object



21511
21512
21513
21514
21515
21516
21517
21518
21519
21520
21521
21522
21523
21524
21525
21526
21527
21528
21529
21530
21531
21532
21533
21534
21535
21536
21537
21538
21539
21540
21541
21542
21543
21544
21545
21546
21547
21548
21549
21550
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 21511

SWIGINTERN VALUE
_wrap_okCFrontPanel_ReadRegister(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  UINT32 arg2 ;
  UINT32 *arg3 = (UINT32 *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  UINT32 temp3 ;
  int res3 = SWIG_TMPOBJ ;
  OpalKellyLegacy::okCFrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  arg3 = &temp3;
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","ReadRegister", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "UINT32","ReadRegister", 2, argv[0] ));
  } 
  arg2 = static_cast< UINT32 >(val2);
  result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)(arg1)->ReadRegister(arg2,arg3);
  vresult = SWIG_From_int(static_cast< int >(result));
  if (SWIG_IsTmpObj(res3)) {
    vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_From_unsigned_SS_int((*arg3)));
  } else {
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
    vresult = SWIG_Ruby_AppendOutput(vresult, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_int, new_flags));
  }
  return vresult;
fail:
  return Qnil;
}

#ReadRegisters(*args) ⇒ Object



21553
21554
21555
21556
21557
21558
21559
21560
21561
21562
21563
21564
21565
21566
21567
21568
21569
21570
21571
21572
21573
21574
21575
21576
21577
21578
21579
21580
21581
21582
21583
21584
21585
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 21553

SWIGINTERN VALUE
_wrap_okCFrontPanel_ReadRegisters(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  okTRegisterEntries *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  OpalKellyLegacy::okCFrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","ReadRegisters", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_std__vectorT_okTRegisterEntry_std__allocatorT_okTRegisterEntry_t_t,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "okTRegisterEntries &","ReadRegisters", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "okTRegisterEntries &","ReadRegisters", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< okTRegisterEntries * >(argp2);
  result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)(arg1)->ReadRegisters(*arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#ResetFPGA(*args) ⇒ Object



22169
22170
22171
22172
22173
22174
22175
22176
22177
22178
22179
22180
22181
22182
22183
22184
22185
22186
22187
22188
22189
22190
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 22169

SWIGINTERN VALUE
_wrap_okCFrontPanel_ResetFPGA(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  OpalKellyLegacy::okCFrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","ResetFPGA", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)(arg1)->ResetFPGA();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#SetBTPipePollingInterval(*args) ⇒ Object



22108
22109
22110
22111
22112
22113
22114
22115
22116
22117
22118
22119
22120
22121
22122
22123
22124
22125
22126
22127
22128
22129
22130
22131
22132
22133
22134
22135
22136
22137
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 22108

SWIGINTERN VALUE
_wrap_okCFrontPanel_SetBTPipePollingInterval(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  OpalKellyLegacy::okCFrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","SetBTPipePollingInterval", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","SetBTPipePollingInterval", 2, argv[0] ));
  } 
  arg2 = static_cast< int >(val2);
  result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)(arg1)->SetBTPipePollingInterval(arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#SetDeviceID(*args) ⇒ Object



22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
22091
22092
22093
22094
22095
22096
22097
22098
22099
22100
22101
22102
22103
22104
22105
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 22072

SWIGINTERN VALUE
_wrap_okCFrontPanel_SetDeviceID(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  std::string *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","SetDeviceID", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  {
    std::string *ptr = (std::string *)0;
    res2 = SWIG_AsPtr_std_string(argv[0], &ptr);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "std::string const &","SetDeviceID", 2, argv[0] )); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","SetDeviceID", 2, argv[0])); 
    }
    arg2 = ptr;
  }
  (arg1)->SetDeviceID((std::string const &)*arg2);
  if (SWIG_IsNewObj(res2)) delete arg2;
  return Qnil;
fail:
  if (SWIG_IsNewObj(res2)) delete arg2;
  return Qnil;
}

#SetEepromPLL22150Configuration(*args) ⇒ Object



22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 22358

SWIGINTERN VALUE
_wrap_okCFrontPanel_SetEepromPLL22150Configuration(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  OpalKellyLegacy::okCPLL22150 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  OpalKellyLegacy::okCFrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","SetEepromPLL22150Configuration", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_OpalKellyLegacy__okCPLL22150,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCPLL22150 const &","SetEepromPLL22150Configuration", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "OpalKellyLegacy::okCPLL22150 const &","SetEepromPLL22150Configuration", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< OpalKellyLegacy::okCPLL22150 * >(argp2);
  result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)(arg1)->SetEepromPLL22150Configuration((OpalKellyLegacy::okCPLL22150 const &)*arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#SetEepromPLL22393Configuration(*args) ⇒ Object



22498
22499
22500
22501
22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 22498

SWIGINTERN VALUE
_wrap_okCFrontPanel_SetEepromPLL22393Configuration(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  OpalKellyLegacy::okCPLL22393 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  OpalKellyLegacy::okCFrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","SetEepromPLL22393Configuration", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_OpalKellyLegacy__okCPLL22393,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCPLL22393 const &","SetEepromPLL22393Configuration", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "OpalKellyLegacy::okCPLL22393 const &","SetEepromPLL22393Configuration", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< OpalKellyLegacy::okCPLL22393 * >(argp2);
  result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)(arg1)->SetEepromPLL22393Configuration((OpalKellyLegacy::okCPLL22393 const &)*arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#SetFPGAResetProfile(*args) ⇒ Object



21439
21440
21441
21442
21443
21444
21445
21446
21447
21448
21449
21450
21451
21452
21453
21454
21455
21456
21457
21458
21459
21460
21461
21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
21473
21474
21475
21476
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 21439

SWIGINTERN VALUE
_wrap_okCFrontPanel_SetFPGAResetProfile(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  okEFPGAConfigurationMethod arg2 ;
  okTFPGAResetProfile *arg3 = (okTFPGAResetProfile *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  OpalKellyLegacy::okCFrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","SetFPGAResetProfile", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "okEFPGAConfigurationMethod","SetFPGAResetProfile", 2, argv[0] ));
  } 
  arg2 = static_cast< okEFPGAConfigurationMethod >(val2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_okTFPGAResetProfile, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "okTFPGAResetProfile const *","SetFPGAResetProfile", 3, argv[1] )); 
  }
  arg3 = reinterpret_cast< okTFPGAResetProfile * >(argp3);
  result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)(arg1)->SetFPGAResetProfile(arg2,(okTFPGAResetProfile const *)arg3);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#SetPLL22150Configuration(*args) ⇒ Object



22288
22289
22290
22291
22292
22293
22294
22295
22296
22297
22298
22299
22300
22301
22302
22303
22304
22305
22306
22307
22308
22309
22310
22311
22312
22313
22314
22315
22316
22317
22318
22319
22320
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 22288

SWIGINTERN VALUE
_wrap_okCFrontPanel_SetPLL22150Configuration(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  OpalKellyLegacy::okCPLL22150 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  OpalKellyLegacy::okCFrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","SetPLL22150Configuration", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_OpalKellyLegacy__okCPLL22150,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCPLL22150 const &","SetPLL22150Configuration", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "OpalKellyLegacy::okCPLL22150 const &","SetPLL22150Configuration", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< OpalKellyLegacy::okCPLL22150 * >(argp2);
  result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)(arg1)->SetPLL22150Configuration((OpalKellyLegacy::okCPLL22150 const &)*arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#SetPLL22393Configuration(*args) ⇒ Object



22428
22429
22430
22431
22432
22433
22434
22435
22436
22437
22438
22439
22440
22441
22442
22443
22444
22445
22446
22447
22448
22449
22450
22451
22452
22453
22454
22455
22456
22457
22458
22459
22460
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 22428

SWIGINTERN VALUE
_wrap_okCFrontPanel_SetPLL22393Configuration(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  OpalKellyLegacy::okCPLL22393 *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  OpalKellyLegacy::okCFrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","SetPLL22393Configuration", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_OpalKellyLegacy__okCPLL22393,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCPLL22393 const &","SetPLL22393Configuration", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "OpalKellyLegacy::okCPLL22393 const &","SetPLL22393Configuration", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< OpalKellyLegacy::okCPLL22393 * >(argp2);
  result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)(arg1)->SetPLL22393Configuration((OpalKellyLegacy::okCPLL22393 const &)*arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#SetTimeout(*args) ⇒ Object



22140
22141
22142
22143
22144
22145
22146
22147
22148
22149
22150
22151
22152
22153
22154
22155
22156
22157
22158
22159
22160
22161
22162
22163
22164
22165
22166
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 22140

SWIGINTERN VALUE
_wrap_okCFrontPanel_SetTimeout(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","SetTimeout", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","SetTimeout", 2, argv[0] ));
  } 
  arg2 = static_cast< int >(val2);
  (arg1)->SetTimeout(arg2);
  return Qnil;
fail:
  return Qnil;
}

#SetWireInValue(*args, self) ⇒ Object



22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
22841
22842
22843
22844
22845
22846
22847
22848
22849
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 22783

SWIGINTERN VALUE _wrap_okCFrontPanel_SetWireInValue(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[5];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 5) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 3) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          return _wrap_okCFrontPanel_SetWireInValue__SWIG_1(nargs, args, self);
        }
      }
    }
  }
  if (argc == 4) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        int res = SWIG_AsVal_int(argv[1], NULL);
        _v = SWIG_CheckState(res);
      }
      if (_v) {
        {
          int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
          _v = SWIG_CheckState(res);
        }
        if (_v) {
          {
            int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
            _v = SWIG_CheckState(res);
          }
          if (_v) {
            return _wrap_okCFrontPanel_SetWireInValue__SWIG_0(nargs, args, self);
          }
        }
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 5, "okCFrontPanel.SetWireInValue", 
    "    OpalKellyLegacy::okCFrontPanel::ErrorCode okCFrontPanel.SetWireInValue(int ep, UINT32 val, UINT32 mask)\n"
    "    OpalKellyLegacy::okCFrontPanel::ErrorCode okCFrontPanel.SetWireInValue(int ep, UINT32 val)\n");
  
  return Qnil;
}

#UpdateTriggerOuts(*args) ⇒ Object



22948
22949
22950
22951
22952
22953
22954
22955
22956
22957
22958
22959
22960
22961
22962
22963
22964
22965
22966
22967
22968
22969
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 22948

SWIGINTERN VALUE
_wrap_okCFrontPanel_UpdateTriggerOuts(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  OpalKellyLegacy::okCFrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","UpdateTriggerOuts", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)(arg1)->UpdateTriggerOuts();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#UpdateWireIns(*args) ⇒ Object



22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 22629

SWIGINTERN VALUE
_wrap_okCFrontPanel_UpdateWireIns(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  OpalKellyLegacy::okCFrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","UpdateWireIns", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)(arg1)->UpdateWireIns();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#UpdateWireOuts(*args) ⇒ Object



22852
22853
22854
22855
22856
22857
22858
22859
22860
22861
22862
22863
22864
22865
22866
22867
22868
22869
22870
22871
22872
22873
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 22852

SWIGINTERN VALUE
_wrap_okCFrontPanel_UpdateWireOuts(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  OpalKellyLegacy::okCFrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","UpdateWireOuts", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)(arg1)->UpdateWireOuts();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#WriteRegister(*args) ⇒ Object



21588
21589
21590
21591
21592
21593
21594
21595
21596
21597
21598
21599
21600
21601
21602
21603
21604
21605
21606
21607
21608
21609
21610
21611
21612
21613
21614
21615
21616
21617
21618
21619
21620
21621
21622
21623
21624
21625
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 21588

SWIGINTERN VALUE
_wrap_okCFrontPanel_WriteRegister(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  UINT32 arg2 ;
  UINT32 arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  unsigned int val2 ;
  int ecode2 = 0 ;
  unsigned int val3 ;
  int ecode3 = 0 ;
  OpalKellyLegacy::okCFrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","WriteRegister", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "UINT32","WriteRegister", 2, argv[0] ));
  } 
  arg2 = static_cast< UINT32 >(val2);
  ecode3 = SWIG_AsVal_unsigned_SS_int(argv[1], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "UINT32","WriteRegister", 3, argv[1] ));
  } 
  arg3 = static_cast< UINT32 >(val3);
  result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)(arg1)->WriteRegister(arg2,arg3);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#WriteRegisters(*args) ⇒ Object



21628
21629
21630
21631
21632
21633
21634
21635
21636
21637
21638
21639
21640
21641
21642
21643
21644
21645
21646
21647
21648
21649
21650
21651
21652
21653
21654
21655
21656
21657
21658
21659
21660
21661
21662
21663
21664
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 21628

SWIGINTERN VALUE
_wrap_okCFrontPanel_WriteRegisters(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  okTRegisterEntries *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res2 = SWIG_OLDOBJ ;
  OpalKellyLegacy::okCFrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","WriteRegisters", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  {
    std::vector< okTRegisterEntry,std::allocator< okTRegisterEntry > > *ptr = (std::vector< okTRegisterEntry,std::allocator< okTRegisterEntry > > *)0;
    res2 = swig::asptr(argv[0], &ptr);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "okTRegisterEntries const &","WriteRegisters", 2, argv[0] )); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "okTRegisterEntries const &","WriteRegisters", 2, argv[0])); 
    }
    arg2 = ptr;
  }
  result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)(arg1)->WriteRegisters((okTRegisterEntries const &)*arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  if (SWIG_IsNewObj(res2)) delete arg2;
  return vresult;
fail:
  if (SWIG_IsNewObj(res2)) delete arg2;
  return Qnil;
}

#WriteToBlockPipeIn(*args) ⇒ Object



23264
23265
23266
23267
23268
23269
23270
23271
23272
23273
23274
23275
23276
23277
23278
23279
23280
23281
23282
23283
23284
23285
23286
23287
23288
23289
23290
23291
23292
23293
23294
23295
23296
23297
23298
23299
23300
23301
23302
23303
23304
23305
23306
23307
23308
23309
23310
23311
23312
23313
23314
23315
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 23264

SWIGINTERN VALUE
_wrap_okCFrontPanel_WriteToBlockPipeIn(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  int arg2 ;
  int arg3 ;
  char *arg4 = (char *) 0 ;
  int arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  int res4 ;
  char *buf4 = 0 ;
  size_t size4 = 0 ;
  int alloc4 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","WriteToBlockPipeIn", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","WriteToBlockPipeIn", 2, argv[0] ));
  } 
  arg2 = static_cast< int >(val2);
  ecode3 = SWIG_AsVal_int(argv[1], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","WriteToBlockPipeIn", 3, argv[1] ));
  } 
  arg3 = static_cast< int >(val3);
  res4 = SWIG_AsCharPtrAndSize(argv[2], &buf4, &size4, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char *","WriteToBlockPipeIn", 4, argv[2] ));
  }  
  arg4 = reinterpret_cast< char * >(buf4);
  arg5 = static_cast< int >(size4 - 1);
  result = (long)OpalKellyLegacy_okCFrontPanel_WriteToBlockPipeIn(arg1,arg2,arg3,arg4,arg5);
  vresult = SWIG_From_long(static_cast< long >(result));
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return vresult;
fail:
  if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
  return Qnil;
}

#WriteToPipeIn(*args) ⇒ Object



23172
23173
23174
23175
23176
23177
23178
23179
23180
23181
23182
23183
23184
23185
23186
23187
23188
23189
23190
23191
23192
23193
23194
23195
23196
23197
23198
23199
23200
23201
23202
23203
23204
23205
23206
23207
23208
23209
23210
23211
23212
23213
23214
23215
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 23172

SWIGINTERN VALUE
_wrap_okCFrontPanel_WriteToPipeIn(int argc, VALUE *argv, VALUE self) {
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
  int arg2 ;
  char *arg3 = (char *) 0 ;
  int arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  int res3 ;
  char *buf3 = 0 ;
  size_t size3 = 0 ;
  int alloc3 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","WriteToPipeIn", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","WriteToPipeIn", 2, argv[0] ));
  } 
  arg2 = static_cast< int >(val2);
  res3 = SWIG_AsCharPtrAndSize(argv[1], &buf3, &size3, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char *","WriteToPipeIn", 3, argv[1] ));
  }  
  arg3 = reinterpret_cast< char * >(buf3);
  arg4 = static_cast< int >(size3 - 1);
  result = (long)OpalKellyLegacy_okCFrontPanel_WriteToPipeIn(arg1,arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return vresult;
fail:
  if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
  return Qnil;
}