Jump to content

Niklas81

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Niklas81

  1. The data out from the read and into the write are identical, yeah, but you've overlooked a pretty important terminal on the write node:

    post-13461-027085400 1287439976_thumb.pn

    The "prepend array or string size" parameter needs to be set to false or LV prefixes a value to your data when it writes it back to disk. Pretty silly default value for that parameter, if you ask me.

    Thx, but as u can see, i have wire a false constant (LV 2010 constant) into the "prepend array or string size".

    Which version of Excel are you using? I found with Excel 2007 it worked fine if the I gave the copy an extension of .xlsx

    :oops: U gut right. The original excel file whas a .xlsx so if a give the copy the extension of .xlsx it wors fine.:D

    Thx for all help.

  2. tanks for the help. Im usung excel 2003. and there is no error in the read segment. The excel progran is not open when I run this vi. and if a save the data arr from the origial .xls file in another array controll and then read the coppy .xls file as binary and compere those data arrays it is identical. And as i wrote, this vi work whit anny ather file except .xls

  3. Hi!

    I try to make a copy of a excel file by "Read from Binary File" and then save the binary array whit "Write to Binary File".

    But the copy file is corrupt..

    Its works whith image files, and if I make a .rar file of the excel file and the copy it works...?

    This is just a labb now, but the goal is to send the .xls file over RS232 to anoter computer.

    Thans for anny healp.

    sorry for my bad english =/

    post-18308-088067600 1287418943_thumb.jp

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.