04-03-2006 07:31 AM
04-04-2006 08:50 AM
Hi Priya,
Using the target group parameter in ChnAlloc() should be sufficient, so I am surprised that you are seeing different results on different computers. Another method you should try first is to set the desired group to be the default group:
Call GroupDefaultSet(1)
If that still doesn't help, then we'll need to get more details on what your system is doing.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
04-05-2006 12:06 AM
04-06-2006 10:05 AM
Hi Priya,
Now I understand. In DIAdem 9.1 we allowed implicit creation of new Groups when the Group name passed to ChnAlloc() included the construction "GroupName/ChannelName". This lead to confusion of the sort you described, and this no longer happens in DIAdem 10. You can get around this by using any character other than "/" (for instance "Data Time\Sec" or "Data Time [Sec]"). I'd would also encourage you to put the unit information in the unit property of the channel using ChnDim() instead of in the channel name.
The "/" character continues to be a disallowed character in both Group names and Channel names in DIAdem 10, so you need to think of some other way to name your Groups and Channels.
Ask if you still have trouble with this,
Brad Turpin
DIAdem Product Support Engineer
National Instruments
04-07-2006 02:51 AM