06-26-2012 03:18 PM
Hey,
I am new at this labview stuff, and I am stuck trying to figure this problem out. Are there any converter items or type converter that will help me convert a "type of the source in automation reference class" (activeX) to a "type of the sink is file path"(File I/O).
Thanks,
06-26-2012 03:21 PM
It would help if you could post your VI that you are having difficulty with. Based on what types you provided doesn't sound like something that will work together. But seeing the code would go a long way in seeing what you are trying to do.
06-26-2012 03:36 PM
Your automation reference is sourced from a file path to begin with. Can't you just use that?
06-26-2012 03:54 PM
Mark,
here I have attached my VI.
thanks for looking into this.
06-26-2012 03:57 PM
Yea, that won't work. If you are just wanting to write to a text file, give it one. I'm not quite sure what you are trying to accomplish with the range.
06-26-2012 04:06 PM
As you know I am struggling with the writing data to excel with a specific actions that satisfy my needs. The activeX has everything except for the delimiter, and the labview's "write to spreadsheet file" VI has a working delimiter. So I was trying to incorporate the two together.
Sorry if that sounds abit stupid.
06-26-2012 04:10 PM
As already stated you can't do what you are trying to do. What specifically do you need from Excel that you can't do with a simple CSV file? You can always read a CSV into Excel and manipulate the data with all that nice spreadsheet stuff once you have the data in the worksheet. I don't think you have to do all the Excel work in LabVIEW.
06-27-2012 12:57 PM
So I have a VI that save it into a (.csv) file, but for some odd reason my string doesn't delimits when it sees a comma. can you take a look at this VI and see what went wrong?
Thanks,
06-27-2012 01:20 PM - edited 06-27-2012 01:22 PM
Your Array to SpreadSheet String function is removing your delimiter before writing to the file.
Edit: Forget what I said, I was looking at the data wrong. I'll have another look.
06-27-2012 01:25 PM
@boodmiester wrote:
...but for some odd reason my string doesn't delimits when it sees a comma. can you take a look at this VI and see what went wrong?
Thanks,
What do you mean by this statement?