p4p icon indicating copy to clipboard operation
p4p copied to clipboard

examples for NTMultiChannel

Open kathryn-baker opened this issue 1 year ago • 0 comments

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?

kathryn-baker avatar Aug 18 '23 12:08 kathryn-baker