echo03
Newbie level 2
I am trying to use the general dll block test 1 example in PSIM. I can do anything with dll but I could not manage to change the parameters name. Even if I change the code and build it, it looks like there is some other peice of function or file to prevent the change. Or I might need to other action. Any suggestions?
case REQUEST_PARAM_INFO: {
// Get parameter information
// char * szParam1: parameter Label 20 characters maximum.
char * szParam2: parameter default value 50 characters maximum.
// int * pnParam1: 1: Show Display check box 0: Do not show Display check box
switch(nRequestParam)
{
//Ten Parameters
case 0:
strcpy(szParam1, "Anything"); ***I cannot change thru here***
strcpy(szParam2, "10000"); //Default Value
*pnParam1 = 1; // Show Display check box
break;
case REQUEST_PARAM_INFO: {
// Get parameter information
// char * szParam1: parameter Label 20 characters maximum.
char * szParam2: parameter default value 50 characters maximum.
// int * pnParam1: 1: Show Display check box 0: Do not show Display check box
switch(nRequestParam)
{
//Ten Parameters
case 0:
strcpy(szParam1, "Anything"); ***I cannot change thru here***
strcpy(szParam2, "10000"); //Default Value
*pnParam1 = 1; // Show Display check box
break;