LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Retriggerable analog input

Solved!
Go to solution

Hello!

I'm a new Labview user.

 

Now I'm trying to write a VI which can do retriggerable analog input on a single channel. I think this VI runs well, since I just follow one of the examples. But, I want to modify this VI to add 'zero' to the data during high or low level. For example, if the triger signal is kind of TTL, the VI reads the input when the TTL is high. When the TTL is low, the VI can read zeros.

Do you have an idea?

Thank you in advance.

 

0 Kudos
Message 1 of 4
(3,132 Views)

Yes i do have  an idea but it will be good if you can attach the VI which you have developed.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 4
(3,125 Views)
Solution
Accepted by topic author photonics5

@photonics5 wrote:

Hello!

I'm a new Labview user.

 

Now I'm trying to write a VI which can do retriggerable analog input on a single channel. I think this VI runs well, since I just follow one of the examples. But, I want to modify this VI to add 'zero' to the data during high or low level. For example, if the triger signal is kind of TTL, the VI reads the input when the TTL is high. When the TTL is low, the VI can read zeros.

Do you have an idea?

Thank you in advance.

 


 

I would try using a Pause Trigger http://decibel.ni.com/content/docs/DOC-12256

If this doesn't work and your trigger signal is TTL you can acquire both signals continuously and multiply them. As already said you should post your code, we have no idea what example you used.

Ben64

0 Kudos
Message 3 of 4
(3,093 Views)

Thanks for all the reply.

I modified your attached VI to add an analog output part, which generates a square wave and acts as a trigger.

I attached the VI and the image file.

I also wired an analog output to the trigger of analog input.

This VI runs continuously, but doesn't add 'zeros' during pause.

Do you have any idea?

 

PS. I'm so sorry that my Labview version in the office is Korean. So, some characters could be broken. Some Koreans were translated into English in the image file.

0 Kudos
Message 4 of 4
(3,058 Views)