@zaber/motion 7.10.0 → 7.12.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.
Files changed (68) hide show
  1. package/LICENSE +14 -218
  2. package/dist/binding/wasm/zaber-motion-core.wasm +0 -0
  3. package/dist/lib/ascii/axis_settings.js +2 -2
  4. package/dist/lib/ascii/axis_settings.js.map +1 -1
  5. package/dist/lib/ascii/pvt_buffer.d.ts +6 -0
  6. package/dist/lib/ascii/pvt_buffer.d.ts.map +1 -1
  7. package/dist/lib/ascii/pvt_buffer.js +18 -0
  8. package/dist/lib/ascii/pvt_buffer.js.map +1 -1
  9. package/dist/lib/ascii/pvt_sequence.d.ts +37 -1
  10. package/dist/lib/ascii/pvt_sequence.d.ts.map +1 -1
  11. package/dist/lib/ascii/pvt_sequence.js +65 -1
  12. package/dist/lib/ascii/pvt_sequence.js.map +1 -1
  13. package/dist/lib/device_db_source.d.ts +23 -0
  14. package/dist/lib/device_db_source.d.ts.map +1 -0
  15. package/dist/lib/device_db_source.js +32 -0
  16. package/dist/lib/device_db_source.js.map +1 -0
  17. package/dist/lib/exceptions/device_db_failed_exception_data.d.ts +5 -0
  18. package/dist/lib/exceptions/device_db_failed_exception_data.d.ts.map +1 -1
  19. package/dist/lib/exceptions/device_db_failed_exception_data.js +4 -0
  20. package/dist/lib/exceptions/device_db_failed_exception_data.js.map +1 -1
  21. package/dist/lib/exceptions/device_db_inner_error.d.ts +26 -0
  22. package/dist/lib/exceptions/device_db_inner_error.d.ts.map +1 -0
  23. package/dist/lib/exceptions/device_db_inner_error.js +34 -0
  24. package/dist/lib/exceptions/device_db_inner_error.js.map +1 -0
  25. package/dist/lib/exceptions/index.d.ts +1 -0
  26. package/dist/lib/exceptions/index.d.ts.map +1 -1
  27. package/dist/lib/exceptions/index.js +1 -0
  28. package/dist/lib/exceptions/index.js.map +1 -1
  29. package/dist/lib/gateway/wasm-exec.d.ts +1 -1
  30. package/dist/lib/gateway/wasm-exec.d.ts.map +1 -1
  31. package/dist/lib/gateway/wasm-exec.js +1 -1
  32. package/dist/lib/gateway/wasm-exec.js.map +1 -1
  33. package/dist/lib/index.d.ts +1 -0
  34. package/dist/lib/index.d.ts.map +1 -1
  35. package/dist/lib/index.js +1 -0
  36. package/dist/lib/index.js.map +1 -1
  37. package/dist/lib/library.d.ts +7 -0
  38. package/dist/lib/library.d.ts.map +1 -1
  39. package/dist/lib/library.js +16 -1
  40. package/dist/lib/library.js.map +1 -1
  41. package/dist/lib/microscopy/microscope.d.ts +4 -0
  42. package/dist/lib/microscopy/microscope.d.ts.map +1 -1
  43. package/dist/lib/microscopy/microscope.js +33 -9
  44. package/dist/lib/microscopy/microscope.js.map +1 -1
  45. package/dist/lib/requests/index.d.ts +4 -0
  46. package/dist/lib/requests/index.d.ts.map +1 -1
  47. package/dist/lib/requests/index.js +4 -0
  48. package/dist/lib/requests/index.js.map +1 -1
  49. package/dist/lib/requests/pvt_buffer_get_sequence_data_request.d.ts +14 -0
  50. package/dist/lib/requests/pvt_buffer_get_sequence_data_request.d.ts.map +1 -0
  51. package/dist/lib/requests/pvt_buffer_get_sequence_data_request.js +34 -0
  52. package/dist/lib/requests/pvt_buffer_get_sequence_data_request.js.map +1 -0
  53. package/dist/lib/requests/pvt_generate_velocities_and_times_request.d.ts +17 -0
  54. package/dist/lib/requests/pvt_generate_velocities_and_times_request.d.ts.map +1 -0
  55. package/dist/lib/requests/pvt_generate_velocities_and_times_request.js +39 -0
  56. package/dist/lib/requests/pvt_generate_velocities_and_times_request.js.map +1 -0
  57. package/dist/lib/requests/pvt_submit_sequence_data_request.d.ts +16 -0
  58. package/dist/lib/requests/pvt_submit_sequence_data_request.d.ts.map +1 -0
  59. package/dist/lib/requests/pvt_submit_sequence_data_request.js +38 -0
  60. package/dist/lib/requests/pvt_submit_sequence_data_request.js.map +1 -0
  61. package/dist/lib/requests/set_device_db_layered_sources_request.d.ts +13 -0
  62. package/dist/lib/requests/set_device_db_layered_sources_request.d.ts.map +1 -0
  63. package/dist/lib/requests/set_device_db_layered_sources_request.js +28 -0
  64. package/dist/lib/requests/set_device_db_layered_sources_request.js.map +1 -0
  65. package/dist/lib/requests/set_device_db_source_request.d.ts +6 -0
  66. package/dist/lib/requests/set_device_db_source_request.d.ts.map +1 -1
  67. package/dist/lib/requests/set_device_db_source_request.js.map +1 -1
  68. package/package.json +1 -1
package/LICENSE CHANGED
@@ -39,7 +39,7 @@ SOFTWARE.
39
39
 
40
40
 
41
41
  ------------------
42
- github.com/creack/goselect v0.1.2
42
+ github.com/creack/goselect v0.1.3
43
43
  ------------------
44
44
  The MIT License (MIT)
45
45
 
@@ -65,13 +65,13 @@ SOFTWARE.
65
65
 
66
66
 
67
67
  ------------------
68
- github.com/davecgh/go-spew v1.1.0
68
+ github.com/davecgh/go-spew v1.1.1
69
69
  ------------------
70
70
  ISC License
71
71
 
72
72
  Copyright (c) 2012-2016 Dave Collins <dave@davec.name>
73
73
 
74
- Permission to use, copy, modify, and distribute this software for any
74
+ Permission to use, copy, modify, and/or distribute this software for any
75
75
  purpose with or without fee is hereby granted, provided that the above
76
76
  copyright notice and this permission notice appear in all copies.
77
77
 
@@ -292,7 +292,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
292
292
  SOFTWARE.
293
293
 
294
294
  ------------------
295
- github.com/mattn/go-sqlite3 v1.11.0
295
+ github.com/mattn/go-sqlite3 v1.14.28
296
296
  ------------------
297
297
  The MIT License (MIT)
298
298
 
@@ -397,58 +397,7 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
397
397
  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
398
398
 
399
399
  ------------------
