04-12-2005 07:22 PM
04-13-2005 06:03 PM
04-14-2005 05:39 PM
04-15-2005 04:52 PM
04-17-2005 10:06 AM
04-18-2005 10:13 AM
07-20-2005 04:38 PM
I was unable to get your Vi to write data to the cell of my choosing. So I was unable to verify that it worked. I think you were able to get your vi to work is because you had excel open in the back ground.
I have found that if I open excel manually and leave it open my program will work every time. So I think you were correct in thinking that my program wasn't working because the addin (analysis tool pak) was not being called by excel before I would try to read a cell that used a DEC to HEX formula.
So my question is-- Labview has a (active X function) property node under application called ADDins. Is there anyway to use this to call in the (analysis tool pak) before I read the cell? I have tried to figure out how to use this but have had no luck.
Thanks for you help
07-21-2005 11:16 AM
07-21-2005 11:09 PM
Hi,
Could you elaborate on how you are activating and checking for activation of Excel Add-Ins in LabVIEW? I thought that Analysis Toolpak addins got enabled when you activated them. Can you post a VI that shows that Excel Addins have been activated but that still gives wrong results for some mathematical calculations requiring Analysis Toolpak?
Ankita
07-22-2005 09:28 AM
Here is the VI's and excel file that I'm using. What you can do to test is run the main vi which will run the (write to excel vi) then run the (read excel vi). Stop the program the error occurs in the (read excel vi). Then look at the excel sheet that is being written to and then go to tools addins disable the addin and the rein able the addins. You will then see as soon as you reenalbe the addins the dec to hex conversion will convert.