07-05-2018 11:43 AM
Hello Community !
I'm working on a Project where i have a Rampsignal as Angle-Data-Informations. It was possible for me to save the Data, but its difficult for me to read them out, calculate and diplay them in a X-Y-Diagramm.
To Read out the TDMS i use a for-counted variable for the Y-Value and with the X-Y-Value Read. It's slow and sometimes through this way my calculations have failures.
The problem starts with the calculation.
This Ramp starts at 0 Deggree and Restarts with 40 Degree. Each 40 Degree i want to add to the Signal again 40 Degrees. In the End the Ramps should become one linear Rampsignal.
For this i have to detect two X Values between two Y-Positions.
At the moment i use a shift register to compare the two X Values which are time delayed. If Xnew is smaller than Xold the Signal gets an Offset. It works mostly but only when the Calulation is made very slow and sometimes it doesn't recognize that there was a jumping point.
My question is if there is a possiblity to take all the data of the TDMS File in an Array and calculate fastly the two X Values between the two y positions.
Thank you for reading!
Greetings
07-10-2018 11:33 AM
Hey Hub94,
I think I understand what you are trying to do. But I would be easier if you can post a VI snippet of your code and we cam optimise that.