Welcome, Guest
Username: Password:
  • Page:
  • 1

TOPIC:

Disconnect and unmap extensions - proposal 16 Dec 2002 20:50 #6295

Hi All,

By the analogy to other operations, which could be invoked without parameters, the 'disconnect' and the 'unmap' operations used without parameters may disconnect all ports of all components and unmap all ports of test system interface. It may be also possible to invoke the operations with one component only for selected port or for all ports of this component.


Proposal to standard:
22.3 The Disconnect and Unmap operations
It is possible to call disconnect or unmap operations without any parameters specified. This operations will disconnect all ports of all components or unmap all ports of test system interface.



EXAMPLE:

disconnect; // disconnect all ports of all components

unmap; // unmap all ports of test system interface



Calling disconnect or unmap operations with only one component and port specified will cause disconnection or unmapping of either all ports of all components or all ports of test system interface, which were connected and mapped to the specified port of the specified component.



EXAMPLE:

disconnect(MyNewComponent:Port1); // disconnect all ports of all components connected to

// MyNewComponent:Port1

unmap(MyNewComponent:Port2); // unmap all ports of test system interface napped to

// MyNewComponent:Port2



Calling disconnect or unmap operations with only one component specified will cause disconnection or unmapping of either all ports of all components or all ports of test system interface, which were connected and mapped to any port of the specified component.



disconnect(MyNewComponent); // disconnect all ports of all components connected to

// MyNewComponent

unmap(MyNewComponent); // unmap all ports of test system interface napped to

// MyNewComponent







Proposed standard extension in BNF:



DisconnectStatement ::= DisconnectKeyword ( PortSpec | PortRef | ComponentRef )

UnmapStatement ::= UnmapKeyword ( PortSpec | PortRef | ComponentRef )



Best Regards,
Mariusz Kupiec

Please Log in to join the conversation.

Disconnect and unmap extensions - proposal 17 Dec 2002 09:46 #6298

Hi again,

This is also a good idea. I would suggest adding the keyword 'all' to both disconnect and unmap. E.g. all.disconnect; and all.unmap;
This makes things clearer as to what the intent is.

Cheers,

Claude.



Original Message
From: Mariusz Kupiec [This email address is being protected from spambots. You need JavaScript enabled to view it.]
Sent: 16 December 2002 20:51
To: This email address is being protected from spambots. You need JavaScript enabled to view it.
Subject: Disconnect and unmap extensions - proposal


Hi All,

By the analogy to other operations, which could be invoked without parameters, the 'disconnect' and the 'unmap' operations used without parameters may disconnect all ports of all components and unmap all ports of test system interface. It may be also possible to invoke the operations with one component only for selected port or for all ports of this component.



Proposal to standard:


22.3 The Disconnect and Unmap operations

It is possible to call disconnect or unmap operations without any parameters specified. This operations will disconnect all ports of all components or unmap all ports of test system interface.



EXAMPLE:

disconnect; // disconnect all ports of all components

unmap; // unmap all ports of test system interface



Calling disconnect or unmap operations with only one component and port specified will cause disconnection or unmapping of either all ports of all components or all ports of test system interface, which were connected and mapped to the specified port of the specified component.



EXAMPLE:

disconnect(MyNewComponent:Port1); // disconnect all ports of all components connected to

// MyNewComponent:Port1

unmap(MyNewComponent:Port2); // unmap all ports of test system interface napped to

// MyNewComponent:Port2



Calling disconnect or unmap operations with only one component specified will cause disconnection or unmapping of either all ports of all components or all ports of test system interface, which were connected and mapped to any port of the specified component.



disconnect(MyNewComponent); // disconnect all ports of all components connected to

// MyNewComponent

unmap(MyNewComponent); // unmap all ports of test system interface napped to

// MyNewComponent







Proposed standard extension in BNF:



DisconnectStatement ::= DisconnectKeyword ( PortSpec | PortRef | ComponentRef )

UnmapStatement ::= UnmapKeyword ( PortSpec | PortRef | ComponentRef )





Best Regards,
Mariusz Kupiec
Portal INTERIA.PL zaprasza... >>> link.interia.pl/f16ab

Claude Desroches
Technical Architect

Strategic Test Solutions
City Gate East
Toll House Hill
Nottingham
NG1 5FS
United Kingdom

Phone +44 (0) 115 9586600
Mobile +44 (0) 796 6482165
Fax +44 (0) 115 9586633

Email This email address is being protected from spambots. You need JavaScript enabled to view it.
Web www.strategictest.co.uk <www.strategictest.co.uk/>

TTCN - Imagination Technologies

Please Log in to join the conversation.

  • Page:
  • 1

FacebookTwitterGoogle BookmarksRedditNewsvineTechnoratiLinkedin