Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
4 ratings:
 3.25 out of 5     Rate this Document

Why do I get Error 1430 when using string-to-path on my VxWorks controller?

Primary Software: LabVIEW Modules>>Real-Time Module
Primary Software Version: 8.5.1
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
When I try to perform file I/O on my VxWorks controller, I get Error 1430: "The path is empty or relative. You must use an absolute path." How can I resolve this?

Solution:
This error can occur if the string that you build into a path uses c:\ as the root directory. If you are building the file path from a string, you should use /c/. This is because the VxWorks OS uses Unix-style file paths.

An alternative is to use a file path constant of c:\ and then use the Build Path vi to add your string constant to the path.

Related Links:

Attachments:





Report Date: 08/01/2008
Last Updated: 08/07/2008
Document ID: 4O08M6Z6

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit