Comments (5)
This issue is resolved in release 2.3.0.
from pvapy.
Thanks for sending this, I did reproduce the problem on my end.
from pvapy.
As a temporary workaround, this should work:
bluegill2> python -c "from pvaccess import *; c = Channel('Addresses'); c.put([1]); pv = c.get(); print(pv['value']); pv.setScalarArray([1234567890]); c.put(pv); pv2=c.get(); print(pv2['value'])" [1] [1234567890]
from pvapy.
This works. Thanks @sveseli.
from pvapy.
For anyone who finds this between now and the fix, the first put is not necessary, it was just to show how it works. Just getting a pv object and using it to set the value is enough.
In [1]: import pvaccess
In [2]: c = pvaccess.Channel("Addresses")
In [3]: pv = c.get()
In [4]: pv.setScalarArray([123456789])
In [5]: c.put(pv)
In [6]: c.get()['value']
Out[6]: array([123456789], dtype=uint32)
from pvapy.
Related Issues (20)
- 2 questions about usage HOT 2
- PvAlarm and PvTimeStamp do not work for put HOT 3
- timestamp not updating with pvput for PVs on PvaServer HOT 2
- Async functionality should propagate the errors/exceptions to the caller HOT 3
- compile for aarch64 HOT 1
- Seg fault with arrays HOT 4
- PvaServer.addRecord not working on Windows 10 HOT 2
- PyPI: pvaPy on Raspberry Pi HOT 11
- Dumping to JSON does not escape strings HOT 4
- Mirror server slow processing large struct arrays
- Error when requesting multiple fields from the same struct HOT 1
- add custom field to NTSCALAR record HOT 1
- Review performance testing HOT 10
- Best method for handling reconnections to large numbers of PVs HOT 7
- Possibility of supporting epicscorelibs for PyPI uploaded wheels HOT 4
- Reading and writing to a single array element of a PVAccess PV HOT 1
- Bug executing`pvget` on unchanged PV in remote server. HOT 15
- Can't install for Python 3.10 on Mac HOT 7
- Unable to install on Macs that use Apple M-series (ARM) chips HOT 5
- pvaPy server listing all fields as 'changed' despite only updating value and timeStamp HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pvapy.