paulscherrerinstitute / pcaspy

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

Type Unsigned Integer #53

Closed fernandohds564 closed 6 years ago

fernandohds564 commented 6 years ago

Hi, @xiaoqiangwang,

I need to simulate an IOC which provides a PV of type unsigned integer of 32 bits. Would it be possible to create a new type in pcaspy database which corresponds this type?

Thank you!

xiaoqiangwang commented 6 years ago

Channel access has only signed integer data types. A workaround is give it double type with 0 precision.

fernandohds564 commented 6 years ago

Thanks, @xiaoqiangwang!