I have a number from a kangaroo solver which is continuously changing. How to plot it in real time with a particular sampling time?
You can use the Value Tracker component:
kangaroo_valuetracker.gh (14.2 KB)
Is it possible to export these values with a particular sampling rate onto an excel sheet or a txt file?
For that you probably need the Data Recorder component.
kangaroo_valuerecorder.gh (13.0 KB)
From the output of this you can stream or save to an excel or text file.
The recorder stores a value every time its input updates, so there isn’t a direct way to control the sampling rate, but if you are using the bouncy solver, you can change the ‘Iterations’ setting to control how many steps the solver takes between output values which are then stored.