AnsweredAssumed Answered

Save .csv data file into PC from PNA-X

Question asked by adala on Mar 30, 2015
Latest reply on Apr 1, 2015 by bhokkan
Hi,

I'm writing a program in C++ and i communicate with PCI-GPIB. Everythin is ok i can read data and send commands but i can't save data into a .csv file from pna into PC. I always have this error : "Undefined header"

this command has a problem :
GPIBWrite("MMEMory:STORe:DATA \"myData.csv\",\"CSV Formatted Data\",\"Trace\",\"Displayed\",1");

this is a part of code :

GPIBWrite("CALCulate1:PARameter:SELect 'My_S11'");
     GPIBWrite("FORM:DATA REAL,32");
     GPIBWrite("calculate1:parameter:mnumber:select 1");
     GPIBWrite("MMEMory:STORe:DATA \"myData.csv\",\"CSV Formatted Data\",\"Trace\",\"Displayed\",1");

Thank for your helping,

Best regards

Edited by: Adala on Mar 30, 2015 8:28 AM

Edited by: Adala on Mar 30, 2015 8:29 AM

Edited by: Adala on Mar 30, 2015 8:30 AM

Edited by: Adala on Mar 30, 2015 8:31 AM  

Outcomes