12-08-2008 10:23 AM
12-08-2008 11:50 AM - edited 12-08-2008 11:53 AM
Hi Paolo,
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
12-08-2008 03:29 PM
GerdW wrote:you surely mean "voltage" instead of "tension"
Or simply "Spannung". Can stand for either. 😄
12-08-2008 03:37 PM
12-08-2008 04:27 PM
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.
12-09-2008 03:04 AM - edited 12-09-2008 03:05 AM
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
12-09-2008 03:51 AM
ok about TTL puls
TTL-short pulses are predefined 5V square pulses. The question is for the task, but irrelevant.
and
12-09-2008 04:23 AM
12-09-2008 05:28 AM
Hi Paolo,
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
http://zone.ni.com/devzone/cda/tut/p/id/5434
contains Basics and advanced topics, Examples and FAQ.
If your not using DAQmx or have any other questions, please post back.
Hope this helps,
12-10-2008 05:43 AM