LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

write to measurement file - Create or replace with confirmation

Solved!
Go to solution

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".

0 Kudos
Message 11 of 28
(1,763 Views)

Surely there is a better way, but here is what you can do based on your question.  It seems redundant, but modify as needed.

 

Write to Measurement File VI.png

-----------------------------------------------------------------------------------------
Reese, (former CLAD, future CLD)

Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home
0 Kudos
Message 12 of 28
(1,749 Views)

@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.

 

Message 13 of 28
(1,747 Views)

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

 

0 Kudos
Message 14 of 28
(1,699 Views)

Set File Position function on Adv File Func pallete.

 

 

-----------------------------------------------------------------------------------------
Reese, (former CLAD, future CLD)

Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home
0 Kudos
Message 15 of 28
(1,695 Views)

i have already tried this its appending the same manner please see my code

0 Kudos
Message 16 of 28
(1,680 Views)

i have already tried this its appending the same manner please see my code

0 Kudos
Message 17 of 28
(1,680 Views)

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.

0 Kudos
Message 18 of 28
(1,674 Views)

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

 

 

0 Kudos
Message 19 of 28
(1,668 Views)

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

 

 

0 Kudos
Message 20 of 28
(1,668 Views)