Skip to content

Commit

Permalink
Fix dtype to be float
Browse files Browse the repository at this point in the history
  • Loading branch information
mrakitin authored and SRX Operator committed May 17, 2024
1 parent d62c06f commit 135d93c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/srx_caproto_iocs/zebra/caproto_ioc.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,48 +99,56 @@ class ZebraSaveIOC(CaprotoSaveIOC):

enc1 = pvproperty(
value=0,
dtype=ChannelType.DOUBLE,
doc="enc1 data",
max_length=DEFAULT_MAX_LENGTH,
)

enc2 = pvproperty(
value=0,
dtype=ChannelType.DOUBLE,
doc="enc2 data",
max_length=DEFAULT_MAX_LENGTH,
)

enc3 = pvproperty(
value=0,
dtype=ChannelType.DOUBLE,
doc="enc3 data",
max_length=DEFAULT_MAX_LENGTH,
)

zebra_time = pvproperty(
value=0,
dtype=ChannelType.DOUBLE,
doc="zebra time",
max_length=DEFAULT_MAX_LENGTH,
)

i0 = pvproperty(
value=0,
dtype=ChannelType.DOUBLE,
doc="i0 data",
max_length=DEFAULT_MAX_LENGTH,
)

im = pvproperty(
value=0,
dtype=ChannelType.DOUBLE,
doc="im data",
max_length=DEFAULT_MAX_LENGTH,
)

it = pvproperty(
value=0,
dtype=ChannelType.DOUBLE,
doc="it data",
max_length=DEFAULT_MAX_LENGTH,
)

sis_time = pvproperty(
value=0,
dtype=ChannelType.DOUBLE,
doc="sis time",
max_length=DEFAULT_MAX_LENGTH,
)
Expand Down

0 comments on commit 135d93c

Please sign in to comment.