OpalKelly 5.2.12 → 5.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 95961da72ea51dd44b51ab815077a73e64b955e374b1fe172b0a512a86dd89be
4
- data.tar.gz: 2b9f304a300b3e67672a77c9e94ae78ef67087c92f15651f3fead5d90e980ce3
3
+ metadata.gz: a5a72e99ff8d69d4dd11e4b27cffe22a9ef6e8eab38f8d46d9d39cac71efb34e
4
+ data.tar.gz: 54c0658f1402c2d93ebc2f91f58439c6d5533f5425ce496a387694ecc23d4f82
5
5
  SHA512:
6
- metadata.gz: 443fa6bd57fc5a465f1f1fc111a4cf17dfc75c6b91f58693d5d2ba158ab55c2c1f98fb5f02689011df01d405bae034fc93ebda17776f2c16da7615c8384d9f81
7
- data.tar.gz: 4181a92ef41a056f5883b9f98696f90e5335dd6412263998383fb522a95d10c4b45ddd31b32e6e84caec8b06143137b982d5edf2cb417ea2e8f23ebdd669d2eb
6
+ metadata.gz: 5633c232b6da1662f7d6d9bf6db07f50d58f575d327ab49a40ffad69d4eb79706f0658ef46dc657bb2944364c591f06827f2fc747a9612c974d300fcd6131179
7
+ data.tar.gz: 2f0990e7908bd6b49d5f78e4eb89a4fd1738b741fdbe66e8d6115f365e4f3c62b649dea8bee44ce4b768078db16b92f63776abef52742840a666c477897cb47b
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2020 Opal Kelly Incorporated
3
+ Copyright (c) 2024 Opal Kelly Incorporated
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -2206,14 +2206,14 @@ namespace Swig {
2206
2206
  #define SWIGTYPE_p_okTFlashLayout swig_types[30]
2207
2207
  #define SWIGTYPE_p_okTRegisterEntry swig_types[31]
2208
2208
  #define SWIGTYPE_p_okTTriggerEntry swig_types[32]
2209
- #define SWIGTYPE_p_okstd__auto_ptrT_OpalKellyLegacy__okCFrontPanel_t swig_types[33]
2210
- #define SWIGTYPE_p_p_void swig_types[34]
2211
- #define SWIGTYPE_p_size_type swig_types[35]
2212
- #define SWIGTYPE_p_std__allocatorT_OpalKelly__ScriptValue_t swig_types[36]
2213
- #define SWIGTYPE_p_std__allocatorT_okTDeviceSensor_t swig_types[37]
2214
- #define SWIGTYPE_p_std__allocatorT_okTRegisterEntry_t swig_types[38]
2215
- #define SWIGTYPE_p_std__allocatorT_std__string_t swig_types[39]
2216
- #define SWIGTYPE_p_std__runtime_error swig_types[40]
2209
+ #define SWIGTYPE_p_p_void swig_types[33]
2210
+ #define SWIGTYPE_p_size_type swig_types[34]
2211
+ #define SWIGTYPE_p_std__allocatorT_OpalKelly__ScriptValue_t swig_types[35]
2212
+ #define SWIGTYPE_p_std__allocatorT_okTDeviceSensor_t swig_types[36]
2213
+ #define SWIGTYPE_p_std__allocatorT_okTRegisterEntry_t swig_types[37]
2214
+ #define SWIGTYPE_p_std__allocatorT_std__string_t swig_types[38]
2215
+ #define SWIGTYPE_p_std__runtime_error swig_types[39]
2216
+ #define SWIGTYPE_p_std__unique_ptrT_OpalKellyLegacy__okCFrontPanel_t swig_types[40]
2217
2217
  #define SWIGTYPE_p_std__vectorT_OpalKelly__ScriptValue_std__allocatorT_OpalKelly__ScriptValue_t_t swig_types[41]
2218
2218
  #define SWIGTYPE_p_std__vectorT_okTDeviceSensor_std__allocatorT_okTDeviceSensor_t_t swig_types[42]
2219
2219
  #define SWIGTYPE_p_std__vectorT_okTRegisterEntry_std__allocatorT_okTRegisterEntry_t_t swig_types[43]
@@ -5004,8 +5004,7 @@ SWIG_From_int (int value)
5004
5004
 
5005
5005
  #include <memory>
5006
5006
 
5007
- namespace okstd { using std::auto_ptr; }
5008
- #define OPALKELLY_UNIQUE_PTR_TEMPLATE okstd::auto_ptr
5007
+ #define OPALKELLY_UNIQUE_PTR_TEMPLATE std::unique_ptr
5009
5008
 
5010
5009
  #include "okFrontPanel.h"
5011
5010
 
@@ -6148,8 +6147,8 @@ SWIGINTERN std::vector< okTDeviceSensor,std::allocator< okTDeviceSensor > > Opal
6148
6147
 
6149
6148
  return out;
6150
6149
  }
