Implicit channels in DIAdem 9.1Primary Software: DIAdemPrimary Software Version: 9.1 Primary Software Fixed Version: 9.1 Secondary Software: N/A
Problem: My script, in which implicit channels are loaded and changed, does not work in DIAdem 9.1. Solution: In earlier DIAdem versions, generation specifications determined that implicit channels were saved in a way that saved memory space. For efficient use of the main storage of the computer, the main storage also manages implicit channels with generation specifications in DIAdem version 9.1 and later versions (start value, step width, and number of values). This means that only three values are used when implicit channels are loaded, no matter how long the channel is. To change the contents of implicit channels, the channels first must be expanded. To make the changes you can use the channel shortcut menu in the Data Portal or a script. In a script the command "CHNVALEXPAND" is used. Example: MyChnNoStr = Str(CNo("GroupName/MyChannelName")) call CHNVALEXPAND(MyChnNoStr) The command CHNVALEXPAND does not generate an error message if an explicit channel is used as the parameter instead of an implicit channel. This means you can expand a complete channel group even if the group contains explicit channels. Example: MyGroupIndex = GroupIndexGet("GroupName") for iLoop = 1 to GroupChnCount(MyGroupIndex) MyChnNoStr = Str(CNoXGet(MyGroupIndex, iLoop)) call CHNVALEXPAND(MyChnNoStr) next Refer to the DIAdem help for further information on the commands. Related Links: Attachments:
Report Date: 11/24/2004 Last Updated: 11/24/2004 Document ID: 3FM1FQI1 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
