05-27-2014 04:44 PM
Hi,
I need help to open a word document using Teststand 2010. Any help would be greatly appreciated.
Thanks,
WJ
05-28-2014
02:12 PM
- last edited on
08-08-2024
03:29 PM
by
Content Cleaner
Hi WJ,
What exactly are you hoping to do with the Word document? Do you want to read and write data to it? Or open a TestStand report in it?
If you are hoping to manipulate a Word document or text file in general, I would recommend developing a code module in another language (LabVIEW, CVI, etc.) to do the lower level manipulation, and then use TestStand to call the code module. In general TestStand is a test executive that is meant to integrate code modules written in various languages into one test sequence. More information on code module best practices can be found here:
Regards,
05-28-2014 02:34 PM
Hi Lindsey,
Thanks for your reply, all I wanted to do is to open the word document and read it which contains instructions that need to be followed by an operator.
Thanks,
WJ
05-29-2014
08:23 AM
- last edited on
08-08-2024
03:32 PM
by
Content Cleaner
Hi WJ,
I would recommend creating a code module that opens the Word document and parses the text in it. This function could return a string containing the text you want to display. Then use an Action step in TestStand to call the code module and save the string in a local variable. You could then display this text to the end user with a Message Popup step.
Regards,
05-29-2014 09:09 AM
Hi,
Thanks for all your replies, I think I have accomplished my goal using the call Executable see picture below