From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-02-2017 10:24 AM
Hi,
I have multiple channel TC i/p and need to monitor it constantly but save the data only when triggered and for a defined specific time (e.g. 0.01 sec). And display the saved data in a chart. I'm having issues saving the data in a file and how to set up this triggered timer case structure. Attached is the VI.
P.S. I'm using a daq assistant to read a TTL wave for the digital trigger.
Thanks for your help!
Regards,
Rohit
03-02-2017 10:50 AM
As far as the timing, you might want to look at the Elapsed Time Express VI.
For your logging loop, you can just wire the array of waveforms straight into the Write To Measurement File.
03-02-2017 11:09 AM
Thanks for the reply, the issue is that the Elapsed time express VI as to my knowledge does not have a external digital trigger starting of the timer.
03-02-2017 12:23 PM
No. Of course not.
The Elapsed Time Express VI is a software based timer.
If you have an external digital trigger (you just said "triggered" in your original message), you need to use DAQ functions to read the change in state and wire a True to the Reset input of the express VI.
Read your trigger and analog data continually. Use the timing that is built into the acquired data to determine when the "trigger" occurred and then send out a fixed number of samples from your waveforms following that.
03-02-2017 12:42 PM
There are a few things strange about that.
20kHz Sample Rate? How fast do you think Temperature actually changes? the Tjc of that system must be near super-thermal conductance. I doubt that is the case.
What is the hardware? You may be able to time your acquisition to change detection of the DI channel.
03-02-2017 01:16 PM
I'm Sorry i did not understand, I'm using this software just from couple of weeks. Can you please explain?
03-02-2017 01:17 PM
it currently should have about 10Hz as sample rate, but in future i need to use more than 100kHz/Ch
03-02-2017 01:22 PM
What is your "external digital trigger" and how are you reading that?
03-02-2017 01:27 PM
I'm using a pulse generator to generate a 2.5-5V TTL
03-02-2017 02:03 PM
@RohitMTU wrote:
I'm using a pulse generator to generate a 2.5-5V TTL
Try that one more time. What model is the hardware? The exact hardware models you have will tell us the device capabilities that are available. Then we can give you better suggestions.