LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

change path for every 24 hours

Solved!
Go to solution

Use format date and string to get the current date in a format u want.

0 Kudos
Message 11 of 25
(2,081 Views)

Thank you so much for your reply.

I have a problem while changing the date format (i.e) I would like to have year in four digit,date and month in one or two digit.

I f i give %d_%m_%y it give 18_09_15 i need 18_9_2015.Please help me to solve it

0 Kudos
Message 12 of 25
(2,070 Views)
Solution
Accepted by topic author Perarasi

Hope it will useful.

0 Kudos
Message 13 of 25
(2,064 Views)

Thank you so much.It works.Thank you all for the help.Smiley Happy

0 Kudos
Message 14 of 25
(2,055 Views)

Hi,I have a problem with path selection.The actual path it has to be select is \\coimachp.mach.corp\Data\EHS\multihub v2\17_ 9_2015.log.When i use the build path the appended path gives the same location as i mentioned above.but the read from measurement file gives the error as not a path.Can anyone help me to solve this?

Thank you in advance for your reply.

 read.png

0 Kudos
Message 15 of 25
(2,016 Views)

Are you sure those directories and that file exists?

 

Your path includes a reference to another machine.  Are you sure you have access to that other PC from the one you are running this VI on?

0 Kudos
Message 16 of 25
(1,990 Views)

Thank you for the reply.

Yes i am sure that i have access to that machine from my PC.What will be the possible reason that it says it's not a path?

0 Kudos
Message 17 of 25
(1,952 Views)

What function is giving you that error?

 

You have TWO functions that tries to read the same file.

What is the purpose of reading the same file two times and not using the data from the first read?

 

When something is not working you need to do some debugging.

Place some probes or indicators on the wires going into the different functions to see if the data match your expectation

0 Kudos
Message 18 of 25
(1,920 Views)

And one more thing, how is the "Read from Measurement File" configured?

Take a picture of the option dialog for that function.

0 Kudos
Message 19 of 25
(1,914 Views)

@Perarasi wrote:

Yes i am sure that i have access to that machine from my PC.What will be the possible reason that it says it's not a path?


Like dkfire mentioned above, you need to probe the path to see what it's saying is not a path. The error itself is telling you exactly where to look for the issue. There are many debugging tools supplied for you in LabVIEW, but if you don't use them then we won't be able to even tell you what's going wrong.

Cheers


--------,       Unofficial Forum Rules and Guidelines                                           ,--------

          '---   >The shortest distance between two nodes is a straight wire>   ---'


0 Kudos
Message 20 of 25
(1,888 Views)