Author Previous Topic Topic Next Topic  
verticallimit
Chief Engineer


588 Posts
Posted -  11-04-2010  :  12:36:06

As told in this forum LINK then Juan from encore developed new software that retrieves data from the virtual cockpit. In collaboration with Leonardo Soft ware House / Fly The Maddog , they have created the ultimate simpit software. At the moment, so operate the software only with the use of virtual cockpit, but Leonardo will in the next software update makes it possible to retrieve these data in all cockpit views.


It looks very promising with the new offsets. Thumbs-up


Here is an example of what we get when we retrieve data out of the virtual cockpit, with the new software.

I have been through the first 150 offset, and can actually retrieve data from everyone.


Here comes an example of how the new offset works

// CM1 ASI

0: VAR CM1_asi_needle1 // ias needle

1: VAR CM1_asi_needle2 // vmo needle 

2: VAR CM1_asi_needle3 // salmon bug     

3: VAR CM1_asi_needle4 // bug 0                           

4: VAR CM1_asi_needle5 // bug 1                              

5: VAR CM1_asi_needle6 // bug 2                                   

6: VAR CM1_asi_needle7 // bug 3            

7: VAR CM1_asi_needle8 // OFF flag             

8: VAR CM1_asi_needle9 // A/S flag               

9: VAR CM1_asi_strip1 // millesimi mach              

10: VAR CM1_asi_strip2 // centesimi mach               

11: VAR CM1_asi_strip3 // decimi mach                        

12: VAR CM1_asi_needle4_event // spostamento bug 0   

13: VAR CM1_asi_needle5_event // spostamento bug 1     

14: VAR CM1_asi_needle6_event // spostamento bug 2    

15: VAR CM1_asi_needle7_event // spostamento bug 3    

Number 12-15 is the offset for moving the bugs 1-4

Needles and bugs run from 0 to 380 scale grades  = 0 degress 12 o'clock / 90 degrees 3 o'clock 

Lights Off: 0 and 100 lit.

Pushbuttons 0 normal and 100 activated.

Rocker switches 0 when facing down and 100 when they turn up, regardless of function.Has rocker switch 3 positions are mid-position 50

 

As you can see there are many data which can be downloaded from the virtual cockpit, therefore, we now have approx. 700 new offsets. It may very well happen that we must combine IOCPServer offset with FSUIPC offset, to get the best result.

Time will tell whether we can also write to these offsets.

 

With this software it much easier to write script.

Before when you for example would create a flashing lamp for oil pressure, so you should also have conditions such as:


DC on / AC on / The engine X RPM / Oil pressure under X bar/ Timer lights on off. / Lamp test


Now you can just download the offset, and turn one the output.

All conditions are made from your actual aircraft. So with a very realistic plane, like "Fly The Maddog", you get a very realistic simpit. Nice and easy Wink

 

 

Other beta testers are welcome, just send me a mail. For simplicity, all communications to Juan must go through me.

 


Med venlig hilsen / Best regards

Claus

 

Author Replies  
verticallimit
Chief Engineer


588 Posts
Posted - 11-04-2010 : 23:41:24
If you can't read the SIOCPServer offsets.

Open the sioc config file

Change Yes in line "IOCPclient0_disable=" to no

 

It should look like this:

 
[************** IOCP CLIENT MODULE #0 ***************]
 
[ Desactivar el módulo cliente IOCP ]
[ Disable IOCP client module ]
IOCPclient0_disable=no
 
[ IP del servidor donde debe de conectar el cliente ]
[ IOCP client host name ]
IOCPclient0_host=localhost
 
[ Puerto de envio del protocolo IOCP cliente ]
[ IOCP client port ]
IOCPclient0_port=8090
 

[************** IOCP CLIENT MODULE #1 ***************]
  


Med venlig hilsen / Best regards

Claus

 

Go to Top of Page
verticallimit
Chief Engineer


588 Posts
Posted - 16-04-2010 : 19:28:34
Juan tells here about offset "Event" function:

"As i received from Davide, you can not write directly on most of the
offsets, the way to do that is make the same procesor as the Virtual Cockpit
does, i mean, you need to identify the corresponding event offset, a
variable called xxxxx_event and use this offset to send an event that will
change the value.

AS you can see, each part on the cockpit has the 'event' variable, (For
example, to change the light switch you need to send a value the the offset
called ext_lights_event).

But you need to know the event value, and this is a hard work :-) becouse i
dont know it. Maybe you can write to Davide and he can send you all the
events values... :-)  "


