create_radio_antenna#

EmitComponents.create_radio_antenna(radio_type, radio_name=None, antenna_name=None, library=None)[source]#

Create a new radio and antenna and connect them.

Parameters:
radio_typestr

Type of radio to create. For example, “Bluetooth”. Must match a radio name in the specified library.

radio_namestr, optional

Name to assign to the new radio. If None, then an instance name is assigned automatically. The default is None.

antenna_namestr, optional

Name to assign to the new antenna. If None, then an instance name is assigned automatically. The default is None.

librarystr, optional

Name of the component library. If None, the syslib is used. The default is None.

Returns:
EmitComponent

The newly created radio.

EmitComponent

The newly created antenna.

References

>>> oEditor.CreateComponent