6151
- SWIGINTERN okstd::auto_ptr< OpalKelly::ScriptEngine > OpalKellyLegacy_okCFrontPanel_CreateLuaScriptEngine(OpalKellyLegacy::okCFrontPanel *self){
6152
- okstd::auto_ptr<OpalKelly::ScriptEngine> e(new OpalKelly::ScriptEngine());
6150
+ SWIGINTERN std::unique_ptr< OpalKelly::ScriptEngine > OpalKellyLegacy_okCFrontPanel_CreateLuaScriptEngine(OpalKellyLegacy::okCFrontPanel *self){
6151
+ std::unique_ptr<OpalKelly::ScriptEngine> e(new OpalKelly::ScriptEngine());
6153
6152
  e->ConstructLua(*self);
6154
6153
  return e;
6155
6154
  }
@@ -6199,7 +6198,7 @@ SWIGINTERN std::vector< OpalKelly::ScriptValue,std::allocator< OpalKelly::Script
6199
6198
  retvals = self->RunScriptFunction(name, args);
6200
6199
 
6201
6200
  std::vector<OpalKelly::ScriptValue> cretvals(retvals.GetCount());
6202
- for (size_t n = 0; n < cretvals.size(); ++n) {
6201
+ for (int n = 0; n < static_cast<int>(cretvals.size()); ++n) {
6203
6202
  cretvals[n] = retvals.Get(n);
6204
6203
  }
6205
6204
  return cretvals;
@@ -22211,6 +22210,30 @@ fail:
22211
22210
  }
22212
22211
 
22213
22212
 
22213
+ SWIGINTERN VALUE
22214
+ _wrap_okCFrontPanel_ClearFPGAConfiguration(int argc, VALUE *argv, VALUE self) {
22215
+ OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
22216
+ void *argp1 = 0 ;
22217
+ int res1 = 0 ;
22218
+ OpalKellyLegacy::okCFrontPanel::ErrorCode result;
22219
+ VALUE vresult = Qnil;
22220
+
22221
+ if ((argc < 0) || (argc > 0)) {
22222
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
22223
+ }
22224
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 | 0 );
22225
+ if (!SWIG_IsOK(res1)) {
22226
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","ClearFPGAConfiguration", 1, self ));
22227
+ }
22228
+ arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
22229
+ result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)(arg1)->ClearFPGAConfiguration();
22230
+ vresult = SWIG_From_int(static_cast< int >(result));
22231
+ return vresult;
22232
+ fail:
22233
+ return Qnil;
22234
+ }
22235
+
22236
+
22214
22237
  SWIGINTERN VALUE
