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

NDStdArrays.template won't pvi convert #131

Open
gilesknap opened this issue Jul 30, 2024 · 0 comments
Open

NDStdArrays.template won't pvi convert #131

gilesknap opened this issue Jul 30, 2024 · 0 comments

Comments

@gilesknap
Copy link
Member

When doing a convert on the NDStdArrays.template in ADCore we see this error because of a macro inside the DTYP for the waveform.

AssertionError: Waveform type for DTYP asyn$(TYPE)ArrayIn not found in [<class 'pvi._convert._asyn_convert.AsynWaveform'>, <class 
'pvi._convert._asyn_convert.AsynInt32Waveform'>, <class 'pvi._convert._asyn_convert.AsynFloat64Waveform'>]

Not sure of the solution to this.
My workaround inside a container is just:

sed -i s/\$\(TYPE\)/Int32/g ${ADCORE}/db/NDStdArrays.template

But note this locks the pvi device to having Int32 arrays only. Also note that PVI only supports Int32 and Float64 but there are other values that could be used for $(TYPE)

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