Module: OpalKelly

Defined in:
ext/OpalKelly/FrontPanelDLL_wrap.cxx

Defined Under Namespace

Classes: CallbackInfo, ConstIterator, FrontPanel, FrontPanelDevices, FrontPanelManager, GC_VALUE, Iterator, OkBuffer, OkCDeviceSettings, OkCFrontPanel, OkCFrontPanelDevices, OkCPLL22150, OkCPLL22393, OkCScriptEngine, OkCScriptValue, OkCScriptValues, OkDeviceSensors, OkStrings, OkTDeviceInfo, OkTDeviceMatchInfo, OkTDeviceSensor, OkTFPGAResetProfile, OkTFlashLayout, OkTRegisterEntries, OkTRegisterEntry, OkTTriggerEntry, PLL22150, PLL22393

Constant Summary collapse

OkFPGACONFIGURATIONMETHOD_NVRAM =
SWIG_From_int(static_cast< int >(okFPGACONFIGURATIONMETHOD_NVRAM))
OkFPGACONFIGURATIONMETHOD_JTAG =
SWIG_From_int(static_cast< int >(okFPGACONFIGURATIONMETHOD_JTAG))
OK_MAX_DEVICEID_LENGTH =
SWIG_From_int(static_cast< int >((33)))
OK_MAX_SERIALNUMBER_LENGTH =
SWIG_From_int(static_cast< int >((11)))
OK_MAX_PRODUCT_NAME_LENGTH =
SWIG_From_int(static_cast< int >((128)))
OK_MAX_BOARD_MODEL_STRING_LENGTH =
SWIG_From_int(static_cast< int >((128)))
OK_USBSPEED_UNKNOWN =
SWIG_From_int(static_cast< int >((0)))
OK_USBSPEED_FULL =
SWIG_From_int(static_cast< int >((1)))
OK_USBSPEED_HIGH =
SWIG_From_int(static_cast< int >((2)))
OK_USBSPEED_SUPER =
SWIG_From_int(static_cast< int >((3)))
OkUSBSPEED_UNKNOWN =
SWIG_From_int(static_cast< int >(okUSBSPEED_UNKNOWN))
OkUSBSPEED_FULL =
SWIG_From_int(static_cast< int >(okUSBSPEED_FULL))
OkUSBSPEED_HIGH =
SWIG_From_int(static_cast< int >(okUSBSPEED_HIGH))
OkUSBSPEED_SUPER =
SWIG_From_int(static_cast< int >(okUSBSPEED_SUPER))
OK_INTERFACE_UNKNOWN =
SWIG_From_int(static_cast< int >((0)))
OK_INTERFACE_USB2 =
SWIG_From_int(static_cast< int >((1)))
OK_INTERFACE_PCIE =
SWIG_From_int(static_cast< int >((2)))
OK_INTERFACE_USB3 =
SWIG_From_int(static_cast< int >((3)))
OkDEVICEINTERFACE_UNKNOWN =
SWIG_From_int(static_cast< int >(okDEVICEINTERFACE_UNKNOWN))
OkDEVICEINTERFACE_USB2 =
SWIG_From_int(static_cast< int >(okDEVICEINTERFACE_USB2))
OkDEVICEINTERFACE_PCIE =
SWIG_From_int(static_cast< int >(okDEVICEINTERFACE_PCIE))
OkDEVICEINTERFACE_USB3 =
SWIG_From_int(static_cast< int >(okDEVICEINTERFACE_USB3))
OK_PRODUCT_UNKNOWN =
SWIG_From_int(static_cast< int >((0)))
OK_PRODUCT_XEM3001V1 =
SWIG_From_int(static_cast< int >((1)))
OK_PRODUCT_XEM3001V2 =
SWIG_From_int(static_cast< int >((2)))
OK_PRODUCT_XEM3010 =
SWIG_From_int(static_cast< int >((3)))
OK_PRODUCT_XEM3005 =
SWIG_From_int(static_cast< int >((4)))
OK_PRODUCT_XEM3001CL =
SWIG_From_int(static_cast< int >((5)))
OK_PRODUCT_XEM3020 =
SWIG_From_int(static_cast< int >((6)))
OK_PRODUCT_XEM3050 =
SWIG_From_int(static_cast< int >((7)))
OK_PRODUCT_XEM9002 =
SWIG_From_int(static_cast< int >((8)))
OK_PRODUCT_XEM3001RB =
SWIG_From_int(static_cast< int >((9)))
OK_PRODUCT_XEM5010 =
SWIG_From_int(static_cast< int >((10)))
OK_PRODUCT_XEM6110LX45 =
SWIG_From_int(static_cast< int >((11)))
OK_PRODUCT_XEM6001 =
SWIG_From_int(static_cast< int >((12)))
OK_PRODUCT_XEM6010LX45 =
SWIG_From_int(static_cast< int >((13)))
OK_PRODUCT_XEM6010LX150 =
SWIG_From_int(static_cast< int >((14)))
OK_PRODUCT_XEM6110LX150 =
SWIG_From_int(static_cast< int >((15)))
OK_PRODUCT_XEM6006LX9 =
SWIG_From_int(static_cast< int >((16)))
OK_PRODUCT_XEM6006LX16 =
SWIG_From_int(static_cast< int >((17)))
OK_PRODUCT_XEM6006LX25 =
SWIG_From_int(static_cast< int >((18)))
OK_PRODUCT_XEM5010LX110 =
SWIG_From_int(static_cast< int >((19)))
OK_PRODUCT_ZEM4310 =
SWIG_From_int(static_cast< int >((20)))
OK_PRODUCT_XEM6310LX45 =
SWIG_From_int(static_cast< int >((21)))
OK_PRODUCT_XEM6310LX150 =
SWIG_From_int(static_cast< int >((22)))
OK_PRODUCT_XEM6110V2LX45 =
SWIG_From_int(static_cast< int >((23)))
OK_PRODUCT_XEM6110V2LX150 =
SWIG_From_int(static_cast< int >((24)))
OK_PRODUCT_XEM6002LX9 =
SWIG_From_int(static_cast< int >((25)))
OK_PRODUCT_XEM6310MTLX45T =
SWIG_From_int(static_cast< int >((26)))
OK_PRODUCT_XEM6320LX130T =
SWIG_From_int(static_cast< int >((27)))
OK_PRODUCT_XEM7350K70T =
SWIG_From_int(static_cast< int >((28)))
OK_PRODUCT_XEM7350K160T =
SWIG_From_int(static_cast< int >((29)))
OK_PRODUCT_XEM7350K410T =
SWIG_From_int(static_cast< int >((30)))
OK_PRODUCT_XEM6310MTLX150T =
SWIG_From_int(static_cast< int >((31)))
OK_PRODUCT_ZEM5305A2 =
SWIG_From_int(static_cast< int >((32)))
OK_PRODUCT_ZEM5305A7 =
SWIG_From_int(static_cast< int >((33)))
OK_PRODUCT_XEM7001A15 =
SWIG_From_int(static_cast< int >((34)))
OK_PRODUCT_XEM7001A35 =
SWIG_From_int(static_cast< int >((35)))
OK_PRODUCT_XEM7360K160T =
SWIG_From_int(static_cast< int >((36)))
OK_PRODUCT_XEM7360K410T =
SWIG_From_int(static_cast< int >((37)))
OK_PRODUCT_ZEM5310A4 =
SWIG_From_int(static_cast< int >((38)))
OK_PRODUCT_ZEM5310A7 =
SWIG_From_int(static_cast< int >((39)))
OK_PRODUCT_ZEM5370A5 =
SWIG_From_int(static_cast< int >((40)))
OK_PRODUCT_XEM7010A50 =
SWIG_From_int(static_cast< int >((41)))
OK_PRODUCT_XEM7010A200 =
SWIG_From_int(static_cast< int >((42)))
OK_PRODUCT_XEM7310A75 =
SWIG_From_int(static_cast< int >((43)))
OK_PRODUCT_XEM7310A200 =
SWIG_From_int(static_cast< int >((44)))
OK_PRODUCT_XEM7320A75T =
SWIG_From_int(static_cast< int >((45)))
OK_PRODUCT_XEM7320A200T =
SWIG_From_int(static_cast< int >((46)))
OK_PRODUCT_XEM7305 =
SWIG_From_int(static_cast< int >((47)))
OK_PRODUCT_FPX1301 =
SWIG_From_int(static_cast< int >((48)))
OK_PRODUCT_XEM8350KU060 =
SWIG_From_int(static_cast< int >((49)))
OK_PRODUCT_XEM8350KU085 =
SWIG_From_int(static_cast< int >((50)))
OK_PRODUCT_XEM8350KU115 =
SWIG_From_int(static_cast< int >((51)))
OK_PRODUCT_XEM8350SECONDARY =
SWIG_From_int(static_cast< int >((52)))
OK_PRODUCT_XEM7310MTA75 =
SWIG_From_int(static_cast< int >((53)))
OK_PRODUCT_XEM7310MTA200 =
SWIG_From_int(static_cast< int >((54)))
OK_PRODUCT_XEM9025 =
SWIG_From_int(static_cast< int >((55)))
OK_PRODUCT_XEM8320AU25P =
SWIG_From_int(static_cast< int >((56)))
OK_PRODUCT_XEM8310AU25P =
SWIG_From_int(static_cast< int >((57)))
OK_PRODUCT_FPX9301 =
SWIG_From_int(static_cast< int >((58)))
OK_PRODUCT_XEM8370KU11P =
SWIG_From_int(static_cast< int >((59)))
OK_PRODUCT_XEM8305AU15P =
SWIG_From_int(static_cast< int >((60)))
OK_PRODUCT_OEM_START =
SWIG_From_int(static_cast< int >(11000))
OkPRODUCT_UNKNOWN =
SWIG_From_int(static_cast< int >(okPRODUCT_UNKNOWN))
OkPRODUCT_XEM3001V1 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM3001V1))
OkPRODUCT_XEM3001V2 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM3001V2))
OkPRODUCT_XEM3010 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM3010))
OkPRODUCT_XEM3005 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM3005))
OkPRODUCT_XEM3001CL =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM3001CL))
OkPRODUCT_XEM3020 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM3020))
OkPRODUCT_XEM3050 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM3050))
OkPRODUCT_XEM9002 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM9002))
OkPRODUCT_XEM3001RB =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM3001RB))
OkPRODUCT_XEM5010 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM5010))
OkPRODUCT_XEM6110LX45 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM6110LX45))
OkPRODUCT_XEM6001 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM6001))
OkPRODUCT_XEM6010LX45 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM6010LX45))
OkPRODUCT_XEM6010LX150 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM6010LX150))
OkPRODUCT_XEM6110LX150 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM6110LX150))
OkPRODUCT_XEM6006LX9 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM6006LX9))
OkPRODUCT_XEM6006LX16 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM6006LX16))
OkPRODUCT_XEM6006LX25 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM6006LX25))
OkPRODUCT_XEM5010LX110 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM5010LX110))
OkPRODUCT_ZEM4310 =
SWIG_From_int(static_cast< int >(okPRODUCT_ZEM4310))
OkPRODUCT_XEM6310LX45 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM6310LX45))
OkPRODUCT_XEM6310LX150 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM6310LX150))
OkPRODUCT_XEM6110V2LX45 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM6110V2LX45))
OkPRODUCT_XEM6110V2LX150 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM6110V2LX150))
OkPRODUCT_XEM6002LX9 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM6002LX9))
OkPRODUCT_XEM6310MTLX45T =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM6310MTLX45T))
OkPRODUCT_XEM6320LX130T =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM6320LX130T))
OkPRODUCT_XEM7350K70T =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM7350K70T))
OkPRODUCT_XEM7350K160T =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM7350K160T))
OkPRODUCT_XEM7350K410T =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM7350K410T))
OkPRODUCT_XEM6310MTLX150T =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM6310MTLX150T))
OkPRODUCT_ZEM5305A2 =
SWIG_From_int(static_cast< int >(okPRODUCT_ZEM5305A2))
OkPRODUCT_ZEM5305A7 =
SWIG_From_int(static_cast< int >(okPRODUCT_ZEM5305A7))
OkPRODUCT_XEM7001A15 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM7001A15))
OkPRODUCT_XEM7001A35 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM7001A35))
OkPRODUCT_XEM7360K160T =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM7360K160T))
OkPRODUCT_XEM7360K410T =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM7360K410T))
OkPRODUCT_ZEM5310A4 =
SWIG_From_int(static_cast< int >(okPRODUCT_ZEM5310A4))
OkPRODUCT_ZEM5310A7 =
SWIG_From_int(static_cast< int >(okPRODUCT_ZEM5310A7))
OkPRODUCT_ZEM5370A5 =
SWIG_From_int(static_cast< int >(okPRODUCT_ZEM5370A5))
OkPRODUCT_XEM7010A50 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM7010A50))
OkPRODUCT_XEM7010A200 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM7010A200))
OkPRODUCT_XEM7310A75 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM7310A75))
OkPRODUCT_XEM7310A200 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM7310A200))
OkPRODUCT_XEM7320A75T =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM7320A75T))
OkPRODUCT_XEM7320A200T =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM7320A200T))
OkPRODUCT_XEM7305 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM7305))
OkPRODUCT_FPX1301 =
SWIG_From_int(static_cast< int >(okPRODUCT_FPX1301))
OkPRODUCT_XEM8350KU060 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM8350KU060))
OkPRODUCT_XEM8350KU085 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM8350KU085))
OkPRODUCT_XEM8350KU115 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM8350KU115))
OkPRODUCT_XEM8350SECONDARY =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM8350SECONDARY))
OkPRODUCT_XEM7310MTA75 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM7310MTA75))
OkPRODUCT_XEM7310MTA200 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM7310MTA200))
OkPRODUCT_XEM9025 =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM9025))
OkPRODUCT_XEM8320AU25P =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM8320AU25P))
OkPRODUCT_XEM8310AU25P =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM8310AU25P))
OkPRODUCT_FPX9301 =
SWIG_From_int(static_cast< int >(okPRODUCT_FPX9301))
OkPRODUCT_XEM8370KU11P =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM8370KU11P))
OkPRODUCT_XEM8305AU15P =
SWIG_From_int(static_cast< int >(okPRODUCT_XEM8305AU15P))
OkPRODUCT_OEM_START =
SWIG_From_int(static_cast< int >(okPRODUCT_OEM_START))
OK_FPGACONFIGURATIONMETHOD_NVRAM =
SWIG_From_int(static_cast< int >((0)))
OK_FPGACONFIGURATIONMETHOD_JTAG =
SWIG_From_int(static_cast< int >((1)))
OkFPGARESETPROFILE_MAGIC =
SWIG_From_int(static_cast< int >(0xBE097C3D))
OkFPGAVENDOR_UNKNOWN =
SWIG_From_int(static_cast< int >(okFPGAVENDOR_UNKNOWN))
OkFPGAVENDOR_XILINX =
SWIG_From_int(static_cast< int >(okFPGAVENDOR_XILINX))
OkFPGAVENDOR_INTEL =
SWIG_From_int(static_cast< int >(okFPGAVENDOR_INTEL))
OkDEVICESENSOR_INVALID =
SWIG_From_int(static_cast< int >(okDEVICESENSOR_INVALID))
OkDEVICESENSOR_BOOL =
SWIG_From_int(static_cast< int >(okDEVICESENSOR_BOOL))
OkDEVICESENSOR_INTEGER =
SWIG_From_int(static_cast< int >(okDEVICESENSOR_INTEGER))
OkDEVICESENSOR_FLOAT =
SWIG_From_int(static_cast< int >(okDEVICESENSOR_FLOAT))
OkDEVICESENSOR_VOLTAGE =
SWIG_From_int(static_cast< int >(okDEVICESENSOR_VOLTAGE))
OkDEVICESENSOR_CURRENT =
SWIG_From_int(static_cast< int >(okDEVICESENSOR_CURRENT))
OkDEVICESENSOR_TEMPERATURE =
SWIG_From_int(static_cast< int >(okDEVICESENSOR_TEMPERATURE))
OkDEVICESENSOR_FAN_RPM =
SWIG_From_int(static_cast< int >(okDEVICESENSOR_FAN_RPM))
OK_MAX_DEVICE_SENSOR_NAME_LENGTH =
SWIG_From_int(static_cast< int >((64)))
OK_MAX_DEVICE_SENSOR_DESCRIPTION_LENGTH =
SWIG_From_int(static_cast< int >((256)))
OkREALM_LOCAL =
SWIG_FromCharPtr("local")
OkREALM_TEST =
SWIG_FromCharPtr("test")

Class Method Summary collapse

Class Method Details

.CheckAPIVersion(*args) ⇒ Object



23936
23937
23938
23939
23940
23941
23942
23943
23944
23945
23946
23947
23948
23949
23950
23951
23952
23953
23954
23955
23956
23957
23958
23959
23960
23961
23962
23963
23964
23965
23966
23967
23968
23969
23970
23971
23972
23973
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 23936

SWIGINTERN VALUE
_wrap_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","OpalKelly::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","OpalKelly::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","OpalKelly::CheckAPIVersion", 3, argv[2] ));
  } 
  arg3 = static_cast< int >(val3);
  result = (bool)OpalKelly::CheckAPIVersion(arg1,arg2,arg3);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}

.disown_FrontPanelManager(*args) ⇒ Object



25555
25556
25557
25558
25559
25560
25561
25562
25563
25564
25565
25566
25567
25568
25569
25570
25571
25572
25573
25574
25575
25576
25577
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 25555

SWIGINTERN VALUE
_wrap_disown_FrontPanelManager(int argc, VALUE *argv, VALUE self) {
  OpalKelly::FrontPanelManager *arg1 = (OpalKelly::FrontPanelManager *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_OpalKelly__FrontPanelManager, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKelly::FrontPanelManager *","disown_FrontPanelManager", 1, argv[0] )); 
  }
  arg1 = reinterpret_cast< OpalKelly::FrontPanelManager * >(argp1);
  {
    Swig::Director *director = SWIG_DIRECTOR_CAST(arg1);
    if (director) director->swig_disown();
  }
  
  return Qnil;
fail:
  return Qnil;
}

