LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pulse Width Measurement

What is the point of that image? Do you get the same signal in MAX and LabVIEW? If you do, what happens when you pass the signal to the pulse width code you have?

A DAQ task can be configured for multi-channel acquisition and set to return a 1D waveform array. This can be passed to a for loop that has the measurement code inside and it would return an array of calculated pulse widths for each channel.
0 Kudos
Message 11 of 17
(1,185 Views)

The image is coming from an Zero crossing detector circuit. It gives a pulse every times Ac voltage crosses zero. And the 1st pulse width is smaller because the circuit was switched at maximum voltage. Here is a better picture.

 

I get the same signal from MAX. But I am struggling to use it in the pulse width code.

 

Can you maybe help me to get in my pulse code where I can get the signal from outside to the input of hardware. Or as you said corfiguring for multi-channel. 

 

Can you help me with that ?

 

KInd Regards,

0 Kudos
Message 12 of 17
(1,180 Views)
Stop posting images from that hardware and start posting images of your LabVIEW acquisition code. There are several shipping examples of analog acquisition using DAQmx. If you can acquire the signal in MAX, you can acquire it in LabVIEW.
0 Kudos
Message 13 of 17
(1,172 Views)

Here is the VI.

But here the signal is generated from VI itseft.

 

Can you help me to get signal from outside. So i can put signal on my input channels.

 

Kind Regards,

0 Kudos
Message 14 of 17
(1,166 Views)
As I said, open the DAQmx examples. At the most basic level, create a new VI and drop a DAQ Assistant on the block diagram.
0 Kudos
Message 15 of 17
(1,157 Views)

Can someone help me with the error in connection.

 

Thanks.

Kind Regards,

0 Kudos
Message 16 of 17
(1,124 Views)

move the mouse pointer on that broken wire and read the context help…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 17 of 17
(1,119 Views)