Grampa_of_Oliva_n_Eden Posted June 16, 2006 Report Share Posted June 16, 2006 I am looking for ideas that can help with an application that will eventually be 1) deployed to RT targets (preferably 7.1) 2) Will produce multiple large data files that will exceed 2Gig each. If this was Windows only I could use HDF5 or the Large File functions from OpenG (THank you Rolf!) BUT HDF5 is not supported in RT (any version). The only idea I have so far is to "divide and conquer" (write multiple files instead of just one file). All ideas or suggestions will be greatly appreciated! Ben Quote Link to comment
crelf Posted June 16, 2006 Report Share Posted June 16, 2006 Of the top of my head, you could use reflective memory - write your data to a rm device, and have your host (Windows) read from it and save it. You would have to write some sort of handshaking so unsaved data isn't overwritten, but that wouldn't be difficult. NI has rm VIs that are very basic, but sure do the trick (we used rm on a porject that had 4 RT controllers + 1 Windows controller). Quote Link to comment
Grampa_of_Oliva_n_Eden Posted June 16, 2006 Author Report Share Posted June 16, 2006 Of the top of my head, you could use reflective memory - write your data to a rm device, and have your host (Windows) read from it and save it. You would have to write some sort of handshaking so unsaved data isn't overwritten, but that wouldn't be difficult. NI has rm VIs that are very basic, but sure do the trick (we used rm on a porject that had 4 RT controllers + 1 Windows controller). Thank you Chris You are a genius! :thumbup: This application is already using reflective memory (SCRAMNet) so I could dedicate part of the memory for internode file transfers and dedicate another Windows machine as "wicked fast" file server. Very cool. Thank you. Quote Link to comment
crelf Posted June 16, 2006 Report Share Posted June 16, 2006 "wicked fast" You're, like, totally welcome dude - furshure! Quote Link to comment
Rolf Kalbermatter Posted June 26, 2006 Report Share Posted June 26, 2006 I am looking for ideas that can help with an application that will eventually be 1) deployed to RT targets (preferably 7.1) 2) Will produce multiple large data files that will exceed 2Gig each. If this was Windows only I could use HDF5 or the Large File functions from OpenG (THank you Rolf!) BUT HDF5 is not supported in RT (any version). The only idea I have so far is to "divide and conquer" (write multiple files instead of just one file). All ideas or suggestions will be greatly appreciated! Ben The file IO APIs the Large File package uses are standard Windows 32bit APIs. The only reason this might not work is that the underlying RT OS and its WinAPI implementation does not support files bigger than 2GB at all. If that's the case there is absolutely nothing you could do in the application itself and maybe that is why HDF5 is not supported. Rolf Kalbermatter Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.