paulscherrerinstitute / pcaspy

Portable Channel Access Server in Python
BSD 3-Clause "New" or "Revised" License
32 stars 24 forks source link

specify data type of array data #85

Closed vstadnytskyi-FDA closed 1 year ago

vstadnytskyi-FDA commented 2 years ago

I have a PV that consists of unsigned integer 8. But when I create a PV with pcaspy and read it my data with a client, I get float 64.

xiaoqiangwang commented 2 years ago

unsigned integer 8 is configured by 'char' type.

'PV': {
  ...
  'type' : 'char',
  ...
}