Build the path for a reason any not giving "a path".

So I have a path that leads to a directory that is already created and a string constant and combine them with the build path function VI to return a full path, to move to some write to file function. It works very well, as seen in the half top of diagram this picture (with test.txt) block:

But I want to make each file named after the date and time, as you can see I did in the bottom half of the diagram above black. You can see that the file name it produces looks pretty simple for me.

Now, I try to connect the output from the bottom to the top, instead of test.txt:

And now instead of writing to the file, it appears with a dialog window asking the name of the file to use for me. I have reviewed the documentation for function that I convey my path of the file (write on the file of spreadsheet VI), and he says:

file path is the path name of the file. If file path is empty (default) or is , the VI displays a dialog box from which you can select a file. Error 43 occurs if you cancel the dialog box.

Well, this is probably what is happening here, I guess. But why build it a path function, is not a way back?

If you go to the manual to build a path, it is said:

name or relative path is the new path component appended to base path. If name or relative path is an empty string or an invalid path, this function sets appended path to . If base path is an empty path then name or relative path must be an absolute path. This function then sets appended path to the absolute path in name or relative path.

Yet, he does not say is what a path not valid. I can't imagine why it is not, as that looks really useful for a manual to have, but good information. Googling "labview build an invalid path" returns first page manual that I've just referenced and then this page, but everything seems about invalid paths is that they can't have slashes, which is not my example.

I apologize if I am missing something obvious, but it is anywhere, or you're just supposed to guess? I guess it's possible that it is more generally known of Labview that I'll go with more experience, but it still seems that would not hurt to have right on the page. I tried a few obvious things such as the removal of spaces of my date, but no luck.

Thank you!

A file name cannot contain colon ': '.

For example, use windows Explorer and try to change a file name by inserting a ': ', this is what you would see.

Tags: NI Software

Similar Questions

Maybe you are looking for

  • iTunes iOS 7.1.2 connection problem

    I have iPhone 4 (model: A1332) with iOS installed 7.1.2.  When I try to enter in iTunes app it gives following message and doesn't show anything on the content. What is the problem? I can connect to iTunes with my Apple ID on my iPad 2 with iOS lates

  • The BIOS 1.90 solves all problems USB on Satellite M30X?

    Hello A few months after buying my M30x, I bought an external USB HDD to 200 G. The drive kept just disappear during use, so I took over, but the repair shop said they found nothing wrong with it. How you introduced me what s, update the BIOS 1.90. I

  • Firefox does not remember passwords

    My Firefox remembers a couple of passwords, but for other sites, it does not work. These sites are certainly not as exceptions (in tools, Options, etc.) and are not blocked by the site (passwords can be stored in Internet Explorer, Chrome etc.). In o

  • After upgrade to El Capitan Time Machine does not automatically

    Recently, I upgraded my Macbook Pro and iMac 24 to El Capitan.  Time Machine does not automatically work on the iMac.   I now use the backup to get a backup to run.  MacBook Pro is very well. Thinking that this might be the associated time Capsule, I

  • Replacement card mother G580 then display problems

    Hello I was wondering if someone can help me navigate through the support of Lenovo. Here is the story backwards: My husband bought a laptop G580 on 30/06/13. After less than 2 months, he began cutting use environment and do not take a charge. I call