OpalKelly 5.2.12 → 5.3.0

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: 96246e18dea85c3870b816d6f2f4639091e6ecb2df685cc8f3676302551c19e8
4
+ data.tar.gz: 9bc72be9f1cc2cd93e63c225ca5dfdfe3f86970fb95928fd695767fa8182f509
5
5
  SHA512:
6
- metadata.gz: 443fa6bd57fc5a465f1f1fc111a4cf17dfc75c6b91f58693d5d2ba158ab55c2c1f98fb5f02689011df01d405bae034fc93ebda17776f2c16da7615c8384d9f81
7
- data.tar.gz: 4181a92ef41a056f5883b9f98696f90e5335dd6412263998383fb522a95d10c4b45ddd31b32e6e84caec8b06143137b982d5edf2cb417ea2e8f23ebdd669d2eb
6
+ metadata.gz: 8da4146bcf3289d00ce1ba3b3ec33d78f383c66064e75c4c3a39ca5e8fa5a47e86401f604cb1a01effa0f2739d3a330fdfdd53da2ec1b4cb97fdacd3980ec48b
7
+ data.tar.gz: 2757200e1ba13c40eda61c6d7ffe41d27c39a701a5674610a4e62fc637e653e4e968f75024a5b117446bb10c32cdd02b04a7d17cc5712dacc8b45feab8a8300b
@@ -22211,6 +22211,30 @@ fail:
22211
22211
  }
22212
22212
 
22213
22213
 
22214
+ SWIGINTERN VALUE
22215
+ _wrap_okCFrontPanel_ClearFPGAConfiguration(int argc, VALUE *argv, VALUE self) {
22216
+ OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
22217
+ void *argp1 = 0 ;
22218
+ int res1 = 0 ;
22219
+ OpalKellyLegacy::okCFrontPanel::ErrorCode result;
22220
+ VALUE vresult = Qnil;
22221
+
22222
+ if ((argc < 0) || (argc > 0)) {
22223
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
22224
+ }
22225
+ res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 | 0 );
22226
+ if (!SWIG_IsOK(res1)) {
22227
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel *","ClearFPGAConfiguration", 1, self ));
22228
+ }
22229
+ arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
22230
+ result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)(arg1)->ClearFPGAConfiguration();
22231
+ vresult = SWIG_From_int(static_cast< int >(result));
22232
+ return vresult;
22233
+ fail:
22234
+ return Qnil;
22235
+ }
22236
+
22237
+
22214
22238
  SWIGINTERN VALUE
