FS Board Config Rotate Display

  • When I change the Display Rotate to 90° using the tool FSBoardConfig on the control Panel of the NetDCUA5, then the display will rotate 90°. After that I press "SAVE REGISTRY", but I could not see any changes in the setting of the key \drivers\display\LCD\mode100 or key \system\gdi\rotation.


    After a reboot, the display is shown normal, 0° rotate.


    What mus be done, that the device starts with a 90° rotated display?

  • Hello,


    there are two implementations for rotation:
    - the dynamical one: ndcucfg's "display rotate set <bitmask (0,1,2,4)>" wrapps the DisplayDriverExescape functionallity.
    - the fix one: Display Driver checks HKLM\Dirvers\Displa\LCD\<activemode>\Rotate=DWORD:<angel> (90° steps).

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • When I change the value Rotate to 1 (90°) (\drivers\display\lcd\mode100), the display is rotated, but the start/windows button is in the middle of the screen and not as expected at the bottom.
    My ping to the device is then also not working any more.

  • Hello,
    "reg set value Rotate dword 90" is the right command! But you are right the "static" rotation does not work at the time. Please call ndcucfg's "Display rotate set 1" in the early boot phase for work around this. The display driver does the same.

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Hm, i thougt the link above resolves the problem?


    I entered into the command line:

    Quote

    Welcome to the Windows CE Telnet Service on FSVYBRID


    Pocket CMD v 6.00
    \> ndcucfg -c "display rotate set 1"
    \>

    This works fine. You may also use NDCUCFG Library which is available under our downloads.

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • If I call this via telnet, the display will rotate, but after a reboot, the display is shown without the rotate we had before.


    How can I launch this command in the registry by the init?

  • Hello,

    Quote

    How can I launch this command in the registry by the init?

    Sorry but i thought this was quit clear! Write a program, with one line and call the command via "CreateProcess" or ndcucfg library. Register this program under HKLM/Init. Or implement the command into the startup function of your own application.
    Refer "2." im my post obove for this purpose.

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Thank,
    I added it to my application and it is working


    But now I have the problem, that the network is not working anymore!!!!
    Both ETH1 ans ETH2 Led are OFF and I can not ping the device anymore.

  • Hello,
    i connect Network before and after "Display rotate set 1" and it works. Did you remove HKLM\Drivers\Display\lcd\mode<x>\rotate=DWORD:<angel>?

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • I test also with CE6. Any Information on the debug line?

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Debug OUTPUT:
    LCD: ASTADPEDT1.dll - Init failed
    LCD: Could not intialize external PWM device AstADPEP1 (LE:2)
    LCD: Display-Mode 100, Name Evervision VGG804806
    ENET: Version 01.01, ActiveKey = Comm\ETHNETB
    MEMCFG V: 001 started
    NDCUCFG V 56 started. Platform: NetDCUA
    NDCUCFG Open COM2: at 38400 Baud
    CheckAutoStart: Version 1.7, LaunchNum = 100


    I see, that ETHNETB is active.
    We have configured "comm\ethneta1\parms\tcpip" in the registry.
    Is there a hardware configuration or software setting, where I can select the ethernet port?

  • Hello,


    i moved the thread to NetDCUA5. But i never talk about NetDCU5.2 before. All my tests were done with NetDCUA5 under CE6. Please give me (only) the settings which cause Ethernet stop working when i call "display rotate set 1". So that i can reproduce it in my enviroment.


    Thanks.

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • I have attached the registry settings:


    REM SD-Card
    reg open
    reg open \system\StorageManager\Profiles\SDMemory
    reg set value Folder string "Storage Card"
    reg save
    REM Display Driver
    reg open
    reg open \drivers\display\LCD
    reg del key Mode100
    reg open \drivers\display\LCD
    reg create key Mode100
    reg set value name string "Evervision VGG804806"
    reg set value EFW dword 8
    reg set value BFW dword 4
    reg set value msignal dword 2
    reg set value rows dword 480
    reg set value LPP dword 480
    reg set value width dword 115
    reg set value height dword 86
    reg set value contrastenable dword 1
    reg set value contrastvalue dword 0
    reg set value type dword 6
    reg set value config dword 0x00700000
    reg set value columns dword 800
    reg set value PPL dword 800
    reg set value HSW dword 32
    reg set value bpp dword 16
    reg set value lcdclk dword 33
    reg set value VSW dword 2
    reg set value BLW dword 60
    reg set value ELW dword 40
    reg set value EnableCursor dword 0
    display mode set 100
    reg save
    REM Touch
    reg open \Hardware\Devicemap\Touch
    reg set value CalibrationData string "2029,2084 3168,1047 3170,3146 870,3176 866,1039"
    reg save
    REM Digital IO-Driver
    reg open
    reg open \drivers\BuiltIn
    reg create KEY DIGITALIO
    reg set value DataInit dword 0
    reg set value DataDir dword 255
    reg set value UseAsIO dword 255
    reg set value Index dword 0
    reg set value Port dword 0
    reg set value Prefix string "DIO"
    reg set value Dll string "FS_DIGIO.DLL"
    reg set value Order dword 151
    reg set value Ioctl dword 4
    reg set value FriendlyName string "Digital I/O driver for NetDCU"
    reg save
    REM Network settings
    reg open
    reg open \comm\ethneta1\parms\tcpip
    reg del value IpAddress
    reg del value Subnetmask
    reg del value DefaultGateway
    reg del value EnableDHCP
    reg del value UseZeroBroadcast
    reg set value IpAddress multi "192.168.2.69"
    reg set value Subnetmask multi "255.255.255.0"
    reg set value EnableDHCP dword 0
    reg set value UseZeroBroadcast dword 0
    reg open \Hardware\Devicemap\Keybd
    reg set value Status dword 0
    reg save

  • Hello,


    i put the executable results of code below into the Startup Folder:


    I modify your registry, set my lcd, my IP, remove all redundant "reg save", "reg open", "del". Note, a "reg save" takes "a lot" of time, so chars in the serial line my be lost.


    I have no problems at all. If your problem persists, please give my a datailed describtion how to reproduce. Maybe my procedure differs from yours?

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.