Compare csv time data to update another csv parameter
- October 22, 2022
- 1 답변
- 517 조회
Hi there,
I'm going crazy triing to write an expression for visualize different value over time using a CSV. I've got 2 colums, the first has a frame timestamp, the second one the value that I need to visualise. The problem is that the timestamp isn't updated with a constant interval, so I'm triing to write an expression that look at the value of the first column and if this value is equal to the comp time in frame it update the visualised value taken from the second column.
Here my expression so far, I'm pretty sure that I'm missing something:
var thisFrame = timeToFrames(time);
var i = 0;
if (i == dataFrame){
i + 1
var dataFrame = footage("Scenario 4 dataset Frames + Load.csv").dataValue([0,i])}
footage("Scenario 4 dataset Frames + Load.csv").dataValue([1,dataframe])
I also attach a screenshot of the csv file.
Thanks to who'll try to help me!
