Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saving frames to a .bag file using LabView #11163

Closed
sarabouhali opened this issue Nov 29, 2022 · 3 comments
Closed

Saving frames to a .bag file using LabView #11163

sarabouhali opened this issue Nov 29, 2022 · 3 comments
Labels

Comments

@sarabouhali
Copy link

Hi I'm trying to save a bag file with the frames using labview but I can't seem to find anything online about it. Is there a way to use the labview and directly save the frames? some node with the function config. enable_record_to_file("filename.bag") as available in c++.
Thanks in advance



There are two simple things you can do:

  1. Run cmake .. -DCMAKE_BUILD_TYPE=Release before rebuilding the SDK and the examples to enable compiler optimisations
  2. Run it on a partition with faster IO, like SSD

However, saving data to CSV is extremely not efficient by definition.
We worked hard to offer a decent quality recorder with *.bag format. It should be fairly easy to use (just add config. enable_record_to_file("filename.bag");) and reasonably optimised.

You can choose a hybrid approach of recording into bag file and then extract CSVs in post-processing. I will be happy to help with the technical details.

Originally posted by @dorodnic in #1485 (comment)

@MartyG-RealSense
Copy link
Collaborator

Hi @sarabouhali Intel's record and playback C++ guide has example code for recording camera data to a bag file with the RealSense SDK's enable_record_to_file() instruction at the link below.

https://github.com/IntelRealSense/librealsense/blob/master/doc/record-and-playback.md#quick-start

There is not guidance available for implementing this C++ code as a LabVIEW VI program file though, unfortunately.

@MartyG-RealSense
Copy link
Collaborator

Hi @sarabouhali Do you require further assistance with this case, please? Thanks!

@MartyG-RealSense
Copy link
Collaborator

Case closed due to no further comments received.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants