I have a VI that I have used successfully in Labview 7.0 The VI is set to write to a measurement file in .LVM format. However, when I choose not to save the file in Labview 8.0, I get the following error message:
Error 1 occurred at Write to Measurement File -> <VI file name>.vi
Possible reason (s):
LabVIEW: An input parameter is invalid
NI-488: Command requires GPIB controller to be Controller in Charge.
You can suppress the error message with the simple error handler and selecting "No message" as the window type. This way, if you choose not to save the file, (I assume in the save windows dialog box), you will not get an error.
Are you using the "Enable" input of the "Write to Measurement File" express VI? You can use this to basically bypass the writing to file. This input can be set based on whether or not the user chose to cancel the save to file operation.