bob43 Posted December 21, 2006 Report Share Posted December 21, 2006 I have a header I am adding to the top of a file. I am adding data and appending this file. I want to be able to verify that the header does not get corrupted. I am using the search and replace string VI or the Match pattern VI. I was wondering if anyone has approached this a different way. Quote Link to comment
Louis Manfredi Posted December 21, 2006 Report Share Posted December 21, 2006 Hi Bob: Depending on what your header looks like, there might be an easier way. You Can wire strings, like just about anything else, to the equals operator. (Also, if the header is a bunch of strings, you can compare string arrays, and right click on the comparison to choose "compare aggregates"-- giving a true value only if both arrays are identical.) Best Regards, Louis Quote Link to comment
AnalogKid2DigitalMan Posted December 21, 2006 Report Share Posted December 21, 2006 Could you write all the data first and then lastly write the header by setting the file pointer to the begining of the file? 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.