AnsweredAssumed Answered

No results of totalizecontinuous with 53220a as ivi-com counter

Question asked by michal.bieszczad@flowtec.endress.com on May 29, 2015
Latest reply on Jun 2, 2015 by michal.bieszczad@flowtec.endress.com
Hi,
i want to count pulses with TotalizeContinuous using 53220a as ivi com counter. That is the code i use:


cntr.Channels.Item["Channel1"].Configure(1e+6, IviCounterCouplingEnum.IviCounterCouplingDC, 10.0);
cntr.Channels.Item["Channel1"].ConfigureLevel(15.0, 0.0);
cntr.TotalizeContinuous.Configure("Channel1");
cntr.TotalizeContinuous.Start();
System.Threading.Thread.Sleep(10000);
cntr.TotalizeContinuous.Stop();
long number = cntr.TotalizeContinuous.FetchCount();

As a result of TotalizeContinuous.FetchCount() i get an exception that this method is not supported. Is my only option switching back to instrument specific driver? 
Is there an option of getting the pulse number with cntr.TotalizeTimed? How shall i set up the measurement for it:

cntr.TotalizeTimed.Configure("Channel1",10.0);
System.Threading.Thread.Sleep(12000);
??????

Thank you very much in advance
mike

Hardware used:
Agilent 53220a

Software used:
IVI-Com drivers for 53220a, version 1.0.11.0
IO Libraries version 17.1.19313.5
Microsoft Visual Studio 2010, version 10.0.40219.1 SP1  

Outcomes