06-25-2008 01:22 AM
For a Piezo tube I need to input 10 volts gradually to x terminal and once 10 v reached, it drops down to 0v. That finishes one cycle. However, sample sizes need to be multiples of 128 and I need 1ms wait times in between each sample, e.g. when x reaches 1/128 volts, wait 1 ms etc. The y graph starts the same time as x, when x finished 1 cycle (reaching 10 v and down to 0), y is a horizontal line at 0v. After x finishes the 1st cycle, the x graph is constant at 0 while y goes up to 1 volt. This process continues until y reaches 10v and x finishes 10 cycles. The entire program should finish at the same time (scan time).
I have labview 6.1 and ni-daq 7.0
THANKS
-Attached is a graph displaying this process
06-25-2008 01:42 AM
06-25-2008 03:02 AM
06-25-2008 05:39 PM - edited 06-25-2008 05:46 PM
06-26-2008 02:22 PM
Chris,
Thanks much for the sample rate info.
But, I don't know if this translates directly into WAIT TIME between samples. So, if we had 128 samples, then we would need 127 places where the graph (volt value) remains constant for a small time interval (e.g., 0.1 ms). Is this achievable?
Thanks
Shummit
06-27-2008 11:03 AM
06-30-2008 12:03 PM
Thanks Chris. appreciate your help.
The next step is I have to do the reverse process. I have to make a grayscale graph that captures all of my data points. I need to read all the incoming analog data, convert the current into readable voltage units, and place it in an array (if that's the best way) or another construct.
After I capture all the data, I need to plot it into a grayscale graph, with the x axis marking the distance the Piezo moved along the x terminal and the y axis marking movement along the y terminal (100 microns max for each). Also, I need to plot all the voltage values that were read (from -10v to +10v, including fractional values). Essentially, the (-10,-10) coordinate should be black and the (10,10) coordinate should be white. I wasn't quite clear how to link the input voltage values with the degree of grayness on an intensity graph.
Can you please direct me with the steps and pointers to the manuals on how to go about this?
Thanks again,
Shummit
07-01-2008 10:02 AM
07-02-2008 03:23 PM
07-07-2008 04:05 PM