• Home
  • Privacy policy
  • IVI Foundation
  • Home /
  • Login
  • Sign Up
  • Ask a question
  • Questions
  • Topics
  • Unanswered
  • Recommended
  • Users
  • Badges
avatar image
Question by biech · Jun 23, 2015 at 08:20 AM · ivi specification

Can IviCounter class measure width of negative pulse?

Hi,

i would like to know whether is possible to configure IviCounter to measure width of a negative pulse? If yes how i should configure IviCounter?

Thank you very much in advance

Mike

Comment

People who like this

0
10 |1000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

5 Replies

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Alan Copeland · Jun 09, 2016 at 10:10 PM

@biech

This is actually a bug in the IVI Counter Class functionality of this specific driver (you can reference this as Defect 441815). You can workaround this issue with the instrument-specific Configure method (Ag532xx.PulseWidth.Configure), or you can send the SCPI commands directly using the SCPI passthru (SCPI commands are: CONFigure:NWIDth and MEASure:NWIDth?).

Sorry it took a year!

Comment
biech

People who like this

1 · Share
10 |1000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Joseph Mueller · Jun 24, 2015 at 05:17 PM

To configure IviCounter to measure a negative pulse you need to set the Channel properties to indicate a negative slope, as well as appropriate levels.

Then you need to configure the pulse measurement. So with IVI-COM the calls would be something like:

counter.Channels.Item("chan").Slope = IIviCounterSlopeEnum.Negative;

counter.Channels.Item("chan").Level = 0.1;

counter.ConfigurePulseWidth("chan", 1e-6, 1e-9);

Of course assuming the measurement is about 1us with 1ns resolution, with a pulse defined as being the level crossing 100mV. Several other adjustments can be made by changing the Channel configuration.

Comment

People who like this

0 · Share
10 |1000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by biech · Jun 25, 2015 at 08:38 AM

Hi Joe,

thank you very much for your answer.

Unfortunately it doesn't work for me :(. I have Agilent 53220A with IviCounter Driver v. 1.0.11.0.

I want to measure 3ms negative pulse. As suggested i've executed:

cntr.Channels.Item["Channel1"].Slope = IviCounterSlopeEnum.IviCounterSlopeNegative;

cntr.Channels.Item["Channel1"].Level = 5.0;

cntr.PulseWidth.Configure("Channel1", 3e-3, 1e-4);

double pw = cntr.Measurement.Read(1000);

but this command chain still measures the "positive" part of the signal. I've also tried to first configure the PulseWidth interface and then the channel, but doesn't change anything.

Do you have a chance to check it with 53220A?

Thank you

Mike

Comment

People who like this

0 · Share
10 |1000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Joseph Mueller · Jun 25, 2015 at 07:21 PM

Yes, you are correct, I answered regarding the IVI class definition, not a specific driver. I'll forward this question to the appropriate product support team. Joe
Comment

People who like this

0 · Show 2 · Share
10 |1000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image biech · Jun 26, 2015 at 07:52 AM 0
Share

Thank you.

avatar image biech · Jul 17, 2015 at 09:04 AM 0
Share

HI Joe,

have you got some feedback from the product support team?

Mike

avatar image

Answer by biech · Jul 23, 2015 at 08:48 AM

@Joe Mueller

Hi Joe,

have you got any feedback from product suppport team concerning pulse width measurement of negative pulses?

Mike

Comment

People who like this

0 · Share
10 |1000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

what is IVI specification? 6 Answers

how to porve a DLL comply with IVI specification? 6 Answers

Why is there no IVIvna class? 1 Answer

Is there any IviClass for DC Electronic load? 1 Answer

Looking for legacy IVI specification files to conform to IVI-2003 Generation 1 Answer

Powered by AnswerHub

  • Anonymous
  • Login
  • Create
  • Ask a question
  • Spaces
  • Help
  • Explore
  • Topics
  • Questions
  • Users
  • Badges