How to change parameters name in general_dll_block_test1 in PSIM?

Status
Not open for further replies.

echo03

Newbie level 2
Joined
Feb 9, 2011
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Reno, NV
Activity points
1,295
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;
 

For PSIM users who might have the same problem ; You need to use "ACTION_ELEMENT_LOAD: " and do the same code above to change the parameters name.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…