AnsweredAssumed Answered

loading ARB to voltile memory IVI driver C 33522A

Question asked by ricardo on Apr 19, 2011
Latest reply on Apr 20, 2011 by lhornburg
Hi,

I try to load an Arbitrary Waveform which i have stored on the Agilent. When i want to load a waveform with 100,000 datapoints it works very well but when i tried to load a waveform with more than 750,000 datapoints i get the error message
"System error; internal software error" (error code: -310).
I used an Agilent 33522A with option 2 (16Mega Samples). When i tried to start the ARB manualy it woks without any problems...

I am using this code:
        public void startARB(string name)
        {
            try
            {
                channel1 = _FGDriver.Channels.get_Item("Channel1");

                /*Set Output Load to High Z*/
                channel1.Output.SetLoadInfinity();

                int intEC = 0;
                string stringEM = null;
                _FGDriver.Utility.ErrorQuery(ref intEC, ref stringEM);

                /*Load Arb*/
                channel1.OutputFunction.Function = Ag3352xOutputFunctionEnum.Ag3352xOutputFunctionArbitrary;

                channel1.OutputFunction.ArbitraryWaveform.Clear();
               
                channel1.OutputFunction.ArbitraryWaveform.OpenArbWaveform(actual_dir + name);

                channel1.OutputFunction.ArbitraryWaveform.SelectArbWaveform("\""+actual_dir+name+"\"");

                channel1.Output.Enabled = true;              
            }
            catch (Exception)
            {
                int intEC = 0;
                string stringEM = null;
                _FGDriver.Utility.ErrorQuery(ref intEC, ref stringEM); 
            }
        }


Thanks  

Outcomes