Class: OpalKelly::OkTDeviceInfo

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

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Object



18907
18908
18909
18910
18911
18912
18913
18914
18915
18916
18917
18918
18919
18920
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18907

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

Instance Method Details

#configuresFromSystemFlash(*args) ⇒ Object



18815
18816
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18815

SWIGINTERN VALUE
_wrap_okTDeviceInfo_configuresFromSystemFlash_get(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  okBool 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","configuresFromSystemFlash", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  result = (okBool) ((arg1)->configuresFromSystemFlash);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}

#configuresFromSystemFlash=(*args) ⇒ Object



18786
18787
18788
18789
18790
18791
18792
18793
18794
18795
18796
18797
18798
18799
18800
18801
18802
18803
18804
18805
18806
18807
18808
18809
18810
18811
18812
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18786

SWIGINTERN VALUE
_wrap_okTDeviceInfo_configuresFromSystemFlash_set(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 0 ;
  okBool 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","configuresFromSystemFlash", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  ecode2 = SWIG_AsVal_bool(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "okBool","configuresFromSystemFlash", 2, argv[0] ));
  } 
  arg2 = static_cast< okBool >(val2);
  if (arg1) (arg1)->configuresFromSystemFlash = arg2;
  return Qnil;
fail:
  return Qnil;
}

#deviceID(*args) ⇒ Object



17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17488

SWIGINTERN VALUE
_wrap_okTDeviceInfo_deviceID_get(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","deviceID", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  result = (char *)(char *) ((arg1)->deviceID);
  vresult = SWIG_FromCharPtrAndSize(result, strlen(result));
  return vresult;
fail:
  return Qnil;
}

#deviceID=(*args) ⇒ Object



17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17458

SWIGINTERN VALUE
_wrap_okTDeviceInfo_deviceID_set(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 0 ;
  char *arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  char temp2[(33)] ;
  int res2 ;
  
  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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","deviceID", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  res2 = SWIG_AsCharArray(argv[0], temp2, (33));
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [(33)]","deviceID", 2, argv[0] ));
  }
  arg2 = reinterpret_cast< char * >(temp2);
  if (arg2) memcpy(arg1->deviceID,arg2,(33)*sizeof(char));
  else memset(arg1->deviceID,0,(33)*sizeof(char));
  return Qnil;
fail:
  return Qnil;
}

#deviceInterface(*args) ⇒ Object



17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17702

SWIGINTERN VALUE
_wrap_okTDeviceInfo_deviceInterface_get(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  okEDeviceInterface 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","deviceInterface", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  result = (okEDeviceInterface) ((arg1)->deviceInterface);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#deviceInterface=(*args) ⇒ Object



17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17673

SWIGINTERN VALUE
_wrap_okTDeviceInfo_deviceInterface_set(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 0 ;
  okEDeviceInterface 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","deviceInterface", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "okEDeviceInterface","deviceInterface", 2, argv[0] ));
  } 
  arg2 = static_cast< okEDeviceInterface >(val2);
  if (arg1) (arg1)->deviceInterface = arg2;
  return Qnil;
fail:
  return Qnil;
}

#deviceMajorVersion(*args) ⇒ Object



17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
17827
17828
17829
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17808

SWIGINTERN VALUE
_wrap_okTDeviceInfo_deviceMajorVersion_get(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","deviceMajorVersion", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  result = (int) ((arg1)->deviceMajorVersion);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#deviceMajorVersion=(*args) ⇒ Object



17779
17780
17781
17782
17783
17784
17785
17786
17787
17788
17789
17790
17791
17792
17793
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17779

SWIGINTERN VALUE
_wrap_okTDeviceInfo_deviceMajorVersion_set(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","deviceMajorVersion", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","deviceMajorVersion", 2, argv[0] ));
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->deviceMajorVersion = arg2;
  return Qnil;
fail:
  return Qnil;
}

#deviceMinorVersion(*args) ⇒ Object



17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17861

SWIGINTERN VALUE
_wrap_okTDeviceInfo_deviceMinorVersion_get(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","deviceMinorVersion", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  result = (int) ((arg1)->deviceMinorVersion);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#deviceMinorVersion=(*args) ⇒ Object



17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17832

SWIGINTERN VALUE
_wrap_okTDeviceInfo_deviceMinorVersion_set(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","deviceMinorVersion", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","deviceMinorVersion", 2, argv[0] ));
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->deviceMinorVersion = arg2;
  return Qnil;
fail:
  return Qnil;
}

#flashFPGA(*args) ⇒ Object



18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516
18517
18518
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18497

SWIGINTERN VALUE
_wrap_okTDeviceInfo_flashFPGA_get(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  okTFlashLayout *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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","flashFPGA", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  result = (okTFlashLayout *)& ((arg1)->flashFPGA);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_okTFlashLayout, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}

#flashFPGA=(*args) ⇒ Object



18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18468

SWIGINTERN VALUE
_wrap_okTDeviceInfo_flashFPGA_set(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 0 ;
  okTFlashLayout *arg2 = (okTFlashLayout *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","flashFPGA", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_okTFlashLayout, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "okTFlashLayout *","flashFPGA", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< okTFlashLayout * >(argp2);
  if (arg1) (arg1)->flashFPGA = *arg2;
  return Qnil;
fail:
  return Qnil;
}

#flashSystem(*args) ⇒ Object



18444
18445
18446
18447
18448
18449
18450
18451
18452
18453
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18444

SWIGINTERN VALUE
_wrap_okTDeviceInfo_flashSystem_get(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  okTFlashLayout *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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","flashSystem", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  result = (okTFlashLayout *)& ((arg1)->flashSystem);
  vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_okTFlashLayout, 0 |  0 );
  return vresult;
fail:
  return Qnil;
}

#flashSystem=(*args) ⇒ Object



18415
18416
18417
18418
18419
18420
18421
18422
18423
18424
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434
18435
18436
18437
18438
18439
18440
18441
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18415

SWIGINTERN VALUE
_wrap_okTDeviceInfo_flashSystem_set(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 0 ;
  okTFlashLayout *arg2 = (okTFlashLayout *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","flashSystem", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_okTFlashLayout, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "okTFlashLayout *","flashSystem", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< okTFlashLayout * >(argp2);
  if (arg1) (arg1)->flashSystem = *arg2;
  return Qnil;
fail:
  return Qnil;
}

#fpgaVendor(*args) ⇒ Object



18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18656

SWIGINTERN VALUE
_wrap_okTDeviceInfo_fpgaVendor_get(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  okEFPGAVendor 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","fpgaVendor", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  result = (okEFPGAVendor) ((arg1)->fpgaVendor);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#fpgaVendor=(*args) ⇒ Object



18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18627

SWIGINTERN VALUE
_wrap_okTDeviceInfo_fpgaVendor_set(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 0 ;
  okEFPGAVendor 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","fpgaVendor", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "okEFPGAVendor","fpgaVendor", 2, argv[0] ));
  } 
  arg2 = static_cast< okEFPGAVendor >(val2);
  if (arg1) (arg1)->fpgaVendor = arg2;
  return Qnil;
fail:
  return Qnil;
}

#hasFMCEEPROM(*args) ⇒ Object



18550
18551
18552
18553
18554
18555
18556
18557
18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18550

SWIGINTERN VALUE
_wrap_okTDeviceInfo_hasFMCEEPROM_get(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  okBool 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","hasFMCEEPROM", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  result = (okBool) ((arg1)->hasFMCEEPROM);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}

#hasFMCEEPROM=(*args) ⇒ Object



18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18521

SWIGINTERN VALUE
_wrap_okTDeviceInfo_hasFMCEEPROM_set(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 0 ;
  okBool 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","hasFMCEEPROM", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  ecode2 = SWIG_AsVal_bool(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "okBool","hasFMCEEPROM", 2, argv[0] ));
  } 
  arg2 = static_cast< okBool >(val2);
  if (arg1) (arg1)->hasFMCEEPROM = arg2;
  return Qnil;
fail:
  return Qnil;
}

#hasQuadConfigFlash(*args) ⇒ Object



18868
18869
18870
18871
18872
18873
18874
18875
18876
18877
18878
18879
18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18868

SWIGINTERN VALUE
_wrap_okTDeviceInfo_hasQuadConfigFlash_get(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  okBool 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","hasQuadConfigFlash", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  result = (okBool) ((arg1)->hasQuadConfigFlash);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}

#hasQuadConfigFlash=(*args) ⇒ Object



18839
18840
18841
18842
18843
18844
18845
18846
18847
18848
18849
18850
18851
18852
18853
18854
18855
18856
18857
18858
18859
18860
18861
18862
18863
18864
18865
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18839

SWIGINTERN VALUE
_wrap_okTDeviceInfo_hasQuadConfigFlash_set(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 0 ;
  okBool 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","hasQuadConfigFlash", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  ecode2 = SWIG_AsVal_bool(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "okBool","hasQuadConfigFlash", 2, argv[0] ));
  } 
  arg2 = static_cast< okBool >(val2);
  if (arg1) (arg1)->hasQuadConfigFlash = arg2;
  return Qnil;
fail:
  return Qnil;
}

#hasResetProfiles(*args) ⇒ Object



18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18603

SWIGINTERN VALUE
_wrap_okTDeviceInfo_hasResetProfiles_get(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  okBool 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","hasResetProfiles", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  result = (okBool) ((arg1)->hasResetProfiles);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}

#hasResetProfiles=(*args) ⇒ Object



18574
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18574

SWIGINTERN VALUE
_wrap_okTDeviceInfo_hasResetProfiles_set(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 0 ;
  okBool 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","hasResetProfiles", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  ecode2 = SWIG_AsVal_bool(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "okBool","hasResetProfiles", 2, argv[0] ));
  } 
  arg2 = static_cast< okBool >(val2);
  if (arg1) (arg1)->hasResetProfiles = arg2;
  return Qnil;
fail:
  return Qnil;
}

#hostInterfaceMajorVersion(*args) ⇒ Object



17914
17915
17916
17917
17918
17919
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931
17932
17933
17934
17935
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17914

SWIGINTERN VALUE
_wrap_okTDeviceInfo_hostInterfaceMajorVersion_get(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","hostInterfaceMajorVersion", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  result = (int) ((arg1)->hostInterfaceMajorVersion);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#hostInterfaceMajorVersion=(*args) ⇒ Object



17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17885

SWIGINTERN VALUE
_wrap_okTDeviceInfo_hostInterfaceMajorVersion_set(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","hostInterfaceMajorVersion", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","hostInterfaceMajorVersion", 2, argv[0] ));
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->hostInterfaceMajorVersion = arg2;
  return Qnil;
fail:
  return Qnil;
}

#hostInterfaceMinorVersion(*args) ⇒ Object



17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983
17984
17985
17986
17987
17988
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17967

SWIGINTERN VALUE
_wrap_okTDeviceInfo_hostInterfaceMinorVersion_get(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","hostInterfaceMinorVersion", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  result = (int) ((arg1)->hostInterfaceMinorVersion);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#hostInterfaceMinorVersion=(*args) ⇒ Object



17938
17939
17940
17941
17942
17943
17944
17945
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17938

SWIGINTERN VALUE
_wrap_okTDeviceInfo_hostInterfaceMinorVersion_set(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","hostInterfaceMinorVersion", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","hostInterfaceMinorVersion", 2, argv[0] ));
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->hostInterfaceMinorVersion = arg2;
  return Qnil;
fail:
  return Qnil;
}

