Contact an Expert

Thread: N9320B getting trace data through SCPI


Permlink Replies: 4 - Pages: 1 - Last Post: Apr 29, 2012 2:59 AM Last Post By: malil
fieldfox_user

Posts: 9
Registered: 05/11/10
N9320B getting trace data through SCPI
Posted: Aug 12, 2010 3:22 AM
Click to report abuse...   Click to reply to this thread Reply
I'm having difficulty in getting trace data out of my N9320B. I tried the following two SCPI (I use VISA COM libraries for programming):

1. MMEM:STOR:TRAC ALL,test.csv
I get "Character data not allowed" error.

2. If I try "TRAC:DATA? TRACE1", I do get to read the data. However, it seems like I always get back 461 points. Is there any way to change the number of sweep points?

Thanks a lot!
tabbott


Posts: 1,483
Registered: 07/24/09
Re: N9320B getting trace data through SCPI
Posted: Aug 13, 2010 9:54 AM   in response to: fieldfox_user in response to: fieldfox_user
Click to report abuse...   Click to reply to this thread Reply
Hello -

1: Use the command like the one below to save the trace data:

:MMEMory:STORe:TRACe "all","test.csv"

Another example:

:MMEMory:STORe:TRACe "trace1","test.csv"


2: That’s the normal performance because the sweep points number of N9320B is 461, and it can be changed.


Hope this was helpful -
fieldfox_user

Posts: 9
Registered: 05/11/10
Re: N9320B getting trace data through SCPI
Posted: Aug 16, 2010 3:02 AM   in response to: fieldfox_user in response to: fieldfox_user
Click to report abuse...   Click to reply to this thread Reply
Thanks a lot tabbott!

1. I will try the command you mentioned. Can I save the data to a USB drive?
2. Did you mean "it cannot be changed"? That's bad for me (I remember having used "SWE POIN" command in fieldfox 9912A to change the sweep points) :( . Is there a way to scan huge chunks, say 100MHz and get the amplitude values say every 50KHz? In fieldfox, you could set the span to 100MHz and sweep points to 2001 for this.
tabbott


Posts: 1,483
Registered: 07/24/09
Re: N9320B getting trace data through SCPI
Posted: Aug 18, 2010 9:53 AM   in response to: fieldfox_user in response to: fieldfox_user
Click to report abuse...   Click to reply to this thread Reply
Hi -

1. Yes, you can save the data into a USB device.

First choose the path to USB or Local :MMEMory:DESTination USB

Then, store the trace file into the USB device :MMEM:STOR:TRACe "Trace_Lable","Trace_name.trc"

2. N9320B doesn’t support changing the sweep points.

Regards -
malil

Posts: 1
Registered: 04/29/12
Re: N9320B getting trace data through SCPI
Posted: Apr 29, 2012 2:59 AM   in response to: fieldfox_user in response to: fieldfox_user
Click to report abuse...   Click to reply to this thread Reply
hello
can u success use the MMWM:STOR:TRAC?

Point your RSS reader here for a feed of the latest messages in all forums