LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Linear Voltage Ramp (Analog)

also i will learn details today i am going to school 😄
0 Kudos
Message 11 of 26
(2,255 Views)

Hi Siyah,

 

For analog output of a sawtooth wave or a triangle wave, there are VIs that create these waveforms for you. You just have to feed the output of these VIs into the DAQmx Write.vi. I have attached two pictures of the functions palette that show the VIs that can be used to create these waveforms. 

 

There are also examples that ship with LabVIEW that do exactly what you're looking for. These examples can be found in the example finder. To get to the example finder just open LabVIEW and at the bottom right of the welcome page select "Find Examples." You can also get there by opening a new VI and going to Help>>Find Examples... When you get to the example finder, browse to the folder Hardware Input and Output>>DAQmx>>Analog Generation>>Voltage and take a look at the VI called Cont Gen Voltage Wfm - Int Clk.vi. This VI will do exactly what you want and if you need some variation of this the other example VIs in this folder are also great.

 

Chris W
Download All
0 Kudos
Message 12 of 26
(2,236 Views)

First thanks a lot for your concerne.

 

I have talked with my teacher who knows nothing about the software.He said that we must set frequency amplitude and duration.There will be two options that we can choose triangle and saw-tooth.I think this project is not too hard but here in Turkey there is no option for me to learn labview because there is no one here who knows this sowtware.I am very newbie at labview.

 

I looked at the pictures you send but because of the fact that i am very newbie, i couldnt understand so much.

 

And in my labview there named Cont Gen Voltage Wfm - Int Clk.vi maybe because of the version of the program.

 

Here is Screenshot


 

I am so desperate please help 

 

Thanks a lot.

0 Kudos
Message 13 of 26
(2,221 Views)

Hi Siyah,

 

You may not have the DAQmx driver installed, so you may be missing some of the DAQmx shipping examples. To install this driver, follow this link. If you just run the installer with the default installation options it should just install the rest of the DAQmx examples to your example finder. I would definitely suggest doing this for future use of LabVIEW. There are a lot of really good example programs that perform a lot of different types of functions.

 

I have also posted a copy of the VI I was telling you about in my previous post, just to get you started. I would still suggest downloading the DAQmx driver. Good luck.

0 Kudos
Message 14 of 26
(2,198 Views)

Hi again Cris W.

 

I know I am annoying yo.I am really sorry but there is a problem again 😞

When installing DAQmx driver  installer gave and error like this.And i am using labview 8.6

 

 

 

But it installed the driver anyway. And the installing finished succesfully.

 

But after i tried the example  Cont Gen Voltage Wfm-Int Clk.vi and runned the vi an error ocured like this.

 

 

Is this error may be occured because of the support problem in your opinion?

 

With all respect.

 

Osman Onur ERDOĞAN

0 Kudos
Message 15 of 26
(2,180 Views)

Hi Siyah,

 

The reason why you may have been getting the "LabVIEW Version Not Supported" warning message during the NI-DAQmx installation is because you may have an older version of LabVIEW installed on your machine which is not supported by this version of DAQmx. You can ignore this warning message as it seems like the drivers were properly installed on your newer version of LabVIEW.

 

As for the error you are getting when running the example program, I would first like to point out that you may have opened the wrong example as your screenshot displays Cont Gen Voltage Wfm-Ext Clk.vi, which uses an external clock to generate your samples rather than Cont Gen Voltage Wfm-Int Clk.vi, which uses the internal sample clock. Secondly, the error you are getting is associated with the fact that you may have the wrong device selected for the particular task you are running. By default, this example is trying to run the task on Device 1 (dev1) on analog putout channels 1 and 2 (ao1:2). It may be possible that your device may have a different name and so I recommend you verify this in Measurement and Automation Explorer (MAX) under Start » All Programs » National Instruments. I have attached a screenshot to show you where you may be able to get your device name.

 

I hope this helps.

 

Message Edited by S_Hong on 12-22-2008 02:45 PM
S_Hong
National Instruments
Applications Engineer
0 Kudos
Message 16 of 26
(2,122 Views)

Hi S_Hong

 

First thanks a lot for your reply.

 

my MAX version is 4.5 and mine is not like your screenshot 😄

 

 

 

I am about to get crazy.I think this software is not for me. I am gonna repeat whole term and choose another project eith another software. 😄

 

I have worst days of my life 

 

But thanks a lot anyway for your concerne and reply.

 

God be with you.. 😄

 

 

0 Kudos
Message 17 of 26
(2,108 Views)

Hi S_Hong

 

I made huge things with one of my friends' helps now if you are ok i want to ask a question to you

I will apriciate if you answer tit.

I am posting my vi 

There is a problem.

The signal is getting thight when time goes on.I want to make it stable like this.

 

 

 

 But when time goes it becomes like this

 

 

 

And at the end it when I push stop button It ends like this and give this error again.

 

 

 

Here is vi.

 

Signal.vi

 

Thanks  already

With all respect

 

Osman Onur ERDOĞAN

 

 

 

 

 

 

 

0 Kudos
Message 18 of 26
(2,072 Views)
STOP posting images and files that are hosted any place other than NI. I for one, am blocked from these odd sites and I'm sure a lot of other forum members are as well. Just use the attachment option below the message body.
0 Kudos
Message 19 of 26
(2,068 Views)

Sorry.

I couldn't see before but i can see now.

 

Sorry again.

0 Kudos
Message 20 of 26
(2,064 Views)