Hi,
I am working on a project in WPF C# to save the trace of a spectrum analyzer to a .csv file on a PC for post processing. When I call the SaveTrace() method nothing seems to happen.
using NationalInstruments.Visa; namespace dcre { public partial class MainWindow : Window { private MessageBasedSession mbSession; ResourceManager rm = new ResourceManager(); string resString = "TCPIP::169.254.173.194::INSTR"; mBsession = (MessageBasedSession)rm.Open(resString); private void SaveTrace(){ mBsession.RawIO.Write(@"MMEM:STOR:TRAC 1,'Trace.csv'"); mBsession.RawIO.Write(@"MMEM:DATA? 'Trace.csv'"); } } }