400
- github.com/sirupsen/logrus v1.9.3
401
- ------------------
402
- The MIT License (MIT)
403
-
404
- Copyright (c) 2014 Simon Eskildsen
405
-
406
- Permission is hereby granted, free of charge, to any person obtaining a copy
407
- of this software and associated documentation files (the "Software"), to deal
408
- in the Software without restriction, including without limitation the rights
409
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
410
- copies of the Software, and to permit persons to whom the Software is
411
- furnished to do so, subject to the following conditions:
412
-
413
- The above copyright notice and this permission notice shall be included in
414
- all copies or substantial portions of the Software.
415
-
416
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
417
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
418
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
419
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
420
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
421
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
422
- THE SOFTWARE.
423
-
424
- ------------------
425
- github.com/stretchr/objx v0.1.0
426
- ------------------
427
- The MIT License
428
-
429
- Copyright (c) 2014 Stretchr, Inc.
430
- Copyright (c) 2017-2018 objx contributors
431
-
432
- Permission is hereby granted, free of charge, to any person obtaining a copy
433
- of this software and associated documentation files (the "Software"), to deal
434
- in the Software without restriction, including without limitation the rights
435
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
436
- copies of the Software, and to permit persons to whom the Software is
437
- furnished to do so, subject to the following conditions:
438
-
439
- The above copyright notice and this permission notice shall be included in all
440
- copies or substantial portions of the Software.
441
-
442
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
443
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
444
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
445
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
446
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
447
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
448
- SOFTWARE.
449
-
450
- ------------------
451
- github.com/stretchr/testify v1.7.0
400
+ github.com/stretchr/testify v1.8.1
452
401
  ------------------
453
402
  MIT License
454
403
 
@@ -1151,7 +1100,7 @@ Public License instead of this License. But first, please read
1151
1100
  <https://www.gnu.org/licenses/why-not-lgpl.html>.
1152
1101
 
1153
1102
  ------------------
1154
- github.com/zabertech/go-serial v0.0.0-20210201195853-2428148c5139 (fork github.com/bugst/go-serial)
1103
+ github.com/zabertech/go-serial v0.0.0-20250729220630-0e47786acc33 (fork github.com/bugst/go-serial)
1155
1104
  ------------------
1156
1105
 
1157
1106
  Copyright (c) 2014-2016, Cristian Maglie.
@@ -1188,7 +1137,7 @@ POSSIBILITY OF SUCH DAMAGE.
1188
1137
 
1189
1138
 
1190
1139
  ------------------
1191
- gitlab.com/ZaberTech/zaber-device-db-service v0.0.0-20250325171535-959f2aab54c5
1140
+ gitlab.com/ZaberTech/zaber-device-db-service v0.0.0-20250731204611-5cd79ada4afd
1192
1141
  ------------------
1193
1142
  Copyright 2022 Zaber Technologies Inc.
1194
1143
 
@@ -1199,7 +1148,7 @@ The above copyright notice and this permission notice shall be included in all c
1199
1148
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1200
1149
 
1201
1150
  ------------------
1202
- gitlab.com/ZaberTech/zaber-go-lib v0.0.0-20240328212536-999ed1bc7b42
1151
+ gitlab.com/ZaberTech/zaber-go-lib v0.0.0-20250729223504-20f21b4d47e2
1203
1152
  ------------------
1204
1153
  Copyright 2022 Zaber Technologies Inc.
1205
1154
 
@@ -1415,9 +1364,9 @@ go.mongodb.org/mongo-driver v1.14.0
1415
1364
  limitations under the License.
1416
1365
 
1417
1366
  ------------------
1418
- golang.org/x/crypto v0.11.0
1367
+ golang.org/x/crypto v0.28.0
1419
1368
  ------------------
1420
- Copyright (c) 2009 The Go Authors. All rights reserved.
1369
+ Copyright 2009 The Go Authors.
1421
1370
 
1422
1371
  Redistribution and use in source and binary forms, with or without
1423
1372
  modification, are permitted provided that the following conditions are
@@ -1429,7 +1378,7 @@ notice, this list of conditions and the following disclaimer.
1429
1378
  copyright notice, this list of conditions and the following disclaimer
1430
1379
  in the documentation and/or other materials provided with the
1431
1380
  distribution.
1432
- * Neither the name of Google Inc. nor the names of its
1381
+ * Neither the name of Google LLC nor the names of its
1433
1382
  contributors may be used to endorse or promote products derived from
1434
1383
  this software without specific prior written permission.
1435
1384
 
@@ -1507,37 +1456,6 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1507
1456
  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1508
1457
  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1509
1458
 
1510
- ------------------
1511
- golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4
1512
- ------------------
1513
- Copyright (c) 2009 The Go Authors. All rights reserved.
1514
-
1515
- Redistribution and use in source and binary forms, with or without
1516
- modification, are permitted provided that the following conditions are
1517
- met:
1518
-
1519
- * Redistributions of source code must retain the above copyright
1520
- notice, this list of conditions and the following disclaimer.
1521
- * Redistributions in binary form must reproduce the above
1522
- copyright notice, this list of conditions and the following disclaimer
1523
- in the documentation and/or other materials provided with the
1524
- distribution.
1525
- * Neither the name of Google Inc. nor the names of its
1526
- contributors may be used to endorse or promote products derived from
1527
- this software without specific prior written permission.
1528
-
1529
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1530
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1531
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1532
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1533
- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1534
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1535
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1536
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1537
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1538
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1539
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1540
-
1541
1459
  ------------------
1542
1460
  golang.org/x/net v0.0.0-20190620200207-3b0461eec859
1543
1461
  ------------------
@@ -1570,71 +1488,9 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1570
1488
  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1571
1489
 
1572
1490
  ------------------
1573
- golang.org/x/sync v0.0.0-20190423024810-112230192c58
1574
- ------------------
1575
- Copyright (c) 2009 The Go Authors. All rights reserved.
1576
-
1577
- Redistribution and use in source and binary forms, with or without
1578
- modification, are permitted provided that the following conditions are
1579
- met:
1580
-
1581
- * Redistributions of source code must retain the above copyright
1582
- notice, this list of conditions and the following disclaimer.
1583
- * Redistributions in binary form must reproduce the above
1584
- copyright notice, this list of conditions and the following disclaimer
1585
- in the documentation and/or other materials provided with the
1586
- distribution.
1587
- * Neither the name of Google Inc. nor the names of its
1588
- contributors may be used to endorse or promote products derived from
1589
- this software without specific prior written permission.
1590
-
1591
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1592
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1593
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1594
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1595
- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1596
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1597
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1598
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1599
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1600
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1601
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1602
-
1603
- ------------------
1604
- golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f
1605
- ------------------
1606
- Copyright (c) 2009 The Go Authors. All rights reserved.
1607
-
1608
- Redistribution and use in source and binary forms, with or without
1609
- modification, are permitted provided that the following conditions are
1610
- met:
1611
-
1612
- * Redistributions of source code must retain the above copyright
1613
- notice, this list of conditions and the following disclaimer.
1614
- * Redistributions in binary form must reproduce the above
1615
- copyright notice, this list of conditions and the following disclaimer
1616
- in the documentation and/or other materials provided with the
1617
- distribution.
1618
- * Neither the name of Google Inc. nor the names of its
1619
- contributors may be used to endorse or promote products derived from
1620
- this software without specific prior written permission.
1621
-
1622
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1623
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1624
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1625
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1626
- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1627
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1628
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1629
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1630
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1631
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1632
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1633
-
1634
- ------------------
1635
- golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1
1491
+ golang.org/x/sys v0.34.0
1636
1492
  ------------------
1637
- Copyright (c) 2009 The Go Authors. All rights reserved.
1493
+ Copyright 2009 The Go Authors.
1638
1494
 
