04-11-2017 10:26 PM
Hello, i need make convertion from dynamic data and after to dynamic data but i have some issue, after this convertion on X scale i have diffrent value, in the example below in Graph there are values from 0-0,1 and in Graph 2 from 0-1000, how can i solve this problem with no changing input signal?
Solved! Go to Solution.
04-11-2017 10:51 PM
The solution is to not go from dynamic data to an array to dynamic data again.
Your original dynamic data wire contained the timing information created by the simulated signal, which is a dT of 1/10,000 or 0.0001. Yu lost that timing data when you converted to an array. Then when you went back to dynamic data, it assumed a dT of 1. Thus you multiplied your dT or X scaling factor by 10,000.
If you do need to convert from dynamic data to go back (and I don't know why you'd want to do that) configure those mini-express VI's that do the conversion to go to the waveform data type.
04-11-2017 11:17 PM
Thanks for the answer, it would work with this simple example but i use this conversion becouse i need to use a IIR filter (in output i cant use waveform), can you have some idea how to change this with filter?
04-12-2017 02:56 AM
If you're really fixed on wanting to use the dynamic data type and the array, but changing back to dynamic data for the graph, you can either change the scaling setting on the graph or do this:
Here, I've converted the DDT to Waveform, and then bundled the new array into the waveform using Build Waveform. This preserves the existing t0, dt settings. Then I use a different configuration of the To Dynamic Data node (WF -> DDT) to get dynamic data.
04-12-2017 06:14 AM
Thank you very much, that was exacly what i needed.