Hi,
How to I may write or read data form _dyn_string_01 in _general ?
When I was traing use PARA window to entry data to _dyn_string_01 system set up window "Not implemented"
Andrzej
\"_dyn_string_01\" in \"_general\"
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: \"_dyn_string_01\" in \"_general\"
With the CTRL functions dpGet()/dpSet() or similar function to access dp elements and their configs you can read/write the attribute _general.._dyn_string_01.
In the PARA module a panel to show the _general config is not available in all versions, e.g. in 3.15 you can use the PARA module to modify/show the _general config.
Best Regards
Leopold Knipp
Senior Support Specialist
In the PARA module a panel to show the _general config is not available in all versions, e.g. in 3.15 you can use the PARA module to modify/show the _general config.
Best Regards
Leopold Knipp
Senior Support Specialist
- fmulder
- Posts:330
- Joined: Wed Feb 03, 2010 9:46 am
Re: \"_dyn_string_01\" in \"_general\"
You'll first have to make the general config by writing the _type field. This is done like this:
dpSet("System1:TestDP.Float:_general.._type", DPCONFIG_GENERAL);
This is also whon in the help file when you look at the details for the general config.
The above sequence 'creates' the config. Writing a '0' deletes the config
share the fun
Frenk Mulder
dpSet("System1:TestDP.Float:_general.._type", DPCONFIG_GENERAL);
This is also whon in the help file when you look at the details for the general config.
The above sequence 'creates' the config. Writing a '0' deletes the config
share the fun
Frenk Mulder
- atrejman
- Posts:7
- Joined: Wed Feb 22, 2017 9:20 am
Re: \"_dyn_string_01\" in \"_general\"
Hi,
Thanks for rapid answer.
I have found my mistake.
I was tracking down this particular "_general" in PARA window parallely to running script contains "dpSet".
In this very case dpSet doesn't work and no generate any error.
Andrzej
Thanks for rapid answer.
I have found my mistake.
I was tracking down this particular "_general" in PARA window parallely to running script contains "dpSet".
In this very case dpSet doesn't work and no generate any error.
Andrzej
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: \"_dyn_string_01\" in \"_general\"
When opening the configuration panel for a config in the PARA module the config is locked.
Write access by other managers is then not possible. This will be the cause why the dpSet did not work.
If you want to get the information if a dpSet() was successful or not you have to use a dpSetWait() and afterwards the function getLastError() to check if an error occured.
Best Regards
Leopold Knipp
Senior Support Specialist
Write access by other managers is then not possible. This will be the cause why the dpSet did not work.
If you want to get the information if a dpSet() was successful or not you have to use a dpSetWait() and afterwards the function getLastError() to check if an error occured.
Best Regards
Leopold Knipp
Senior Support Specialist