Graphics

 View Only
  • 1.  CII Gateway and ENPS Elections

    Posted 12-12-2023 22:32

    Hello. I'm trying to get ENPS Elections to talk with our XPression via the CII Gateway. I'm running into a few issues. One appears to be the hard-coded instructions in ENPS. It's sending keyboard commands in HEX values Immediately followed by a write of a page update. It looks like it's translating the HEX codes. From the Log:

    12-12-23 20:44:55.689: [ Info      ] Incoming (raw): <01><C9><C0><C0><C1><F8><02>w\1\9006\ELECT_FS2\Super Mario World\Senator\0%\MARIO_MARIO\MARIO\GOP\0%\N\0\LUIGI_MARIO\LUIGI\DEM\0%\N\0\ \ \ \ \ \ \0\\
    12-12-23 20:44:55.689: [ Info      ] Malformed or empty command received. (<01><num: 9><num: 0><num: 0><num: 1><read><02>w\1\9006\ELECT_FS2\Super<20>Mario<20>World\Senator\0<25>\MARIO_MARIO\MARIO\GOP\0<25>\N\0\LUIGI_MARIO\LUIGI\DEM\0<25>\N\0\<20>\<20>\<20>\<20>\<20>\<20>\0\\)

    From the above, nothing is read to air, and I'm suspecting that the page isn't written either because it's immediately followed by this:

    12-12-23 20:44:55.959: [ Info      ] Incoming (raw): w\1\9006\ELECT_FS2\Super Mario World\Senator\0%\MARIO_MARIO\MARIO\GOP\0%\N\0\LUIGI_MARIO\LUIGI\DEM\0%\N\0\ \ \ \ \ \ \0\\
    12-12-23 20:44:55.959: [ Info      ] Incoming: write page, source id: ELECT_FS2 target id: 9006
    12-12-23 20:44:55.980: [ Info      ] Executed: Created Take Item ID: 9006 from Template ID: ELECT_FS2

    It is the write page command again, and it shows up in the sequence.

    I have another issue where the first tab field doesn't get filled. According to the template in ENPS, it should be the race title 1, "Super Mario World". Sometimes it does work though, but very rarely.

    Anything obvious I'm missing?

    Glad I kept my 1996 vintage Chyron Intelligent Interface book.



    ------------------------------
    Scott Thomas
    Art Director
    WINK-TV
    ------------------------------


  • 2.  RE: CII Gateway and ENPS Elections

    Posted 12-13-2023 10:00

    I just went through elections in November using Newsticker, XPression, and CII. My scripts were based off of previous scripts.

    2 buffers were used. First you write to the buffer

    W\$buffer1\$templateid\$data\$data\$data\\

    Then read from it

    X\READ\$buffer1\1\$ASCII(248)\\

    Then you do buffer 2, then buffer 1, then buffer 2.

    If you are continually using the same buffer that might be causing a problem?

    Just a thought to help trouble shoot.



    ------------------------------
    Azathoth
    Son of Cthulhu
    ------------------------------



  • 3.  RE: CII Gateway and ENPS Elections

    Posted 12-13-2023 14:40

    We've repeatedly asked the AP on where the CII commands are being generated and how (or if) they are edited. There is one config file, but the only things you can modify are the serial port setting and what directory your CG files are in. We can chose a different CG… perhaps Dubner or Codi?

    ENPS Elections is clearly stuck in 1998.



    ------------------------------
    Scott Thomas
    Art Director
    WINK-TV
    ------------------------------



  • 4.  RE: CII Gateway and ENPS Elections

    Posted 12-13-2023 15:22

    I am not familiar with your setup, but maybe this will help?

    https://developer.ap.org/enps-playbook/



    ------------------------------
    Azathoth
    Son of Cthulhu
    ------------------------------



  • 5.  RE: CII Gateway and ENPS Elections

    Posted 12-13-2023 18:18

    Thank you for the link. I did receive confirmation today from AP that the CII commands are hard-coded in their software.



    ------------------------------
    Scott Thomas
    Art Director
    WINK-TV
    ------------------------------