Dear All,
I have the following problem, if anybody can help I will be more than
grateful.
I have a signal generator to create sine waves and in my vi I am using
Analog Input vi (configure, start, read vi ) to acquire this sine wave.
I know I can have the voltage values and time information written in a
text file, but I want to get them in the vi and use the time
information to trigger an other event. Using a for loop and creating
time values are not helpful since the timing is critical for an other
event.
When I wire the waveform output from the Read vi to "Get waveform time
array.vi" or "Waveform to XY pairs" it is giving me a "You have
connected an array to its element type" error. I am guessing the Analog
Read vi thinks that there are several waveforms.
Using index array.vi helps fix broken wire between Analog Read.vi and
Get Waveform Time .vi but it does not allow getting true data from Get
Waveform Time Array.vi. I mean all the time array is filled with 3.224
E+9. My vi is attached. Same case is true for also Waveform to XY
Pairs.vi. I mean all of the xy pairs are same and some funny numbers.
Anyway here is my vi:
http://ilter.gercek.info/time.vi
Thank you very much for your help.
Best wishes,
ilter