Page 1 of 1

Determine the version of DVB Dream

Posted: Mon Nov 28, 2011 2:02 pm
by z-wer
Hi, I'm sorry for my bad English.
I can get out of the module (plugin) api number and version number of DVB Dream?
If so, how ...
Best regards, z-wer

Re: Determine the version of DVB Dream

Posted: Mon Nov 28, 2011 2:41 pm
by rel
hi

to get DVB Dream version
function OnInit(pInfo: PInitInfo): BOOL; stdcall; export;
begin
...
pInfo^.dwVersion // current value: $01070100
...
end;

to get Module API version
function OnGetModuleInfo(ModuleInfo: PModuleInfo): BOOL; stdcall; export;
begin
...
ModuleInfo^.dwModuleAPI // current value: $01090000 (dd fills this first before the module, and sends to module here)
...
end;



current values are for DD v1.7a

Re: Determine the version of DVB Dream

Posted: Mon Nov 28, 2011 10:20 pm
by z-wer
Thank you.
:wink:
Good luck to you.

Re: Determine the version of DVB Dream

Posted: Fri Dec 02, 2011 11:08 am
by z-wer
Hello.
Do not place an unnecessary topic, there is another question.
How to send a message to the reintroduction of the current channel?
Of the module (plugin).
At the forum, and in the sources I found nothing.
I need to bypass your positioner.

My plugin works. Thank you for the source.
They have helped me. The project can lay out.
USB positioner.

Best regards, z-wer

Re: Determine the version of DVB Dream

Posted: Fri Dec 02, 2011 2:38 pm
by rel
sorry, I dont understand what you need

Re: Determine the version of DVB Dream

Posted: Fri Dec 02, 2011 10:38 pm
by z-wer
After stopping the engine(motor).
I need to send the message "The current channel is enabled."

Sorry for my English.
I understand you well.

Re: Determine the version of DVB Dream

Posted: Sat Dec 03, 2011 12:13 am
by rel
I am not sure if I understood but if you want to reset a channel after diseqc commands:

Use DDMODAPI_SET_CHANNEL_BY_CHID

lParam is channel id (the index of the channel in CHL)


You can get current channel ID by using DDMODAPI_GET_CHANNEL_ID

lParam is a pointer to an Integer variable

Re: Determine the version of DVB Dream

Posted: Sat Dec 03, 2011 1:37 am
by z-wer
:wink:
Low speed and high speed.
This lack of motor control.
In reality, it is impossible to calculate the time included the channel.
In managing the actuator - the parameters of motion are nonlinear satellite dish.

The moment of switching the current channel can not be determined.

I am not sure if I understood but if you want to reset a channel after diseqc commands:

Use DDMODAPI_SET_CHANNEL_BY_CHID
After stopping the motor, I want to repeat the command to activate the channel

Re: Determine the version of DVB Dream

Posted: Fri Dec 16, 2011 6:56 am
by z-wer
Hi, rel
All Ok!