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

Resolving issues preventing connection with areaDetector device #514

Merged
merged 4 commits into from
Aug 9, 2024

Conversation

jwlodek
Copy link
Member

@jwlodek jwlodek commented Aug 8, 2024

The PV name is DataType_RBV and not NDDataType_RBV - causes connection error when connecting to AD device.

@jwlodek jwlodek changed the title Resolving incorrectly named PV issue Resolving issues preventing connection with areaDetector device Aug 8, 2024
@jwlodek
Copy link
Member Author

jwlodek commented Aug 8, 2024

Also, added second commit that removes erroneous enum option. With it included we cannot connect to an AD device:

NotConnected:                                                         
manta_async: NotConnected:                                            
    drv: NotConnected:                                                
        data_type: TypeError: XF:31ID1-ES{GigE-Cam:1}cam1:DataType_RBV
 has choices ('Int8', 'UInt8', 'Int16', 'UInt16', 'Int32', 'UInt32', '
Int64', 'UInt64', 'Float32', 'Float64'), which do not match <enum 'ADB
aseDataType'>, which has ('Int8', 'UInt8', 'Int16', 'UInt16', 'Int32',
 'UInt32', 'Int64', 'UInt64', 'Float32', 'Float64', 'DOUBLE').        
    hdf: NotConnected:                                                
        data_type: TypeError: XF:31ID1-ES{GigE-Cam:1}HDF1:DataType_RBV
 has choices ('Int8', 'UInt8', 'Int16', 'UInt16', 'Int32', 'UInt32', '
Int64', 'UInt64', 'Float32', 'Float64'), which do not match <enum 'ADB
aseDataType'>, which has ('Int8', 'UInt8', 'Int16', 'UInt16', 'Int32',
 'UInt32', 'Int64', 'UInt64', 'Float32', 'Float64', 'DOUBLE').        
                                                                      

@jwlodek
Copy link
Member Author

jwlodek commented Aug 8, 2024

Third issue was found that wasn't caught in tests was that the dir path needs to be cast to a string from a PathLib PosixPath.

@jwlodek jwlodek merged commit d1c4e3c into bluesky:main Aug 9, 2024
11 checks passed
@jwlodek jwlodek deleted the fix-incorrect-pv-name branch August 9, 2024 17:41
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

Successfully merging this pull request may close these issues.

2 participants