#interfaceCount(*args) ⇒ Object



18709
18710
18711
18712
18713
18714
18715
18716
18717
18718
18719
18720
18721
18722
18723
18724
18725
18726
18727
18728
18729
18730
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18709

SWIGINTERN VALUE
_wrap_okTDeviceInfo_interfaceCount_get(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","interfaceCount", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  result = (int) ((arg1)->interfaceCount);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#interfaceCount=(*args) ⇒ Object



18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
18704
18705
18706
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18680

SWIGINTERN VALUE
_wrap_okTDeviceInfo_interfaceCount_set(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","interfaceCount", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","interfaceCount", 2, argv[0] ));
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->interfaceCount = arg2;
  return Qnil;
fail:
  return Qnil;
}

#interfaceIndex(*args) ⇒ Object



18762
18763
18764
18765
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779
18780
18781
18782
18783
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18762

SWIGINTERN VALUE
_wrap_okTDeviceInfo_interfaceIndex_get(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","interfaceIndex", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  result = (int) ((arg1)->interfaceIndex);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#interfaceIndex=(*args) ⇒ Object



18733
18734
18735
18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
18758
18759
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18733

SWIGINTERN VALUE
_wrap_okTDeviceInfo_interfaceIndex_set(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","interfaceIndex", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","interfaceIndex", 2, argv[0] ));
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->interfaceIndex = arg2;
  return Qnil;
fail:
  return Qnil;
}

#isFrontPanelEnabled(*args) ⇒ Object



18126
18127
18128
18129
18130
18131
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18126

