Author Topic: Problems Transferring Setup from PC to Rigol DS2072A via NI.VISA  (Read 1294 times)

0 Members and 1 Guest are viewing this topic.

Offline iBetaTopic starter

  • Newbie
  • Posts: 9
I'm using c# .net to communicate with the DSO using NationalInstruments.VisaNS.MessageBasedSession. So far have been able to upload Event Tables from the DSO to pc ok.
The attachment shows the :SYSTem:SETup Command. I can save the DSO Configuration data to the PC, but not back again to the DSO - nothing happens.

Code: [Select]
string loadCommand = ":SYSTem:SETup?";
                mbSession.Write(loadCommand); 
                mbSession.ReadToFile("D:\\DSOSetupRTF.stp"); /
Code: [Select]
  loadCommand = ":SYSTem:SETup ";
                    mbSession.Write(loadCommand);
                     mbSession.WriteFromFile("D:\\DSOSetupRTF.stp");
I've tried other methods to write, ie WriteBytes(n) but no luck. Maybe I should write to Rigol, but no sure if they will help with something like this.

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf