p4p
p4p copied to clipboard
examples for NTMultiChannel
Hi there, I am interested in creating a PV that combines a number of scalar double PVs into one array so I was thinking about using an NTMultiChannel
to do so.
Are there any examples for how to construct one of these PVs?
I had assumed it would be something along the lines of:
NT = NTMultiChannel('af', channelNames=['PV:1', 'PV:2'])
pv = SharedPV(nt=NT)
but this doesn't seem to be right as there isn't a channelNames
parameter in the buildType()
.
Wat is the correct construction of PVs like this?