LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Extracting time info, incompatible array type (1D array of waveform to waveform), analog input source

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

0 Kudos
Message 1 of 2
(2,689 Views)
Time stamps are the number of seconds since 12:00 a.m., Friday, January 1, 1904.  And, 3.224E9 is a bit over 102 years.  You can use the functions on the Timing palette to get these numbers into something a little more meaningful.
Message 2 of 2
(2,680 Views)