LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to save Ascii data file of VNA into my PC via GPIB NI-488.2

Hi

I am setting up the measurement using vector network analyzer (VNA) ZVCE controlled by NI 488.2. I can control the VNA remotely using ZVCE labview driver already (developed by Rohde-Schwarz). But the problem is that I can not save data file into my own PC. The 'RSZV Data Operation.vi' can save a data file into Floppy Disk and VNA's hard disk only, it can not save a data file into any other specific folder.

If anyone having an idea or know well about this process please give me the sugeestion, I will much appreciate it.
Many Thanks
0 Kudos
Message 1 of 6
(4,079 Views)
What you need to do is query the instrument for the data and then use the built in file I/O functions in LabVIEW. You may have to make several queries (i.e. trace data, specific measurements) if there is no instrument specific command to read all data. If you can provide more details on the nature of the data you want to save (array, scalars, etc.) and how you want the text file formatted, it would hlpe to provide you with a more specific answer.
0 Kudos
Message 2 of 6
(4,074 Views)
The stored data is the text file of one memory trace. Actually, the ZVCE Labview driver program can specify the format of saving data of VNA in any patern. Running labview program can store this measured data into floppy disk and VNA's hard disk, but storing data into the PC which control this equipment via GPIB still not work.
0 Kudos
Message 3 of 6
(4,071 Views)
Are you saying you cannot read the trace data into LabVIEW or you don't know how to save it? Do you have a function called RSZV Data Read Trace? I believe that will return your data into LabVIEW. That's a 1D array of DBLs returned. You can use Write to Spreadsheet File or the Express VI Write LabVIEW Measurement File.

Few instruments support a command to write to a file over the GPIB. Instrument manufacturers assume that if you are doing remote control, you're transferring data to and from the pc and you can use the file write functions of whatever language you're using.
0 Kudos
Message 4 of 6
(4,068 Views)
Thank you very much for your suggestion. The point is that I do not understand how to write the trace data into spreadsheet file, so I confuse that VNA can write data into PC by GPIB control. Anyway, I will try your comment and inform the result later
0 Kudos
Message 5 of 6
(4,064 Views)
Here's an image of the RSZV Getting Started with Write to Spreadsheet wired to the trace data. One new function and a wire.
0 Kudos
Message 6 of 6
(4,060 Views)