10-27-2011 01:12 PM
Does the write to measurement file express VI open and close the file that it is writing to each time it is called like the write to spreadsheet file and write to text file VI's do? The reason I am asking is that I am using the write to measurement file express VI inside a loop and I dont want open and close the file it is writing to over and over.
10-27-2011 01:24 PM
Quick Resopnse- From digging though the Xvi (convert to regular vi and you can drill through it) It does seam to open and close the file (more than once) for each call.
10-27-2011 01:26 PM
Does this mean that I shouldnt be using it in loop?
10-27-2011 01:31 PM
PAt answer.
Don't Use Express vi's. For the most part they are not designed for effiency but for ease of use. If your use case does not need to worry about performing a few extra calulations/ operations go ahead and take the performance hit. Better, learn the file IO Palatte functions and how to use them and you'll be writing software in LabVIEW rather than "functional code" in no time.