613 views
in GUI Development by
Hi Team,

If we want to use the external functions we will use it like below shown example  inside the DeviceClass

native

{

extern void function_name();

function_name();

}

Now here i want to check this at the time of prototying then we will use the class varient .

query . How that function will be called using class varient vclass(Device class) as you did in the coffee example in quick tour (9th point).

Could you please explain .

Regards,

varun kumar

1 Answer

0 votes
by

Hello Varun Kumar,

I'm sorry, but I do not really understand your question. Do you have doubts of how to invoke a Device Class method? In such case I would recommend you the chapter Use the Command in the GUI application. This is also the right approach if the Device Class has been overriden by a class variant. If the class variant is active, invoking the method of Device Class will be 'redirected' to the class variant. Whether a class variant is active or not is determined by its attribute VariantCond. If you set this attribute to the value $prototyper the class variant 'overrides' the original Device Class automatically when your GUI application is running in the Prototyper. Also interesting is the chapter Adapt Device Interfaces for Prototyping.

If the above documentation does not answer your question, please provide more details.

Best regrads

Paul Banach

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...