1639
1495
  Redistribution and use in source and binary forms, with or without
1640
1496
  modification, are permitted provided that the following conditions are
@@ -1646,7 +1502,7 @@ notice, this list of conditions and the following disclaimer.
1646
1502
  copyright notice, this list of conditions and the following disclaimer
1647
1503
  in the documentation and/or other materials provided with the
1648
1504
  distribution.
1649
- * Neither the name of Google Inc. nor the names of its
1505
+ * Neither the name of Google LLC nor the names of its
1650
1506
  contributors may be used to endorse or promote products derived from
1651
1507
  this software without specific prior written permission.
1652
1508
 
@@ -1693,37 +1549,6 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1693
1549
  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1694
1550
  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1695
1551
 
1696
- ------------------
1697
- golang.org/x/tools v0.1.12
1698
- ------------------
1699
- Copyright (c) 2009 The Go Authors. All rights reserved.
1700
-
1701
- Redistribution and use in source and binary forms, with or without
1702
- modification, are permitted provided that the following conditions are
1703
- met:
1704
-
1705
- * Redistributions of source code must retain the above copyright
1706
- notice, this list of conditions and the following disclaimer.
1707
- * Redistributions in binary form must reproduce the above
1708
- copyright notice, this list of conditions and the following disclaimer
1709
- in the documentation and/or other materials provided with the
1710
- distribution.
1711
- * Neither the name of Google Inc. nor the names of its
1712
- contributors may be used to endorse or promote products derived from
1713
- this software without specific prior written permission.
1714
-
1715
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1716
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1717
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1718
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1719
- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1720
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1721
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1722
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1723
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1724
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1725
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1726
-
1727
1552
  ------------------
1728
1553
  gonum.org/v1/gonum v0.16.0
1729
1554
  ------------------
@@ -1750,35 +1575,6 @@ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
1750
1575
  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
1751
1576
  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1752
1577
  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1753
- ------------------
1754
- gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
1755
- ------------------
1756
- Gocheck - A rich testing framework for Go
1757
-
1758
- Copyright (c) 2010-2013 Gustavo Niemeyer <gustavo@niemeyer.net>
1759
-
1760
- All rights reserved.
1761
-
1762
- Redistribution and use in source and binary forms, with or without
1763
- modification, are permitted provided that the following conditions are met:
1764
-
1765
- 1. Redistributions of source code must retain the above copyright notice, this
1766
- list of conditions and the following disclaimer.
1767
- 2. Redistributions in binary form must reproduce the above copyright notice,
1768
- this list of conditions and the following disclaimer in the documentation
1769
- and/or other materials provided with the distribution.
1770
-
1771
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1772
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1773
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1774
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
1775
- ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1776
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
1777
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
1778
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1779
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
1780
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1781
-
1782
1578
  ------------------
1783
1579
  gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
1784
1580
  ------------------
@@ -379,7 +379,7 @@ class AxisSettings {
379
379
  return requests.DeviceMultiGetSettingRequest.toBinary(this);
380
380
  },
381
381
  };
382
- const response = await gateway.callAsync('device/get_many_settings', request, requests.GetAxisSettingResults.fromBinary);
382
+ const response = await gateway.callAsync('device/get_many_axis_settings', request, requests.GetAxisSettingResults.fromBinary);
383
383
  return response.results;
384
384
  }
