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.
----- Original Message -----
From: "Hinko Kocevar" <email@example.com>
Sent: Thursday, March 15, 2012 8:22:27 AM
Subject: waveform ENUM FTVL or BOOL FTVL
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:
Note that using other FTVL values works, but they are not "restrictive"
enough to allow only '0'/'1' or 'false'/'true' values.
Software development engineer
Instrumentation Technologies d.d.
Velika pot 22, SI-5250 Solkan - Slovenia
T:+386 5 3352600, F:+386 5 3352601
http://www.i-tech.si - When your users demand stability
The information transmitted is intended solely for the
addressee and may contain confidential and/or privileged
information. Any review, retention, disclosure or other use
by persons other than the intended recipient is prohibited.
If you received this in error, please notify the sender and
delete all copies.
Tim Mooney (firstname.lastname@example.org) (630)252-5417
Software Services Group (www.aps.anl.gov)
Advanced Photon Source, Argonne National Lab
- Re: waveform ENUM FTVL or BOOL FTVL Hinko Kocevar
- waveform ENUM FTVL or BOOL FTVL Hinko Kocevar
- Navigate by Date:
RE: Synchronising CA shut down Hill, Jeffrey O
RE: ENV Variables in EDM Szalata, Zenon M.
- Navigate by Thread:
waveform ENUM FTVL or BOOL FTVL Hinko Kocevar
Re: waveform ENUM FTVL or BOOL FTVL Hinko Kocevar