LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error coming when run due to the add path function with write to spreadsheet fun

Solved!
Go to solution
Solution
Accepted by topic author auree123

You don't currently have the file open in Excel when you run the program, do you? You can run into problems ttrying to access files that are currently being used by other applications.

 

Also, you should think about cleaning up the wiring on your diagram. As written your file control and wiring look more like a file indicator and wire looks like the output from the write spreadsheet file vi.

 

General coding guidelines state you should avoid running wires backwards. In addiiton, you should avoid running wires under things which is how your wire is. It runs under the vi and connects to an input connector on the left side of the VI.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
Message 11 of 14
(429 Views)

Okay, now the questions are going in circles.  Reply #4

0 Kudos
Message 12 of 14
(426 Views)

 


@Ravens Fan wrote:

Okay, now the questions are going in circles.  Reply #4


That's what happens when you multitask and read through the thread very quickly.

 

 

The points on coding style are still valid though. 🙂



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
Message 13 of 14
(422 Views)

Yes I selected one excel file (MS Excel 2007) for that path.

 

Thank You.

0 Kudos
Message 14 of 14
(417 Views)