__________________________________________________________

 

I have here over the last few days been busy with finding missing features in the new beta software.

To test the offset, I have used the program Gauges Composer, it is also Juan that have  made this program.

I could see the values in the various offsets, except in the Event offset, but suddenly I saw that one event offset in a split second flashed a value.

And by pressing 20-100 times at the same button in the virtuel cockpit, it manage me to find the offset to the CDU.

 

 


And here is an example of how to press the A with input 1:

 

Var 0000, Value 0     // Initializing

Var 0001, Link IOCARD_SW, Input 1, type P

{
  IF V0001 = 0
  {
    V0002 = 0   
  }
  ELSE
  {
    V0002 = 65  // Value 65  set the buttom A
  }
}

Var 0002, Link IOCP, Offset 2653     // set A

 

I have seen some event  data on the radar unit also.

So will almost certainly be able to manage all contacts via the new software.

 

 


Med venlig hilsen / Best regards

Claus

 

Go to Top of Page
verticallimit
Chief Engineer


588 Posts
Posted - 19-04-2010 : 21:45:47
Here is the offset list in PDF with the new IOCPServer offsetts

LINK

 

And for Open Office database

LINK


Med venlig hilsen / Best regards

Claus

 

Go to Top of Page
verticallimit
Chief Engineer


588 Posts
Posted - 23-04-2010 : 14:49:23
The script for the overhead.

Link to script Click



LAST UPDATA 30/5

It is made script for the following components



More to come..........

It is incredibly easy, aircraft software does all the work for us Thumbs-up

 
Remember to modify input and output numbers in my scipt to your hardware.


Med venlig hilsen / Best regards

Claus

 

Go to Top of Page
verticallimit
Chief Engineer


588 Posts
Posted - 02-05-2010 : 02:52:19



Med venlig hilsen / Best regards

Claus

 

Go to Top of Page
crashdog
Software Engineer


249 Posts
Posted - 02-05-2010 : 13:17:36
Looks VERRY good Claus,

I have most of the OH switches working. But over fsuipc mouse macros. So no need for the virtual cockpit.

But I don't have any led's working yet. Actually I also have an opencockpits master card in one of my drawers, but I don't have the right cable to connect it to the PC. I am currently also fiddeling around with opencockpits USB servo card. I allready fryed one ;-) but have a second card. Also installed iocp / sioc but it's been a long time since I used it.

Have you heard anything from davide ? on the flythemaddog forum he anounnced the software update by end april.

By the way any one going to Lelystadt in November ? I will be there at least on Saturday. Would be nice to meet you guys there.

Cheers,

Gery


Kind Regards,

Gery
Go to Top of Page
verticallimit
Chief Engineer


588 Posts
Posted - 02-05-2010 : 14:03:01


quote:
crashdog wrote:
Looks VERRY good Claus,


Have you heard anything from davide ? on the flythemaddog forum he anounnced the software update by end april.

By the way any one going to Lelystadt in November ? I will be there at least on Saturday. Would be nice to meet you guys there.

Cheers,

Gery


Hi Gery

I have not heard from David. But I am sure that they operate under high pressure, to publish this update. Incidentally, will this update be made so that you can read virtual cockpit data without it being activated, thus our new software can work also when use the 2D cockpit,

I have no plans to come to Lelystadt, but I'm sure it could be a great experience.



Med venlig hilsen / Best regards

Claus

 

Go to Top of Page
crashdog
Software Engineer


249 Posts
Posted - 03-05-2010 : 23:10:21
The servicepack has being released.

