Determine the version of DVB Dream

Module API help / support section for programmers.

Moderators:X05, Dreamer, FredB

z-wer
Just popping in
Posts:6
Joined:Sun Oct 30, 2011 9:50 am
Determine the version of DVB Dream

Postby z-wer » Mon Nov 28, 2011 2:02 pm

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
ss2.6d, drv 4.5.0, os windows xp
User avatar
rel
relocation
Posts:2051
Joined:Fri Jun 16, 2006 9:50 am

Re: Determine the version of DVB Dream

Postby rel » Mon Nov 28, 2011 2:41 pm

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
DVB Dream - because I have to dream about having time to code it
z-wer
Just popping in
Posts:6
Joined:Sun Oct 30, 2011 9:50 am

Re: Determine the version of DVB Dream

Postby z-wer » Mon Nov 28, 2011 10:20 pm

Thank you.
:wink:
Good luck to you.
ss2.6d, drv 4.5.0, os windows xp
z-wer
Just popping in
Posts:6
Joined:Sun Oct 30, 2011 9:50 am

Re: Determine the version of DVB Dream

Postby z-wer » Fri Dec 02, 2011 11:08 am

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
ss2.6d, drv 4.5.0, os windows xp
User avatar
rel
relocation
Posts:2051
Joined:Fri Jun 16, 2006 9:50 am

Re: Determine the version of DVB Dream

Postby rel » Fri Dec 02, 2011 2:38 pm

sorry, I dont understand what you need
DVB Dream - because I have to dream about having time to code it
z-wer
Just popping in
Posts:6
Joined:Sun Oct 30, 2011 9:50 am

Re: Determine the version of DVB Dream

Postby z-wer » Fri Dec 02, 2011 10:38 pm

After stopping the engine(motor).
I need to send the message "The current channel is enabled."

Sorry for my English.
I understand you well.
ss2.6d, drv 4.5.0, os windows xp
User avatar
rel
relocation
Posts:2051
Joined:Fri Jun 16, 2006 9:50 am

Re: Determine the version of DVB Dream

Postby rel » Sat Dec 03, 2011 12:13 am

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
DVB Dream - because I have to dream about having time to code it
z-wer
Just popping in
Posts:6
Joined:Sun Oct 30, 2011 9:50 am

Re: Determine the version of DVB Dream

Postby z-wer » Sat Dec 03, 2011 1:37 am

: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
ss2.6d, drv 4.5.0, os windows xp
z-wer
Just popping in
Posts:6
Joined:Sun Oct 30, 2011 9:50 am

Re: Determine the version of DVB Dream

Postby z-wer » Fri Dec 16, 2011 6:56 am

Hi, rel
All Ok!
ss2.6d, drv 4.5.0, os windows xp

Return to “Module / Plugin Programming”

Who is online

Users browsing this forum: No registered users and 1 guest