Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to make a bool[] with QSRV? #56

Open
coretl opened this issue Mar 15, 2023 · 0 comments
Open

Is it possible to make a bool[] with QSRV? #56

coretl opened this issue Mar 15, 2023 · 0 comments

Comments

@coretl
Copy link
Contributor

coretl commented Mar 15, 2023

I'd like to make a bool[] as part of an NTTable, but the closest I can get is:

record(waveform, "BOOL:PLEASE")
{
    field(NELM, 10)
    field(FTVL, "UCHAR")
    field(INP, [0, 0, 1, 1, 0, 1, 1, 0])
}
# pvget -v BOOL:PLEASE
BOOL:PLEASE epics:nt/NTScalarArray:1.0 
    ubyte[] value [0,0,1,1,0,1,1,0]
    alarm_t alarm INVALID DRIVER UDF 
        int severity 3
        int status 2
        string message UDF
    time_t timeStamp <undefined>              
        long secondsPastEpoch 631152000
        int nanoseconds 0
        int userTag 0
    structure display
        double limitLow 0
        double limitHigh 0
        string description 
        string units 
        int precision 0
        enum_t form (0) Default
            int index 0
            string[] choices [Default, String, Binary, Decimal, Hex, Exponential, Engineering]
    control_t control
        double limitLow 0
        double limitHigh 0
        double minStep 0
    valueAlarm_t valueAlarm
        boolean active false
        double lowAlarmLimit nan
        double lowWarningLimit nan
        double highWarningLimit nan
        double highAlarmLimit nan
        int lowAlarmSeverity 0
        int lowWarningSeverity 0
        int highWarningSeverity 0
        int highAlarmSeverity 0
        byte hysteresis 0

Is it possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant