11-15-2008 11:26 AM
11-15-2008 12:20 PM
Once you have finished your LabVIEW program, you would use the application builder to create a standalone executable.
The application builder is included with LabVIEW professional or available as an upgrade
What are you trying to do with excel? I don't understand the second part of your post.
11-15-2008 01:13 PM
11-17-2008 01:24 PM - edited 11-17-2008 01:26 PM
LabVIEW interacts with Microsoft Excel using its Active X hooks. Anything Microsoft has exposed in the Active X API, LabVIEW can do. This includes opening Excel, reading values, writing values, etc. Doing this can be tricky for a novice programmer and NI has created the Report Generation Toolkit for Microsoft Office that plugs into LabVIEW for a more streamlined experience.
The Developer Zone is a good place to start a search looking for Active X Excel examples: http://zone.ni.com/devzone/fn/p/sn/n16:en/sb/navsRel?q=microsoft+excel+labview&x=0&y=0
As well as the Forum: http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=2391
Reading and writing to an open Excel file could become quite cumbersome however. If the Excel file is open and the user is interacting with it, writing to that same file will return an error saying that the file is currently open. It would have to end up like this: User opens file, modifies some fields, saves file and closes excel. LabVIEW program opens file, reads fields and writes a result, then opens Excel to display to the user the result.
Is there any specific reason you want to use Excel as your user interface? You can use the front panel of a LabVIEW application to enter the data and display the results, all while writing this data to an Excel file for logging/reference in the future.
11-17-2008 01:29 PM
11-17-2008 02:54 PM
After you have build your LabVIEW program you can compile it into a standalone executable (granting you have LabVIEW Full of Pro including Application builder).
This executable can run on any PC with the LabVIEW runtime engine installed.
The application builder can create a Windows installer that installs your app and the runtime engine as well.
If looks like you have a limited set of info present in the 'Excel' sheet am I right?
If so you could easily build a GUI that allows the user to enter the values needed and you could present a list of outcoming material descriptions.
This could easily be presented in a HTML file including tables, images etc.
Good luck,
Ton
11-18-2008 07:10 AM