LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sequence of time/voltage points to output step functions

Hi there,

 

I need to make a voltage controlled current meter that takes in a sequence of time and voltage points, outputting a series of step functions.

Eg. T=0 ms, V=0 V, T=5 ms, V=5 V, T=10 ms, V=0 V resulting in a 5 ms wide 5 V square wave pulse.

I am using a DAQmx (USB 6356) for this task. I have seen the example "Voltage - Continuous Output" but I am hoping to have the user define a sequence of time and voltage POINTS as opposed to varying frequency/amplitude. Any examples/suggestions would be greatly appreciated. 

0 Kudos
Message 1 of 2
(2,059 Views)

mc11

 

Can you tell us a bit more about what you mean by "points"?  From your example, it sounds like you want to output a square wave with amplitude 5V and frequency 100Hz.  Could you not implement some math in your code to translate a user defined sequence of voltages and pulse widths into amplitude and frequency?

 

0 Kudos
Message 2 of 2
(2,030 Views)