385
385
  /**
@@ -399,7 +399,7 @@ class AxisSettings {
399
399
  return requests.DeviceMultiGetSettingRequest.toBinary(this);
400
400
  },
401
401
  };
402
- const response = await gateway.callAsync('device/get_sync_settings', request, requests.GetAxisSettingResults.fromBinary);
402
+ const response = await gateway.callAsync('device/get_sync_axis_settings', request, requests.GetAxisSettingResults.fromBinary);
403
403
  return response.results;
404
404
  }
405
405
  }
@@ -1 +1 @@
1
- {"version":3,"file":"axis_settings.js","sourceRoot":"","sources":["../../../src/ascii/axis_settings.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;AAMtD,oCAAiC;AACjC,oDAAsC;AACtC,sDAAwC;AAExC;;GAEG;AACH,MAAa,YAAY;IAGvB,YAAY,IAAU;QACpB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;IACpB,CAAC;IAED;;;;;;OAMG;IACI,KAAK,CAAC,GAAG,CACd,OAAe,EACf,OAAc,aAAK,CAAC,MAAM;QAE1B,MAAM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K,CAAC,UAAU;YAC3B,YAAY,EAAE,YAAY;YAC1B,QAAQ;gBACN,OAAO,QAAQ,CAAC,4BAA4B,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAC9D,CAAC;SACF,CAAC;QAEF,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,SAAS,CACtC,0BAA0B,EAC1B,OAAO,EACP,QAAQ,CAAC,qBAAqB,CAAC,UAAU,CAAC,CAAC;QAC7C,OAAO,QAAQ,CAAC,OAAO,CAAC;IAC1B,CAAC;IAED;;;;;OAKG;IACI,KAAK,CAAC,eAAe,CAC1B,GAAG,YAA8B;QAEjC,MAAM,OAAO,GAA4D;YACvE,GAAG,QAAQ,CAAC,4BAA4B,CAAC,OAAO;YAChD,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,WAAW;YACrD,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,aAAa;YACvC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU;YAC3B,YAAY,EAAE,YAAY;YAC1B,QAAQ;gBACN,OAAO,QAAQ,CAAC,4BAA4B,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAC9D,CAAC;SACF,CAAC;QAEF,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,SAAS,CACtC,0BAA0B,EAC1B,OAAO,EACP,QAAQ,CAAC,qBAAqB,CAAC,UAAU,CAAC,CAAC;QAC7C,OAAO,QAAQ,CAAC,OAAO,CAAC;IAC1B,CAAC;CACF;AA9eD,oCA8eC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { Axis } from './axis';\nimport { GetAxisSetting } from './get_axis_setting';\nimport { GetAxisSettingResult } from './get_axis_setting_result';\nimport { ConversionFactor } from './conversion_factor';\nimport { Units } from '../units';\nimport * as gateway from '../gateway';\nimport * as requests from '../requests';\n\n/**\n * Class providing access to various axis settings and properties.\n */\nexport class AxisSettings {\n private _axis: Axis;\n\n constructor(axis: Axis) {\n this._axis = axis;\n }\n\n /**\n * Returns any axis setting or property.\n * For more information refer to the [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_settings).\n * @param setting Name of the setting.\n * @param [unit=Units.NATIVE] Units of setting.\n * @returns Setting value.\n */\n public async get(\n setting: string,\n unit: Units = Units.NATIVE\n ): Promise<number> {\n const request: requests.DeviceGetSettingRequest & gateway.Message = {\n ...requests.DeviceGetSettingRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n setting: setting,\n unit: unit,\n toBinary() {\n return requests.DeviceGetSettingRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.DoubleResponse>(\n 'device/get_setting',\n request,\n requests.DoubleResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Sets any axis setting.\n * For more information refer to the [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_settings).\n * @param setting Name of the setting.\n * @param value Value of the setting.\n * @param [unit=Units.NATIVE] Units of setting.\n */\n public async set(\n setting: string,\n value: number,\n unit: Units = Units.NATIVE\n ): Promise<void> {\n const request: requests.DeviceSetSettingRequest & gateway.Message = {\n ...requests.DeviceSetSettingRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n setting: setting,\n value: value,\n unit: unit,\n toBinary() {\n return requests.DeviceSetSettingRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/set_setting', request);\n }\n\n /**\n * Returns any axis setting or property as a string.\n * For more information refer to the [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_settings).\n * @param setting Name of the setting.\n * @returns Setting value.\n */\n public async getString(\n setting: string\n ): Promise<string> {\n const request: requests.DeviceGetSettingRequest & gateway.Message = {\n ...requests.DeviceGetSettingRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n setting: setting,\n toBinary() {\n return requests.DeviceGetSettingRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.StringResponse>(\n 'device/get_setting_str',\n request,\n requests.StringResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Sets any axis setting as a string.\n * For more information refer to the [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_settings).\n * @param setting Name of the setting.\n * @param value Value of the setting.\n */\n public async setString(\n setting: string,\n value: string\n ): Promise<void> {\n const request: requests.DeviceSetSettingStrRequest & gateway.Message = {\n ...requests.DeviceSetSettingStrRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n setting: setting,\n value: value,\n toBinary() {\n return requests.DeviceSetSettingStrRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/set_setting_str', request);\n }\n\n /**\n * Returns any axis setting or property as an integer.\n * For more information refer to the [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_settings).\n * @param setting Name of the setting.\n * @returns Setting value.\n */\n public async getInt(\n setting: string\n ): Promise<bigint> {\n const request: requests.DeviceGetSettingRequest & gateway.Message = {\n ...requests.DeviceGetSettingRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n setting: setting,\n toBinary() {\n return requests.DeviceGetSettingRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.Int64Response>(\n 'device/get_setting_int',\n request,\n requests.Int64Response.fromBinary);\n return response.value;\n }\n\n /**\n * Sets any axis setting or property as an integer.\n * For more information refer to the [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_settings).\n * @param setting Name of the setting.\n * @param value Value of the setting.\n */\n public async setInt(\n setting: string,\n value: bigint\n ): Promise<void> {\n const request: requests.DeviceSetSettingIntRequest & gateway.Message = {\n ...requests.DeviceSetSettingIntRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n setting: setting,\n value: value,\n toBinary() {\n return requests.DeviceSetSettingIntRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/set_setting_int', request);\n }\n\n /**\n * Returns any axis setting or property as a boolean.\n * For more information refer to the [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_settings).\n * @param setting Name of the setting.\n * @returns Setting value.\n */\n public async getBool(\n setting: string\n ): Promise<boolean> {\n const request: requests.DeviceGetSettingRequest & gateway.Message = {\n ...requests.DeviceGetSettingRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n setting: setting,\n toBinary() {\n return requests.DeviceGetSettingRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.BoolResponse>(\n 'device/get_setting_bool',\n request,\n requests.BoolResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Sets any axis setting as a boolean.\n * For more information refer to the [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_settings).\n * @param setting Name of the setting.\n * @param value Value of the setting.\n */\n public async setBool(\n setting: string,\n value: boolean\n ): Promise<void> {\n const request: requests.DeviceSetSettingBoolRequest & gateway.Message = {\n ...requests.DeviceSetSettingBoolRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n setting: setting,\n value: value,\n toBinary() {\n return requests.DeviceSetSettingBoolRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/set_setting_bool', request);\n }\n\n /**\n * Convert arbitrary setting value to Zaber native units.\n * @param setting Name of the setting.\n * @param value Value of the setting in units specified by following argument.\n * @param unit Units of the value.\n * @returns Setting value.\n */\n public convertToNativeUnits(\n setting: string,\n value: number,\n unit: Units\n ): number {\n const request: requests.DeviceConvertSettingRequest & gateway.Message = {\n ...requests.DeviceConvertSettingRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n setting: setting,\n value: value,\n unit: unit,\n toBinary() {\n return requests.DeviceConvertSettingRequest.toBinary(this);\n },\n };\n\n const response = gateway.callSync<requests.DoubleResponse>(\n 'device/convert_setting',\n request,\n requests.DoubleResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Convert arbitrary setting value from Zaber native units.\n * @param setting Name of the setting.\n * @param value Value of the setting in Zaber native units.\n * @param unit Units to convert value to.\n * @returns Setting value.\n */\n public convertFromNativeUnits(\n setting: string,\n value: number,\n unit: Units\n ): number {\n const request: requests.DeviceConvertSettingRequest & gateway.Message = {\n ...requests.DeviceConvertSettingRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n fromNative: true,\n setting: setting,\n value: value,\n unit: unit,\n toBinary() {\n return requests.DeviceConvertSettingRequest.toBinary(this);\n },\n };\n\n const response = gateway.callSync<requests.DoubleResponse>(\n 'device/convert_setting',\n request,\n requests.DoubleResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Returns the default value of a setting.\n * @param setting Name of the setting.\n * @param [unit=Units.NATIVE] Units of setting.\n * @returns Default setting value.\n */\n public getDefault(\n setting: string,\n unit: Units = Units.NATIVE\n ): number {\n const request: requests.DeviceGetSettingRequest & gateway.Message = {\n ...requests.DeviceGetSettingRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n setting: setting,\n unit: unit,\n toBinary() {\n return requests.DeviceGetSettingRequest.toBinary(this);\n },\n };\n\n const response = gateway.callSync<requests.DoubleResponse>(\n 'device/get_setting_default',\n request,\n requests.DoubleResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Returns the default value of a setting as a string.\n * @param setting Name of the setting.\n * @returns Default setting value.\n */\n public getDefaultString(\n setting: string\n ): string {\n const request: requests.DeviceGetSettingRequest & gateway.Message = {\n ...requests.DeviceGetSettingRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n setting: setting,\n toBinary() {\n return requests.DeviceGetSettingRequest.toBinary(this);\n },\n };\n\n const response = gateway.callSync<requests.StringResponse>(\n 'device/get_setting_default_str',\n request,\n requests.StringResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Returns the default value of a setting as an integer.\n * @param setting Name of the setting.\n * @returns Default setting value.\n */\n public getDefaultInt(\n setting: string\n ): bigint {\n const request: requests.DeviceGetSettingRequest & gateway.Message = {\n ...requests.DeviceGetSettingRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n setting: setting,\n toBinary() {\n return requests.DeviceGetSettingRequest.toBinary(this);\n },\n };\n\n const response = gateway.callSync<requests.Int64Response>(\n 'device/get_setting_default_int',\n request,\n requests.Int64Response.fromBinary);\n return response.value;\n }\n\n /**\n * Returns the default value of a setting as a boolean.\n * @param setting Name of the setting.\n * @returns Default setting value.\n */\n public getDefaultBool(\n setting: string\n ): boolean {\n const request: requests.DeviceGetSettingRequest & gateway.Message = {\n ...requests.DeviceGetSettingRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n setting: setting,\n toBinary() {\n return requests.DeviceGetSettingRequest.toBinary(this);\n },\n };\n\n const response = gateway.callSync<requests.BoolResponse>(\n 'device/get_setting_default_bool',\n request,\n requests.BoolResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Indicates if given setting can be converted from and to native units.\n * @param setting Name of the setting.\n * @returns True if unit conversion can be performed.\n */\n public canConvertNativeUnits(\n setting: string\n ): boolean {\n const request: requests.DeviceGetSettingRequest & gateway.Message = {\n ...requests.DeviceGetSettingRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n setting: setting,\n toBinary() {\n return requests.DeviceGetSettingRequest.toBinary(this);\n },\n };\n\n const response = gateway.callSync<requests.BoolResponse>(\n 'device/can_convert_setting',\n request,\n requests.BoolResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Overrides default unit conversions.\n * Conversion factors are specified by setting names representing underlying dimensions.\n * Requires at least Firmware 7.30.\n * @param conversions Factors of all conversions to override.\n */\n public async setCustomUnitConversions(\n conversions: ConversionFactor[]\n ): Promise<void> {\n const request: requests.DeviceSetUnitConversionsRequest & gateway.Message = {\n ...requests.DeviceSetUnitConversionsRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n conversions: conversions,\n toBinary() {\n return requests.DeviceSetUnitConversionsRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/set_unit_conversions', request);\n }\n\n /**\n * Gets many setting values in as few requests as possible.\n * @param axisSettings The settings to read.\n * @returns The setting values read.\n */\n public async getMany(\n ...axisSettings: GetAxisSetting[]\n ): Promise<GetAxisSettingResult[]> {\n const request: requests.DeviceMultiGetSettingRequest & gateway.Message = {\n ...requests.DeviceMultiGetSettingRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n axisSettings: axisSettings,\n toBinary() {\n return requests.DeviceMultiGetSettingRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.GetAxisSettingResults>(\n 'device/get_many_settings',\n request,\n requests.GetAxisSettingResults.fromBinary);\n return response.results;\n }\n\n /**\n * Gets many setting values in the same tick, ensuring their values are synchronized.\n * Requires at least Firmware 7.35.\n * @param axisSettings The settings to read.\n * @returns The setting values read.\n */\n public async getSynchronized(\n ...axisSettings: GetAxisSetting[]\n ): Promise<GetAxisSettingResult[]> {\n const request: requests.DeviceMultiGetSettingRequest & gateway.Message = {\n ...requests.DeviceMultiGetSettingRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n axisSettings: axisSettings,\n toBinary() {\n return requests.DeviceMultiGetSettingRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.GetAxisSettingResults>(\n 'device/get_sync_settings',\n request,\n requests.GetAxisSettingResults.fromBinary);\n return response.results;\n }\n}\n"]}
1
+ {"version":3,"file":"axis_settings.js","sourceRoot":"","sources":["../../../src/ascii/axis_settings.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;AAMtD,oCAAiC;AACjC,oDAAsC;AACtC,sDAAwC;AAExC;;GAEG;AACH,MAAa,YAAY;IAGvB,YAAY,IAAU;QACpB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;IACpB,CAAC;IAED;;;;;;OAMG;IACI,KAAK,CAAC,GAAG,CACd,OAAe,EACf,OAAc,aAAK,CAAC,MAAM;QAE1B,MAAM,OAAO,GAAuD;YAClE,GAAG,QAAQ,CAAC,uBAAuB,CAAC,OAAO;YAC3C,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,WAAW;YACrD,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,aAAa;YACvC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU;YAC3B,OAAO,EAAE,OAAO;YAChB,IAAI,EAAE,IAAI;YACV,QAAQ;gBACN,OAAO,QAAQ,CAAC,uBAAuB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACzD,CAAC;SACF,CAAC;QAEF,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,SAAS,CACtC,oBAAoB,EACpB,OAAO,EACP,QAAQ,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC;QACtC,OAAO,QAAQ,CAAC,KAAK,CAAC;IACxB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AAK,CAAC,MAAM,CAAC,aAAa;YACvC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU;YAC3B,YAAY,EAAE,YAAY;YAC1B,QAAQ;gBACN,OAAO,QAAQ,CAAC,4BAA4B,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAC9D,CAAC;SACF,CAAC;QAEF,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,SAAS,CACtC,+BAA+B,EAC/B,OAAO,EACP,QAAQ,CAAC,qBAAqB,CAAC,UAAU,CAAC,CAAC;QAC7C,OAAO,QAAQ,CAAC,OAAO,CAAC;IAC1B,CAAC;CACF;AA9eD,oCA8eC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { Axis } from './axis';\nimport { GetAxisSetting } from './get_axis_setting';\nimport { GetAxisSettingResult } from './get_axis_setting_result';\nimport { ConversionFactor } from './conversion_factor';\nimport { Units } from '../units';\nimport * as gateway from '../gateway';\nimport * as requests from '../requests';\n\n/**\n * Class providing access to various axis settings and properties.\n */\nexport class AxisSettings {\n private _axis: Axis;\n\n constructor(axis: Axis) {\n this._axis = axis;\n }\n\n /**\n * Returns any axis setting or property.\n * For more information refer to the [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_settings).\n * @param setting Name of the setting.\n * @param [unit=Units.NATIVE] Units of setting.\n * @returns Setting value.\n */\n public async get(\n setting: string,\n unit: Units = Units.NATIVE\n ): Promise<number> {\n const request: requests.DeviceGetSettingRequest & gateway.Message = {\n ...requests.DeviceGetSettingRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n setting: setting,\n unit: unit,\n toBinary() {\n return requests.DeviceGetSettingRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.DoubleResponse>(\n 'device/get_setting',\n request,\n requests.DoubleResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Sets any axis setting.\n * For more information refer to the [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_settings).\n * @param setting Name of the setting.\n * @param value Value of the setting.\n * @param [unit=Units.NATIVE] Units of setting.\n */\n public async set(\n setting: string,\n value: number,\n unit: Units = Units.NATIVE\n ): Promise<void> {\n const request: requests.DeviceSetSettingRequest & gateway.Message = {\n ...requests.DeviceSetSettingRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n setting: setting,\n value: value,\n unit: unit,\n toBinary() {\n return requests.DeviceSetSettingRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/set_setting', request);\n }\n\n /**\n * Returns any axis setting or property as a string.\n * For more information refer to the [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_settings).\n * @param setting Name of the setting.\n * @returns Setting value.\n */\n public async getString(\n setting: string\n ): Promise<string> {\n const request: requests.DeviceGetSettingRequest & gateway.Message = {\n ...requests.DeviceGetSettingRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n setting: setting,\n toBinary() {\n return requests.DeviceGetSettingRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.StringResponse>(\n 'device/get_setting_str',\n request,\n requests.StringResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Sets any axis setting as a string.\n * For more information refer to the [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_settings).\n * @param setting Name of the setting.\n * @param value Value of the setting.\n */\n public async setString(\n setting: string,\n value: string\n ): Promise<void> {\n const request: requests.DeviceSetSettingStrRequest & gateway.Message = {\n ...requests.DeviceSetSettingStrRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n setting: setting,\n value: value,\n toBinary() {\n return requests.DeviceSetSettingStrRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/set_setting_str', request);\n }\n\n /**\n * Returns any axis setting or property as an integer.\n * For more information refer to the [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_settings).\n * @param setting Name of the setting.\n * @returns Setting value.\n */\n public async getInt(\n setting: string\n ): Promise<bigint> {\n const request: requests.DeviceGetSettingRequest & gateway.Message = {\n ...requests.DeviceGetSettingRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n setting: setting,\n toBinary() {\n return requests.DeviceGetSettingRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.Int64Response>(\n 'device/get_setting_int',\n request,\n requests.Int64Response.fromBinary);\n return response.value;\n }\n\n /**\n * Sets any axis setting or property as an integer.\n * For more information refer to the [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_settings).\n * @param setting Name of the setting.\n * @param value Value of the setting.\n */\n public async setInt(\n setting: string,\n value: bigint\n ): Promise<void> {\n const request: requests.DeviceSetSettingIntRequest & gateway.Message = {\n ...requests.DeviceSetSettingIntRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n setting: setting,\n value: value,\n toBinary() {\n return requests.DeviceSetSettingIntRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/set_setting_int', request);\n }\n\n /**\n * Returns any axis setting or property as a boolean.\n * For more information refer to the [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_settings).\n * @param setting Name of the setting.\n * @returns Setting value.\n */\n public async getBool(\n setting: string\n ): Promise<boolean> {\n const request: requests.DeviceGetSettingRequest & gateway.Message = {\n ...requests.DeviceGetSettingRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n setting: setting,\n toBinary() {\n return requests.DeviceGetSettingRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.BoolResponse>(\n 'device/get_setting_bool',\n request,\n requests.BoolResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Sets any axis setting as a boolean.\n * For more information refer to the [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_settings).\n * @param setting Name of the setting.\n * @param value Value of the setting.\n */\n public async setBool(\n setting: string,\n value: boolean\n ): Promise<void> {\n const request: requests.DeviceSetSettingBoolRequest & gateway.Message = {\n ...requests.DeviceSetSettingBoolRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n setting: setting,\n value: value,\n toBinary() {\n return requests.DeviceSetSettingBoolRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/set_setting_bool', request);\n }\n\n /**\n * Convert arbitrary setting value to Zaber native units.\n * @param setting Name of the setting.\n * @param value Value of the setting in units specified by following argument.\n * @param unit Units of the value.\n * @returns Setting value.\n */\n public convertToNativeUnits(\n setting: string,\n value: number,\n unit: Units\n ): number {\n const request: requests.DeviceConvertSettingRequest & gateway.Message = {\n ...requests.DeviceConvertSettingRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n setting: setting,\n value: value,\n unit: unit,\n toBinary() {\n return requests.DeviceConvertSettingRequest.toBinary(this);\n },\n };\n\n const response = gateway.callSync<requests.DoubleResponse>(\n 'device/convert_setting',\n request,\n requests.DoubleResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Convert arbitrary setting value from Zaber native units.\n * @param setting Name of the setting.\n * @param value Value of the setting in Zaber native units.\n * @param unit Units to convert value to.\n * @returns Setting value.\n */\n public convertFromNativeUnits(\n setting: string,\n value: number,\n unit: Units\n ): number {\n const request: requests.DeviceConvertSettingRequest & gateway.Message = {\n ...requests.DeviceConvertSettingRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n fromNative: true,\n setting: setting,\n value: value,\n unit: unit,\n toBinary() {\n return requests.DeviceConvertSettingRequest.toBinary(this);\n },\n };\n\n const response = gateway.callSync<requests.DoubleResponse>(\n 'device/convert_setting',\n request,\n requests.DoubleResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Returns the default value of a setting.\n * @param setting Name of the setting.\n * @param [unit=Units.NATIVE] Units of setting.\n * @returns Default setting value.\n */\n public getDefault(\n setting: string,\n unit: Units = Units.NATIVE\n ): number {\n const request: requests.DeviceGetSettingRequest & gateway.Message = {\n ...requests.DeviceGetSettingRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n setting: setting,\n unit: unit,\n toBinary() {\n return requests.DeviceGetSettingRequest.toBinary(this);\n },\n };\n\n const response = gateway.callSync<requests.DoubleResponse>(\n 'device/get_setting_default',\n request,\n requests.DoubleResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Returns the default value of a setting as a string.\n * @param setting Name of the setting.\n * @returns Default setting value.\n */\n public getDefaultString(\n setting: string\n ): string {\n const request: requests.DeviceGetSettingRequest & gateway.Message = {\n ...requests.DeviceGetSettingRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n setting: setting,\n toBinary() {\n return requests.DeviceGetSettingRequest.toBinary(this);\n },\n };\n\n const response = gateway.callSync<requests.StringResponse>(\n 'device/get_setting_default_str',\n request,\n requests.StringResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Returns the default value of a setting as an integer.\n * @param setting Name of the setting.\n * @returns Default setting value.\n */\n public getDefaultInt(\n setting: string\n ): bigint {\n const request: requests.DeviceGetSettingRequest & gateway.Message = {\n ...requests.DeviceGetSettingRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n setting: setting,\n toBinary() {\n return requests.DeviceGetSettingRequest.toBinary(this);\n },\n };\n\n const response = gateway.callSync<requests.Int64Response>(\n 'device/get_setting_default_int',\n request,\n requests.Int64Response.fromBinary);\n return response.value;\n }\n\n /**\n * Returns the default value of a setting as a boolean.\n * @param setting Name of the setting.\n * @returns Default setting value.\n */\n public getDefaultBool(\n setting: string\n ): boolean {\n const request: requests.DeviceGetSettingRequest & gateway.Message = {\n ...requests.DeviceGetSettingRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n setting: setting,\n toBinary() {\n return requests.DeviceGetSettingRequest.toBinary(this);\n },\n };\n\n const response = gateway.callSync<requests.BoolResponse>(\n 'device/get_setting_default_bool',\n request,\n requests.BoolResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Indicates if given setting can be converted from and to native units.\n * @param setting Name of the setting.\n * @returns True if unit conversion can be performed.\n */\n public canConvertNativeUnits(\n setting: string\n ): boolean {\n const request: requests.DeviceGetSettingRequest & gateway.Message = {\n ...requests.DeviceGetSettingRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n setting: setting,\n toBinary() {\n return requests.DeviceGetSettingRequest.toBinary(this);\n },\n };\n\n const response = gateway.callSync<requests.BoolResponse>(\n 'device/can_convert_setting',\n request,\n requests.BoolResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Overrides default unit conversions.\n * Conversion factors are specified by setting names representing underlying dimensions.\n * Requires at least Firmware 7.30.\n * @param conversions Factors of all conversions to override.\n */\n public async setCustomUnitConversions(\n conversions: ConversionFactor[]\n ): Promise<void> {\n const request: requests.DeviceSetUnitConversionsRequest & gateway.Message = {\n ...requests.DeviceSetUnitConversionsRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n conversions: conversions,\n toBinary() {\n return requests.DeviceSetUnitConversionsRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/set_unit_conversions', request);\n }\n\n /**\n * Gets many setting values in as few requests as possible.\n * @param axisSettings The settings to read.\n * @returns The setting values read.\n */\n public async getMany(\n ...axisSettings: GetAxisSetting[]\n ): Promise<GetAxisSettingResult[]> {\n const request: requests.DeviceMultiGetSettingRequest & gateway.Message = {\n ...requests.DeviceMultiGetSettingRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n axisSettings: axisSettings,\n toBinary() {\n return requests.DeviceMultiGetSettingRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.GetAxisSettingResults>(\n 'device/get_many_axis_settings',\n request,\n requests.GetAxisSettingResults.fromBinary);\n return response.results;\n }\n\n /**\n * Gets many setting values in the same tick, ensuring their values are synchronized.\n * Requires at least Firmware 7.35.\n * @param axisSettings The settings to read.\n * @returns The setting values read.\n */\n public async getSynchronized(\n ...axisSettings: GetAxisSetting[]\n ): Promise<GetAxisSettingResult[]> {\n const request: requests.DeviceMultiGetSettingRequest & gateway.Message = {\n ...requests.DeviceMultiGetSettingRequest.DEFAULT,\n interfaceId: this._axis.device.connection.interfaceId,\n device: this._axis.device.deviceAddress,\n axis: this._axis.axisNumber,\n axisSettings: axisSettings,\n toBinary() {\n return requests.DeviceMultiGetSettingRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.GetAxisSettingResults>(\n 'device/get_sync_axis_settings',\n request,\n requests.GetAxisSettingResults.fromBinary);\n return response.results;\n }\n}\n"]}
@@ -1,4 +1,5 @@
1
1
  import { Device } from './device';
2
+ import { PvtSequenceData } from './pvt_sequence_data';
2
3
  /**
3
4
  * Represents a PVT buffer with this number on a device.
4
5
  * A PVT buffer is a place to store a queue of PVT actions.
@@ -20,6 +21,11 @@ export declare class PvtBuffer {
20
21
  * @returns A string array containing all the PVT commands stored in the buffer.
21
22
  */
22
23
  getContent(): Promise<string[]>;
24
+ /**
25
+ * Gets the buffer contents as a PvtSequenceData object.
26
+ * @returns The PVT data loaded from the buffer.
27
+ */
28
+ retrieveSequenceData(): Promise<PvtSequenceData>;
23
29
  /**
24
30
  * Erases the contents of the buffer.
25
31
  * This method fails if there is a PVT sequence writing to the buffer.
@@ -1 +1 @@
1
- {"version":3,"file":"pvt_buffer.d.ts","sourceRoot":"","sources":["../../../src/ascii/pvt_buffer.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAIlC;;;GAGG;AACH,qBAAa,SAAS;IACpB;;OAEG;IACH,IAAW,MAAM,IAAI,MAAM,CAE1B;IACD,OAAO,CAAC,OAAO,CAAS;IAExB;;OAEG;IACH,IAAW,QAAQ,IAAI,MAAM,CAE5B;IACD,OAAO,CAAC,SAAS,CAAS;gBAEd,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAK5C;;;OAGG;IACU,UAAU,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;IAmB5C;;;OAGG;IACU,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAcpC"}
1
+ {"version":3,"file":"pvt_buffer.d.ts","sourceRoot":"","sources":["../../../src/ascii/pvt_buffer.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAItD;;;GAGG;AACH,qBAAa,SAAS;IACpB;;OAEG;IACH,IAAW,MAAM,IAAI,MAAM,CAE1B;IACD,OAAO,CAAC,OAAO,CAAS;IAExB;;OAEG;IACH,IAAW,QAAQ,IAAI,MAAM,CAE5B;IACD,OAAO,CAAC,SAAS,CAAS;gBAEd,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAK5C;;;OAGG;IACU,UAAU,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;IAmB5C;;;OAGG;IACU,oBAAoB,IAAI,OAAO,CAAC,eAAe,CAAC;IAkB7D;;;OAGG;IACU,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAcpC"}
@@ -26,6 +26,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  };
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
28
  exports.PvtBuffer = void 0;
29
+ const pvt_sequence_data_1 = require("./pvt_sequence_data");
29
30
  const gateway = __importStar(require("../gateway"));
30
31
  const requests = __importStar(require("../requests"));
31
32
  /**
@@ -67,6 +68,23 @@ class PvtBuffer {
67
68
  const response = await gateway.callAsync('device/stream_buffer_get_content', request, requests.StreamBufferGetContentResponse.fromBinary);
68
69
  return response.bufferLines;
69
70
  }
71
+ /**
72
+ * Gets the buffer contents as a PvtSequenceData object.
73
+ * @returns The PVT data loaded from the buffer.
74
+ */
75
+ async retrieveSequenceData() {
76
+ const request = {
77
+ ...requests.PvtBufferGetSequenceDataRequest.DEFAULT,
78
+ interfaceId: this.device.connection.interfaceId,
79
+ device: this.device.deviceAddress,
80
+ bufferId: this.bufferId,
81
+ toBinary() {
82
+ return requests.PvtBufferGetSequenceDataRequest.toBinary(this);
83
+ },
84
+ };
85
+ const response = await gateway.callAsync('device/pvt_buffer_get_data', request, pvt_sequence_data_1.PvtSequenceData.fromBinary);
86
+ return response;
87
+ }
70
88
  /**
71
89
  * Erases the contents of the buffer.
72
90
  * This method fails if there is a PVT sequence writing to the buffer.
@@ -1 +1 @@
1
- {"version":3,"file":"pvt_buffer.js","sourceRoot":"","sources":["../../../src/ascii/pvt_buffer.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;AAGtD,oDAAsC;AACtC,sDAAwC;AAExC;;;GAGG;AACH,MAAa,SAAS;IACpB;;OAEG;IACH,IAAW,MAAM;QACf,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAGD;;OAEG;IACH,IAAW,QAAQ;QACjB,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC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\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { Device } from './device';\nimport * as gateway from '../gateway';\nimport * as requests from '../requests';\n\n/**\n * Represents a PVT buffer with this number on a device.\n * A PVT buffer is a place to store a queue of PVT actions.\n */\nexport class PvtBuffer {\n /**\n * The Device this buffer exists on.\n */\n public get device(): Device {\n return this._device;\n }\n private _device: Device;\n\n /**\n * The number identifying the buffer on the device.\n */\n public get bufferId(): number {\n return this._bufferId;\n }\n private _bufferId: number;\n\n constructor(device: Device, bufferId: number) {\n this._device = device;\n this._bufferId = bufferId;\n }\n\n /**\n * Gets the buffer contents as an array of strings.\n * @returns A string array containing all the PVT commands stored in the buffer.\n */\n public async getContent(): Promise<string[]> {\n const request: requests.StreamBufferGetContentRequest & gateway.Message = {\n ...requests.StreamBufferGetContentRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n bufferId: this.bufferId,\n pvt: true,\n toBinary() {\n return requests.StreamBufferGetContentRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.StreamBufferGetContentResponse>(\n 'device/stream_buffer_get_content',\n request,\n requests.StreamBufferGetContentResponse.fromBinary);\n return response.bufferLines;\n }\n\n /**\n * Erases the contents of the buffer.\n * This method fails if there is a PVT sequence writing to the buffer.\n */\n public async erase(): Promise<void> {\n const request: requests.StreamBufferEraseRequest & gateway.Message = {\n ...requests.StreamBufferEraseRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n bufferId: this.bufferId,\n pvt: true,\n toBinary() {\n return requests.StreamBufferEraseRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/stream_buffer_erase', request);\n }\n}\n"]}
1
+ {"version":3,"file":"pvt_buffer.js","sourceRoot":"","sources":["../../../src/ascii/pvt_buffer.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;AAGtD,2DAAsD;AACtD,oDAAsC;AACtC,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C;YACjE,CAAC;SACF,CAAC;QAEF,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,SAAS,CACtC,4BAA4B,EAC5B,OAAO,EACP,mCAAe,CAAC,UAAU,CAAC,CAAC;QAC9B,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,KAAK;QAChB,MAAM,OAAO,GAAwD;YACnE,GAAG,QAAQ,CAAC,wBAAwB,CAAC,OAAO;YAC5C,WAAW,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,WAAW;YAC/C,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,aAAa;YACjC,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,GAAG,EAAE,IAAI;YACT,QAAQ;gBACN,OAAO,QAAQ,CAAC,wBAAwB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAC1D,CAAC;SACF,CAAC;QAEF,MAAM,OAAO,CAAC,SAAS,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;CACF;AArFD,8BAqFC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { Device } from './device';\nimport { PvtSequenceData } from './pvt_sequence_data';\nimport * as gateway from '../gateway';\nimport * as requests from '../requests';\n\n/**\n * Represents a PVT buffer with this number on a device.\n * A PVT buffer is a place to store a queue of PVT actions.\n */\nexport class PvtBuffer {\n /**\n * The Device this buffer exists on.\n */\n public get device(): Device {\n return this._device;\n }\n private _device: Device;\n\n /**\n * The number identifying the buffer on the device.\n */\n public get bufferId(): number {\n return this._bufferId;\n }\n private _bufferId: number;\n\n constructor(device: Device, bufferId: number) {\n this._device = device;\n this._bufferId = bufferId;\n }\n\n /**\n * Gets the buffer contents as an array of strings.\n * @returns A string array containing all the PVT commands stored in the buffer.\n */\n public async getContent(): Promise<string[]> {\n const request: requests.StreamBufferGetContentRequest & gateway.Message = {\n ...requests.StreamBufferGetContentRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n bufferId: this.bufferId,\n pvt: true,\n toBinary() {\n return requests.StreamBufferGetContentRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.StreamBufferGetContentResponse>(\n 'device/stream_buffer_get_content',\n request,\n requests.StreamBufferGetContentResponse.fromBinary);\n return response.bufferLines;\n }\n\n /**\n * Gets the buffer contents as a PvtSequenceData object.\n * @returns The PVT data loaded from the buffer.\n */\n public async retrieveSequenceData(): Promise<PvtSequenceData> {\n const request: requests.PvtBufferGetSequenceDataRequest & gateway.Message = {\n ...requests.PvtBufferGetSequenceDataRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n bufferId: this.bufferId,\n toBinary() {\n return requests.PvtBufferGetSequenceDataRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<PvtSequenceData>(\n 'device/pvt_buffer_get_data',\n request,\n PvtSequenceData.fromBinary);\n return response;\n }\n\n /**\n * Erases the contents of the buffer.\n * This method fails if there is a PVT sequence writing to the buffer.\n */\n public async erase(): Promise<void> {\n const request: requests.StreamBufferEraseRequest & gateway.Message = {\n ...requests.StreamBufferEraseRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n bufferId: this.bufferId,\n pvt: true,\n toBinary() {\n return requests.StreamBufferEraseRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/stream_buffer_erase', request);\n }\n}\n"]}
@@ -119,6 +119,8 @@ export declare class PvtSequence {
119
119
  * Also note that if generating a path for multiple axes, the user must provide a position measurement sequence
120
120
  * per axis, And the values arrays for each sequence must be equal in length to each other and also to the
121
121
  * times sequence.
122
+ *
123
+ * Does not support native units.
122
124
  * @param positions Positions for the axes to move through, relative to their home positions.
123
125
  * Each MeasurementSequence represents a sequence of positions along a particular dimension.
124
126
  * For example, a 2D path sequence would contain two MeasurementSequence objects,
@@ -139,6 +141,8 @@ export declare class PvtSequence {
139
141
  * Note that if generating a path for multiple axes, the user must provide a
140
142
  * velocity measurement sequence per axis, and the values arrays for each sequence
141
143
  * must be equal in length to each other and also to the times sequence.
144
+ *
145
+ * Does not support native units.
142
146
  * @param velocities The sequence of velocities for each axis.
143
147
  * Each MeasurementSequence represents a sequence of velocities along particular dimension.
144
148
  * @param times The relative or absolute time of each position in the PVT sequence.
@@ -149,6 +153,32 @@ export declare class PvtSequence {
149
153
  * @returns Object containing the generated PVT sequence. Note that returned time sequence is always relative.
150
154
  */
151
155
  static generatePositions(velocities: MeasurementSequence[], times: MeasurementSequence, timesRelative?: boolean): Promise<PvtSequenceData>;
156
+ /**
157
+ * Generates sequences of velocities and times for a sequence of positions.
158
+ * This function fits a geometric spline (not-a-knot cubic for sequences of >3 points,
159
+ * natural cubic for 3, and a straight line for 2) over the position sequence
160
+ * and then calculates the velocity and time information by traversing it using a
161
+ * trapezoidal motion profile.
162
+ *
163
+ * This generation scheme attempts to keep speed and acceleration less than the
164
+ * specified target values, but does not guarantee it. Generally speaking, a higher
165
+ * resample number will bring the generated trajectory closer to respecting these
166
+ * limits.
167
+ *
168
+ * Note that consecutive duplicate points will be automatically removed as they
169
+ * have no geometric significance without additional time information. Also note that
170
+ * for multi-dimensional paths this function expects axes to be linear and orthogonal,
171
+ * however for paths of a single dimension rotary units are accepted.
172
+ *
173
+ * Does not support native units.
174
+ * @param positions Positions for the axes to move through, relative to their home positions.
175
+ * @param targetSpeed The target speed used to generate positions and times.
176
+ * @param targetAcceleration The target acceleration used to generate positions and times.
177
+ * @param resampleNumber The number of points to resample the sequence by.
178
+ * Leave undefined to use the specified points.
179
+ * @returns Object containing the generated PVT sequence. Note that returned time sequence is always relative.
180
+ */
181
+ static generateVelocitiesAndTimes(positions: MeasurementSequence[], targetSpeed: Measurement, targetAcceleration: Measurement, resampleNumber?: number): Promise<PvtSequenceData>;
152
182
  /**
153
183
  * Waits until the live PVT sequence executes all queued actions.
154
184
  * @param [options.throwErrorOnFault=true] Determines whether to throw error when fault is observed.
@@ -252,12 +282,18 @@ export declare class PvtSequence {
252
282
  *
253
283
  * Units must be wrapped in parens or square braces: ie. (µm/s), [µm/s].
254
284
  * Additionally, native units are the default if no units are specified.
285
+ * Time values default to milliseconds if no units are provided.
255
286
  * If no header is included, then column order is assumed to be "T,P1,V1,P2,V2,...".
256
287
  * In this case the number of columns must be odd.
257
- * @param path The path from which the csv file will be loaded.
288
+ * @param path The path to the csv file to load.
258
289
  * @returns The PVT csv data loaded from the file.
259
290
  */
260
291
  static loadSequenceData(path: string): Promise<PvtCsvData>;
292
+ /**
293
+ * Writes the contents of a PvtSequenceData object to the sequence.
294
+ * @param sequenceData The PVT sequence data to submit.
295
+ */
296
+ submitSequenceData(sequenceData: PvtSequenceData): Promise<void>;
261
297
  /**
262
298
  * @deprecated Use PvtSequence.Io.SetDigitalOutput instead.
263
299
  *