LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Execl write to location

I'm using the Channel Monitor.vi(from Ni example) to monitor the Bus.I would like to monitor 2 Messages and log the values to an excel sheet.I'm using a modified version of Write_to_Spreadsheet.vi to write to an excel sheet.

 

Is it possbile to write to a specific location in the Excel sheet. say Start at Row X-Column Y ? The Write_to_Spreadsheet.vi always writes from the location (0,0).

 

Thanks

 

-Vamshi

0 Kudos
Message 1 of 2
(2,241 Views)

Hi Vamshi,

      To write to a specific location of an Excel sheet you'd probably use ActiveX functions (or possibly .NET functions.)

Use of ActiveX can carry some portablilty problems, and since the file you're working with is a tab-delimited text file, you might avoid the ActiveX stuff with a little 2D array manipulation.  See example attached. Smiley Wink

 

Cheers!

"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
0 Kudos
Message 2 of 2
(2,218 Views)