Invalid character in parameter name

682 views
Skip to first unread message

Lockhart, Stephen C

unread,
Nov 10, 2014, 7:19:16 PM11/10/14
to ia...@googlegroups.com

We have a custom data source that we also use to generate our .prn file. 

 

In the real-time client display, in the configuration tool, under Parameter Defaults, when clicking on the button for “Validate Parameters and Displays”, most of the parameters fail validation with some message about the parameter having an invalid character.

 

What characters are not allowed in the parameter name, which would cause it to fail validation for this reason?

 

An example of one of our parameter names (described generically) is:

 

Message_Name->Bus_Name->Bus$ODB_Name->.Data_Element.Data_Subelement

 

I shortened the name for one of the parameters to

 

Message_Name.Data_Element

 

and validation appeared to pass.

 

So I’m guessing one or more of the special characters is causing us problems.

 

Thanks,

Steve Lockhart

801-775-2971

Adam Chant

unread,
Nov 10, 2014, 7:28:13 PM11/10/14
to ia...@googlegroups.com

Steve,
Here's a list of the invalid characters for a Parameter Name: \ / : * ? \ " < > |
Good luck,

 

Adam Chant
Symvionics, Inc.
IADS Application Engineer
(661) 273-7003 x 210

--
You received this message because you are subscribed to the Google Groups "IADS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iads+uns...@googlegroups.com.
To post to this group, send email to ia...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/iads/2536627D7298D14F82E4B6153D868D524AD2D351%40HDXDSP51.us.lmco.com.
For more options, visit https://groups.google.com/d/optout.

Michael Jones

unread,
Nov 10, 2014, 7:29:12 PM11/10/14
to ia...@googlegroups.com
Hello Steve,

Here’s the list of disallowed characters for parameter names (Primarily because they are invalid file names)

cInvalidParameterNameChars = "\\/:*?\"<>|";

Similarly, there are also a host of characters that are not a good idea.  Primarily arithmetic operators. i.e. plus, minus/dash, question mark, etc)
By default, these characters will cause errors in the derived equation engine.

For example:
Parm1 is named BILLY-BOB

Parm3 has a derived equation of BILLY-BOB

Parm3 will try to evaluate the equation as ‘parameter named BILLY  minus parameter named BOB’
To override the default equation parsing Parm3’s equation will need to be defined as {BILLY-BOB} - evaluating as ‘the current value of BILLY-BOB"

Regards,
Mike

-- 
You received this message because you are subscribed to the Google Groups "IADS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iads+uns...@googlegroups.com.
To post to this group, send email to ia...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/iads/2536627D7298D14F82E4B6153D868D524AD2D351%40HDXDSP51.us.lmco.com.
For more options, visit https://groups.google.com/d/optout.

Michael Jones
Symvionics, Inc.
IADS Telemetry Systems
661-277-5465

** CONFIDENTIALITY NOTICE ** 
This communication, including any attachments, is from SYMVIONICS, Inc., and contains confidential information intended only for the addressee(s). The information contained in this transmission may also be privileged and exempt from disclosure under applicable law. If you are not the intended recipient, any use, dissemination, distribution or copying of this document or its contents is strictly prohibited. If you have received this communication in error, please contact the sender by reply e-mail immediately and destroy all copies of the original message.
 
  
WARNING: Computer viruses can be transmitted via email. We scan our e-mail for virus signatures. The recipient should doublecheck this e-mail and any attachments for the presence of viruses. SYMVIONICS, Inc. accepts no liability for any damage caused by any virus transmitted by this email.
 

Kathy Rodittis

unread,
Nov 10, 2014, 9:07:32 PM11/10/14
to ia...@googlegroups.com
Hi Steve-
One more rule! 
No whitespace for any parameter name that appears in a PRN file.
Kathy 

Reply all
Reply to author
Forward
0 new messages