22215
22239
  _wrap_okCFrontPanel_ConfigureFPGA(int argc, VALUE *argv, VALUE self) {
22216
22240
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
@@ -23452,7 +23476,7 @@ _wrap_okCFrontPanel_CreateLuaScriptEngine(int argc, VALUE *argv, VALUE self) {
23452
23476
  }
23453
23477
  arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
23454
23478
  {
23455
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23479
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23456
23480
  result = OpalKellyLegacy_okCFrontPanel_CreateLuaScriptEngine(arg1);
23457
23481
  } catch (const std::exception& e) {
23458
23482
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -23538,7 +23562,7 @@ _wrap_okCDeviceSettings_GetString(int argc, VALUE *argv, VALUE self) {
23538
23562
  arg2 = ptr;
23539
23563
  }
23540
23564
  {
23541
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23565
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23542
23566
  result = OpalKellyLegacy_okCDeviceSettings_GetString(arg1,(std::string const &)*arg2);
23543
23567
  } catch (const std::exception& e) {
23544
23568
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -23585,7 +23609,7 @@ _wrap_okCDeviceSettings_GetInt(int argc, VALUE *argv, VALUE self) {
23585
23609
  arg2 = ptr;
23586
23610
  }
23587
23611
  {
23588
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23612
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23589
23613
  result = (UINT32)OpalKellyLegacy_okCDeviceSettings_GetInt(arg1,(std::string const &)*arg2);
23590
23614
  } catch (const std::exception& e) {
23591
23615
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -23643,7 +23667,7 @@ _wrap_okCDeviceSettings_SetString(int argc, VALUE *argv, VALUE self) {
23643
23667
  arg3 = ptr;
23644
23668
  }
23645
23669
  {
23646
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23670
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23647
23671
  OpalKellyLegacy_okCDeviceSettings_SetString(arg1,(std::string const &)*arg2,(std::string const &)*arg3);
23648
23672
  } catch (const std::exception& e) {
23649
23673
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -23697,7 +23721,7 @@ _wrap_okCDeviceSettings_SetInt(int argc, VALUE *argv, VALUE self) {
23697
23721
  }
23698
23722
  arg3 = static_cast< UINT32 >(val3);
23699
23723
  {
23700
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23724
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23701
23725
  OpalKellyLegacy_okCDeviceSettings_SetInt(arg1,(std::string const &)*arg2,arg3);
23702
23726
  } catch (const std::exception& e) {
23703
23727
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -23730,7 +23754,7 @@ _wrap_okCDeviceSettings_List(int argc, VALUE *argv, VALUE self) {
23730
23754
  }
23731
23755
  arg1 = reinterpret_cast< OpalKellyLegacy::okCDeviceSettings * >(argp1);
23732
23756
  {
23733
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23757
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23734
23758
  result = OpalKellyLegacy_okCDeviceSettings_List(arg1);
23735
23759
  } catch (const std::exception& e) {
23736
23760
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -23773,7 +23797,7 @@ _wrap_okCDeviceSettings_Delete(int argc, VALUE *argv, VALUE self) {
23773
23797
  arg2 = ptr;
23774
23798
  }
23775
23799
  {
23776
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23800
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23777
23801
  OpalKellyLegacy_okCDeviceSettings_Delete(arg1,(std::string const &)*arg2);
23778
23802
  } catch (const std::exception& e) {
23779
23803
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -23804,7 +23828,7 @@ _wrap_okCDeviceSettings_Save(int argc, VALUE *argv, VALUE self) {
23804
23828
  }
23805
23829
  arg1 = reinterpret_cast< OpalKellyLegacy::okCDeviceSettings * >(argp1);
23806
23830
  {
23807
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23831
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
23808
23832
  try {
23809
23833
  OpalKellyLegacy_okCDeviceSettings_Save(arg1);
23810
23834
  } catch(std::runtime_error &_e) {
@@ -24386,7 +24410,7 @@ _wrap_okCScriptValue_GetNumber(int argc, VALUE *argv, VALUE self) {
24386
24410
  }
24387
24411
  arg1 = reinterpret_cast< OpalKelly::ScriptValue * >(argp1);
24388
24412
  {
24389
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24413
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24390
24414
  result = (int)((OpalKelly::ScriptValue const *)arg1)->GetNumber();
24391
24415
  } catch (const std::exception& e) {
24392
24416
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -24442,7 +24466,7 @@ _wrap_okCScriptValue_GetBool(int argc, VALUE *argv, VALUE self) {
24442
24466
  }
24443
24467
  arg1 = reinterpret_cast< OpalKelly::ScriptValue * >(argp1);
24444
24468
  {
24445
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24469
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24446
24470
  result = (bool)((OpalKelly::ScriptValue const *)arg1)->GetBool();
24447
24471
  } catch (const std::exception& e) {
24448
24472
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -24498,7 +24522,7 @@ _wrap_okCScriptValue_GetString(int argc, VALUE *argv, VALUE self) {
24498
24522
  }
24499
24523
  arg1 = reinterpret_cast< OpalKelly::ScriptValue * >(argp1);
24500
24524
  {
24501
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24525
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24502
24526
  result = ((OpalKelly::ScriptValue const *)arg1)->GetString();
24503
24527
  } catch (const std::exception& e) {
24504
24528
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -24554,7 +24578,7 @@ _wrap_okCScriptValue_GetBuffer(int argc, VALUE *argv, VALUE self) {
24554
24578
  }
24555
24579
  arg1 = reinterpret_cast< OpalKelly::ScriptValue * >(argp1);
24556
24580
  {
24557
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24581
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24558
24582
  result = ((OpalKelly::ScriptValue const *)arg1)->GetBuffer();
24559
24583
  } catch (const std::exception& e) {
24560
24584
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -24618,7 +24642,7 @@ _wrap_okCScriptEngine_LoadScript(int argc, VALUE *argv, VALUE self) {
24618
24642
  arg3 = ptr;
24619
24643
  }
24620
24644
  {
24621
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24645
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24622
24646
  (arg1)->LoadScript((std::string const &)*arg2,(std::string const &)*arg3);
24623
24647
  } catch (const std::exception& e) {
24624
24648
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -24664,7 +24688,7 @@ _wrap_okCScriptEngine_LoadFile(int argc, VALUE *argv, VALUE self) {
24664
24688
  arg2 = ptr;
24665
24689
  }
24666
24690
  {
24667
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24691
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24668
24692
  (arg1)->LoadFile((std::string const &)*arg2);
24669
24693
  } catch (const std::exception& e) {
24670
24694
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -24765,7 +24789,7 @@ _wrap_okCScriptEngine_RunScriptFunction__SWIG_0(int argc, VALUE *argv, VALUE sel
24765
24789
  arg3 = ptr;
24766
24790
  }
24767
24791
  {
24768
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24792
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24769
24793
  result = OpalKelly_ScriptEngine_RunScriptFunction__SWIG_0(arg1,(std::string const &)*arg2,(std::vector< OpalKelly::ScriptValue,std::allocator< OpalKelly::ScriptValue > > const &)*arg3);
24770
24794
  } catch (const std::exception& e) {
24771
24795
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -24814,7 +24838,7 @@ _wrap_okCScriptEngine_RunScriptFunction__SWIG_1(int argc, VALUE *argv, VALUE sel
24814
24838
  arg2 = ptr;
24815
24839
  }
24816
24840
  {
24817
- /*@SWIG:../FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24841
+ /*@SWIG:/home/runner/work/frontpanel-release/frontpanel-release/frontpanel-src/FrontPanelDLL/FrontPanelDLL.i,71,okExceptionHandlingCode@*/ try {
24818
24842
  result = OpalKelly_ScriptEngine_RunScriptFunction__SWIG_0(arg1,(std::string const &)*arg2);
24819
24843
  } catch (const std::exception& e) {
24820
24844
  SWIG_Error(SWIG_RuntimeError, e.what());
@@ -27362,6 +27386,7 @@ SWIGEXPORT void Init_OpalKelly(void) {
27362
27386
  rb_define_method(SwigClassOkCFrontPanel.klass, "SetTimeout", VALUEFUNC(_wrap_okCFrontPanel_SetTimeout), -1);
27363
27387
  rb_define_method(SwigClassOkCFrontPanel.klass, "ResetFPGA", VALUEFUNC(_wrap_okCFrontPanel_ResetFPGA), -1);
27364
27388
  rb_define_method(SwigClassOkCFrontPanel.klass, "Close", VALUEFUNC(_wrap_okCFrontPanel_Close), -1);
27389
+ rb_define_method(SwigClassOkCFrontPanel.klass, "ClearFPGAConfiguration", VALUEFUNC(_wrap_okCFrontPanel_ClearFPGAConfiguration), -1);
27365
27390
  rb_define_method(SwigClassOkCFrontPanel.klass, "ConfigureFPGA", VALUEFUNC(_wrap_okCFrontPanel_ConfigureFPGA), -1);
27366
27391
  rb_define_method(SwigClassOkCFrontPanel.klass, "GetPLL22150Configuration", VALUEFUNC(_wrap_okCFrontPanel_GetPLL22150Configuration), -1);
27367
27392
  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.0
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: 2023-06-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Provides access to FrontPanel devices.
14
14
  email: tech+rubygems@opalkelly.com