Dear Alfonso,
The
MMEMory:CATalog?
command currently doesn't return all the waveform names - I suspect that because there are quite a lot of them, if they are fed into the output buffer, but I suspect that there are so many it may overflow it or take so much time that the pyvisa connection closes. However currently if I execute:
r = afg.write('MMEMory:CATalog?')
print('{}'.format(r)
I get: 16
immeditely as a response - using Pyvisa with '\n'
as a delimiter and a 30 second timeout. This means even if the query is executed, I do not get the full response returned to my device. If this is the correct response, then it is unclear to me how to read the output buffer after executing the CAT? command.
This is regardless of if I am in the M:/
or M:/waveforms
folder.
If I try to query the status of the event queue after executing the above I get: -410,"Query INTERRUPTED".
Please let me know if you have any ideas
Thanks,
Robertson