you surely mean "voltage" instead of "tension"
Well, see the attachment for triangle waveform generation and display. There are more "waveform generation" functions already available in LabView, just look in the functions palette...
What do you mean by TTL pulse? Are you talking about how to get 5V amplitude? Or how to use some DIO-hardware? Or maybe some AO hardware? Or just some "square waveforms"?
The more specific the question, the better the answers.... You could even start with using more descriptive message subjects
Yes, language is confusing, because we have "high tension wires" (which actually means "high voltage", they are not under high tension e.g. like guitar strings) 😄
You can also post your question in German. Many will understand it.
Well, I understand German too...
But I worked in pressure sensors development where you have to differentiate between tension (mechanische Spannung oder auch Dehnung) and voltage (elektr. Spannung) carefully
ok about TTL puls
TTL-short pulses are predefined 5V square pulses. The question is for the task, but irrelevant.
Thanks for the post and I hope your well.
So to output the triangular wave (this now not being a digital 5-0V signal) you will require an Analog Ouput Task (AO). What hardware are you using? If you are using one of NI's DAQ Boards you can use the DAQmx API.
In LabVIEW there any many shipped examples for DAQmx coding. I would suggest going to, Help>>Find Examples>>Hardware Input/Ouput>>DAQmx>> Analog Generation>>Voltage.. then maybe take a look at Cont Gen voltage Wfm - Int Clk.vi.
This example you could then replace the waveform in the waveform buffer generation.vi with the code you were given earlier.
Also, a great resource for learning more about DAQmx programming please see this link:
Getting Started with NI-DAQmx: Main Page
contains Basics and advanced topics, Examples and FAQ.
If your not using DAQmx or have any other questions, please post back.
Hope this helps,