Hi,
I have been searching the threads for a way to open and extract data from an excel file and display it on screen. I managed to find an example which pretty much does what i need it to do.
I have attached a copy of this so that anyone reading this can have a better understanding of my questions.
An over view of what i want to do and why is as follows.
I have a system which is currently performing DDEpoke of data into an excel spreadsheet after the VI first opens this excel file. the original VI would open the spreadsheet and then read the data being supplied into the excel file. It would then display the numerical values in individual slide display bars and then output those values as analogue voltages to be measured externally to the computer.
When we moved the software onto a new windows 7 64 bit pc there is an error which I cant fix and the person who origanlly wrote it is no longer working for our company. They also took the origanl files with them so no chance of updating it.
I am now working to write a new one to perform the same job.
The example vi i have attached uses ActiveX and allows me to open the excel file, extract the data I want and does display this in an array. BUT, it then closes the file and finishes the sequence.
What I would like to do is change it so that it opens the excel file, retrieves the data, displays it and then waits for any changes and then updates the display.
I only want the sequence to close when the operator chooses to do so.
Can anybody help me with how to loop the data extraction and update the display?
thanks in advance
Nathan