Home › Forums › KX Academy › advanced capstone project 1.4 › Reply To: advanced capstone project 1.4
-
Hi @harshit-raghuvanshi ,
If you double check the pseudocode for .f1.createLapTable, you’ll see that it needs to return a table, but your function is not returning anything (you just need to add the output of “p”)
The rest of your code looks fine so once you have the lap table defined in memory,
you should be able to save it down using .Q.dpft.
edit: just another note to say that event01 and sensor01 should be passed in to your function like this:
lap:.f1.createLapTable1[event01;sensor01]
i.e. not as symbols
Hope this helps!
Laura