Results 1 to 8 of 8
  1. #1
    New Member
    Join Date
    Mar 2015
    Location
    Turkey
    Posts
    3
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    TWO hardware CDU's with PSXeecon CDU display

    Hi,

    I have two hardware CDU's from opencockpit and I want to use them for CDU-L and CDU-R. I have copied PSXeecon in two different folders and configured both PSXeecon's as CDU displays for both CDU's.

    Now the displays are right on both of the CDU's and when I enter something on the CDU keyboard I see the result on the PSX screen but it behaves like I keep my finger on the button like entering the same input several times.

    Is it possible to use two CDU'S with CDU displays of PSXeecon on the same PC?

    Thanks,
    Bora

  2. #2
    2000+ Poster - Never Leaves the Sim kiek's Avatar
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    2,202
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: TWO hardware CDU's with PSXeecon CDU display

    Quote Originally Posted by siliconbase View Post
    Is it possible to use two CDU'S with CDU displays of PSXeecon on the same PC?
    I have not tried it myself but it should be possible. You only also need two instances of SIOC.
    Make a copy of the SIOC folder, give both of them a diferent sioc.ini (amongst other things they have to operate at a different port), see below.
    Also give the two PSXseecon versions explicit instructions in their PSXseecon.cfg where to find each SIOC (you can no longer rely on self-detection), see below.

    Here are the files you need, assuming you have installed my PSXcockpit folder in both SIOC folders. Fill in the question marks
    Code:
    ; SIOC instance for CDUV3 as PSX CDU Left
    
    [SIOC]
    IOCP_port=8092
    IOCP_timeout=4000
    Minimized=No
    toggle_delay=20
    CONFIG_FILE=PSXcockpit\OCMCduv31\cduv31.txt
    
    [IOCARDS MODULE]
    IOCard_disable=No
    
    [MASTERS]
    5,13,1,??
    
    [FSUIPC MODULE]
    FSUipcdisable=Yes
    FSUipcRefresh=200
    
    [IOCP CLIENTS MODULES]
    IOCPini_delay=3000
    IOCPclient0_disable=Yes
    IOCPclient0_host=localhost
    IOCPclient0_port=8091
    IOCPclient1_disable=Yes
    IOCPclient1_host=localhost
    IOCPclient1_port=8090
    
    [SOUND MODULE]
    Sound_disable=Yes
    Volume=100
    
    
    ; SIOC instance for CDUV3 as PSX CDU Right
    
    [SIOC]
    IOCP_port=8093
    IOCP_timeout=4000
    Minimized=No
    toggle_delay=20
    CONFIG_FILE=PSXcockpit\OCMCduv32\cduv32.txt
    
    [IOCARDS MODULE]
    IOCard_disable=No
    
    [MASTERS]
    6,13,1,??
    
    [FSUIPC MODULE]
    FSUipcdisable=Yes
    FSUipcRefresh=200
    
    [IOCP CLIENTS MODULES]
    IOCPini_delay=3000
    IOCPclient0_disable=Yes
    IOCPclient0_host=localhost
    IOCPclient0_port=8091
    IOCPclient1_disable=Yes
    IOCPclient1_host=localhost
    IOCPclient1_port=8090
    
    [SOUND MODULE]
    Sound_disable=Yes
    Volume=100
    
    
    ;PSXseecon.cfg for PSXseecon instance supporting CDU_L
    
    IOCP_HOSTADDRESS=LOCALHOST
    IOCP_port=8092
    CONFIG_FILE=?? here your path to PSXcockpit\OCMCduv31\cduv31.txt used by SIOC instance Left
    CDU_L=1
    
    
    ;PSXseecon.cfg for PSXseecon instance supporting CDU_R
    
    IOCP_HOSTADDRESS=LOCALHOST
    IOCP_port=8093
    CONFIG_FILE=?? here your full path to PSXcockpit\OCMCduv32\cduv32.txt used by SIOC instance Right
    CDU_R=1
    Regards,
    Nico
    Last edited by kiek; 04-27-2015 at 05:26 AM.

  3. #3
    2000+ Poster - Never Leaves the Sim kiek's Avatar
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    2,202
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: TWO hardware CDU's with PSXeecon CDU display

    Hi,

    I have uploaded PSXseecon version 1.6.0. With the new parameter SUPPRESSED it is possible to run two or more PSXseecon instances connected to one and the same SIOC instance. See PSXseecon manual section 2.2.9 for more info about how to use that for CDU Left and CDU Right.

    So you now no longer need to run two SIOC instances.

    Regards,
    Nico

  4. #4
    New Member
    Join Date
    Mar 2015
    Location
    Turkey
    Posts
    3
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: TWO hardware CDU's with PSXeecon CDU display

    Quote Originally Posted by kiek View Post
    Hi,

    I have uploaded PSXseecon version 1.6.0. With the new parameter SUPPRESSED it is possible to run two or more PSXseecon instances connected to one and the same SIOC instance. See PSXseecon manual section 2.2.9 for more info about how to use that for CDU Left and CDU Right.

    So you now no longer need to run two SIOC instances.

    Regards,
    Nico
    Thanks guys. I'll give it a try and let you know..

  5. #5
    2000+ Poster - Never Leaves the Sim kiek's Avatar
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    2,202
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: TWO hardware CDU's with PSXeecon CDU display

    Hi,
    Version 1.6.1 is up. Generalized the idea of suppressing variables with the concepts of Black- or Whitelisting of variables. Parameter SUPPRESSED renamed to BLACKLIST. New parameter WHITELIST. See manual section 2.2.9
    Nico

  6. #6
    New Member
    Join Date
    Mar 2015
    Location
    Turkey
    Posts
    3
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: TWO hardware CDU's with PSXeecon CDU display

    Hi kiek,

    thanks for this great support. I've tried both 1.6.0 and 1.6.1 and this is what happened:

    On 1.6.0
    both CDU'S connected and CFG files configured: left CDU working just fine. right one behaves like someone keeps pushing the last screen button I pushed and the screen keeps opening the last screen like flickering.

    On 1.6.1
    I have replaced SUPPRESSED with whitelist just like in the manual. both CDU's connected: left one works perfect but the right one says SIOC variables not found. but I have not change anything on SIOC and all the variables are in there like when 1.6.0 was working.

    I have pasted my CFG's and the log file for CDU_R

    thanks for your help.
    Bora



    .CFG FOR CDU_L
    MAIN_WINDOW_X=610
    MAIN_WINDOW_Y=0
    CDU_L=1
    MAIN_CDU_WINDOW_X=-4
    MAIN_CDU_WINDOW_Y=0
    PSXSEECON_AS_CDU_WIDTH=1024
    PSXSEECON_AS_CDU_HEIGHT=768
    CDU_WIDTH=1000
    CDU_HEIGHT=760
    CDU_X_OFFSET=30
    CDU_Y_OFFSET=30
    //CDU_FONTSIZE=44
    //CDU_SMALL_FONT_Y_OFFSET=7
    //CDU_BOLD=0
    CDU_BORDER=0
    WHITELIST=1401, 2086

    .CFG FOR CDU_R
    MAIN_WINDOW_X=610
    MAIN_WINDOW_Y=0
    CDU_R=1
    MAIN_CDU_WINDOW_X=4022
    MAIN_CDU_WINDOW_Y=0
    PSXSEECON_AS_CDU_WIDTH=1024
    PSXSEECON_AS_CDU_HEIGHT=768
    CDU_WIDTH=1000
    CDU_HEIGHT=760
    CDU_X_OFFSET=30
    CDU_Y_OFFSET=30
    //CDU_FONTSIZE=44
    //CDU_SMALL_FONT_Y_OFFSET=7
    //CDU_BOLD=0
    CDU_BORDER=1
    WHITELIST=1402, 2087

    .LOG FILE FOR CDU_R
    PSXseecon version 1.6.1


    SIOC parameters
    IOCP_HOSTADDRESS=127.0.0.1
    IOCP_port=8092
    CONFIG_FILE=F:\SIOC\PSXocm.ssi




    PSXseecon.cfg found.
    No PSX_HOSTADDRESS parameter found in psxseecon.cfg, default is taken.
    CDU_R=1
    PSXSEECON_AS_CDU_WIDTH=1024
    PSXSEECON_AS_CDU_HEIGHT=768
    CDU_WIDTH=1000
    CDU_HEIGHT=760
    CDU_X_OFFSET=30
    CDU_Y_OFFSET=30
    CDU_BORDER=1
    WHITELIST=1402, 2087


    PSX parameters
    PSX_HOSTADDRESS=127.0.0.1
    PSX_port=10747


    Var 1402 of your white list does not occur in CONFIG_FILE ...
    Var 2087 of your white list does not occur in CONFIG_FILE ...
    The WHITELIST does not contain valid PSXseecon variable numbers!
    Error 21: No variables found in F:\SIOC\PSXocm.ssi
    The user has closed the main window
    PSXseecon window back to normal
    PSXseecon stopped.

  7. #7
    2000+ Poster - Never Leaves the Sim kiek's Avatar
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    2,202
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: TWO hardware CDU's with PSXeecon CDU display

    Hi,

    [Your CONFIG_FILE parameter points to PSXOCM.ssi... But what is in it? Vars 1402 and 2087 are not in it, which is wrong..]
    EDIT: this was not correct: see following post

    Do note that you have to run as well cduv31.txt as cduv32.txt, either by combining these scripts in to one file or by using the .lst technique.

    Rgds,
    Nico
    Last edited by kiek; 05-02-2015 at 07:38 AM.

  8. #8
    2000+ Poster - Never Leaves the Sim kiek's Avatar
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    2,202
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: TWO hardware CDU's with PSXeecon CDU display

    Hi,
    Excuse me, I made a mistake.
    The variables for the WHITELIST for the right CDU should be 1403 and 2088 ... I'll update the Manual.
    Nico
    Last edited by kiek; 05-02-2015 at 07:38 AM.