Jump to content


Photo
- - - - -

Folder's path


  • Please log in to reply
7 replies to this topic

#1 vane

vane

    4 more posts to go.

  • Members
  • 6 posts
  • Version:LabVIEW 8.5
  • Since:2009

Posted 14 July 2009 - 08:20 AM

HI,

I have 2 Vi (in 2 different computer) that they comunicate with 4 shared folders.
I want to create the absolute path for the folders because I want to search, write and move files from a folder to another one.

Can you help me?

Thanks

#2 dannyt

dannyt

    Extremely Active

  • Premium Member
  • 369 posts
  • Location:Devon UK
  • Version:LabVIEW 2011
  • Since:2007

Posted 14 July 2009 - 09:14 AM

HI,

I have 2 Vi (in 2 different computer) that they comunicate with 4 shared folders.
I want to create the absolute path for the folders because I want to search, write and move files from a folder to another one.

Can you help me?

Thanks


Hi Vane,

I am not to sure I really understand what your question is here, could you exand it a bit please.

Are you running the LabVIEW development environment on both the PC's ? and you just want a method for both VI's to know the absolute path to these shared folder is ?

#3 Swinders

Swinders

    3 more posts to go.

  • Members
  • 7 posts
  • Version:LabVIEW 2011
  • Since:2005

Posted 21 July 2009 - 09:59 AM

Could you use an UNC path of the form \\ComputerName\SharedFolder\Resource

Something like:
\\192.168.1.1\LabVIEW\temp.txt


#4 Elset

Elset

    Active

  • Members
  • Pip
  • 11 posts
  • Location:Ann Arbor, MI
  • Version:LabVIEW 2010
  • Since:2008

Posted 29 July 2009 - 03:49 PM

Could you use an UNC path of the form \\ComputerName\SharedFolder\Resource

Something like:

\\192.168.1.1\LabVIEW\temp.txt


I think you can also do
\\ComputerName\LabVIEW\temp.txt

--
Tim
CLA

#5 unicorn

unicorn

    Very Active

  • Members
  • PipPipPip
  • 50 posts
  • Version:LabVIEW 2010
  • Since:1994

Posted 30 July 2009 - 11:28 AM

192.168.1.1 is a local network address which might change.

If you have assigned a drive letter for a network drive, why not using this?

#6 Dan Freve

Dan Freve

    One hit wonder!

  • Members
  • 1 posts
  • Location:Chicago, IL
  • Version:LabVIEW 2009
  • Since:2005

Posted 15 October 2009 - 05:24 AM

If you're looking to convert a drive-letter type path into the universal path name (UNC), I've written a VI to do this:

http://www.dmcinfo.c...in-LabVIEW.aspx

#7 rolfk

rolfk

    LabVIEW Aficionado

  • Premium Member
  • 2,050 posts
  • Location:Netherlands
  • Version:LabVIEW 2011
  • Since:1992

Posted 16 October 2009 - 09:58 PM

My variant of Dan's VI but this time without any .Net :rolleyes:

LabVIEW 7.1 Attached File  Network Path Name.vi   55.53K   138 downloads

Rolf Kalbermatter
CIT Engineering Netherlands

#8 ShaunR

ShaunR

    LabVIEW Archetype

  • Members
  • PipPipPipPipPipPip
  • 2,271 posts
  • Version:LabVIEW 2009
  • Since:1994

Posted 16 October 2009 - 10:00 PM

without any .Net :rolleyes:

:thumbup1:
A positive attitude may not solve all your problems, but it will annoy enough people to make it worth the effort. (Herm Albright 1876-1944).

Founder and general mischief maker on www.labview-tools.com.
SQlite aficionado and websocket zealot.
If it 'aint in LabVIEW, then you 'aint got a clue!