[No...] Posted 5 hours ago Share Posted 5 hours ago (edited) I want to add the first few characters of each characteristic name (up to the first space character) to a column of the chr table file. I know that generateTableColumn() iterates through all the characteristics and calls a user-defined function for each of them. But how can I access the name of the currently processed characteristic from within that function? From the post settings of a characteristic I can get the substring I want with the following command: strElement(1," ",getActual().identifier) But of course this doesn't work anywhere else as getActual().identifier then no longer returns a valid name. In the end my code needs to run from an external PCM file, so I need a different way to get that characteristic name. Any ideas? Edited 5 hours ago Link to comment Share on other sites More sharing options...
[Ch...] Posted 2 hours ago Share Posted 2 hours ago Assign it a VAR ? e.g. CHR1 = strElement(1," ",getActual().identifier) , CHR2 = strElement(1," ",getActual().identifier) Then call CHR1 CHR2 at end as needed. Also if you have Calypso 2024 or later perhaps excel functions can help with generateTableColumn() I no longer have PCM license or I would dig deeper. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in