Unknown variable or property name 'ReportFilePath'. Error accessing item 'Runstate.Root.Locals.ReportFilePath'. in TestStand

Hi all.
I was using Teststand 4.2 up to last week and upgraded to TS 2013. In 4.2 I was using the following to get the location of the teststand report:
Runstate.Root.Locals.ReportFilePath
but with TS 2013 this no longer works.. is the following error:
Unknown variable or property name 'ReportFilePath'.
Error accessing item 'Runstate.Root.Locals.ReportFilePath'. in TestStand - Get Property Value (String).vi->
I've tried the following now with no success:
RunState.Root.Report.Location
So my question is how can I get the location (path) of the report file during test programmatically please?
Please find enclosed a screenshot of the report config:
Solved!
Go to Solution.
Attachments:
TS_ReportConfig.png ‏42 KB

Shashidhar,
Thanks for your help! With your tips, I finally got it to work. For anyone else trying to modify report names based on user input after the sequential process model sets the file name path I will re tell what I did:
Edit the Ni_RerportGenerator.seq plugin found in C:\Program Files (x86)\National Instruments\TestStand 2014\Components\Models\ModelPlugins\
You go into this file and add the step higlighted in Blue at that same location. Please see the expression I typed in the expression box. Setting Parameters.ReportOptions.NewFileNameForEachUUTStatus to true forces re-evaluation of the report name at the end of the sequentialmodel.seq.
Then you add a FileGlobal in the sequenatialmodel.seq. I called my FileGlobal ReportFileName
Then I added an expression in my test sequence that modified the the new FileGlobal I created:
Finally I updated the report options (Go to Cofigure>Report Options > Report File Pathname and under File/Directory Options select "Specify Report File Path by Expression" and I entered my expression. It appears that you can disregard the evaluated report file path error (box below) because your pathname won't be generated until run-time.
This worked well for me hopefully it will for others. 
Thanks,
Marco

Similar Messages

  • Why does DB_PLImpotExportProperties throw "Unknown variable or property name. (Error = -17306)"?

    When I run GenericImportExport.seq, the call to  DB_PLImpotExportProperties brings up the Import/Export dialog. When I copy that step into my existing sequence, the error "Unknown variable or property name. (Error = -17306)" is thrown. I can see no difference between the two. They also appear to be running in the same environment.
    Any suggestions?
    Solved!
    Go to Solution.

    So this was bothering me enough that I went back and recreated the problem. I cannot even call the entire sequence without getting this error.
    I added a step to my test sequence that makes a call to the sequence GenericImportExport.seq in a separate file (where it was installed). Right-clicking on the the step and selecting "Run Selected Steps" causes the subject error.
    I CAN use the tool menu "Import/Export properties..." or open the sequence itself and run ImportExport without a problem.

  • [HELP] Error, Unknown variable or property name '', error. No Details???

    Our production team ran some of our TestStand software when it froze.  Upon exiting the report file contained only one error:
    “Error, Unknown variable or property name ''. [Error Code: -17306, Unknown variable or property name.]”
    This has not happened before with this test sequence.
    Now I have seen this before, during development of other TestStand projects, but there are usually details of the unknown variable in the error.  This one just has empty quotes!  There are around twenty sequences called in this software.  Is this a rouge error, a symptom of the freeze, or do we have an unknown variable issue in these sequences?
    Christopher Povey
    Senior Test Systems Engineer for BAE Systems.

    Hi Christopher,
    As you say as part of the Error Message you should of had the Variable name.
    With this freeze and if you had to force exit of the TestStand, it would seem that to get any report at all you must be doing some sort of 'On the Fly' reporting. If so, can you pin point what the test sequence was doing to try to identify the cause of the freeze.
    Maybe you are obtaining the variable name dynamically and because of the crash this value was not obtained and therefore you were passing an empty string. Hence no variable name in error message.
    Regards
    Ray Farmer

  • "sCode=0xf​fffbc66: Descriptio​n: Unknown variable or property name 'ReportSty​le'. Error accessing item 'ReportSty​le' when trying to optn the ReportOpti​ons in TestStand 4.0.

    I get the error "sCode=0xffffbc66: Description: Unknown variable or property name 'ReportStyle'.  Error accessing item 'ReportStyle'. when trying to load the ReportOptions in TestStand 4.0.
    Has anyone seen this before?  If so how can I get around it as I will need to disable Report Generation for this system.
    Thank you

    Hello,
    I am not 100% sure how I resolved this issue as it was a few years ago.  However, I have attached the TestStandModelReportOptions.ini file that I used - hope this helps you.
    Attachments:
    TestStandModelReportOptions.ini ‏5 KB

  • Error Code 17306 Unknown Variable or Property Name " Locals.Mod​el"

    I get the above message when i run the step f(x) SetFileGlobal operator...No code module adapter is used.
    I have attached my seq file and only second and third step are erroring out..I checked the rest of the sequences they work fine. Any help is appreciated.
    Thanks
    Attachments:
    0960.seq ‏42 KB

    Hi,
    Open your sequence file in the Sequence Editor.
    Select the Sequence that you wish to add Locals to, and make this the active sequence i.e the one thats visible to you, Usually it displays the MainSequence  when first loaded.
    Select the Locals Tab
    In the right hand side of the display, there will be the variable ResultList.. This will be an empty array of Result.
    Place your cursor in this position of the display and press the Right Mouse button. You will see an a popup menu of which the Top Item is Insert Local.. If you select this you will get an other set of options which are the different types of Variables that are available to you. Select a variable type, such as a Number. This will be inserted into right hand side under the ResultList array. It will be highlight ready for you to enter the name of the variable. If you double click on the variable you will get the Properties Dialog. You will beable to a new value.
    The User Manual, should beable to explain on this.
    I would recommend trying to get on the Basic TestStand course.
    hope this helps
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Error code -17306; Unknown variable or property name.

    What does this error code mean in Test Stand, And what are solutions to this problem

    Hi Reiter,
    There are many reasons for this error as Nick has pointed out.
    I have attached an example illustrating a typical situation.
    One of the steps tries to read the value of a boolean in Locals of MainSequence. An error -17306 is generated if the boolean is not present.
    The first step in Main gives you the option to skip or not skip the next step in the sequence.
    The next step writes True to Locals.MyBoolean. (not this step has the option 1 - Insert if Missing)
    The following steps Reads the boolean Locals.MyBoolean.
    Hope this helps to resolve your problem
    Regards
    Ray Farmer
    Regards
    Ray Farmer
    Attachments:
    Skip_Next_Step.seq ‏29 KB

  • Error -17306 Unknown variable or property name

    I get the above error when trying to deploy from Windows 2000 to a Windows XP professional?

    Hi,
    Have you got the ProcessModel sequence file "SequentialModel.seq" on you Deployed system.
    You should find it in "TestStand\Components\NI\Models\TestStandModels" folder or "TestStand\Components\User\Models\TestStandModels" folder.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Unknown variable or property name stationGlobals.Revision

    I am having problems with a stationGlobals variable on one deployed system in the field. I stop on that step on the development system and the deployment system here in the lab and the variable exists. 
    On the system having the problem the station options was not pointing to the correct location for the stationGlobals.ini. So I had them change the cfg preference and sent them a copy of the stationGlobals.ini file. They rebooted the system but the error persists.
    Sure would appreciate your thoughts on this.
    jh

    Thanks for the post. It turns out that the .ini file was overwritten when the station options were changed on the deployment system. They were changed to alleviate the problem I addressed in my Station options not copied to deployment post.
    jh

  • 17306 Error accessing item 'Locals'.

    I have a sequence called "ProgramAssetData" in the same file as it is being called in.  The first time I call ProgramAssetData, it works fine.  The second time I call ProgramAssetData as part of a loop, I get the error below. The "Run-Time Error" window pops up and I select "Retry" and that always works.
    I do not beleive it to be a timing error because stepping through the code does not help.
    How can a property name 'Locals' be unknown?   ... and always work in Retry?
    What does "Retry" do that is different from normal running?
    How do I get rid of this error? 
    FYI- A CVI call in in the previous step.
    Details:
    Error calling sequence ProgramAssetData.
    Unknown variable or property name 'Locals'.
    Error accessing item 'Locals'.
    Error Code:
    -17306; Unknown variable or property name.
    Handle Current Error
        Retry
                                                  OK
    17306 = TS_Err_UnknownVariableOrProperty

    I'm not sure why retry wasn't giving you the error again. All it's doing is running the step again, so you should get another error if the property still does not exist.
    Also, not sure why the error is referring to Locals as missing, you should instead be getting an error about Locals.name missing if that is what is the problem.
    Also normally teststand will show the runtime error dialog (station option setting) on runtime error at the location in the sequence where the error occurs. Not sure what settings you are using or where you are seeing the error. If you are seeing it just in the report, then perhaps the station options were changed to not show the dialog. I'd recommend changing the settings to show the dialog while you are debugging.
    Without looking at your code, it's hard for me to know for sure, but the experience you had is likely due to something the sequence you are executing is doing  (or some other customization of TestStand - perhaps a custom error handling dialog) and is not a normal behavior of TestStand.
    Hope this helps,
    -Doug

  • Step_description unknown variable error in built operator interface

    I'm getting the following error when I execute a seq. from a built LabVIEW operator interface:
    Error evaluating expression
    Unknown variable or property name 'STEP_DESCRIPTION'.
    Error accessing item 'STEP_DESCRIPTION'.
    Some searching is leading me to an issue with the localization languages files? Not sure what exactly.
    Message Edited by Michael Aivaliotis on 11-06-2007 01:09 PM
    Michael Aivaliotis
    VI Shots LLC
    Attachments:
    1.png ‏10 KB

    Here is a guess: try right clicking on the step list and select a different step list configuration. If the problem goes away, then your current step list configuration has a column specified by expression and there is a problem with the expression.
    Message Edited by James Grey on 11-06-2007 03:14 PM

  • 'Unknown variable'-​error in TSIviStepT​ype: Uses the german bolean value 'Falsch' instead of 'false'

    Hi
    I had to install MSVC onto a working test system. This is a PII/450 with 450MB RAM, running a german W2kSP2 and NI-SW from the english DevSuite Prof Test Edn, amoung others LV7.1, TS3, Switch Executive (SE) 2.
    I had to install a german MSVC6 for debugging purposes. Its installer asked me for permission to replace some ressource files with german ones, which I -of course- denied. Nevertheless after this installation my TSIviSteps generate an error with a language-related problem:
    Error executing substep 'Post'.
    An error occurred calling 'RunStep' in 'ISubstep' of 'TestStand Ivi Step Types'
    An error occurred while executing the step.
    TestStand IVI Step Type Error:
    An error occured when evaluating the properties of the step.
    Details: Unknown variable or property name 'Falsch'.
    Error accessing item 'Falsch'. - Wait for Debounce
    Source: TSIviStepTypes
    -17300; Value invalid or out of range.
    Any easy solution? There must be a simple ressource file to be replaced. I'd dislike the idea of re-installing TS. BTW, Re-installing all the drivers and SE did not help.

    The error you are seeing is because of a problem in the code for the TSIviSteps.dll. The code is written with Visual Basic 6.0. The error only occurs for the "Wait for Debounce" setting, which is only used for the Switch Executive Connect/Disconnect operation. Internally there is a cast of a boolean value stored in a step property to a string expression value. If the OS regional setting selects a non-English default language and the corresponding VB6xx.DLL (language resource file) is available, the MSVBVM60.DLL casts the boolean value to a localized string value. So for a German OS, if the VB6DE.DLL file is available the cast returns Falsch or Wahr instead of False or True. When TestStand tries to interpret Falsch or Wahr as a constant expression it
    errors as described. The problem exists in TS 2.0.1, 3.0 and 3.1.
    The workaround is to either remove the VB6DE.DLL language resource file or change the default language to English. We hope to fix the cast code in a future release.
    Scott Richardson (NI)
    Scott Richardson
    National Instruments

  • Error Message in Terminal: unknown variable 'datadir=/usr/local/mysql/data'

    Hello,
    I'm on a Mac Pro Quad Core Intel Xeon (64-bit) using OS 10.6.4. I have mysqlnd 5.0.5-dev - 081106 - $Revision: 289630 $ and PHP Version 5.3.1.
    I have also installed phpMyAdmin 3.3.1 and have set up the relations tables in a pmadb within mysql; created a new database with tables; and created some new users. I am able to access and use mysql via phpMyAdmin.
    But now I am unable to login to mysql via the Terminal command:
    mysql -u root -p
    which now returns an error message of:
    /usr/local/mysql/bin/mysql: unknown variable 'datadir=/usr/local/mysql/data'
    my.cnf file reads:
    [mysqld]
    datadir=/usr/local/mysql/data
    socket=/var/mysql/mysql.sock
    #skip-grant-tables=1
    [client]
    datadir=/usr/local/mysql/data
    socket=/var/lib/mysql/mysql.sock
    and I can see the data directory in that location when using the Terminal.
    My questions:
    1. Is this related to anything I have done in setting up phpMyAdmin (tables, users)?
    2. Is this a permissions problem with the directory named /usr/local/mysql/data?
    Currently, the permissions and ownership are this:
    drwxr-x--- 11 _mysql wheel 374 Jun 29 12:10 data
    3. Is this a problem from upgrading to 10.6.4 recently?
    4. Is this a my.cnf problem?
    I would really like to be able to do things in the Terminal with mysql in addition to using phpMyAdmin.
    Many thanks for any help on this.
    Best,
    Shelley

    Shelley Schreiber wrote:
    Thanks for your suggestion, etresoft, but this was not helpful, I'm afraid. Removing datadir=/usr/local/mysql/data did not work. And prior to using phpMyAdmin, I was able to login via Terminal with this in place.
    Try removing my.cnf. It isn't required and seems to be giving you problems.
    Also, the mysql socket value is what comes with new Macs with Snow Leopard.
    MySQL doesn't come on any new Mac except with Snow Leopard Server. I think we've had this conversation before and came to the conclusion that you don't have the server version, just a jacked up client.
    I am noticing that the Terminal error message I get is saying:
    /usr/local/mysql/bin/mysql: unknown variable . . .
    whereas the data directory path is /usr/local/mysql/data
    There is no data directory in /usr/local/mysql/bin/mysql
    The program that is reporting the error is is /usr/local/mysql/bin/mysql.
    My MySQL installation does not have a my.cnf file. It does have a number of example cnf files that I could use if I wanted to jack up my installation. None of them have a "datadir" value in them. If you don't want to get rid of my.cnf altogether, the just get rid of all of the datadir values inside it.

  • Using Variable in place of property name in set_item_property procedure.

    Hello,
    I need to change the item properties dynamically by using variables for both properties names and their values.But during compilation its showing me error "Too many declrations".Kindly suggest me any best way.

    You already have the answer to that one in the posting above.
    Your table would presumable include rows HEIGHT, WIDTH etc.. as text columns
    So you'd cross reference as above.
    Alternatively you could find out what the numerical values are for HEIGHT (1509) and WIDTH (1508) are and store them in your master table alongside the description that your user will see. Then you can simply do the set_item_property.
    This relies heavily on Oracle not changing the values for these constants. Even if they did you would just have to change your table. Then your solution is generic and future proof.
    Built in for all properties: Not that I know of. But you could sort of use your table as above to help. Simply loop through the constants, do a get_item_property, and show that to the user.
    You'll have to be careful about maybe classifying the things in your table to ensure you don't try to get an inappropriate property for the type of item.
    With a little effort this will all definitely be possible.
    I saw a thread the other day where someone had created a form called "props.fmb" which showed the item properties in a tree style. See if you can find that. This was fairly hard coded compared to what you want, but it would be pretty good as a basis.

  • Why am I getting "Error: Access of undefined property TextInputSkin." and "Error: Definition spark.skins.mobile:TextInputSkin could not be found." errors?

    I'm using amxmlc to build a SWF from an MXML source code file. I'm passing -swf-version=13 to amxmlc.
    In the MXML source, I have the following line:
    <s:TextArea id="inputTextArea" width="100%" height="100" fontSize="28" borderColor="#000000" skinClass="spark.skins.mobile.TextInputSkin" />
    I get these errors when running the amxmlc command:
    ...App.mxml(428):  Error: Access of undefined property TextInputSkin.
                <s:TextArea id="inputTextArea" width="100%" height="100" fontSize="28" borderColor="#000000" skinClass="spark.skins.mobile.TextInputSkin" />
    ...App.mxml(428):  Error: Definition spark.skins.mobile:TextInputSkin could not be found.
                <s:TextArea id="inputTextArea" width="100%" height="100" fontSize="28" borderColor="#000000" skinClass="spark.skins.mobile.TextInputSkin" />
    Why am I getting these errors? I need to be able to use the spark.skins.mobile.TextInputSkin in order to have use of the soft keyboard on iOS devices.

    you need the classes mentioned after 'Definition" in the lines below and they should be place in de/alex_uhlmann/animationpackage subdirectory of your default directory.
    Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 2, Column 50
    1172: Definition de.alex_uhlmann.animationpackage.animation could not be found.
    Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 3, Column 48
    1172: Definition de.alex_uhlmann.animationpackage.drawing could not be found.
    Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 4, Column 48
    1172: Definition de.alex_uhlmann.animationpackage.utility could not be found.
    you also need penner's easing class in com/robertpanner

  • Error of "Could not save (file name) because write access was not granted

    Error of "Could not save (file name) because write access was not granted. The users are pulling the files from a Mountain Lion server. They all have read\write access. If they try to save the file in the same directory they get that error but they can save it anywhere else on the sharepoint. If they save it in another directory then reopen it make a change and do a save as they can save it back to the original directory. Has anyone else come across this same issues

    It is an enterprise solution. I just do not see why you cant save directly to the server. It seems to get weird errors. Some Adobe stuff saves fine on the server and some of it doesnt. It seems Adobe related. The permissions on the server are set correctly so it isnt a permission error

Maybe you are looking for