22215
22238
  _wrap_okCFrontPanel_ConfigureFPGA(int argc, VALUE *argv, VALUE self) {
22216
22239
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
@@ -23440,7 +23463,7 @@ _wrap_okCFrontPanel_CreateLuaScriptEngine(int argc, VALUE *argv, VALUE self) {
23440
23463
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
23441
23464
  void *argp1 = 0 ;
23442
23465
  int res1 = 0 ;
23443
- okstd::auto_ptr< OpalKelly::ScriptEngine > result;
23466
+ std::unique_ptr< OpalKelly::ScriptEngine > result;
23444
23467
  VALUE vresult = Qnil;
23445
23468
 
23446
23469
  if ((argc < 0) || (argc > 0)) {
@@ -23452,7 +23475,7 @@ _wrap_okCFrontPanel_CreateLuaScriptEngine(int argc, VALUE *argv, VALUE self) {
23452
23475
  }
23453
23476
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
23454
23477
  {
23455
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23478
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23456
23479
  result = OpalKellyLegacy_okCFrontPanel_CreateLuaScriptEngine(arg1);
23457
23480
  } catch (const std::exception& e) {
23458
23481
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -23538,7 +23561,7 @@ _wrap_okCDeviceSettings_GetString(int argc, VALUE *argv, VALUE self) {
23538
23561
  arg2 = ptr;
23539
23562
  }
23540
23563
  {
23541
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23564
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23542
23565
  result = OpalKellyLegacy_okCDeviceSettings_GetString(arg1,(std::string const &)*arg2);
23543
23566
  } catch (const std::exception& e) {
23544
23567
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -23585,7 +23608,7 @@ _wrap_okCDeviceSettings_GetInt(int argc, VALUE *argv, VALUE self) {
23585
23608
  arg2 = ptr;
23586
23609
  }
23587
23610
  {
23588
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23611
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23589
23612
  result = (UINT32)OpalKellyLegacy_okCDeviceSettings_GetInt(arg1,(std::string const &)*arg2);
23590
23613
  } catch (const std::exception& e) {
23591
23614
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -23643,7 +23666,7 @@ _wrap_okCDeviceSettings_SetString(int argc, VALUE *argv, VALUE self) {
23643
23666
  arg3 = ptr;
23644
23667
  }
23645
23668
  {
23646
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23669
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23647
23670
  OpalKellyLegacy_okCDeviceSettings_SetString(arg1,(std::string const &)*arg2,(std::string const &)*arg3);
23648
23671
  } catch (const std::exception& e) {
23649
23672
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -23697,7 +23720,7 @@ _wrap_okCDeviceSettings_SetInt(int argc, VALUE *argv, VALUE self) {
23697
23720
  }
23698
23721
  arg3 = static_cast< UINT32 >(val3);
23699
23722
  {
23700
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23723
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23701
23724
  OpalKellyLegacy_okCDeviceSettings_SetInt(arg1,(std::string const &)*arg2,arg3);
23702
23725
  } catch (const std::exception& e) {
23703
23726
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -23730,7 +23753,7 @@ _wrap_okCDeviceSettings_List(int argc, VALUE *argv, VALUE self) {
23730
23753
  }
23731
23754
  arg1 = reinterpret_cast< OpalKellyLegacy::okCDeviceSettings * >(argp1);
23732
23755
  {
23733
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23756
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23734
23757
  result = OpalKellyLegacy_okCDeviceSettings_List(arg1);
23735
23758
  } catch (const std::exception& e) {
23736
23759
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -23773,7 +23796,7 @@ _wrap_okCDeviceSettings_Delete(int argc, VALUE *argv, VALUE self) {
23773
23796
  arg2 = ptr;
23774
23797
  }
23775
23798
  {
23776
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23799
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23777
23800
  OpalKellyLegacy_okCDeviceSettings_Delete(arg1,(std::string const &)*arg2);
23778
23801
  } catch (const std::exception& e) {
23779
23802
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -23804,7 +23827,7 @@ _wrap_okCDeviceSettings_Save(int argc, VALUE *argv, VALUE self) {
23804
23827
  }
23805
23828
  arg1 = reinterpret_cast< OpalKellyLegacy::okCDeviceSettings * >(argp1);
23806
23829
  {
23807
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23830
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23808
23831
  try {
23809
23832
  OpalKellyLegacy_okCDeviceSettings_Save(arg1);
23810
23833
  } catch(std::runtime_error &_e) {
@@ -24386,7 +24409,7 @@ _wrap_okCScriptValue_GetNumber(int argc, VALUE *argv, VALUE self) {
24386
24409
  }
24387
24410
  arg1 = reinterpret_cast< OpalKelly::ScriptValue * >(argp1);
24388
24411
  {
24389
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24412
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24390
24413
  result = (int)((OpalKelly::ScriptValue const *)arg1)->GetNumber();
24391
24414
  } catch (const std::exception& e) {
24392
24415
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -24442,7 +24465,7 @@ _wrap_okCScriptValue_GetBool(int argc, VALUE *argv, VALUE self) {
24442
24465
  }
24443
24466
  arg1 = reinterpret_cast< OpalKelly::ScriptValue * >(argp1);
24444
24467
  {
24445
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24468
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24446
24469
  result = (bool)((OpalKelly::ScriptValue const *)arg1)->GetBool();
24447
24470
  } catch (const std::exception& e) {
24448
24471
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -24498,7 +24521,7 @@ _wrap_okCScriptValue_GetString(int argc, VALUE *argv, VALUE self) {
24498
24521
  }
24499
24522
  arg1 = reinterpret_cast< OpalKelly::ScriptValue * >(argp1);
24500
24523
  {
24501
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24524
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24502
24525
  result = ((OpalKelly::ScriptValue const *)arg1)->GetString();
24503
24526
  } catch (const std::exception& e) {
24504
24527
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -24554,7 +24577,7 @@ _wrap_okCScriptValue_GetBuffer(int argc, VALUE *argv, VALUE self) {
24554
24577
  }
24555
24578
  arg1 = reinterpret_cast< OpalKelly::ScriptValue * >(argp1);
24556
24579
  {
24557
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24580
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24558
24581
  result = ((OpalKelly::ScriptValue const *)arg1)->GetBuffer();
24559
24582
  } catch (const std::exception& e) {
24560
24583
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -24618,7 +24641,7 @@ _wrap_okCScriptEngine_LoadScript(int argc, VALUE *argv, VALUE self) {
24618
24641
  arg3 = ptr;
24619
24642
  }
24620
24643
  {
24621
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24644
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24622
24645
  (arg1)->LoadScript((std::string const &)*arg2,(std::string const &)*arg3);
24623
24646
  } catch (const std::exception& e) {
24624
24647
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -24664,7 +24687,7 @@ _wrap_okCScriptEngine_LoadFile(int argc, VALUE *argv, VALUE self) {
24664
24687
  arg2 = ptr;
24665
24688
  }
24666
24689
  {
24667
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24690
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24668
24691
  (arg1)->LoadFile((std::string const &)*arg2);
24669
24692
  } catch (const std::exception& e) {
24670
24693
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -24765,7 +24788,7 @@ _wrap_okCScriptEngine_RunScriptFunction__SWIG_0(int argc, VALUE *argv, VALUE sel
24765
24788
  arg3 = ptr;
24766
24789
  }
24767
24790
  {
24768
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24791
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24769
24792
  result = OpalKelly_ScriptEngine_RunScriptFunction__SWIG_0(arg1,(std::string const &)*arg2,(std::vector< OpalKelly::ScriptValue,std::allocator< OpalKelly::ScriptValue > > const &)*arg3);
24770
24793
  } catch (const std::exception& e) {
24771
24794
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -24814,7 +24837,7 @@ _wrap_okCScriptEngine_RunScriptFunction__SWIG_1(int argc, VALUE *argv, VALUE sel
24814
24837
  arg2 = ptr;
24815
24838
  }
24816
24839
  {
24817
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24840
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24818
24841
  result = OpalKelly_ScriptEngine_RunScriptFunction__SWIG_0(arg1,(std::string const &)*arg2);
24819
24842
  } catch (const std::exception& e) {
24820
24843
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -26173,7 +26196,6 @@ static swig_type_info _swigt__p_okTFPGAResetProfile = {"_p_okTFPGAResetProfile",
26173
26196
  static swig_type_info _swigt__p_okTFlashLayout = {"_p_okTFlashLayout", "okTFlashLayout *", 0, 0, (void*)0, 0};
26174
26197
  static swig_type_info _swigt__p_okTRegisterEntry = {"_p_okTRegisterEntry", "std::vector< okTRegisterEntry >::value_type *|okTRegisterEntry *", 0, 0, (void*)0, 0};
26175
26198
  static swig_type_info _swigt__p_okTTriggerEntry = {"_p_okTTriggerEntry", "okTTriggerEntry *", 0, 0, (void*)0, 0};
26176
- static swig_type_info _swigt__p_okstd__auto_ptrT_OpalKellyLegacy__okCFrontPanel_t = {"_p_okstd__auto_ptrT_OpalKellyLegacy__okCFrontPanel_t", "okstd::auto_ptr< OpalKellyLegacy::okCFrontPanel > *|OpalKelly::FrontPanelPtr *", 0, 0, (void*)0, 0};
26177
26199
  static swig_type_info _swigt__p_p_void = {"_p_p_void", "void **|VALUE *", 0, 0, (void*)0, 0};
26178
26200
  static swig_type_info _swigt__p_size_type = {"_p_size_type", "size_type *", 0, 0, (void*)0, 0};
26179
26201
  static swig_type_info _swigt__p_std__allocatorT_OpalKelly__ScriptValue_t = {"_p_std__allocatorT_OpalKelly__ScriptValue_t", "std::allocator< OpalKelly::ScriptValue > *|std::vector< OpalKelly::ScriptValue >::allocator_type *", 0, 0, (void*)0, 0};
@@ -26182,6 +26204,7 @@ static swig_type_info _swigt__p_std__allocatorT_okTRegisterEntry_t = {"_p_std__a
26182
26204
  static swig_type_info _swigt__p_std__allocatorT_std__string_t = {"_p_std__allocatorT_std__string_t", "std::vector< std::string >::allocator_type *|std::allocator< std::string > *", 0, 0, (void*)0, 0};
26183
26205
  static swig_type_info _swigt__p_std__runtime_error = {"_p_std__runtime_error", "std::runtime_error *", 0, 0, (void*)0, 0};
26184
26206
  static swig_type_info _swigt__p_OpalKelly__Impl__Error = {"_p_OpalKelly__Impl__Error", 0, 0, 0, 0, 0};
26207
+ static swig_type_info _swigt__p_std__unique_ptrT_OpalKellyLegacy__okCFrontPanel_t = {"_p_std__unique_ptrT_OpalKellyLegacy__okCFrontPanel_t", "std::unique_ptr< OpalKellyLegacy::okCFrontPanel > *|OpalKelly::FrontPanelPtr *", 0, 0, (void*)0, 0};
26185
26208
  static swig_type_info _swigt__p_std__vectorT_OpalKelly__ScriptValue_std__allocatorT_OpalKelly__ScriptValue_t_t = {"_p_std__vectorT_OpalKelly__ScriptValue_std__allocatorT_OpalKelly__ScriptValue_t_t", "std::vector< OpalKelly::ScriptValue > *|std::vector< OpalKelly::ScriptValue,std::allocator< OpalKelly::ScriptValue > > *", 0, 0, (void*)0, 0};
26186
26209
  static swig_type_info _swigt__p_std__vectorT_okTDeviceSensor_std__allocatorT_okTDeviceSensor_t_t = {"_p_std__vectorT_okTDeviceSensor_std__allocatorT_okTDeviceSensor_t_t", "std::vector< okTDeviceSensor > *|std::vector< okTDeviceSensor,std::allocator< okTDeviceSensor > > *", 0, 0, (void*)0, 0};
26187
26210
  static swig_type_info _swigt__p_std__vectorT_okTRegisterEntry_std__allocatorT_okTRegisterEntry_t_t = {"_p_std__vectorT_okTRegisterEntry_std__allocatorT_okTRegisterEntry_t_t", "std::vector< okTRegisterEntry > *|std::vector< okTRegisterEntry,std::allocator< okTRegisterEntry > > *|okTRegisterEntries *", 0, 0, (void*)0, 0};
@@ -26228,7 +26251,6 @@ static swig_type_info *swig_type_initial[] = {
26228
26251
  &_swigt__p_okTFlashLayout,
26229
26252
  &_swigt__p_okTRegisterEntry,
26230
26253
  &_swigt__p_okTTriggerEntry,
26231
- &_swigt__p_okstd__auto_ptrT_OpalKellyLegacy__okCFrontPanel_t,
26232
26254
  &_swigt__p_p_void,
26233
26255
  &_swigt__p_size_type,
26234
26256
  &_swigt__p_std__allocatorT_OpalKelly__ScriptValue_t,
@@ -26236,6 +26258,7 @@ static swig_type_info *swig_type_initial[] = {
26236
26258
  &_swigt__p_std__allocatorT_okTRegisterEntry_t,
26237
26259
  &_swigt__p_std__allocatorT_std__string_t,
26238
26260
  &_swigt__p_std__runtime_error,
26261
+ &_swigt__p_std__unique_ptrT_OpalKellyLegacy__okCFrontPanel_t,
26239
26262
  &_swigt__p_std__vectorT_OpalKelly__ScriptValue_std__allocatorT_OpalKelly__ScriptValue_t_t,
26240
26263
  &_swigt__p_std__vectorT_okTDeviceSensor_std__allocatorT_okTDeviceSensor_t_t,
26241
26264
  &_swigt__p_std__vectorT_okTRegisterEntry_std__allocatorT_okTRegisterEntry_t_t,
@@ -26281,7 +26304,6 @@ static swig_cast_info _swigc__p_okTFPGAResetProfile[] = { {&_swigt__p_okTFPGARe
26281
26304
  static swig_cast_info _swigc__p_okTFlashLayout[] = { {&_swigt__p_okTFlashLayout, 0, 0, 0},{0, 0, 0, 0}};
26282
26305
  static swig_cast_info _swigc__p_okTRegisterEntry[] = { {&_swigt__p_okTRegisterEntry, 0, 0, 0},{0, 0, 0, 0}};
26283
26306
  static swig_cast_info _swigc__p_okTTriggerEntry[] = { {&_swigt__p_okTTriggerEntry, 0, 0, 0},{0, 0, 0, 0}};
26284
- static swig_cast_info _swigc__p_okstd__auto_ptrT_OpalKellyLegacy__okCFrontPanel_t[] = { {&_swigt__p_okstd__auto_ptrT_OpalKellyLegacy__okCFrontPanel_t, 0, 0, 0},{0, 0, 0, 0}};
26285
26307
  static swig_cast_info _swigc__p_p_void[] = { {&_swigt__p_p_void, 0, 0, 0},{0, 0, 0, 0}};
26286
26308
  static swig_cast_info _swigc__p_size_type[] = { {&_swigt__p_size_type, 0, 0, 0},{0, 0, 0, 0}};
26287
26309
  static swig_cast_info _swigc__p_std__allocatorT_OpalKelly__ScriptValue_t[] = { {&_swigt__p_std__allocatorT_OpalKelly__ScriptValue_t, 0, 0, 0},{0, 0, 0, 0}};
@@ -26290,6 +26312,7 @@ static swig_cast_info _swigc__p_std__allocatorT_okTRegisterEntry_t[] = { {&_swi
26290
26312
  static swig_cast_info _swigc__p_std__allocatorT_std__string_t[] = { {&_swigt__p_std__allocatorT_std__string_t, 0, 0, 0},{0, 0, 0, 0}};
26291
26313
  static swig_cast_info _swigc__p_OpalKelly__Impl__Error[] = {{&_swigt__p_OpalKelly__Impl__Error, 0, 0, 0},{0, 0, 0, 0}};
26292
26314
  static swig_cast_info _swigc__p_std__runtime_error[] = { {&_swigt__p_std__runtime_error, 0, 0, 0}, {&_swigt__p_OpalKelly__Impl__Error, _p_OpalKelly__Impl__ErrorTo_p_std__runtime_error, 0, 0},{0, 0, 0, 0}};
26315
+ static swig_cast_info _swigc__p_std__unique_ptrT_OpalKellyLegacy__okCFrontPanel_t[] = { {&_swigt__p_std__unique_ptrT_OpalKellyLegacy__okCFrontPanel_t, 0, 0, 0},{0, 0, 0, 0}};
26293
26316
  static swig_cast_info _swigc__p_std__vectorT_OpalKelly__ScriptValue_std__allocatorT_OpalKelly__ScriptValue_t_t[] = { {&_swigt__p_std__vectorT_OpalKelly__ScriptValue_std__allocatorT_OpalKelly__ScriptValue_t_t, 0, 0, 0},{0, 0, 0, 0}};
26294
26317
  static swig_cast_info _swigc__p_std__vectorT_okTDeviceSensor_std__allocatorT_okTDeviceSensor_t_t[] = { {&_swigt__p_std__vectorT_okTDeviceSensor_std__allocatorT_okTDeviceSensor_t_t, 0, 0, 0},{0, 0, 0, 0}};
26295
26318
  static swig_cast_info _swigc__p_std__vectorT_okTRegisterEntry_std__allocatorT_okTRegisterEntry_t_t[] = { {&_swigt__p_std__vectorT_okTRegisterEntry_std__allocatorT_okTRegisterEntry_t_t, 0, 0, 0},{0, 0, 0, 0}};
@@ -26336,7 +26359,6 @@ static swig_cast_info *swig_cast_initial[] = {
26336
26359
  _swigc__p_okTFlashLayout,
26337
26360
  _swigc__p_okTRegisterEntry,
26338
26361
  _swigc__p_okTTriggerEntry,
26339
- _swigc__p_okstd__auto_ptrT_OpalKellyLegacy__okCFrontPanel_t,
26340
26362
  _swigc__p_p_void,
26341
26363
  _swigc__p_size_type,
26342
26364
  _swigc__p_std__allocatorT_OpalKelly__ScriptValue_t,
@@ -26344,6 +26366,7 @@ static swig_cast_info *swig_cast_initial[] = {
26344
26366
  _swigc__p_std__allocatorT_okTRegisterEntry_t,
26345
26367
  _swigc__p_std__allocatorT_std__string_t,
26346
26368
  _swigc__p_std__runtime_error,
26369
+ _swigc__p_std__unique_ptrT_OpalKellyLegacy__okCFrontPanel_t,
26347
26370
  _swigc__p_std__vectorT_OpalKelly__ScriptValue_std__allocatorT_OpalKelly__ScriptValue_t_t,
26348
26371
  _swigc__p_std__vectorT_okTDeviceSensor_std__allocatorT_okTDeviceSensor_t_t,
26349
26372
  _swigc__p_std__vectorT_okTRegisterEntry_std__allocatorT_okTRegisterEntry_t_t,
@@ -26919,6 +26942,7 @@ SWIGEXPORT void Init_OpalKelly(void) {
26919
26942
  rb_define_const(mOpalKelly, "OK_PRODUCT_XEM8320AU25P", SWIG_From_int(static_cast< int >((56))));
26920
26943
  rb_define_const(mOpalKelly, "OK_PRODUCT_XEM8310AU25P", SWIG_From_int(static_cast< int >((57))));
26921
26944
  rb_define_const(mOpalKelly, "OK_PRODUCT_FPX9301", SWIG_From_int(static_cast< int >((58))));
26945
+ rb_define_const(mOpalKelly, "OK_PRODUCT_XEM8370KU11P", SWIG_From_int(static_cast< int >((59))));
26922
26946
  rb_define_const(mOpalKelly, "OK_PRODUCT_OEM_START", SWIG_From_int(static_cast< int >(11000)));
26923
26947
  rb_define_const(mOpalKelly, "OkPRODUCT_UNKNOWN", SWIG_From_int(static_cast< int >(okPRODUCT_UNKNOWN)));
26924
26948
  rb_define_const(mOpalKelly, "OkPRODUCT_XEM3001V1", SWIG_From_int(static_cast< int >(okPRODUCT_XEM3001V1)));
@@ -26979,6 +27003,7 @@ SWIGEXPORT void Init_OpalKelly(void) {
26979
27003
  rb_define_const(mOpalKelly, "OkPRODUCT_XEM8320AU25P", SWIG_From_int(static_cast< int >(okPRODUCT_XEM8320AU25P)));
26980
27004
  rb_define_const(mOpalKelly, "OkPRODUCT_XEM8310AU25P", SWIG_From_int(static_cast< int >(okPRODUCT_XEM8310AU25P)));
26981
27005
  rb_define_const(mOpalKelly, "OkPRODUCT_FPX9301", SWIG_From_int(static_cast< int >(okPRODUCT_FPX9301)));
27006
+ rb_define_const(mOpalKelly, "OkPRODUCT_XEM8370KU11P", SWIG_From_int(static_cast< int >(okPRODUCT_XEM8370KU11P)));
26982
27007
  rb_define_const(mOpalKelly, "OkPRODUCT_OEM_START", SWIG_From_int(static_cast< int >(okPRODUCT_OEM_START)));
26983
27008
  rb_define_const(mOpalKelly, "OK_FPGACONFIGURATIONMETHOD_NVRAM", SWIG_From_int(static_cast< int >((0))));
26984
27009
  rb_define_const(mOpalKelly, "OK_FPGACONFIGURATIONMETHOD_JTAG", SWIG_From_int(static_cast< int >((1))));
@@ -27308,6 +27333,7 @@ SWIGEXPORT void Init_OpalKelly(void) {
27308
27333
  rb_define_const(SwigClassOkCFrontPanel.klass, "BrdXEM8320AU25P", SWIG_From_int(static_cast< int >(OpalKellyLegacy::okCFrontPanel::brdXEM8320AU25P)));
27309
27334
  rb_define_const(SwigClassOkCFrontPanel.klass, "BrdXEM8310AU25P", SWIG_From_int(static_cast< int >(OpalKellyLegacy::okCFrontPanel::brdXEM8310AU25P)));
27310
27335
  rb_define_const(SwigClassOkCFrontPanel.klass, "BrdFPX9301", SWIG_From_int(static_cast< int >(OpalKellyLegacy::okCFrontPanel::brdFPX9301)));
27336
+ rb_define_const(SwigClassOkCFrontPanel.klass, "BrdXEM8370KU11P", SWIG_From_int(static_cast< int >(OpalKellyLegacy::okCFrontPanel::brdXEM8370KU11P)));
27311
27337
  rb_define_const(SwigClassOkCFrontPanel.klass, "NoError", SWIG_From_int(static_cast< int >(OpalKellyLegacy::okCFrontPanel::NoError)));
27312
27338
  rb_define_const(SwigClassOkCFrontPanel.klass, "Failed", SWIG_From_int(static_cast< int >(OpalKellyLegacy::okCFrontPanel::Failed)));
27313
27339
  rb_define_const(SwigClassOkCFrontPanel.klass, "Timeout", SWIG_From_int(static_cast< int >(OpalKellyLegacy::okCFrontPanel::Timeout)));
@@ -27362,6 +27388,7 @@ SWIGEXPORT void Init_OpalKelly(void) {
27362
27388
  rb_define_method(SwigClassOkCFrontPanel.klass, "SetTimeout", VALUEFUNC(_wrap_okCFrontPanel_SetTimeout), -1);
27363
27389
  rb_define_method(SwigClassOkCFrontPanel.klass, "ResetFPGA", VALUEFUNC(_wrap_okCFrontPanel_ResetFPGA), -1);
27364
27390
  rb_define_method(SwigClassOkCFrontPanel.klass, "Close", VALUEFUNC(_wrap_okCFrontPanel_Close), -1);
27391
+ rb_define_method(SwigClassOkCFrontPanel.klass, "ClearFPGAConfiguration", VALUEFUNC(_wrap_okCFrontPanel_ClearFPGAConfiguration), -1);
27365
27392
  rb_define_method(SwigClassOkCFrontPanel.klass, "ConfigureFPGA", VALUEFUNC(_wrap_okCFrontPanel_ConfigureFPGA), -1);
27366
27393
  rb_define_method(SwigClassOkCFrontPanel.klass, "GetPLL22150Configuration", VALUEFUNC(_wrap_okCFrontPanel_GetPLL22150Configuration), -1);
27367
27394
  rb_define_method(SwigClassOkCFrontPanel.klass, "SetPLL22150Configuration", VALUEFUNC(_wrap_okCFrontPanel_SetPLL22150Configuration), -1);
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: OpalKelly
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.12
4
+ version: 5.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Opal Kelly Incorporated
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-31 00:00:00.000000000 Z
11
+ date: 2024-01-09 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Provides access to FrontPanel devices.
14
14
  email: tech+rubygems@opalkelly.com