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
Similar Messages
-
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 -
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 -
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. -
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 KBShashidhar,
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 -
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 youHello,
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 -
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.
jhThanks 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 -
Capturing oracle error codes into a variable
Hi
Can someone show me how it is possible to save an Oracle defined error code into a variable? What I am trying to do is when a stored procedure fails an Oracle error is raised, such as ORA-xxxx, then pass this code into variable to be saved into a log.
How do I achieve this?user633278 wrote:
How do I achieve this?Function SQLCODE in PL/SQL exception handler returns error code. SQLERRM returns message:
SQL> declare
2 x number;
3 begin
4 x := 1/0;
5 exception
6 when others
7 then
8 dbms_output.put_line('Error code: ' || SQLCODE);
9 dbms_output.put_line('Error message: ' || SQLERRM);
10 end;
11 /
Error code: -1476
Error message: ORA-01476: divisor is equal to zero
PL/SQL procedure successfully completed.
SQL> SY. -
Help!
When trying to deploy a test system i got the following error:
Error Code:-17500
Unknown System Error in TestStand - Read Seq Files in Workspace.vi->TestStand - Find Dependent Files.vi->TestStand - Add File and Dependent Files.vi->TestStand - Add All TestStand User Files to File Info Array.vi->TestStand - Update File Info.vi->TestStand - Distribution Wizard GUI.vi->TestStand - Deployment Utility Splash Screen.vi
I then tried to re-deploy previously successfully deployed systems - same error. (I have done nothing to my teststand setup/installation/engine or deployment files since the last successful deployment)
I removed teststand & then re-installed it - i still got the same error. These files it is searching for do not exist on my pc.
Any ideas what has gone wrong/how to fix it?
cheers
FiI've just had exactly the same problem and after posting a message, have been forwarded to this thread. Luckily it looks as though we've found a solution, or a cause of the problem. One of my work colleagues (SercoSteve on discussion forums) suggested removing the Teststand 3.1\cfg directory, and replacing it with a default one from another machine, and this seems to have done the trick and made the deployment wizard be able to analyse the files and build. We are editing files in cfg so I've now got the task of replacing each file in this directory one by one to find which is causing the problem.
I'll add another post when I find out which one it is.
David Clark
CLA | CTA
CLA Design Ltd
Hampshire, England -
LDAP: error code 1 - Invalid query reference]; remaining name '
I have the following function for a paged search operation.
Data retrieved by this function is used somewhere else to modify the Ldap Directory context.
Despite my setting for ctx and search control as "no timeout", i've been keeping thrown the exception for operations lasting more than 5 minutes(consistently) and for some short operations(sporadically):
Paged Search failed : javax.naming.NamingException: [LDAP: error code 1 - Invalid query reference]; remaining name '<directory>'
I am using DirX as LDAP directory.
Is this a time-out related exception which can be fixed in the code?
How can it be fixed?
There's no clue all over the web about this.
Thanks.
* Returns the next page of the search results.
* The returned result from this method can not exceed page size
* set in the constructor.
* @return
public NamingEnumeration nextPage(){
//1.step Set PagedResultsControl
NamingEnumeration results = null;
Control[] controls=null;
try {
if( isSearchStarted==false ){
isSearchStarted=true;
if(sortingAttributes==null)
controls=new Control[]{ new PagedResultsControl(pageSize) };
else
controls=new Control[]{new SortControl(sortingAttributes, Control.NONCRITICAL), new PagedResultsControl(pageSize) };
}else {// examine the response controls
cookie = parseControls(ctx.getResponseControls());
if( cookie!=null && cookie.length!=0 ){
// pass the cookie back to the server for the next page
if(sortingAttributes==null)
controls=new Control[] { new PagedResultsControl(pageSize, cookie, Control.CRITICAL) };
else
controls=new Control[] {new SortControl(sortingAttributes, Control.NONCRITICAL), new PagedResultsControl(pageSize, cookie, Control.CRITICAL) };
}else{
//search is finished
return null;
ctx.setRequestControls(controls);
//ctx.getEnvironment().values();
//ctx.getEnvironment().put("com.sun.jndi.ldap.connect.timeout", "5000", 300000);
ctx.addToEnvironment("com.sun.jndi.ldap.connect.timeout", "0");
//ctx.getEnvironment().values();
} catch (NamingException e) {
Tracer.getInstance().error("Paged Search failed while setting response controls: " + e);
return null;
} catch (Exception e) {
Tracer.getInstance().error("Paged Search failed while setting response controls: " + e);
return null;
//2.step: DO SEARCH
for(int i=0;i<10;i++){
boolean reconnect=false;
try{
results = ctx.search(searchBase, searchFilter, searchCtls);
Thread.sleep(300000);
//ctx.get
//Thread.sleep(300000);
break;
} catch (NamingException e) {
Tracer.getInstance().error("Paged Search failed : " + e);
reconnect=true;
} catch (Exception e) {
reconnect=true;
Tracer.getInstance().error("Paged Search failed : " + e);
if(reconnect){
try {
this.ctx = LDAPServer.getInstance().getDirContext();
ctx=ctx.newInstance(controls);
//ctx.getEnvironment().values();
} catch (NamingException e1) {
Tracer.getInstance().error("Could not reconnect the ldapcontext");
return results;
}It turned out to be a DirX "root DSE" entry "PAGP" that is disposing my paged results if a timeout occurs(300 seconds by default).
So i have to modify this entry during runtime, which is unfortunately only can be accesed by dirxadm.exe.
Is it possible to modify this attribute by a ldap context method? -
CL_SMTP_RESPONSE ESMTP error code is unknown
Hi Gurus,
Very recently, we are getting this error when the user is trying to send deliveries thru the VL02n transaction.
User is trying to send the delivery output to an email id.
"CL_SMTP_RESPONSE ESMTP error code is unknown 554 relay rejected for policy reasons"
Could you please help?
Thanks in advance.
Swaroop.Check this thread.
Re: leave workflow not coming to outlook inbox -
Hi,
I have an MediaSmart Server EX495 WHS and I get an Error Code. 1 aqua and 4 red : Recovery Mode Failure. I tried Server recovery to no avail. This all started when I lost connection to the Server via Control Panel - it stopped connecting to the network totally.
Can anyone help?
Thanks in advance, JohnI had the same problem and am now in a worse situation. Saw your posting and hoped someone would have advised what to do. When I re-boot my EX495, the Health indicator light comes up red. Pressing the status/recovery button causes the Health light to flash 1 Blue, 4 Red: Recovery Mode Failure. User manual says contact HP. HP says I'm out of warranty. Does anyone out there have a suggestion what I can do/try? Is it worth paying HP for tech support on the issue?
-
Error code -17306 while accessing container from TestStand
Hi,
I am getting an error -17306 while accessing the TestStand container present in Station Globals using invoke node property object. Please find below the code snippet.
Thanks,
NehaHi
I am not sure too, how to obtain sequence context from TS application manager. However, did you try using the lookupstring as "StationGlobals.UUT1.Name" or as "FileGlobals.UUT1.Name"?
I think, the reference to globals will include Station Globals and File Globals. so, you might have to be specific in the lookup string.
the error says the name of the variable or property is not valid.
also, you wired "0" which means do not create the variable if not found. is that what you wanted to configure? -
DST Check Failed With Error Code: 0TW460-6HN79Q-MFPX1A-60RD03 Pdt Name: HP Pavilion g6
My laptop's screen is flickering so I ran the HP Diagnostics. The laptop failed the DST check with an error code. Need to know what this product code means.
Details:
Pdt Name: HP Pavilion g6
OS: Win 8.1
Error Code for DST Check Fail: 0TW460-6HN79Q-MFPX1A-60RD03
Thanks,
RaviDST fail= the hard drive is dead or dying and will need to be replaced. If you are still in warranty HP will send a replacement. If not a retail laptop SATA hard drive can be used. Just be sure to get one of at least equal capacity as the original in order to use Recovery Discs. It can be larger, but not smaller capacity.For instance if you have a 500GB hdd you could use a 750GB hdd but not a 320GB hdd.
******Clicking the Thumbs-Up button is a way to say -Thanks!.******
**Click Accept as Solution on a Reply that solves your issue to help others**
Maybe you are looking for
-
Report does not show the main section while calling from forms 6i
Hi I am running report from report from forms 6i but is does not show the data in main section, where as the data in the header section is ok. But when i run the same report independantly from report builder it show the both header and main section w
-
How to run a class function on the click event ?
Hi Tecs, i want tht when someone click on some paricular location on the form, then the class function must be called with some parameter, when someone click on some other location, the function should be called with different parameters. How this ca
-
My daughter has put a passcode on her dads iphone 4s and cant remember it and after multiple attempts it is now in "connect to itunes. My husband does not want to lose the photos on it. Is there a way to get photos off before restoring
-
I get the following output when I type in ssh -V on the console...I am using Solaris 9. SSH Version Sun_SSH_1.0, protocol versions 1.5/2.0. Does this mean tht the ssh version is ssh protocol v 2.
-
KDEmod 4.1 permissions problem
Hi, I have installed KDEmod 4.1 on my Acer Aspire One and to tell you it's working nicely!!!:D Thanks for the developers who made this...Great Work!! But I have some problems with regards to copying files, etc. I tried changing the permissions on my