# How to introduce a string to a named value in the Test Manager?

**URL:** <https://forums.ipg-automotive.com/t/how-to-introduce-a-string-to-a-named-value-in-the-test-manager/323>\
**Category:** CM4SL\
**Tags:** carmaker\
**Created:** [22 September 2022 16:55 UTC](https://forums.ipg-automotive.com/t/how-to-introduce-a-string-to-a-named-value-in-the-test-manager/323 "2022-09-22T16:55:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![raudao](https://forums.ipg-automotive.com/letter_avatar_proxy/v4/letter/r/258eb7/32.png) [@raudao](https://forums.ipg-automotive.com/u/raudao)\
**Post date:** [22 September 2022 16:55 UTC](https://forums.ipg-automotive.com/t/how-to-introduce-a-string-to-a-named-value-in-the-test-manager/323/1 "2022-09-22T16:55:26Z")

</div>

Hello,

I’m trying to insert a named value in the Test Manager for a sign, “Minimum Speed”. But I’m not sure how to do it, I’ve tried:

- Minimum Speed
- (Minimum Speed)
- “Minimum Speed”
- $(Minimum Speed)

None of those worked.

So in short, how do I insert a string named value to modify a Road Scenario? More specifically a Sign in in the scenario?

Thanks in advance.  
Best Regards,  
Raúl Kevin Viana

---

<div class="post-metadata">

**Author:** ![alejandro.moreno](https://forums.ipg-automotive.com/user_avatar/forums.ipg-automotive.com/alejandro.moreno/32/80_2.png) [@alejandro.moreno](https://forums.ipg-automotive.com/u/alejandro.moreno)\
**Post date:** [26 September 2022 08:04 UTC](https://forums.ipg-automotive.com/t/how-to-introduce-a-string-to-a-named-value-in-the-test-manager/323/2 "2022-09-26T08:04:31Z")

</div>

I think the answer lies somewhere in section 14.5 of the UserGuide.pdf

In CarMaker there are two main types of variables that can be used for test automation:

- Named Values: which can vary parameters in the GUI
- Key Value: which can vary parameters in the infofile

I am assuming that using a Named Value is the correct choice for your case, since it is the most common type. Could you explain or take a screenshot of where you are trying to place this Named Variable?

The correct format for Named Values can be seen below. Where the first example is for a Floating number and the second is for a character.

 ![2022-09-26_09h40_12](https://forums.ipg-automotive.com/uploads/default/original/1X/8f629d9770a67bb877a2ec50647925ccaa5a64ff.png)

Furthermore, Named values can also be used in combination with Realtime Expression.

 ![2022-09-26_09h49_28](https://forums.ipg-automotive.com/uploads/default/original/1X/022385d338380c7b02c3f663c61ecfa39f3a674a.png)

So, my guess then is that the correct format for you variable is:

$Minimum\_Speed

Optionally, you could also add a default value

$Minimum\_Speed=30

---

<div class="post-metadata">

**Author:** ![raudao](https://forums.ipg-automotive.com/letter_avatar_proxy/v4/letter/r/258eb7/32.png) [@raudao](https://forums.ipg-automotive.com/u/raudao)\
**Post date:** [6 October 2022 08:50 UTC](https://forums.ipg-automotive.com/t/how-to-introduce-a-string-to-a-named-value-in-the-test-manager/323/3 "2022-10-06T08:50:46Z")

</div>

Hello,

Thanks for taking your time to answer my question.

Going into the details of what I’m trying to achieve; I’m trying to change a road sign through a Named Value. To do that I created Named Value for the road sign in the Scenario Window. The problem I’m having is that when I try to assign a specific sign through the Test Manager window, the sign doesn’t change. My question is: How can I change it? What do I write in the Value column in the Test Manager to change the sign in the Scenario?

 ![Captura de ecrã 2022-10-06 094459](https://forums.ipg-automotive.com/uploads/default/original/1X/a125de8943462627425f51e9b087f91a27f56224.png)

Thanks again for your time.  
Best Regards.  
Raúl Kevin Viana

---

<div class="post-metadata">

**Author:** ![alejandro.moreno](https://forums.ipg-automotive.com/user_avatar/forums.ipg-automotive.com/alejandro.moreno/32/80_2.png) [@alejandro.moreno](https://forums.ipg-automotive.com/u/alejandro.moreno)\
**Post date:** [10 October 2022 06:46 UTC](https://forums.ipg-automotive.com/t/how-to-introduce-a-string-to-a-named-value-in-the-test-manager/323/4 "2022-10-10T06:46:44Z")

</div>

I have prepared a small example (CarMaker 10), where I change the displayed Speed Limit on the Traffic signs by Test Manager:  
[Forums\_323.zip](https://forums.ipg-automotive.com/uploads/short-url/epWIrPBHh4ReA3F5J7gDJ0W8gUT.zip) (67.5 KB)

The parameters that need to be changed can be seen in the picture below:

 ![2022-10-10_08h42_17](https://forums.ipg-automotive.com/uploads/default/original/1X/ccb7210035b82ae4ed00797b87cecb4900f7d57a.jpeg)

Please be aware that changing the traffic signs does not influence the driving speed. This can be implemented by a Marker as seen in the picture below:

 ![2022-10-10_08h45_11](https://forums.ipg-automotive.com/uploads/default/original/1X/d655132d1b7724452624abe872b7bf510c47750f.png)

---

<div class="post-metadata">

**Author:** ![raudao](https://forums.ipg-automotive.com/letter_avatar_proxy/v4/letter/r/258eb7/32.png) [@raudao](https://forums.ipg-automotive.com/u/raudao)\
**Post date:** [10 October 2022 13:06 UTC](https://forums.ipg-automotive.com/t/how-to-introduce-a-string-to-a-named-value-in-the-test-manager/323/5 "2022-10-10T13:06:09Z")

</div>

Hello Alejandro,

Maybe I wasn’t clear in what I’m trying to do. I’m not trying to change the value of a Speed Limit sign, I’m trying to completely change the sign. For instance, from a Stop Sign to a Tunnel Sign.

 ![Captura de ecrã 2022-10-10 140250](https://forums.ipg-automotive.com/uploads/default/original/1X/acdef6d2de4c767b0f59092c37c9e410c48b6feb.jpeg)

In this example, I assigned a Named Value to the type of sign entry. It is in yellow, in the right tab. Now I want to change the sign type. I did everything similar from what you described, but my problem is what should I write in the Value column in the Test Manager to change the sign.

Thanks again for your time.  
Best Regards.  
Raúl Kevin Viana

---

<div class="post-metadata">

**Author:** ![alejandro.moreno](https://forums.ipg-automotive.com/user_avatar/forums.ipg-automotive.com/alejandro.moreno/32/80_2.png) [@alejandro.moreno](https://forums.ipg-automotive.com/u/alejandro.moreno)\
**Post date:** [11 October 2022 06:19 UTC](https://forums.ipg-automotive.com/t/how-to-introduce-a-string-to-a-named-value-in-the-test-manager/323/6 "2022-10-11T06:19:59Z")

</div>

In CarMaker there are two main types of variables that can be used for test automation:

- Named Value: which can vary parameters in the GUI
- Key Value: which can vary parameters in the infofile

Since I am not able to set a Named Value (NValue) in the GUI (e.g. $MyValue=50) that tells me that I need to use the other type of variable, Key Value (KValue). To show how to do it properly, I have updated the example:  
[Forums\_323.zip](https://forums.ipg-automotive.com/uploads/short-url/lYTJzPkcfWhkXMdFEsznnySyzvR.zip) (85.1 KB)

In order to figure out what the KValue names and values are, I can save a dummy test run, where I have changed the type of sign (e.g. Sign\_Stop, Sign\_Tunnel). This TestRuns are not needed, but they help one to find out the correct naming. Please note, that a combination of KValues and NValues can be used.

The parameters needed for each variation can be seen in the pictures below:

 ![2022-10-11_08h00_13](https://forums.ipg-automotive.com/uploads/default/original/1X/f38ba1980d95f1571697141fa58130aeaa489efa.jpeg)

 ![2022-10-11_08h00_50](https://forums.ipg-automotive.com/uploads/default/original/1X/0dd8a850228738305fafd4f3a653ae38ae913554.jpeg)

 ![2022-10-11_08h01_18](https://forums.ipg-automotive.com/uploads/default/original/1X/abc7ae5cf0479114060b630cb67effc125d3ccb5.jpeg)

Please mark this reply as the Solution if you find it satisfactory.  
 ![2022-10-11_08h23_37](https://forums.ipg-automotive.com/uploads/default/original/1X/18c1672bcd3d35b3d13b34447c273ed0df5d74b1.png)

Also, don’t forget to **ask** , and also **answer** more questions in the forum!

---

<div class="post-metadata">

**Author:** ![raudao](https://forums.ipg-automotive.com/letter_avatar_proxy/v4/letter/r/258eb7/32.png) [@raudao](https://forums.ipg-automotive.com/u/raudao)\
**Post date:** [11 October 2022 06:50 UTC](https://forums.ipg-automotive.com/t/how-to-introduce-a-string-to-a-named-value-in-the-test-manager/323/7 "2022-10-11T06:50:16Z")

</div>

Hello,

This solves my problem!

Thanks for the help.  
Best regards,  
Raúl Kevin Viana
