annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

Problem with Write to spreadsheet file.vi vs. Write delimited spreadsheet.vi

It was not a reproach at all.

I was just noting that opinions differ as to what is an "issue"...

In the thread I started I was essentially targeted as the bad guy who sees evil around every corner, while NI was giving a pass for releasing a revamped VI that was not to be used without extra (and undocumented) precaution in a "replace" action.

0 Kudos
Messaggio 11 di 20
2.878Visualizzazioni

If I may reactivate that thread (hopefully monitored, since there is a CAR for it), that revamped VI is missing a critical information for write tasks, namely whether or not it has been cancelled by the user. I'd suggest to add this output to the VI (assuming it is worked on).

0 Kudos
Messaggio 12 di 20
2.731Visualizzazioni

@X. wrote:

If I may reactivate that thread (hopefully monitored, since there is a CAR for it), that revamped VI is missing a critical information for write tasks, namely whether or not it has been cancelled by the user. I'd suggest to add this output to the VI (assuming it is worked on).


You will get error 43 when the user cancels it.  That is simple enough to detect.  I do not see a reason for another output.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Messaggio 13 di 20
2.724Visualizzazioni

Fair enough. However, notice the quasi-omnipresence of that output in other file functions:

Screen Shot 2016-07-05 at 13.17.35.png

Screen Shot 2016-07-05 at 13.18.55.png

Screen Shot 2016-07-05 at 13.19.18.png

etc...

It would simplify code consistency to not have to handle a specific error code to test for an expected user action (I would never have considered cancelling an action as an error if anyone had bothered to ask me).

0 Kudos
Messaggio 14 di 20
2.714Visualizzazioni

X. wrote: (I would never have considered cancelling an action as an error if anyone had bothered to ask me).

But do notice that you do get an error out of those primitives as well (error code 43).  My initial reaction matches yours, but as I have used it, it does make a lot of sense to throw the error since nothing down the line should work.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Messaggio 15 di 20
2.705Visualizzazioni

hello, 

I met a problem. i creart a program in labview 2016, and build a application .exe, Write delimited spreadsheet.vi had been used to this program.  this application exe does work and creat a spreadsheet file.  

i copy this application exe to another computer, and the labview 2013 had been installed to this computer.  then , this applicatin exe can't creat the spreadsheet file. i have check the path, it's not problem. can you tell me the reason? thank you very much.

0 Kudos
Messaggio 16 di 20
2.651Visualizzazioni

You'll have to provide more information than that.

 

Does the VI work on the other PC within LV2013 development environment?

Check to make sure that the Write to Spreadsheet File is all wired up correctly in LV 2013.  The connector panels are slightly different between the two subVI's.

0 Kudos
Messaggio 17 di 20
2.650Visualizzazioni

thank you very much, i have found the problem.

0 Kudos
Messaggio 18 di 20
2.630Visualizzazioni

Please give a quick description to what you found.  That way if someone in the future reads the thread trying to solve a similar problem, they can learn from your experience.

0 Kudos
Messaggio 19 di 20
2.624Visualizzazioni

@Nicholasamy wrote:

hello, 

I met a problem. i creart a program in labview 2016, and build a application .exe, Write delimited spreadsheet.vi had been used to this program.  this application exe does work and creat a spreadsheet file.  

i copy this application exe to another computer, and the labview 2013 had been installed to this computer.  then , this applicatin exe can't creat the spreadsheet file. i have check the path, it's not problem. can you tell me the reason? thank you very much.


You need the 2016 runtime. 🙂

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Messaggio 20 di 20
2.618Visualizzazioni