11-21-2009 04:50 AM
hi,
pls guide me... i want to write 2D array of string and number in excel sheet in labview 7.0...
but write to spreadsheet not taking my 2d array of string and number.
see the attachment...
im using labview 7.0..
if using any other higher version than labview 7.0 means.. tell me to do the program with snapshot...
waiting for help...
11-21-2009 07:23 AM
11-22-2009 10:56 PM
hi dennis,
thank you for ur help... i thought i cant go to front panel and block diagram of write/read spread sheet... after your useful information i edited write/read spread sheet.
i have one more doubt that is... manually i'm typing some data in excel sheet as name is ****.xls.... then im giving path as same excel sheet as ***.xls... but read from spread sheet giving some juke character...
whether excel sheet to be write only through labview only open in read from spread sheet???? is it..
if not tell me how to do....
pls see this attachments....
11-23-2009 12:47 AM
11-23-2009 01:18 AM
hi,
dont mistake me im not clear now also.. Are you telling that manually typing data in excel sheet will open in read from spread sheet..
then im using labview 7.0... can u save your example program in labview 7.0..
im doing a project that user should type the PCB name in excel manually so that read from spread sheet will read the excel data and do the further process..
each and very time i cant run the write to spreadsheet for updating the excel sheet for PCB name..
11-23-2009 02:38 AM
hi i dont have the intermidiate version so i cannot convert it,
if do manuallly then you ll not be able open by read spreadsheet vi
use the ex or search the forum many ex are given in regards to excel.
11-23-2009 12:59 PM
Hi Srinivasan:
Please check the attachment. I try to save VIs into LabVIEW 7.0 version. Both VIs might be fulfil your requirement. If you have to add more functions which would be deal with Excel then you have to work on ActiveX Control. Let me know if you have problems.
Thanks
Viral Patel
11-23-2009 01:05 PM
11-24-2009 06:47 AM
hi viru,
thank you for your kind response.... dont mistake me my question is i'll create excel sheet with data will be type manually and i'll saved the excel sheet. then what im going to do is i want to open the excel sheet with labview software ie read from spread sheet or some other tools....
one kind request is im using labview 7.0 pls saved in labview 7.0..
i cant open ur write to spread sheet .vi
but i can open read 2Darray.vi... but the juke character is coming in 2d array string output
pls see this attachment...
the excel sheet(railway pcb name.xls) the data inside was typed manually and saved i want to this data....
11-24-2009 09:06 AM
Hi Srinivasan:
Please check the attached file. Save it in your system. After that follow the belowe steps:
First Step:
Run "Write 2D Array Into File.vi". After done that you can see one .xls file in your c: drvie (Location : c:\Railway_PCB_Name.xls).
Second Step:
Run "Read 2D Array From File.vi"
It reads the file which is generated by Write 2D Array Into File.vi
Now you try to read Excle file directly using Read 2D Array From file.vi which is not appropriate. If you read excel file data you have to use actvieX control for MS Office Excel.
Let me know the status of VI.
Thanks