09-12-2016 05:28 AM
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.
Solved! Go to Solution.
09-12-2016 05:37 AM
Yes i do have an idea but it will be good if you can attach the VI which you have developed.
09-12-2016 09:08 AM
@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
09-12-2016 09:43 PM
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.