.FrontPanelEmulateTestDeviceConnection(*args) ⇒ Object



25643
25644
25645
25646
25647
25648
25649
25650
25651
25652
25653
25654
25655
25656
25657
25658
25659
25660
25661
25662
25663
25664
25665
25666
25667
25668
25669
25670
25671
25672
25673
25674
25675
25676
25677
25678
25679
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 25643

SWIGINTERN VALUE
_wrap_FrontPanelEmulateTestDeviceConnection(int argc, VALUE *argv, VALUE self) {
  std::string *arg1 = 0 ;
  bool arg2 ;
  int res1 = SWIG_OLDOBJ ;
  bool val2 ;
  int ecode2 = 0 ;
  OpalKelly::FrontPanel::ErrorCode result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  {
    std::string *ptr = (std::string *)0;
    res1 = SWIG_AsPtr_std_string(argv[0], &ptr);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "std::string const &","OpalKelly::FrontPanelEmulateTestDeviceConnection", 1, argv[0] )); 
    }
    if (!ptr) {
      SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","OpalKelly::FrontPanelEmulateTestDeviceConnection", 1, argv[0])); 
    }
    arg1 = ptr;
  }
  ecode2 = SWIG_AsVal_bool(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "bool","OpalKelly::FrontPanelEmulateTestDeviceConnection", 2, argv[1] ));
  } 
  arg2 = static_cast< bool >(val2);
  result = (OpalKelly::FrontPanel::ErrorCode)OpalKelly::FrontPanelEmulateTestDeviceConnection((std::string const &)*arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  if (SWIG_IsNewObj(res1)) delete arg1;
  return vresult;
fail:
  if (SWIG_IsNewObj(res1)) delete arg1;
  return Qnil;
}

.GetAPIVersionMajor(*args) ⇒ Object



23872
23873
23874
23875
23876
23877
23878
23879
23880
23881
23882
23883
23884
23885
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 23872

SWIGINTERN VALUE
_wrap_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)OpalKelly::GetAPIVersionMajor();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

.GetAPIVersionMicro(*args) ⇒ Object



23904
23905
23906
23907
23908
23909
23910
23911
23912
23913
23914
23915
23916
23917
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 23904

SWIGINTERN VALUE
_wrap_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)OpalKelly::GetAPIVersionMicro();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

.GetAPIVersionMinor(*args) ⇒ Object



23888
23889
23890
23891
23892
23893
23894
23895
23896
23897
23898
23899
23900
23901
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 23888

SWIGINTERN VALUE
_wrap_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)OpalKelly::GetAPIVersionMinor();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}

.GetAPIVersionString(*args) ⇒ Object



23920
23921
23922
23923
23924
23925
23926
23927
23928
23929
23930
23931
23932
23933
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 23920

SWIGINTERN VALUE
_wrap_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 *)OpalKelly::GetAPIVersionString();
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}