Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

measure a single pulse width using usb 5133

hi im trying to measure the width of a single pulseoutpout from NI SCOPE express

however pulse measurements.vi seems to expect more than a single pulse.

 

 

any ideas?

 

ta

0 Kudos
Message 1 of 4
(7,048 Views)

Hi Slugger,

 

Can you first try this with the SCOPE Soft Front Panel (SFP) located in Start >> Programs >> National Instruments >> NI-SCOPE >> NI-SCOPE Soft Front Panel.

 

This should give you the screen below:

 

Scope-SFP.png

 

Please set the items as seen in the red boxes. Make sure your trigger channel is correct Mode is set to SGL and press the measure button.

 

This will give you a Scope measurement screen. Please press the Add button. Select the correct Channel and then in the measurement type choose "Period".

 

On the main SFP window press the run button. Does the measurement give you the reading you expect?

I do not have a Scope card to test this yet, so I have been using a simulated device.

 

Regards
JamesC
NIUK and Ireland

It only takes a second to rate an answer 🙂

0 Kudos
Message 2 of 4
(6,984 Views)

HI

that works fine

 

but when i try to do a measure in labview it says that not enough cycles

 

 

annoying

0 Kudos
Message 3 of 4
(6,972 Views)

Hi Slugger,

 

That was just the first step to make sure measurement I picked was the one you wanted, and alos that the built in SCOPE measurements did what you wanted.

 

Now we know that works, you can use the SCOPE API to run the same measurement in LabVIEW as seen in this screenshot.

 

Scope-LV.png

 

You need to go to the SCOPE palette in LabVIEW go to "Measurements" and then the VI "niScope Fetch Measurement (Poly).vi"

This is the second to last VI in the screenshot above.

 

Regards
JamesC
NIUK and Ireland

It only takes a second to rate an answer 🙂

0 Kudos
Message 4 of 4
(6,970 Views)