Use of Custom Files in Veristand

Hello All,
   Haven't been able to find much documentation related to use of "Custom Files" in Veristand.  Would like to know of any examples of file types users have implemented.  Specifically, I would like to know if you can "call" certain file types from the models or custom devices (i.e. for configuration parameters or databases). 
Thanks much,
GSinMN  
Solved!
Go to Solution.

Howdy GSinMN,
There is a bit of documentation in the VeriStand Help that discusses Custom Files specifically.
Adding Custom Files
http://zone.ni.com/reference/en-XX/help/372846D-01/veristand/add_custom_files/
Although, the help doesn't quite reveal the full capabilities of this feature. There are two distinct use cases I have been able to identify for the Custom Files option in VeriStand. I will list them out in more detail and show you an example.
Making Files easily accessible to the Operator in the development environment.
When a file is added into the Custom Files section of the Project it will have its own icon in the project and will be included in the project dependencies. Having the file brought to view in the project is helpful if there is a troubleshooting image or specific document (calibration specs, steps for running a test, etc) that you would like your Operator to have access to. For example, in the example project I've included, there is a file added called "TestA1_PreTestSetup.txt". From the project (on the toolbar) the Operator has the option to "Open File" (to view it) or "Export..." to investigate its path on the operator machine.
Please note that the file is also now added to the dependencies of the project.
If you begin to investigate the file in the project and lets say you right-click on it and notice that there is a Properties option. You may notice that the Description for this file is empty. This can actually be populated being modifying the XML source of the .nivsproj. This also leads into the second use case for Custom Files.
Transferring files to the RT target which can be used by the VeriStand Engine.
If you were to investigate the .nivsproj XML you could first find the Custom Files section, and then the tags for the item you configured.
Here are the relevant tags and a break down,
<DependentFile> - This points to the source of the custom file. In this circumstance, I have added the file to the "C:\Users\Public\Documents\National Instruments\NI VeriStand 2011\Test Procedures" directory. It is able to resolve the the first component to "To Common Doc Dir" because this is the common directory for VeriStand, and then it appends the Test Procedures folder and name of the file that I created.
<Description> - Populating this tag gives us the ability to fill in the description information that occurs when we right click the file in the project.
<RTDestination> - Populating this tag gives you the ability to also send the File to the target upon deployment. Your VeriStand engine could then access this file during operation. As far as which types of files to use, the link in the post above should help guide that.
Please Note: Modifying the XML of the project gives you added customization and functionality to your project but these modifications should not be done heedlessly. Incorrectly modifying the tags in the XML file can lead to improper performance and outcomes. So tread carefully and make only minor changes at a time.
I hope this helps. Have a great day, GSinMN
Tim A.
National Instruments
Attachments:
Custom Files Example.zip ‏10 KB
TestA1_PreTestSetup.txt ‏1 KB

Similar Messages

  • BAT 5.1(4) won't update phones using a custom file

    Hi all -
    I'm trying to use BAT 5.1(4) to change the device pool of a number of 7912 handsets on CCM 4.1(3) using a custom file with a list of the extensions affected. I set the query up and it works fine, but when I then try to change the device pool and update the phones the status window flashes up very briefly but the changes are not made.
    Trying to make the same change using a custom query works with no problems, but I don't fancy doing this for 51 non-sequential extensions! Anyone had a similar problem?

    BAT , the configuration is actually done on the profile that is associated to update the phone, not the BAT CSV
    http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_user_guide_chapter09186a008011b511.html#48233

  • DW CS3 - custom file extension no longer working correctly

    Hi - for a particular job, I needed to use a custom file
    extension .htmx and it has been working fine.
    However, I went into DW CS3 today, and the file opens in the
    DW editor, but the code coloring and code hints etc seem to be
    broken.
    I've checked the Extensions.txt and MMDocumentTypes.xml
    files, and all seems present and correct - see
    this screencast to
    see the problem.
    Any ideas why it's not working? (I'm on Vista Business, but
    it has definitely been working and now isn't....)
    Mike

    Well, I managed to fix it by overwriting my
    MMDocumentTypes.xml file with a clean version from another machine.
    Weird.

  • Custom File Extension for Microsoft Access Text Driver (*.txt, *.csv)

    I'm trying to use a custom file extension for the Microsoft Access Text Driver (*.txt, *.csv) driver.
    I have updated the FileExtns registry to have my new extension.
    When I issue the following it does not work.
    select [NoName] 
    from openrowset('MSDASQL'
               ,'Driver={Microsoft Access Text Driver (*.txt, *.csv)};
                    DefaultDir=c:\filedir'
               ,'select * from "file.lst"')
    If I make the file a .csv it works fine.  However, if it has an extension of not CSV or TXT (in this case .lst, which is in the registry setting) extension it throws the following error and cannot seem to find a solution to it. 
    OLE DB provider "MSDASQL" for linked server "(null)" returned message "[Microsoft][ODBC Text Driver] Cannot update. Database or object is read-only.". Msg 7350, Level 16, State 2, Line 1 Cannot get the column information from
    OLE DB provider "MSDASQL" for linked server "(null)".
    In addition, (although I can probably find this elsewhere), I need to have the first line 'BLANK' so that it does not miss data (there is no header row).  Is there  a way to use OPENROWSET without BULK to basically include all rows as data?
    Any help is appreciated.

    Hi,
    According to your description, I did a test with your script, and got the same message as your post. Usually, by default, the Microsoft Access Text Driver (*.txt, *.csv) supports the four extensions file, such as *.asc, *.csv, *.tab, *.txt. To solve this issue,
    I recommend you try to save the LST file in the above format, then use OPENROESET to get data from the supported extensions file in SQL Server.
    In addition, the
    OPENROWSET function is mainly used to retrieve remote data from an OLEDB data source, when you use OPENROWSET without BULK, provider_name is a necessary parameter in the script. However, the OPENROWSET (BULK...) is mainly called from a SELECT…FROM clause
    within an INSERT statement, when importing bulk data from a data file into SQL Server table. Thus if you need to import bulk data, you should use the basic  syntax: INSERT ... SELECT * FROM OPENROWSET(BULK...), also there are some alternatives, such as
    BULK INSERT
    and
    BCP .
    Thanks
    Lydia Zhang

  • Biztalk custom File Adapter

    Hi,
    Recently i have faced this below issue. please guide me if any one already faced similar issue. i am using Biztalk server 2013
    "Could not stop the BizTalk Service BizTalk Group : BizTalkServerApplication 
    service on Local Computer. 
    Error 1053: The service did not respond to the stop or control request in a 
    timely fashion
    when i checked event log, i am getting like
    "A timeout was reached (30000 milliseconds) while waiting for the BizTalk Service BizTalk
    Group "
    this is came after i deployed the custom file adapter.
    Actually i took the sdk samples[File Adapter] from biztalk server location path , for doing zero byte file receving process.
    I made few lines of code for promoting few properties.
    then, i used registry file to register the assemblies.
    Now i am able to receive the zero byte files and send the same file to some other location vai send port. It is woking perfectly. 
    but when i tried to restart the host instance , i am getting the above error. i am not sure why it is coming.
    i am sure about that i am getting this error if i am used custom file adaper. since if i run other  biztalk application , i dont have any issue. but if i run , the custom file adapter application . i am able to recreate this issue.
    Also, i debugged, and find out which place i am getting
    this.batch.SubmitMessage(file.Message, file.UserData); this is the method call to push the msg to biztalk db. I think some references object are not removed. when i verified the method call, it goes several event handler function. i am unable to follow that.
    Can any one help me is there any this i need to do in custom file adapter?

    Hi,
    No.it is not hanging in debugger. I am able to process the message . after that stopped the application as well, that means all the received locations are disabled. 
    but when i tried to restart the host instance, Host instance not stopping even when the application was stopped at that time.
    Also i find out one more step. if i just start and stop the application . there is no issue while restarting host instance.
    but after started the app, i tried to put one file in received location [custom file adapter], then the file is picked and the message is send to messagebox DB and send to send port. now i stopped the app, and try to restart the host instance , that time
    i am getting error.
    but if i wait for 1 more minute , service will automatically started. i don't understand this behavior.
    These are the exact below steps i did that in custom file adapter. i followed this url to do the custom file adapter http://ninocrudele.me/2012/07/05/biztalk-and-zero-byte-file/
    1. I took the SDK file adapter samples[runtime, design time and adapter management] in Biztalk installation path.
    2. add few lines of code in PickUpFilesAndSubmit
    // If we couldn’t lock the file, just move onto the next file
    IBaseMessage msg = CreateMessage(fileName, renamedFileName);
    //new code
    MemoryStream ms = new MemoryStream();
    msg.BodyPart.Data.CopyTo(ms);
    msg.BodyPart.Data.Position = 0;
    //new code end
    if ( null == msg )
    continue;
    if ( null == renamedFileName )
    files.Add(new BatchMessage(msg, fileName, BatchOperationType.Submit));
    else
    files.Add(new BatchMessage(msg, renamedFileName, BatchOperationType.Submit));
    //new code
    if (ms.CanSeek)
    ms.Position = 0;
    msg.BodyPart.Data = ms;
    //new code end
    3. build the 3 dlls.
    4. make the path change in the provided registry file and add the entry to the registry.
    5. add the adapter in admin console.
    6. create one application , create one receive port and send port. In the receive port, i used the custom file adapter.
    7. start the application and place one file in receive port . now the file is received and send to send port.
    8. now i  am trying to restart the host instance. that time i am getting the error which i above mentioned. but if i wait for 1 more minute , service will automatically started. i dont understand this behavior.
    Please help me , i facing this issue last few days . i tried maximum .but no clue.  it would be great if you guys provide if i need to check some thing else in the code part .
    Thanks
    Vinoth

  • Using Set Cursor Busy in Veristand Custom Device Page

    I am writing a Custom Device in Veristand and tried using the Set Busy vi to disable the cursor while I am doing some tasks on a System Explorer page.  It seems like the Set and Unset Busy vi do not work inside of the System Explorer environment.  I see that NI provides a way to release the cursor with the Veristand API but I do not see a way to set it busy with in the API.
    Am I correct in saying these cursor VIs don't work the way they would in a normal application? Or is there a work around here that I am missing?
    Thanks.
    Rob
    Solved!
    Go to Solution.

    Hello,
    The idea is good, it works for me if you open a reference to System Explorer.lvlibystem Explorer.vi (VeriStand 2012) :
    Best regards,
    .mrLeft{float:left} .mrInfo{border-left:solid 1px #989898;font-size:x-small;color:#989898}
    Mathieu R.  
      CTD - Certified TestStand Developer / Développeur TestStand Certifié  
      CLAD - Certified LabVIEW Associate Developer  

  • How to use JSP custom tag lib in PAR file?

    Hi All,
    I am trying to customize mastheaderpar file. For that I have downloaded relevant par file and making the changes accordingly.
    As part of the changes I would require to use JSP custom tag library in my par file.
    I have the TLD file and relevant classes in the jar file. I would like to know where and what kind of modifications have to be done to use the jsp custom tag library.
    I tried modifying some things in portalapp.xml but was not successful.
    Please help me on how to proceed with this? It would be great if you can provide the xml entry to use this tag library
    Thanks
    Santhosh

    Hi Johny,
    Thanks for the reply. Actually I am able to change colors etc. with out any problem.
    My requirement is to use XMLTaglib in mastheader par file. This tag lib is from apache tomcat. I have the relevant TLD and class files. I copied TLD file into taglib dir of portal-inf and class file in src api.
    And I have added the following line in portalapp.xml under component-profile section of default
    <property name="tlxtag" value="/SERVICE/Newmastheader/taglib/taglibs-xtags.tld">
    Is this the right way to use tag lib? Actually before adding this line I used to get the error saying "Error parsing taglib", but now the error does not occur and I am getting new error. This is an exception in one of the taglib classes.
    Could any one provide me some inputs on how to check this error?
    Thanks
    Santhosh

  • [svn:bz-trunk] 17010: Bug: Watson #2652870 - use a property file to drive the custom configuration tokens as opposed to setting it in the command line

    Revision: 17010
    Revision: 17010
    Author:   [email protected]
    Date:     2010-07-22 02:52:41 -0700 (Thu, 22 Jul 2010)
    Log Message:
    Bug: Watson #2652870 - use a property file to drive the custom configuration tokens as opposed to setting it in the command line
    QA: Yes
    Doc: Yes - in custom tokens section, talk about the new token.file option
    Checkintests: Pass
    Details: Changed TokenReplacer to look for a token.file JVM option. If it's specified (eg. -Dtoken.file=/User/matamel/Desktop/token.properties), then TokenReplacer looks for a properties file where token name and values are specified. This allows someone to specify a file for custom tokens. Custom tokens can still be specified as straight JVM option and in case where a token is defined both as a JVM option and in a token properties file, JVM option takes precedence.
    Modified Paths:
        blazeds/trunk/modules/common/src/flex/messaging/config/TokenReplacer.java

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • Error message: The preset used by one or more sequences in this project requires third-party components that could not be located. These sequences will be modified to use a custom sequence setting instead. To continue editing using the original preset, qu

    Hello all,
    I can't open a PP project without this error message appearing:
    "The preset used by one or more sequences in this project requires third-party components that could not be located. These sequences will be modified to use a custom sequence setting instead. To continue editing using the original preset, quit the application without saving the project, reinstall any third-party components that are required and reopen the project".
    What I had been doing before this occurred was editing a PP project using ProRes sequences and multi-camera editing. Multi-camera was not working very well and after a few attempts to fix that I gave up and finished the job cutting 3 layers of video instead. AME refused to render the three finished sequences of over 1hr duration so rendered final videos from the PP sequences.
    I tried deleting plists for AME, PP and QT, repairing disc permissions and rebooting but there was no improvement.
    Client is satisfied for now but will want to come back to this job at a later date so decided to uninstall and re-install AME and PP in the hope both would be ready to work properly when needed again. AME works fine in conjunction with a different PP project but now I can't open the PP project in question without the above error message appearing.
    Having searched the net it would seem that the problem may be caused by ProRes but I haven't been able to find a definitive solution for the problem. Does anyone know either:
    1. How to fix this?
    2. If I chose the "modified using a custom sequence setting", can I be sure that my sequences will look the same even if they don't use ProRes? The final deliverable format will be mp4 so as long as the overall look doesn't change then I can  afford a change in the edit codec. It's just that with three sequences over an hour long, I don't want days of work to be ruined.
    Other older PP projects of mine open and work fine.
    Premiere Pro CC 8.2.0
    Media Encoder CC 8.2.0.54
    OSX 10.10.2
    Any help would be greatly appreciated.
    Duncan.

    Adobe web chat come up with a solution.
    Open the PP project.
    Export your sequence or project as a Final Cut Pro XML file.
    Set up a new PP project.
    Import the Final Cut Pro XML file.
    This will get you back up an running.
    Since getting back to editing this project I have found that some things will be lost or change in using XML:
    You will lose position key framing, black video clips, dissolve fx, audio levels, audio dynamic fx, the ability to open a multi camera clip and change the camera view.
    You will keep cut points, crop fx.
    Not perfect but only took a couple of hours to save 3 days work.

  • I have installed a trial of Adobe illustrator on my macbook pro. I want to trace an image using the custom trace button but can't. Does anyone have any ideas how I could custom trace?

    I have installed a trial of Adobe illustrator on my macbook pro. It is the 2014 release of adobe illustrator. I want to trace an image using the custom trace button.
    I start a new document. Then I place my scanned pencil/colored pencil drawing, in to the document. I have tried scanning and then placing it as a jpeg, bitmap, and tiff file. I have tried scanning and then placing it, in color and in black and white. The scan mode I use is flatbed. Adobe illustrator allows me to select the default button and one of eleven preset buttons (e.g high fidelity photo), but it does not allow me to click the custom trace button. The custom trace button is grey while all the other buttons are white.
    Does anyone have any ideas how I could custom trace?

    It seems pointless to adjust it afterwards because it is then only a couple a pencil lines rather then a full drawing. And how do I adjust it afterwards? Would I do this using the different buttons under the window button?

  • How to create a custom file dialog box/vi (win)??

    Hello,
    I'd like to create a custom file dialog box to handle the reading of my tdms files. Basicly I want to extend the existing file select dialog box with a graphical preview of the data in the selected file. I know I can create all the logic for file selection by hand and use a list box to display the filelist, but I would rather prefer to somehow use the existing windows controls. So is it possible to get the windows file selector on the front panel of a vi and react to the user selection? If so, is there any example available on how to do this? Any other options? I'm using labview 8.2
    thanks for your input!
    klaus

    Klaus,
    I wouldn't know that Microsoft provides access to the controls that Explorer and file dialog consist of.
    There might be a different and more powerful solution though. The
    WINDOWS Explorer / file dialog have a plugin API that allows you to
    associate your own application for thumbnail creation with a particular
    file extension. That way, TDMS thumbnails will show in any instance of
    Explorer and
    File Dialog without you having to make your own dialog. Basically, you
    would need to compile the VI that creates the thumbnail into a
    LabVIEW-built DLL and then wrap this DLL with some C++ boilerplate code
    that Microsoft provides. You might want to have a look at the bottom of
    this article to get an idea of how the whole thing works:
    http://msdn.microsoft.com/msdnmag/issues/0600/w2kui2/default.aspx.
    Hope that helps,
    Herbert

  • Can I Use a XML file as Managed Resource?

    Hi,
    I have a XML file which has all employee details.
    Can I use that XML file as a Resource in IDM?
    If so please let me know the steps to do.
    Please help me in this regard.
    Thanks
    RMS

    No.
    Since the XML file you have has custom tags, there is not a way for IDM to understand it's contents.
    IDM does offer a "Simulated" resource, which is an XML based resource, but it has a defined structure. You might be able to alter your XML to match what the Simulated Resource expects, or better yet, get it into a database and use the database table adapter.

  • Facing problem to Use a custom Java class in UCCX

    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin-top:0in;
    mso-para-margin-right:0in;
    mso-para-margin-bottom:10.0pt;
    mso-para-margin-left:0in;
    line-height:115%;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;}
    Hi,
    We are using Communication manager 7.0.1 and UCCX version 7.0.1(Cisco Unified CCX Premium).  We are trying to call a Custom Java class file from UCCX scripting. We have followed the steps mentioned in the guide (How-To: Using a custom Java class in UCCX 5.x (SOAP Example)). See below link.
    http://www.avholloway.com/vtools/ipcc/custom-java/soap/
    After completed all the steps we have got the variable type SimpleSOAP at script but we did not found it to object constructors or object attributes (plz find the attached screenshots). We will appreciate if you plz guide us to solve the issue.
    Thanks
    Fakhrul
    LEADS Corporation Ltd.

    Hello, Fakhrul.
    I'm sorry to see you were not able to find the information or help you were looking for here in the Contact Center community forum.
    You may be able to find more help through the Cisco Developer Network.
    Also, you might want to consider engaging Cisco Advanced Services via your account team to assist with UCCX custom scripting.
    Thank you, and good luck.
    -Paulo

  • Custom File Accesor implementation in 6.1 MP1

    I have made an custom file accessor (IPTCustomFileAccessor) using the Portal Server API for a crawler that is crawling a news website. I found example of the implementation of a custom file accessor to ALI version 5 but it seems that it does not go the same way in version 6.1.
    Here is what I have done:
    1. copied my custom accessor .jar file to <PORTAL_HOME>\accessors\customfa.jar2. Created accesors.xml to <PORTAL_HOME>\settings\config with following content:
    <accessorlibs>
    <accessorlib name="sampleaccessor" path="accessors/" />
    </accessorlibs>3. After that restarted the Portal. When the portal is starting it gives me some error about 5.0 configs not suitable in 6.1
    After that I tried to use the 6.1's dynamic loads:
    1. I created a new folder named accessors to <PT_HOME>\settings\portal\dynamicloads and moved the accessors.xml to that location
    2. Restarted the portal and then I get an error message:
    1559     portal.xxxx.xxx     8-22-2007     10:57:56.250     Fatal     UI_Infrastructure     Thread-0     com.plumtree.uiinfrastructure.application.startup.LoadCustomLoads     Fatal Exception loading lib file: c:\bea\alui\settings\portal\dynamicloads\Accessors\accessors.xml
    com.plumtree.openfoundation.util.XPNullPointerException: XPDynamicDiscovery failed to find all needed information in the xml file: c:\bea\alui\settings\portal\dynamicloads\Accessors\accessors.xml. Please make sure that the file is formatted correctly.Does anyone have a clue how should the accessors.xml be formatted? Thanks in advance!
    Greets,
    Nils-Erik Siren

    SSO info - as well as most other portal config info that used to be in various XML files - was moved to $PT_HOME/settings/portal/portalconfig.xml in G6.
    john

  • Action hard codes custom file name

    I recorded an action to crop and save for web. I have done this 1000's of times over the years, but in CS6 it is hardcoding a Custom File Name, and in the wrong format too boot.
    I am saving as JPG only and accepting the default name, which should leave me with an action that has no custom name, yet it does, and the custom name is of an HTML file name.
    So, when I run my action, it names every single file the same name, and never creates a jpg.
    This is a new bug in CS6. It wasn't here before.
    I can't figure out how to get around it????
    Kirk

    Figured out a way to work around this, but it is irritating. Instead of my action doing this:
    Flatten
    Crop (user interaction)
    Save For Web
    Close (without saving)
    I have to do this:
    Flatten
    Save as JPG (in same directory where I want the Web file to go)
    Crop (user interaction)
    Save For Web (Over top last saved file)
    Close (without saving)
    For some reason, when I use the save as JPG, it doesn't custom code the file name and when I save for web in the same place it also doesn't custom code the file name.
    I never had to do this before in all the years of using this type of action, and I use it ALOT!
    I have found that it sometimes does not hardcode the file name, but there seems to be no rhyme or reason.
    Kirk
    Photoshop CS6 on Windows7-64, haven't tested this on my MBP

Maybe you are looking for

  • Win 8.1 apps

    My OP is win 8.1 I would like to consolidate all my GAMES into or under one heading. I am not talking about the START page!    If I search for Games only 4-5 comes up but I have about 15 games. I know how to move icans on the START page but not on th

  • Automatically creating startup items with a new account

    I'm managing some Macs on an Active Directory network. They're all tied in and working fine as AD connected computers, but as an administrator of these Macs I'd like to make it so that when a user logs in to the domain, the Mac automatically adds som

  • PL/SQL block taking different duration

    Dear Oracle Gurus I executed a PL/SQL block which took 10 min to complete. I again executed the same thing , this time it took 8 mins ... after which the time taken was between 7 and 8 min. it was never 10 min . I was told that this happens due to RE

  • No sound with HDA Intel HDMI

    I've got no sound with the Intel HDMI (work only with headphone) Here are some hardware informations : I've run the alsa-info.sh and my informations are there --> http://www.alsa-project.org/db/?f=82540 … 847ccaaccc [root@archeee ~]# aplay -l **** Li

  • 3GS Iphone wifi not working after upgrade

    I upgraded my 3GS iPhone to version 6.1.1 After upgrading the iPhone I noticed that wifi wasn't working from the typical areas of my house, so I looked for a fix on these Community Forums and elsewhere on the web. Nothing has worked. I reset the netw