Skip to content

Unable to use zSaveDetector #71

@shbhuk

Description

@shbhuk

Hi,
I am trying to use zSaveDetector which gives me error code -2. I am using a Rectangular detector in NSC mode. Post running a ray trace using zNSCTrace I use the zSaveDetector command

ln = pyz.createLink()
ln.zGetRefresh()
zmxfile = os.path.split(ln.zGetFile())[1]
ln.zNSCTrace(1,0,timeout=5000)
ln.zSaveDetector(1,36,location+'sample.ddr')

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions