06-11-2012 09:49 AM
The question probably is too basic, as I'm very new to LabVIEW. Basically, I tried to use "Open/Create/Replace File" to set my file path, but it doesn't have an output file path to wire into the "Write to measurement file express vi". I'm wondering if there is any way to make a file path with "create or replace with confirmation" settings (without creating an actual file yet), and then use that as the file path for the "Write to measurement file express vi".
06-11-2012 12:36 PM
Surely there is a better way, but here is what you can do based on your question. It seems redundant, but modify as needed.
06-11-2012 12:37 PM - edited 06-11-2012 12:38 PM
@SuSto wrote:
Is there a way to combine the "write to measurement file express vi" with the "open/create/replace file" function? Or, more basically, is there a way to wire any file path through another function and into the "write to measurement" vi?
Any Express VI can be converted to a regular VI by right-clicking on it and selecting "Open Front Panel". Yeah, I know, not very intuitive. You'll get a warning about it. Once you acknowledge you'll get a new VI which is a shell around another subVI, which is the actual meat of the Express VI. You can then modify the new VIs. When I do this I typically toss out the first-level VI since it's just a wrapper.
Basically, I tried to use "Open/Create/Replace File" to set my file path, but it doesn't have an output file path to wire into the "Write to measurement file express vi". I'm wondering if there is any way to make a file path with "create or replace with confirmation" settings (without creating an actual file yet), and then use that as the file path for the "Write to measurement file express vi".
There's a Refnum to Path function in the File I/O -> Advanced palette. EDIT: I see that Mo already provided the answer while I was entering my reply.
11-21-2012 06:37 AM
hi i am trying to append the data files in binary tdms using write to measurement file but its appending on right side but i want to append it on bottom is it possible
Thanks in advance
11-21-2012 07:16 AM
Set File Position function on Adv File Func pallete.
11-22-2012 02:29 AM
i have already tried this its appending the same manner please see my code
11-22-2012 02:29 AM - edited 11-22-2012 02:29 AM
i have already tried this its appending the same manner please see my code
11-22-2012 02:41 AM
I assume you mean you want another channel of data. If so, just merge the new signal with your other one. Use the Merge Signals on the Signal Manipulation palette. The two signals will be written as two channels in your measurement file.
11-22-2012 10:15 PM
Hi thank you for your reply but i dont want to merge i need to append the datas its appending but its appending on right side i want to append next below of that previous datas is it possible
Thank you for your time consideration and forthcoming response
11-22-2012 10:15 PM
Hi thank you for your reply but i dont want to merge i need to append the datas its appending but its appending on right side i want to append next below of that previous datas is it possible
Thank you for your time consideration and forthcoming response