Applies To: |
|
Summary: |
I Have a non-English OS, and am using a comma as the decimal separator (Windows Regional Settings) I am having trouble with my TaskNew or MsgRPC function. This is
because the arguments of type REAL are not passed properly into the
TaskNew() function when using a comma as decimal separator. |
Solution: |
You can solve this issue and see the
correct Pareto page by applying one of the following solutions.
If you are running a non-English XP machine, you may be using a comma as your decimal separator. Background: In this case, the return value for the Let us work on the SPC Pareto Chart in the Example project. The
Simulatr.ci file includes the TagSimulate function. hSimTask = TaskNew( "_TagSimulateTask", "^""+sTag +"^",^""+
sWaveForm + When using a comma as the decimal separator, in runtime, the
substituted list of arguments passed as the 2nd argument of the
TaskNew function will be, for example: In the English version, it would be: We can see here the problem: 8 arguments are listed in the the first case, but only 6 in the second case. =Work Around=: We need to put "" around the real numbers as well as the
strings, so that the substituted list of arguments would now look
like: For example, we could substitute the original cicode with the following cicode line: hSimTask = TaskNew( "_TagSimulateTask", "^""+sTag +"^",^""+
sWaveForm + Note: Setting up the Setting The specific problem with the SPC Pareto Chart will be fixed in
the Example project of v7.2. |
Keywords: |
Related Links
Attachments