LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error code when not saving a data file

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.
0 Kudos
Message 1 of 4
(2,532 Views)

It might help if you post your vi ^_^

See-Ming

0 Kudos
Message 2 of 4
(2,527 Views)
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.
0 Kudos
Message 3 of 4
(2,521 Views)
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.
0 Kudos
Message 4 of 4
(2,513 Views)