Anonymous
Not applicable
Jan 13, 2009
11:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 13, 2009
11:28 AM
My project uses a setpoint region temperature valuator, with a point set at 30 degC
When generating the application I get multiple errors and the project is not generated.
In the FunctionParamDecl.h file, lines referring to the valuator look like :
#define ID_pse_valuator_1_m40,00_to_30,00_C_VALUE 0
#define ID_pse_valuator_1_30,00_to_125,00_C_VALUE 1
(etc.)
which are incorrect in C langage (inexpected commas).
This is because the implicit decimal separator used in some non-US countries, e.g. French, is a comma, not a point.
One solution is to make Windows change the implicit decimal separator when running PSoC Designer, but this is tedious and prone to forgetting.
Question : is there a workaround currently available in PSoC Designer ?
When generating the application I get multiple errors and the project is not generated.
In the FunctionParamDecl.h file, lines referring to the valuator look like :
#define ID_pse_valuator_1_m40,00_to_30,00_C_VALUE 0
#define ID_pse_valuator_1_30,00_to_125,00_C_VALUE 1
(etc.)
which are incorrect in C langage (inexpected commas).
This is because the implicit decimal separator used in some non-US countries, e.g. French, is a comma, not a point.
One solution is to make Windows change the implicit decimal separator when running PSoC Designer, but this is tedious and prone to forgetting.
Question : is there a workaround currently available in PSoC Designer ?
2 Replies
Anonymous
Not applicable
Jan 15, 2009
11:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 15, 2009
11:54 AM
You would also have the same problem with a '.' in 'C' - you need to find another work-around.
Anonymous
Not applicable
Jan 22, 2009
04:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 22, 2009
04:29 AM
No, using '.' as decimal separator works fine, while using ',' causes a crash.