slaclab / pysmurf

Other
2 stars 9 forks source link

getAllData() function for SmurfPacket #676

Closed jlashner closed 2 years ago

jlashner commented 2 years ago

Currently the only way to access data from a SmurfPacket is to individually call the getData(chan) method for each channel. It would be much faster to have a single function return an array of all the data at once to get rid of repeated function and pointer calls.

agustiner commented 2 years ago

Done. Closing.