N/APosted on - 12/13/2013
I would like to import a few files from Excel that contain data in two rows each via LABTALK I want to use that data to plot an XY coordinate graph. I have written a script but was unsuccessful in importing the files. Please help me with the correct code. Thanks.
Import Excel files via LABTALK
This task requires a code that will be inserted in a cell. The code is as below:
dlgfile gr:=Excel mu:=1;
file$ = fname.GetToken(ii,CRLF)$;
// Customize Excel import options as needed
plotxy (1,2) plot:=200;
Open a workbook. Go “Formulas” from the ribbon on the top and select “Insert Function”. Paste the code there, and fill all the argument fields accordingly.