Experimental Physics and
| |||||||||||||||
|
I'm stumped on finding a working example.
I would like to put a long text string into a waveform PV and simply display it using CaQtDM. I believe that I've got the string working since I can access it from other parts of the program. The caMultiLineString widget suggests that it can display a waveform character string as text. But it's not working out. I'm using the python softioc builder. from softioc import builder import numpy as np a_PV = builder.Waveform("name",length=999,datatype=np.str) a_PV.set("This is some text") print(bytes(bytearray(a_PV.get())).decode('ascii')) But it's not clear how to make that string display in CaQtDM. Any suggestions? Is there a complete example I could look at? Paul
| ||||||||||||||
ANJ, 18 Jun 2020 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |