d_nikolaos Posted October 26, 2008 Report Share Posted October 26, 2008 Hello, I have made two Vi's. The fisrt one saves some random numbers to .xls file and represent them at the same time. The second one reads them. My problem is that I read them but I can't represent them to a plot. These are the two VI's Quote Link to comment
Minh Pham Posted October 28, 2008 Report Share Posted October 28, 2008 QUOTE (d_nikolaos @ Oct 25 2008, 08:33 PM) Hello,I have made two Vi's. The fisrt one saves some random numbers to .xls file and represent them at the same time. The second one reads them. My problem is that I read them but I can't represent them to a plot. These are the two VI's personally i dunt like lvm file, as you mentioned you want xls file it is better to use the 'write to spreedsheet file' and 'read from spreedsheet file' functions under the file i/o within function palette. Specify your file to save as *.xls, this will allow you to wire in 1D or 2D array of data. example as shown. Quote Link to comment
d_nikolaos Posted October 28, 2008 Author Report Share Posted October 28, 2008 Thank you very much for your solution. Moreover I want to ask if I can read a specific cell from the excel file. Quote Link to comment
Minh Pham Posted October 28, 2008 Report Share Posted October 28, 2008 QUOTE (d_nikolaos @ Oct 27 2008, 09:52 PM) Thank you very much for your solution.Moreover I want to ask if I can read a specific cell from the excel file. To interact with excel file, you need to know activeX. You can also look at the shipped example that comes with labVIEW under Communicating with external applications >>activeX>>Excel Example from ni: http://zone.ni.com/devzone/cda/epd/p/id/3409 Good luck Quote Link to comment
d_nikolaos Posted October 28, 2008 Author Report Share Posted October 28, 2008 QUOTE (Minh Pham @ Oct 28 2008, 12:04 AM) To interact with excel file, you need to know activeX. You can also look at the shipped example that comes with labVIEW under Communicating withexternal applications >>activeX>>Excel Example from ni: http://zone.ni.com/devzone/cda/epd/p/id/3409 Good luck I take a look to the example from ni but I get confused so I desided not to spend many time to it. I managed to do my, without to read the specific cell I asked for, but straight from labview. Thank you very much for your time. Quote Link to comment
Minh Pham Posted October 29, 2008 Report Share Posted October 29, 2008 QUOTE (d_nikolaos @ Oct 28 2008, 09:18 AM) I take a look to the example from ni but I get confused so I desided not tospend many time to it. I managed to do my, without to read the specific cell I asked for, but straight from labview. Thank you very much for your time. you r welcome, good luck Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.