Hi,
I would like to use the ZRDPLAYBACK function, but it doesn't seem to work, I think it doesn't take filters string into account.
I have similar problem iy I use a function like NSTR 1, 1, 0, 0, 1, 1, 1, 1, A$ ,”W1”,2
Marc.
Hi,
I would like to use the ZRDPLAYBACK function, but it doesn't seem to work, I think it doesn't take filters string into account.
I have similar problem iy I use a function like NSTR 1, 1, 0, 0, 1, 1, 1, 1, A$ ,”W1”,2
Marc.
This works for me in 2024 R1.00:
NSTR 1, 1, 0, 0, 1, 1, 1, 1, "test.zrd", "W1", 2
Are you sure about what you supply in A$ and are you aware of this line in the NSTR Help File?
The extension of savefilename should be provided, but no path should be specified.
Take care,
David
Hi,
I use the last version (2025 R1.01) of opticstudio, it seems that some change have been made recently with the NSTR and ZDRPLAYBACK functions, they apparently don’t accept some parameters with quotation marks, we need to use string variables instead. It was not indicated in the help file.
Marc
What was the workaround for this? I am currently trying to use ZDRPLAYBACK with a filter string applied and save out the detector view. However, the detector view text file that gets saved out when I execute my ZPL code does not have the filter applied even when I include it in the command. The detector viewer window correctly applies the filter I want, but the saved out text file does not...
you have to go through a text variable as explained in my previous answer.
The bug is now known, Ansys is trying to fix it
Marc
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.