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
Similar Messages
-
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 -
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. -
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 KBHi,
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 -
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 KBHere 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 -
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 -
BackinBean scope is an unknown variable
JDeveloper 11.1.1.2.0
1) I have created unbounded task flow adfc-config with method="methodCall2":
<method-call id="methodCall2">
<method>#{backingBeanScope.MojeBina.zkopiruj}</method>
<outcome id="__21">
<fixed-outcome>test</fixed-outcome>
</outcome>
</method-call>
2) than I have registered managed bean in adfc-config task flow :
<managed-bean id="__16">
<managed-bean-name id="__14">MojeBina</managed-bean-name>
<managed-bean-class id="__15">Fa.view.backing.FakturyMain</managed-bean-class>
<managed-bean-scope id="__13">backingBean</managed-bean-scope>
<managed-property id="__18">
<property-name id="__17">table1</property-name>
<property-class>oracle.adf.view.rich.component.rich.data.RichTable</property-class>
<value id="__19">#{table1}</value>
</managed-property>
</managed-bean>
3) when I am trying to fill in field Method in methodCall2 by expresion builder by value #{backingBeanScope.MojeBina.zkopiruj} I get immediately red underline and blue hint: backinBean scope is an unknown variable. What I am doing wrong ?
Thanks for the advice
PetrNothing at all!
It's just that the backing bean scope can't be evaluated at design time. This scope is only available at runtime. JDev tries to evaluate the expression, gets an error (because the bean is not present at design time) and shows the red underline (see http://thepeninsulasedge.com/frank_nimphius/2010/03/09/gotchas-when-using-memory-scope-prefixes-in-el-to-access-managed-beans).
You can switch off this warning, but I can't remember how. I'll look into this.
Timo -
Get a variable by a name string?
Hi,
I am currently developing an interpreter.
This interpreter will be initiated with several pieces of strings mixed
with unknown number of variables with some order which is unknown previously.
So the better way is just passing one string which contains the variable
name strings and return a collection of variables specified by the variable
names contained in this string.
Problem is:
How can I get a local variable from a name string in a method, instead of
by a name variable?
Java Reflection can only return fields, but not variables
Any idea?
And does JNI could do it?
Any help appreciated
Thanks in adv
dunsonInterpreter for what?
-
JMS Defined property names are set as "Application" defined properties
JMS Specification says "JMS reserves 'JMS_<vendor_name>' for provider specific properties " . so when i try to define a application property name as "JMS_Sun MicroSystems"
it is throwing the exception shown below :
javax.jms.JMSException: message property name is invalid .
This is working according to the specification but the same is not happening with JMS Defined Properties.
I am using J2EE's JMS Provider.
The JMS Specification says "JMS reserves the 'JMSX' property name prefix for JMS defined properties. "
This implies that a JMS Client Should not be allowed
to use them as "Application " property name.
For example the following code should throw JMS Exception :-
setStringProperty("JMSXUserID","abcd")
but instead it sets the application propertyname as "JMSXUserID". This behaviour is against the specification.This behaviour is not agains the specification.
The specification table 3.3 defines who sets the properties, their type and their name. If you read the table two of the properties are set by the client, your assertion would make this behaviour contradictory.
The others are set by the provider on send or receive. This means that it does not matter what you set them to they will be overwritten when the message is sent, or received, so it is perfectly reasonable to allow the user to set this variable as it is overwritten by the provider.
If you were to try: setStringProperty("JMSXNewName", "abcd") I would expect this to fail as the property has not been defined yet, and accepting this would be contradictory to the specification.
In other words. You cannot use the prefix JMS_ or JMSX for your own properties, unless they have been defined previously by the Provider or the specification in which case they may be overwritten anyway.
Hope this helps. -
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,
ShelleyShelley 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. -
Okay, say I have a property list:
Names = [#Alice: 13, #Bob: 24, #Carol: 41]
If I want to access #Bob, it's as easy as saying:
put Names.Bob
-- 24
Yay. So, say I have a variable that I want to use as the
property to check:
var = "Bob"
How do I make it check that property in the list? I can't use
"Names.var",
because "var" isn't a property on that list. "getAt" and
"getOne" return
nothing. "getProp", "getaProp", and "getPropAt" just error.
There's got to
be some simple way to do this that I'm overlooking...> It's more important that you understand why this
happens. You created a
> property list using symbols as keys, but then start
trying to reference
> the property names as strings. They are /completely/
different data types.
> It's stranger that it works in *any* case as opposed to
failing in the
> case you cite.
Well, I guess another lesson to take from this is that just
because the
program lets you use a "reserved" word as a property name,
you still
shouldn't do it. I had "Build" as a property in this list. It
worked until
now, and it's not interfering with the intended meaning of
the "build()"
command (something to do with 3D, which I haven't touched),
but one
side-effect is that it automatically changed it from "Build"
to "build",
which made the function that worked on everything else fail
in this case.
(It sometimes seems every new version of Director adds a
bunch of new
keywords, and all the good ones are being used up. I've had
problems
updating old projects made in previous versions because of
stuff like this
before.)
Maybe you are looking for
-
I am using the Switch function in Reporting Services to determine the visibility of a row. It happens that I am using more that one column or field to test my expression like so: =Switch(Parameters!View.Value = "Green" AND Fields!Tax.Value = "N",TRUE
-
PhotoShop Liquify Filter Not Working
First of all, sorry if I'm posting in the wrong area! I've recently purchased Photoshop CS6 extended and I was very excited to start using it. I went onto the liquify filter to start editing an image and noticed something incredibly strange. Usually,
-
I can't get to any of my files. All there is is the blank screen with the pink/purple space photo. The dock won't come up. There is nothing. What can I do? All my pictures from the last 5 years are on this computer. It is five years old.
-
How to disable radio on the AP
need help on how to disable radio on the AP 1140 from NCS script . Thank you Ambuj
-
i can`t find the ios7 update (your ios6.1.4 is up to date) why?