LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

pulse width measurement

Much better with the DAQmx Task.

 

Wire "Data" directly into pulse measurements (you need the timing information!) and the pulse duration will be in seconds rather than in samples


"Should be" isn't "Is" -Jay
0 Kudos
Message 11 of 29
(1,857 Views)

Dear Jeff!

i try to do follow what u say! but i recieved ... no result!

this is my pic, show to u!

do u want my program ( *.VI)

help me! thanks!

Download All
0 Kudos
Message 12 of 29
(1,853 Views)

It would be best to have the actual VI.  Be sure to save the front panel defaults before sending on (Edit->Make Current Values Default).



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 13 of 29
(1,851 Views)

Check "Polarity" and "Export mode"

 

 

There isn't a full cycle of data so duty cycle can't be calculated


"Should be" isn't "Is" -Jay
0 Kudos
Message 14 of 29
(1,842 Views)

hii Crossrulz

i do that, but ... i have no more!

this is my program! help me check!

thanks!

0 Kudos
Message 15 of 29
(1,835 Views)

hii Jeff

i check about that!

i have .... nothings, this my program!

help me

0 Kudos
Message 16 of 29
(1,833 Views)
0 Kudos
Message 17 of 29
(1,832 Views)

If you read the dt from the DAQmx data, what do you get.  For some reason, the graph has 0 for the dt when I change it to a control.  This could cause some problems.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 18 of 29
(1,827 Views)

I also found that you want export mode to be "no period and duty cycle" and the polarity should be "low pulse".

 

NOTE:  I only set the dt for the waveform because the graph was giving me a dt of 0.  Coming out of the DAQmx Read should have a non-zero dt.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 19 of 29
(1,824 Views)

Dear Crossrulz!

i know, i have many problem in may program! but i do not know how to correct that!

help me! i need to finish this next week!

thanks! because this is first time i do with labview!

0 Kudos
Message 20 of 29
(1,822 Views)