Hi Hinko,
The waveform record doesn't actually support ENUM, it just doesn't bother to define its own recordtype-specific list of data types, but instead uses a generic list from base. I think your best move is to use char or uchar and adopt the standard zero-is-false-nonzero-is-true.
Tim
----- Original Message -----
From: "Hinko Kocevar"<[email protected]>
To: [email protected]
Sent: Thursday, March 15, 2012 8:22:27 AM
Subject: waveform ENUM FTVL or BOOL FTVL
Hi,
Our Linux OS based instrument will be running soft IOC. The instrument
supports various data types. One of the data types that I have trouble
supporting in EPICS is array of bool values. My intention was to use
ENUM FTVL for waveform but the problem I'm seeing in the IOC shell is:
missing record support entry table Record Support Routine (get_enum_str)
Record Type waveform PV h:b::adllr4:adc_module:dc_rej_bypass-I.VAL dbGet
I just wanted to confirm that for waveform record FTVL ENUM is indeed
supported. What am I doing wrong?
Here is the PV definition:
record(waveform, "$(H)$(B):adllr4:adc_module:dc_rej_bypass-I")
{
field(DESC, "TBD")
field(INP, "boards.adllr4.adc_module.dc_rej_bypass")
field(DTYP, "liberaGet")
field(NELM, "9")
field(FTVL, "ENUM")
}
Note that using other FTVL values works, but they are not "restrictive"
enough to allow only '0'/'1' or 'false'/'true' values.
Best regards,
Hinko