LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic changing anlalog output voltage

Hello, I need advise. Here is my problem:

 

I have measuring card NI USB-6009 and I would like to change automatic output voltage from Analog output. 

I need automatic continuously change voltage for analog voltage output from 0 - 5V.

 

Any suggestion? Thanks

0 Kudos
Message 1 of 14
(3,077 Views)

This example may be of help:

C:\Program Files\National Instruments\LabVIEW <version>\examples\DAQmx\Analog Output\Voltage - On Demand Output.vi


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 2 of 14
(3,061 Views)

 


@Dejv wrote:

 

I need automatic continuously change voltage for analog voltage output from 0 - 5V.

 


Does this mean you would like to output a waveform?  Or, is the voltage adjusted in response to some type of feedback?

0 Kudos
Message 3 of 14
(3,050 Views)

Sorry I writing from another nick, but still I am Dejv 🙂

I would like with this voltage control transistor for simulate resistor. On this resistor I will display to XY graph current dependence on voltage, that is electric power.

So I would like to control this outupt voltage evenly from 0-5 volts.

 

0 Kudos
Message 4 of 14
(3,034 Views)

It sounds like you are looking to perform a voltage ramp.  Here is a simple example.  Hope this helps.

Message 5 of 14
(3,020 Views)

If I would like in voltage ramp do stop button how can I do that? I'd like to be able to do it anytime when voltage will be accrue I can click on button for stop and reset accrue. 

Thank you for advice

0 Kudos
Message 6 of 14
(2,922 Views)

Hi,
so you wants to restart or stop ramp generation? Both features could be easily implemented into that code...
See the attachment.

 

Regards,

 

O. Kuba

NIEE AE

CLA, CTA, CLED
Message 7 of 14
(2,899 Views)

Thank you very much.

And how will be looks if I would like stop and reset in one button? 

0 Kudos
Message 8 of 14
(2,894 Views)

Edit: I woul like to in one button: Start,stop/reset. So...For one click do start and for second click do stop with reset.

 

Thanks 🙂

0 Kudos
Message 9 of 14
(2,893 Views)

Dear adssad,

 

have you tried to solved this task by yourself? I think writing previous two posts may took longer time than implementation of the feature you're asking for...Smiley Wink

 

Regards,

Ondřej K.

CLA, CTA, CLED
0 Kudos
Message 10 of 14
(2,882 Views)