01-17-2013 09:58 AM
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.
01-20-2013 06:45 PM
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?