LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I control DC output using a counter

I need to step up DC output (ch. 2) at the same frequency of a triangle wave output (ch1). Can this be done and how?

SL
0 Kudos
Message 1 of 4
(2,743 Views)
Can you clarify what you are trying to do. If you are trying to update two analog outputs from a DAQ system with two or more channels it should be straightforward. Please specify the type of hardware and version of software you are using. Also specify the update rate or frequency and the amplitude ranges you need on your two outputs.

With that information, someone on the forum will likely be abel to help you.

Lynn
0 Kudos
Message 2 of 4
(2,738 Views)
I am using an NI SCB-68 (has two analog output channels) in conjunction with Labview 7.1. I have constructed two VI's, on that sends a triangle wave to channel 1 and another that sends a DC voltage to channel 2. I have observed the outputs of both on an oscilloscope and they work just find. What I am attempting to do now is to get the DC voltage to increase for each triangle wave oscillation. I am usure of the frequency I will need but let's say 100 Hz for example. The amplitude of the triangle wave is 10 V. The DC voltage will need to go from 0-10 V.
0 Kudos
Message 3 of 4
(2,732 Views)
The SCB-68 is a connector board. Tha actual DAQ board is inside the computer and the characteristics of that determine what you can actually do.

As for changing the DC voltage with the other signal I can think of several possibilities. It depends on how the triangle wave is being generated. If you use one of the Signal Generation VIs and generate one cycle at a time in a loop, then the DC voltage could be incremented in the loop as well. If multiple cycles are generated at one time and you know the number of samples (= elements in the data array) per cycle, then the DC Voltage array value could be incremmented after the same number of samples. Beyond that it gets too complicated for a text description.

If these ideas are not enough to get you going, please post your IVs so that people on the list can offer suggestions.

Lynn
0 Kudos
Message 4 of 4
(2,723 Views)