VI Name Property Restrictio​ns

I am using an 8421 serial card, so to write or read on Port 1 you need a Visa Write with the "Visa Resource Name" "ASRL11::INSTR".
I call the Serial Daemon template and then rename it to the instance and it throws an error "Error 1 occurred at Property Node (arg 1) in Daemon Control.vi" when I try to name the daemon "Serial Daemon(ASRL11::INSTR).vi"
I do the same thin with my analog cards except I call them "Analog Daemon(Dev3/line2).vi"
I'm assuming it has something to do with the :: in the name, am I correct? Also, what are some other restrictions in dynamically naming VIs? 

The colon is used for indicating a VI's fully qualified name when it's part of a library, like a class or an XControl (for example "myclass.lvclass:VI 1.vi"), so it can't be used as part of the VI's name. In the example, the VI is called VI 1.vi, but it's part of the class, so you need that part as well to access it.
A quick test seems to indicate that the property accepts any other ASCII character.
Try to take over the world!

Similar Messages

  • The File name property is not valid. The file name is a device or contains invalid characters

    I have an SSIS task that has run successfully for years. They just moved the dtsx to a new server and now it is failing. 
    Issue:
    The task has a data flow that writes a raw file destination. It then has a subsequent data flow that reads the raw file destination. 
    The path and name of the raw file is passed to each of the data flows via the same variable. 
    The raw file resides in a folder on the server in the same path that the dtsx resides in. 
    The task fails with the "The File name property is not valid. The file name is a device or contains invalid characters" error when trying to access the raw file.
    What we have done to troubleshoot:
    1. I ran the task successfully on my local machine so it is definitely a server issue.
    2. The first thing we were seeing was that it failed trying to write to the raw file. The task is set to "Create Always". 
    3. We saw that the dba's copied over the entire directory structure from the old server which included a previously created raw file, so we deleted the raw file.
    4. We reran the task and it successfully wrote a new raw file but then failed on reading the raw file with the same error as above.
    5. We reran the task AGAIN and this time it failed trying to write the raw file throwing the same error as above.
    6. The dba looked at the directory and the account that performs the task has full control.
    7. The dba looked at the raw file that was created and verified that the account that performs the task has full control of the file and that it is the owner of the file.
    Summary:
    The task fails when trying to access the file EXCEPT when the file does not exist. In that situation it can write the file but subsequently fails in accessing it again.

    Hi Whalensdad,
    Based on my research, the issue can be caused by the following reasons:
    There are some invalid characters in the File name at package runtime. In this scenario, just as Russ said, could you please post the value that is in the File name variable? Also use a Script Task with Messagebox.show to show the variable values at runtime.
    May be it changes to others at run time.
    The account runs the package not having access to all the folders in the path. Since you are moving the dtsx file from one server to the current server, do you also move the raw file to the same folder in the current server? Does the user runs the package
    have access to all the folders in the path? To solve this, please ensure that the user has access to all folders and the raw file in the path on the current server.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support
    Please see the response above. I can't use a message box on a server so I logged the values to the database. The resource account has full control to the folder. I haven't been able to get the DBA to check the SQL Agents permissions, but I was always under
    the impression that if you use "Run As" on the task, it will not use the SQL Agent but the account you identify it to "Run As". The "Run As" account has full control on the folder and file.

  • How do I change the name property of a file in a document library?

    I am trying to come up with an Event Receiver that will change the name property of an file when it is uploaded. For instance when a file is uploaded into a document Library, currently the Title is being generated (which is fine)...I want to be able to
    change the "Name" property from whatever it is, to match exactly what is in the "Title" property. Are there any sample codes/blogs out there that I can take a look at? Has anyone  had any experience doing this? It seems like something
    that should be straight forward, to change the "Name" property to match what is in the "Tilte" property.

    Hi,     
    You can try the code below which use the SPFile.MoveTo() function to change the name of the file.
    EventFiringEnabled = false;
    SPFile f = properties.ListItem.File;
    string spfileExt = new FileInfo(f.Name).Extension;
    f.MoveTo(properties.ListItem.ParentList.RootFolder.Url +
    "/" + properties.ListItem["Title"]+ "_new" + spfileExt);
    f.Update();
    EventFiringEnabled = true;
    Here is a similar thread for your reference:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/5cafb8e4-bb85-4147-9bda-4ab42a4d4817/sharepoint-2013-event-receiver-to-rename-files-not-working?forum=sharepointdevelopment
    A link about rename uploaded file using Event Receiver for your reference:
    http://paulgalvinsoldblog.wordpress.com/2008/01/25/quick-easy-rename-uploaded-file-using-sharepoint-object-model-via-an-event-receiver/
    Best regards
    Patrick Liang
    TechNet Community Support

  • Significance of function name property in the OAF Page

    Hello, I am trying to find out how the seeded LookupPG works as i need to use the same logic in my application. In the LookupPG page, in the function name property, it's specified as 'FND_LOOKUPS_SSWA'. I tried to open the function to see what is defined in that function and it's nothing but the path of the same page is defined in the function. I tried removing the function name from the page property and it gives me error. Can anyone tell me what's the significance of this function name property in oaf page? Appreciate your advice. Thanks KK

    HC,
    You can add a Region of type Header and set the Text for that and add your table under the Header region.
    Or you can Enter the Text attribute value for that table to get the header.
    Thanks,
    With regards,
    Kali.
    OSSI.

  • Content migrated with ICE, Name property and Check In

    I have pulled in a new portal server several KM folders, originally located in another portal, with <i>Content Exchange</i> (online ICE protocol).
    When I edit locally one of these migrated files, save, and check it in, I get a message complaining that the resource has no name.
    Three curious things:
    1) If I open the <i>Details</i> view for that file, I can see that the resource's name property is indeed correctly set.
    2) After choosing <i>Edit locally</i>, the message reports the correct name of the resource!
    <i>You are currently editing the document "REAL_NAME_OF_THE_FILE.doc"...</i>
    3) From this page, if I choose <i>Show Properties</i> (showing me again the correct resource's name) and subsequently <i>Hide Properties</i>, no problem arises when checking the file in.
    Please notice that:
    1) This problem involves <b>only the resources migrated with ICE</b>.
    2) If I change either the resource ID or its name from the Details view, no problem arises anymore.
    We're using the ActiveX control to edit locally. Our portal version is:
    J2EE Engine 6.40 PatchLevel 87289.311
    Portal 6.0.9.0.0
    KnowledgeManagementCollaboration 6.0.9.3.0 (NW04 SPS09 Patch3)
    Have you gurus any idea?
    Thanks all, Davide

    I can't find any SAP note about such a problem. Has anyone any info about it?
    Thanks, Davide

  • Train-stop display-name property bug?

    Hi all,
    I'm using JDeveloper 11.1.1.4.
    When using train taskflow with fragments I noticed that when I enter Display name property on view (train stop) it doesn't appear as train stop title on page at all.
    When I enter Display name in property inspector it generates code like this:
    <view id="configuration">
        <display-name id="__3">#{bundle.configuration}</display-name>
        <page>/views/configuration.jsff</page>
        <train-stop id="__5"/>
    </view>After moving display-name tag inside train-stop it looks like this:
    <view id="configuration">
        <page>/views/configuration.jsff</page>
        <train-stop id="__5">
          <display-name id="__3">#{bundle.configuration}</display-name>
        </train-stop>
    </view>and it works fine (displays in af:train component on page).
    Is this a bug or by design?
    As far as I remember this worked fine before 11.1.1.2?

    Hi,
    this is bug 11821340
    Frank

  • Changing the default .name property value for data object

    Hi.. I'm rendering a pdf form with attachments through Java APIs. When I attach a file, the .name property (cName parameter) is assigned automatically. I want to attach a file by specified name because I'm tracking these attachments later on the form, is there any way I can do it?
    Thanks in advance.
    Sunaif

    What api are you using?
    Can you post a few lines of code?
    Jasmin

  • Page item name property in UI

    Does anyone know if the name property of a page item appear anywhere in the user interface in Illustratpr CS6?
    I thought it would be the name you assign to it in the Layers palette, but it does not appear to be.

    You have an opened document with page items?
    try this:
    app.activeDocument.layers[0].pageItems[0].name = "my Item #1";
    app.activeDocument.layers[0].pageItems[0].selected = true;
    app.redraw();
    alert(app.activeDocument.layers[0].pageItems[0].name);

  • Error: Error #2078: The name property of a Timeline-placed object cannot be modified.

    Error: Error #2078: The name property of a Timeline-placed object cannot be modified.
        at flash.display::DisplayObject/set name()
        at RonaldTest_fla::MainTimeline/frontWheelLoadComplete()
    The code that triggers that bogus error is the following:
    var frontWheelLoader:Loader = new Loader();
    frontWheelLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, frontWheelLoadComplete);
    frontWheelLoader.load(new URLRequest("FrontWheel.png"));
    function frontWheelLoadComplete(event:Event):void
        var loadedImg:Bitmap = new Bitmap();
        loadedImg = event.target.content;
        loadedImg.name = "My Loaded Image";          // bugging line
        var kontainer:MovieClip = new MovieClip();
        kontainer.addChild(loadedImg);
        addChild(kontainer);
    Any ideas?
    Regards,
    Ron

    I swear to God, I don't. I have tried many different names, but to no avail ...
    var loadMe:Loader = new Loader();
    loadMe.contentLoaderInfo.addEventListener(Event.COMPLETE, loadIsNowcomplete);
    loadMe.load(new URLRequest("Snowfighter.jpg"));
    function loadIsNowcomplete(event:Event):void
        var abcdefghijklmnopqrstuvwxyz:Bitmap = new Bitmap();
        abcdefghijklmnopqrstuvwxyz = event.target.content;
        abcdefghijklmnopqrstuvwxyz.name = "MyLoadedImage";            // bugging line
        var kontainer:MovieClip = new MovieClip();
        kontainer.addChild(abcdefghijklmnopqrstuvwxyz);
        addChild(kontainer);
        trace("content: " + kontainer.getChildAt(0).name);  // instance8
        theTween.addTarget(abcdefghijklmnopqrstuvwxyz, 1);

  • How to get name property of selected frame?

    Hi,
    I need name Property of a selected frame in programmatic way...
    someone can help me?
    someone have code snippet?
    exist a specific suite?
    thanks!

    I have already done, but that example is for create new properties ,
    would be enough for me read (with a suite) the property name of a frame that already exists.
    As a label for scripts example
    thanks!

  • How to Access Item Names Property of ListBox inside of Cluster?

    In LabVIEW 2010 I have a Cluster of Controls on the Front Panel. In that Cluster I have a ListBox. How do I access the Item Names Property of the ListBox in my Block Diagram.
    From the Cluster, I can get the ListBox, but that returns an I32 value, probably the index of the selected Item.
    In the Block Diagram, how can I get the Item Name Property of the ListBox from a Reference to the Cluster?
    THANKS.
    Solved!
    Go to Solution.

    by using the "controls" array of your cluster, you can access the individual elements. You have then to convert the reference to a "more specific class" using a reference to an arbitrary listbox (or a constant reference of the required type), then you can access all properties of your listbox.
    THINK G!! ;-)
    Using LabView 2010 and 2011 on Mac and Win
    Programming in Microsoft Visual C++ (Win), XCode (Mac)

  • CUIT is not giving name property value for VB combo boxes

    Hi Everyone,
    We are testing simple Vb6 controls using CUIT. Using CUIT we can get name property value of Vb6 button control. But for simple Vb6 combo box, CUIT is not showing name property value.
    I want to add CUIT assertion for combo box name property value. how can I add ?
    For more details please see the image
    Regards,
    Rajendar..

    Hi Rajendar,
    Do you record a coded UI test with the coded UI test builder? If so, which item did you record?
    >>How can I get combobox.SelectedItem without identifying combo box?
    It doesn't mean that we don't identify the control. Generally we use the unique property as the search property to find/capture the control.
    Like this blog here:
    http://blogs.msdn.com/b/visualstudioalm/archive/2012/02/01/guidelines-on-improving-performance-of-coded-ui-test-playback.aspx
    SelectedItems versus
    SelectedIndices property
    For large number of items, it is preferable to use SelectedItems. SelectedIndices essentially does an Instance search internally, which is slower compared to unique automation property based search. Use SelectedIndices only when
    the items don’t have unique Automation properties. And of course exercise caution over changes to the list content.
    I think you could get a useful sample here:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/a32bc4a6-f562-436d-96a4-a3409b1b3e73/codedui-and-combobox-i-want-to-go-to-the-next-nonselected-item-in-combobox?forum=vstest
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Name property of XML forms

    Dear All,
    I need to display a fixed name (which cannot be edited by the end-user) on my Edit and Show Xml forms.
    The Name property available allows the Name to be entered on in text field and carries the same perfectly when rendering the Show form.
    However being in a text field allows the user to edit the name.
    Is there any way by which I could display the name property on a label or a locked control?
    Thanks

    Hi,
    I have tried placing a label and getting the Name Property to refer to the same but the system does not pick up the text on the label.
    I have also tried to replace the text field with a label but that didn't work either.
    It only seems to picks up the text as 'Name' when placed in a text field.
    Best

  • Site Name Property Problem

    When I try to get the OracleConnection Site.Name property, it throws an exception.

    Please post this question to the ODP.NET forum...

  • How to use 'query data source Name '  property in a block

    I want to create a block using query and want to show the columns on a form.
    Could you please tell me how can I do this?
    Regards

    Hi!
    Create a new block manually.
    Set the Query Data Source Type Property to FROM clause query.
    In the Query Data Source Name Property write your query like you would
    write it in sql*plus or toad but without a order by clause.
    Set the DML Data Target Type Property to None.
    Create items for the columns in your query.
    May set the where clause and order by property of the block.
    Build the form and execute a query in your new block.
    Regards