http://www.flythemaddog.com/forum/index.php?showtopic=8382

Will check it out over the weekend.

Gery


Kind Regards,

Gery
Go to Top of Page
crashdog
Software Engineer


249 Posts
Posted - 08-05-2010 : 16:02:23
Hi Claus,

I am trying to translate this script to my fds sys3 card. Trying to light up the APU avail light. I was looking that the sioc.txt file where the offset 2758 was used. But what offset is that exactly is there a different value fos fsuipc ? I could also not find any info in the iocpvar document. Can you help me out with this ?

 Thankfully

Gery


Kind Regards,

Gery
Go to Top of Page
verticallimit
Chief Engineer


588 Posts
Posted - 08-05-2010 : 18:13:58
Hi Gery

This script, which is loaded up here, is made to the beta IOCP server, meaning that the offsets used here are taken from IOCP server and has nothing to do with FSUIPC.

So to enjoy this script, we must also use the new beta software.


Med venlig hilsen / Best regards

Claus

 

Go to Top of Page
crashdog
Software Engineer


249 Posts
Posted - 08-05-2010 : 18:29:51
Hi Claus,

Thank you for the info. I guess there must be an equivalent in FSUIPC though. Question would be who can provide it. Probably Davide from Leonardo.

By the way I could now figure out how to use $3110 and $3114 with my FDS Syscards. I used to map all switches to fsuipc mouse macros. But the direct way is offcourse alway the bether one.

I have upgraded to Flythemaddog SP1. According to Leonardos Forum the interaction beween maddog and fsuipc sould be betther. But could again not find any documentation.

 Cheers,

Gery


Kind Regards,

Gery
Go to Top of Page
verticallimit
Chief Engineer


588 Posts
Posted - 08-05-2010 : 22:17:14
Hi Gery

Look here under this LINK

There is some script, and there is also a very complete list of FSUIPC offset to maddog contacts and encoders.

 


Med venlig hilsen / Best regards

Claus

 

Go to Top of Page
crashdog
Software Engineer


249 Posts
Posted - 09-05-2010 : 00:07:09
your referencing to the Maddog_commands.txt list ? I allready had that one. But thank you for all the help.

I placed a request on the maddog forum as well now... who knows maybe I get a solution there :-)

 Cheers,

 

Gery


Kind Regards,

Gery
Go to Top of Page
verticallimit
Chief Engineer


588 Posts
Posted - 17-05-2010 : 20:53:53



Med venlig hilsen / Best regards

Claus

 

Go to Top of Page
verticallimit
Chief Engineer


588 Posts
Posted - 01-08-2010 : 14:22:12
Annuciator event codes



I dont have an solution for reading the LCD text.


Med venlig hilsen / Best regards

Claus

 

Go to Top of Page
vagelisdrivas
mathematician


26 Posts
Posted - 11-11-2010 : 23:03:06
DEAR CLAUS IF IT IS POSSIBLE SEND ME THE SOFTWARE SO I CAN SET UP AN OVERHEAD PANEL.

SINCERELY YOURS

VAGELIS DRIVAS
Go to Top of Page
verticallimit
Chief Engineer


588 Posts
Posted - 12-11-2010 : 10:54:59
Here comes tekst and link from Juan for the BETA SIOCServer, only for Leonardo.

 
FROM JUAN:
 

Hi,

This is the link for download the IOCP4FS9 with VCInterface suppor with the
maddog.txt vars.
http://rapidshare.com/files/373450799/IOCP4FS9.zip

This means that you can use a new set of offsets that will give you access
for reading and in some cases for writing in all the variables used for the
maddog MD80 Virtual Cockpit, that is the way that Davide from Leonardos tell
me is the best way to required data.

Note that this new offsets are not standard IOCPServer offsets, i mean, you
can not find them over the offset explorer, this is becouse i am not
integrating this offsets on the estándar offsets system.

I have developped a new module for the IOCPServer that can read a txt file
with the names of a variables for an VC that the user can or want use, the
txt file and the number of offsets to define and the start position for this
offsets are defined on the iocpserver.ini in FS9 case, and iocp4fsx.ini on
the FSX version.

You can change or redefine your variables or Offset map, but i dont recomend
this in orther to share scripts and development with other MD80 builders.
But you can do if you want.

Please, note that the offsets defined by the VCInterface has priority over
the estándar offsets so, if you define 700 new offsets from the offset 0 and
over, you will delete the estándar offsets at those positions until redefine
the base number.

I include an iocpserver.ini file with this settings, File=maddog.txt
Offsets=700 Base=2200, becouse in IOCPServer there are not offsets from 2200
to 2900 postion.

Remember that with this version of MD80 you need the MD80 Virtual Cockpit
visible on your screen, if no VC no variables are accesible. (*)
Once you hace started your FS, after install this, you will find on the
IOCPServer.log file, a set of lines indicating if the offset was created or
not, and the number of the offset. If you don change the iocpserver.ini file
you will find each time yo run FS the same offsets numbers, so use this
lines in combination with the maddog,txt file as documentation.

Note that many of the maddog vars are not writables, so yo need, to modify
their values, send and event using special offsets definde by maddog (called
with sufix _event). For example to move the VSI KNOB you need to send some
value to the offset 2255 (called CM1_vsi_event), the exact value is somthing
that you and the rest of betatesters need to find... (Or ask Davide... :-)
Becouse a dont know what they are. The easy way to do it is, with the VC
active as i said, monitorize with IOCPConsole or an small Gauge made with
gaugecomposer that offset and its values, then use the VC interface on you
FS screen to move the switch or push the button, doing that you will see the
value is sending by the MD80 VC to the FS. If you send that value to that
offset using other systems, like SIOC or GC, you will obtain the same
result...

Please try it, and tell me every thing you find.

Remember in one month we will can download the new SP from maddog that will
give us the option to hide the VC and still running.

IMPORTANT: Make a copy of your modules foder :-) and uninstall the
IOCPServer before intall this one. 

 
 

My Latest script LINK
 


Med venlig hilsen / Best regards

Claus

 

Go to Top of Page
vagelisdrivas
mathematician


26 Posts
Posted - 24-12-2010 : 10:21:05
Greetings to all. Here is an sioc script for all external lights and flight guidance system.

http://rapidshare.com/files/439009154/lights_and_fgcs.txt


VAGELIS DRIVAS
Go to Top of Page
skalarki
Mechanic Student


16 Posts
Posted - 29-12-2010 : 12:33:54
Hi

Question about IOCPServer offsets. I was trying to get some data from IOCPServer throuhg FSUIPC and is not working. Then question is: is it possible or IOCPServer is only dedicated to SIOC?

Marcini

 


Go to Top of Page
crashdog
Software Engineer


249 Posts
Posted - 29-12-2010 : 13:48:39
Hi Marcini,

There is no direct connection from the IOCP server to fsuipc to my knowledge. If you need to read SIOC values in fsuipc for what ever reason. You would have to make a sioc script that sets the value from an IOCP variable to an fsuipc offset. $66c0 and onwards are so called user offsets and can basically be used for anything.

Gery

Edited by - crashdog on 29-12-2010
Go to Top of Page
skalarki
Mechanic Student


16 Posts
Posted - 29-12-2010 : 13:56:09
In that case IOCP server is dedicted to SIOC.
I was trying to get data but I don't want to do anything with SIOC. Just wanted to work out some more functions and events for my software.

Do you know what for are named variables? What for they are published?

Thanks Gery.

Edited by - skalarki on 29-12-2010


Go to Top of Page
crashdog
Software Engineer


249 Posts
Posted - 29-12-2010 : 14:18:29
I'm not sure what you mean with named variables. Is that the LVARs in fsuipc or something in IOCP ?

 

Gery
Go to Top of Page


Set us as your default homepage Bookmark us Privacy   © 2009 MD-80 Cockpit Project - All Rights Reserved. Design by: R.Frost SkyPortal.net Go To Top Of Page

Page load time - 2,148