LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Mac Path separator

Solved!
Go to solution

Hi,

 

I am trying to port a labview-vi written in windows to mac. In windows, it uses at DLL, so I converted it to a Mac Framework. Everything is working well. But I have one problem concerning the path separator: On Mac, LabView uses a colon as separator, which surely works well with the labview-vis. If I pass this path (by convert to string-->call library node) to an external framework, the framework expects a separation as used in the terminal by a slash (/). Is there any way to use slashes as separator or to convert the path to a path the framework understands? If not, the only solution is to write a conversion on my own, but is there a better solution?

 

Thanks!

 

Christian


THINK G!! 😉
------------------------------------------------------------------------------------------------
Using LabView 2010 and 2011 on Mac and Win
Programming in Microsoft Visual C++ (Win), XCode (Mac)
0 Kudos
Message 1 of 3
(3,899 Views)
Solution
Accepted by topic author cschneider

For some Mac path/string manipulation pointers, see this blog entry .

 

It looks like the function you want is vi.lib/AdvancedString/Path To Command Line String.vi

 

Message 2 of 3
(3,877 Views)
Thank you! That's it!

THINK G!! 😉
------------------------------------------------------------------------------------------------
Using LabView 2010 and 2011 on Mac and Win
Programming in Microsoft Visual C++ (Win), XCode (Mac)
0 Kudos
Message 3 of 3
(3,872 Views)