SWIGINTERN VALUE
_wrap_okTDeviceInfo_isFrontPanelEnabled_get(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  okBool 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","isFrontPanelEnabled", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  result = (okBool) ((arg1)->isFrontPanelEnabled);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}

#isFrontPanelEnabled=(*args) ⇒ Object



18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108
18109
18110
18111
18112
18113
18114
18115
18116
18117
18118
18119
18120
18121
18122
18123
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18097

SWIGINTERN VALUE
_wrap_okTDeviceInfo_isFrontPanelEnabled_set(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 0 ;
  okBool 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","isFrontPanelEnabled", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  ecode2 = SWIG_AsVal_bool(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "okBool","isFrontPanelEnabled", 2, argv[0] ));
  } 
  arg2 = static_cast< okBool >(val2);
  if (arg1) (arg1)->isFrontPanelEnabled = arg2;
  return Qnil;
fail:
  return Qnil;
}

#isPLL22150Supported(*args) ⇒ Object



18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18020

SWIGINTERN VALUE
_wrap_okTDeviceInfo_isPLL22150Supported_get(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  okBool 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","isPLL22150Supported", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  result = (okBool) ((arg1)->isPLL22150Supported);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}

#isPLL22150Supported=(*args) ⇒ Object



17991
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17991

SWIGINTERN VALUE
_wrap_okTDeviceInfo_isPLL22150Supported_set(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 0 ;
  okBool 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","isPLL22150Supported", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  ecode2 = SWIG_AsVal_bool(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "okBool","isPLL22150Supported", 2, argv[0] ));
  } 
  arg2 = static_cast< okBool >(val2);
  if (arg1) (arg1)->isPLL22150Supported = arg2;
  return Qnil;
fail:
  return Qnil;
}

#isPLL22393Supported(*args) ⇒ Object



18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18073

SWIGINTERN VALUE
_wrap_okTDeviceInfo_isPLL22393Supported_get(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  okBool 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","isPLL22393Supported", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  result = (okBool) ((arg1)->isPLL22393Supported);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}

#isPLL22393Supported=(*args) ⇒ Object



18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18044

SWIGINTERN VALUE
_wrap_okTDeviceInfo_isPLL22393Supported_set(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 0 ;
  okBool 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","isPLL22393Supported", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  ecode2 = SWIG_AsVal_bool(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "okBool","isPLL22393Supported", 2, argv[0] ));
  } 
  arg2 = static_cast< okBool >(val2);
  if (arg1) (arg1)->isPLL22393Supported = arg2;
  return Qnil;
fail:
  return Qnil;
}

#pipeWidth(*args) ⇒ Object



18285
18286
18287
18288
18289
18290
18291
18292
18293
18294
18295
18296
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18285

SWIGINTERN VALUE
_wrap_okTDeviceInfo_pipeWidth_get(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","pipeWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  result = (int) ((arg1)->pipeWidth);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#pipeWidth=(*args) ⇒ Object



18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18256

SWIGINTERN VALUE
_wrap_okTDeviceInfo_pipeWidth_set(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","pipeWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","pipeWidth", 2, argv[0] ));
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->pipeWidth = arg2;
  return Qnil;
fail:
  return Qnil;
}

#productID(*args) ⇒ Object



17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17649

SWIGINTERN VALUE
_wrap_okTDeviceInfo_productID_get(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","productID", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  result = (int) ((arg1)->productID);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#productID=(*args) ⇒ Object



17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17620

SWIGINTERN VALUE
_wrap_okTDeviceInfo_productID_set(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","productID", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","productID", 2, argv[0] ));
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->productID = arg2;
  return Qnil;
fail:
  return Qnil;
}

#productName(*args) ⇒ Object



17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17596

SWIGINTERN VALUE
_wrap_okTDeviceInfo_productName_get(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","productName", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  result = (char *)(char *) ((arg1)->productName);
  vresult = SWIG_FromCharPtrAndSize(result, strlen(result));
  return vresult;
fail:
  return Qnil;
}

#productName=(*args) ⇒ Object



17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17566

SWIGINTERN VALUE
_wrap_okTDeviceInfo_productName_set(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 0 ;
  char *arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  char temp2[(128)] ;
  int res2 ;
  
  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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","productName", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  res2 = SWIG_AsCharArray(argv[0], temp2, (128));
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [(128)]","productName", 2, argv[0] ));
  }
  arg2 = reinterpret_cast< char * >(temp2);
  if (arg2) memcpy(arg1->productName,arg2,(128)*sizeof(char));
  else memset(arg1->productName,0,(128)*sizeof(char));
  return Qnil;
fail:
  return Qnil;
}

#registerAddressWidth(*args) ⇒ Object



18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18338