Maybe you are looking for

  • How can i find out the dev of an app?

    im tyring to do some research and find out some developers of some medical apps most of them I cannot find out who or what company has develped the application...is there some sort of area where i can find out what company or person has created the a

  • Bring window to front - appactivate does not help :(

    Hello I am coding with vbscript. I have a need to make certain that sendkeys commands are sent to the proper program. I can use this to activate a window: success = WshShell.appactivate("MyProgram") if success then WshShell.sendkeys "(% ) N" But in W

  • How to configure jdbc/jndi connection in crystal report 10

    Post Author: effy CA Forum: Data Connectivity and SQL i have tried to configure jdbc/jndi connection , i have both drivers  data base side and  crystal report side but i can't  configure it.  so please help if u know something. 

  • Change document  type for ME22N

    Hi!! I have changed enjoy fields of OMF4 transaction to make document type not editable in ME22N. it works for my user but not for other users where this field is editable. how can i resolve it?. Thanks & Regards..

  • Premiere Pro 2014 losing previews + crashing on warp stabilizer

    I can't begin to tell you how annoying this is.  I'm working with aerial footage (so a lot of warp stabilizing).  I'm noticing 2 HUGE problems... Once I add a transition (even a cross dissolve), If I must wait at least 30 seconds before adding a warp