09-14-2010 09:01 AM
Hi,
I try to save R&S ZVB 20 result into s2p format with the command
MMEM:STOR:TRAC 'name of the trace', 'C:\Rohde&Schwarz\Nwa\Traces\test.s2p'
It does not work and shows error "-257, "File name error; MMEM:STOR:TRACE 'MeasTrace','C:Rohde&SchwarzNwaTracesTest.s2p"'
Any suggestion?
Thanks,
09-15-2010 04:22 AM - edited 09-15-2010 04:23 AM
This might just be a typo in your post, but the filenames you show are not actually the same. The error message shows:
"C:Rohde&SchwarzNwaTracesTest.s2p" // A suspicious absence of '\' characters
while your post shows a different one:
"C:\Rohde&Schwarz\Nwa\Traces\test.s2p"
Might be an idea to double-check what file is specified in your source code (not forgetting that a C string will need to use \\ where a \ is really required) and that the corresponding directory paths actually exist.
JR