SWIGINTERN VALUE
_wrap_okTDeviceInfo_registerAddressWidth_get(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","registerAddressWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  result = (int) ((arg1)->registerAddressWidth);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#registerAddressWidth=(*args) ⇒ Object



18309
18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
18328
18329
18330
18331
18332
18333
18334
18335
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18309

SWIGINTERN VALUE
_wrap_okTDeviceInfo_registerAddressWidth_set(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","registerAddressWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","registerAddressWidth", 2, argv[0] ));
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->registerAddressWidth = arg2;
  return Qnil;
fail:
  return Qnil;
}

#registerDataWidth(*args) ⇒ Object



18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408
18409
18410
18411
18412
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18391

SWIGINTERN VALUE
_wrap_okTDeviceInfo_registerDataWidth_get(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","registerDataWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  result = (int) ((arg1)->registerDataWidth);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#registerDataWidth=(*args) ⇒ Object



18362
18363
18364
18365
18366
18367
18368
18369
18370
18371
18372
18373
18374
18375
18376
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386
18387
18388
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18362

SWIGINTERN VALUE
_wrap_okTDeviceInfo_registerDataWidth_set(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","registerDataWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","registerDataWidth", 2, argv[0] ));
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->registerDataWidth = arg2;
  return Qnil;
fail:
  return Qnil;
}

#serialNumber(*args) ⇒ Object



17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17542

SWIGINTERN VALUE
_wrap_okTDeviceInfo_serialNumber_get(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","serialNumber", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  result = (char *)(char *) ((arg1)->serialNumber);
  vresult = SWIG_FromCharPtrAndSize(result, strlen(result));
  return vresult;
fail:
  return Qnil;
}

#serialNumber=(*args) ⇒ Object



17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17512

SWIGINTERN VALUE
_wrap_okTDeviceInfo_serialNumber_set(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 0 ;
  char *arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  char temp2[(11)] ;
  int res2 ;
  
  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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","serialNumber", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  res2 = SWIG_AsCharArray(argv[0], temp2, (11));
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [(11)]","serialNumber", 2, argv[0] ));
  }
  arg2 = reinterpret_cast< char * >(temp2);
  if (arg2) memcpy(arg1->serialNumber,arg2,(11)*sizeof(char));
  else memset(arg1->serialNumber,0,(11)*sizeof(char));
  return Qnil;
fail:
  return Qnil;
}

#triggerWidth(*args) ⇒ Object



18232
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18232

SWIGINTERN VALUE
_wrap_okTDeviceInfo_triggerWidth_get(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","triggerWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  result = (int) ((arg1)->triggerWidth);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#triggerWidth=(*args) ⇒ Object



18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18203

SWIGINTERN VALUE
_wrap_okTDeviceInfo_triggerWidth_set(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","triggerWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","triggerWidth", 2, argv[0] ));
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->triggerWidth = arg2;
  return Qnil;
fail:
  return Qnil;
}

#usbSpeed(*args) ⇒ Object



17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17755

SWIGINTERN VALUE
_wrap_okTDeviceInfo_usbSpeed_get(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  okEUSBSpeed 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","usbSpeed", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  result = (okEUSBSpeed) ((arg1)->usbSpeed);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#usbSpeed=(*args) ⇒ Object



17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17726

SWIGINTERN VALUE
_wrap_okTDeviceInfo_usbSpeed_set(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 0 ;
  okEUSBSpeed 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","usbSpeed", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "okEUSBSpeed","usbSpeed", 2, argv[0] ));
  } 
  arg2 = static_cast< okEUSBSpeed >(val2);
  if (arg1) (arg1)->usbSpeed = arg2;
  return Qnil;
fail:
  return Qnil;
}

#wireWidth(*args) ⇒ Object



18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18179

SWIGINTERN VALUE
_wrap_okTDeviceInfo_wireWidth_get(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","wireWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  result = (int) ((arg1)->wireWidth);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

#wireWidth=(*args) ⇒ Object



18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 18150

SWIGINTERN VALUE
_wrap_okTDeviceInfo_wireWidth_set(int argc, VALUE *argv, VALUE self) {
  okTDeviceInfo *arg1 = (okTDeviceInfo *) 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_okTDeviceInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTDeviceInfo *","wireWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< okTDeviceInfo * >(argp1);
  ecode2 = SWIG_AsVal_int(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","wireWidth", 2, argv[0] ));
  } 
  arg2 = static_cast< int >(val2);
  if (arg1) (arg1)->wireWidth = arg2;
  return Qnil;
fail:
  return Qnil;
}