05-26-2009 08:12 AM
Hi,
I'm trying to build a VI that ramps up the voltage output to 2 piezos, via an NI 9263. I need to be able to monitor the voltage at the piezos in order to assess their response to it. The current method only gives me the voltage at the NI 9215 which doesn't show the piezo voltage response.
Any ideas on how i can do this?
I have attached the VI below (pardon the clutter)
I will appreciate any help i can get!
05-26-2009 09:04 AM
05-26-2009 09:12 AM
My use of backward terms aside, you get the general idea of what i am trying to do :).
From your reponse, it seems like i am sort of on the right track with using the DAQ assistant. How do i synchronize the data collection with the data writing to the piezos?
Or is it possible to make the DAQ assistant in the structure run for a longer period of time.
If not, how would you do measure the response?
05-26-2009 09:16 AM
From my response, it should seem that you are on the wrong track.
Take a little time to look at the example code that comes with LabVIEW. There is one called Multi-Function-Synch AI-AO.
05-27-2009 10:39 AM
I implemented part of the VI from the Multi function synch AI-AO. It works to an extent but the data is cyclical, so that it pots the same graph over and over again. This isnt an important problem but i would like to know why that happens.
Also, im trying to display both channels for the 2 piezos on the graph. Is this possible? The current plot that i am getting shows both plots as being the same one. Am i just specifying the wrong channel?
Attached is the modified VI.
Thanks!