LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How is it possible to specific your own, using string constant to locate a directory where the NEW

Solved!
Go to solution

@ADXING wrote:
http://forums.ni.com/ni/attachments/ni/170/529585/​1/checkdate_LV86.vi .  This the VI I am working on... Perhaps you do a run on it and from there you will get a better idea?

I went to the link you posted in an earlier reply.  And ran the VI there.  It creates a new folder in the same directory as this VI just like the code is designed to do.

 

So what is it you are trying to do that you aren't able to do based on the instructions given above.

 

(PS.  I converted your message to English words so that other people can understand it.)

 

 

0 Kudos
Message 12 of 18
(1,284 Views)

thanks. 😃

"It creates a new folder in the same directory as this VI just like the code is designed to do"

 

problem facing is I don't want to creates a new folder in the same directory as this VI.

whereby, the VI is at another directory, as the VI runs.

it creates a new folder at different directory (the directory that i specific only)

 

what, where the parts need touch up?

figuring out at the moment.... cracking my brain.

 

any ideas? solution to share?

0 Kudos
Message 13 of 18
(1,280 Views)

Delete the "This VI" function, the Strip path function, and the broken wires and tunnel.

 

Right click on the remaining Build Path function and pick Create Constant.  Now right click on that an Browse for Path.  Go find the folder you want to use and then choose the Current Folder button.

0 Kudos
Message 14 of 18
(1,276 Views)

hmmm????

got a clear picture to show?

pictures tells a million words....

0 Kudos
Message 15 of 18
(1,273 Views)
Solution
Accepted by topic author ADXING

@ADXING wrote:

hmmm????

got a clear picture to show?

pictures tells a million words....


Yes.  But anyone who knows how to program should also be able to take some clearly written instructions and follow them. Smiley Wink 

0 Kudos
Message 16 of 18
(1,265 Views)

Smiley Very Happy

 

Many THANKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!

 

 

 

0 Kudos
Message 17 of 18
(1,259 Views)

 


@ADXING wrote:

hmmm????

got a clear picture to show?

pictures tells a million words....


 

Ravens now showed a picture, but if this poses any difficulty for you, you might be in over your head. Try to do some simple turorials and study some of the examples that ship with LabVIEW.

 

There are still many things wrong with your VI. For example it create a new folder every day, but checks millions of times per second if the date has changed, using 100% of the CPU 24 hours a day, 7 days a week, potentially starving all other processing. It is probably sufficient to spin the loop once per second or less. (This is millions of times less computations per second!).

 

Can you give us the bigger picture here this VI fits in?

0 Kudos
Message 18 of 18
(1,253 Views)