I have a callback library node which returned a 2D array of size (2 x 100). This node is a data acquisition program which acquired 2 set of data of 100 points from 2 different channels. I would like to know how can i get the time of each of these 100 samples (they are of fixed sampling interval)? Do i need to do it in the data acquisition program OR can i do it in labview using the time-stamp vi to get the start of the acquisition process?
I am trying to send these 2D array and time stamp to a waveform graph. How can i combine them?
Thanks for your picture. However, i remembered that I have tried something similar last week, the error was that the "Y" can only accept a 1D array. I have not figured out how to change it to acccept a 2D array which i am planning to input. I am not sure where to change it.
I have tried the suggestions. But i encountered a problem. Even after i have initialised my array to 2D, the Build Waveform function still gives me the error of 2 different sized arrays connected.
I have posted two snapshots (jpeg format) of the "before i connect the 2D array to the Build Waveform" and "after i connect the 2D array to the Build Waveform". I am not sure where did i go wrong.
I am sure that i have a 2D array as subsequently in the vi, i have used the Index Array function to obtain the respective elements of in this array.
For another question,
This same 2D array is (8x1). Can i use a waveform graph to display 8 different points corresponding each elements on the same x-value (8 vertically plotted points)? I have tried and connected this array to a waveform graph but it produced a single point only. If i were to transpose this array, I get 8 points but on different x-value (1 point on x=0, 1 point on x=1 and so on).