I need to perform some matrix manipulations on the data of 4 signals. To do this I need to copy the contents of the signals in a matrix.
The signal (‘1’) has the following form:
Signal with 24,000 64-bit floating points
The matrix (‘DataMatrix’) has the folowing form:
Data matrix with 4 data series with 24,000 64-bit floating point values each
I copy the data using:
ActiveDatabase.RootFolder.Object(“DataMatrix”).FillColumns “‘1′”, fpDataComponentY, , , 1, 1
This produces the error:
A change of values is not possible. The following error has occured: wrong data type. The process has been canceled
If try to copy the number 1 to the matrix using FillColumns “1” then there is no problem.
How should I copy the signals to the data matrix?