+ Antworten
Seite 1 von 2 1 2 LetzteLetzte
Ergebnis 1 bis 10 von 15
  1. #1
    Registriert seit
    Jan 2010
    Ort
    Utrecht, Netherlands
    Beiträge
    88

    Exclamation BUG in the 4.0 version with an completly inverted DS2408

    Hi Parecy,

    I tried to upgrade from the 3.4 version to the 4.0 version but sadly I found a problem in the new 1-wire module inside IP-symcon 4.0 (latest beta build). The problems is only related to a completly inverted DS2408 module.

    I have three ‘inverted’ DS2408 relay boards from hobbyboard that won’t work with the 4.0 version. Inverted means that readings but also the commands are inverted. For example: I have to send the False value to switch something On: TMEX_F29_SetPin(28114 /*[Hardware\1W\IO Boards\IO (Staircase)]*/, 7, False); //Switch Light On. And the True value to switch it Off again: TMEX_F29_SetPin(28114 /*[Hardware\1W\IO Boards\IO (Staircase)]*/, 7, True); //Switch light Off.
    Also the Inverted switch in the configuration is set for all the Digital Output ports.

    The 3.4 version of IP-Symcon with TMEX works perfectly with this board and all the inverted commands! Sadly the 4.0 version doesn’t, also not when I use the OW_SetPin commands. Not only strange things happen with the readings in the user interface: after switching something off (sending true value) in the user interface it changes to the positive value to be changed back again when a reading has been done to the negative value and visa versa. Also when switching something off (sending a true value) I get a 1–wire write error (this does not happen in the 3.4 version). The command is executed, in the user interface is switches value, and later on it’s correct when the reading. When i have multiple switches in the userinterface ALL switches change value (only in the userinterface not on the DS2408).

    Some background information: I upgraded from the 3.4 version and switched from the blue usb dongle to the linkusb dongle. The LinkUSB dongle reads all the values of the digital thermometers fine (8 of them). Also other components like a humidity meter and a light intensity meter work great. Only the three DS2408 from hobbyboard don’t work with the 4.0 version.

    I already changed back again to the 3.4 version. Later on I will try to use the LinkUSB in the 3.4 version to rule this out.

    Regards,
    Robert

  2. #2
    Registriert seit
    Feb 2005
    Ort
    Lübeck
    Beiträge
    21,886

    I have tripple-checked this bugs and i could find a buggy in the reading values function in IP-Symcon 4.0.

    But: The invert bug for single pins exists in both IP-Symcon 3.4 and 4.0+! It never worked!

    Therefore i am surprised that it worked in 3.4 for you. It shouldn't have had. I cross-checked with the last 3.4 release.

    Anyways... i fixed both bugs for the next 4.1 update.

    paresy

  3. #3
    Registriert seit
    Jan 2010
    Ort
    Utrecht, Netherlands
    Beiträge
    88

    Hi Paresy,

    Thanks for the quick reply and checking it in the code. If you want to have a look in the 3.4 environment just let me know. It has been working fine for many versions (from years back . I can also setup a 4.0 environment for you to have a remote look at, that's hooked up with the inverted DS2408. I don't think there are many inverted DS2408 out there!

    Take care,
    Robert

  4. #4
    Registriert seit
    Oct 2007
    Ort
    Villach,Kärnten,Österreich
    Beiträge
    2,982

    Hi both

    I use a couple of DS2408, all channel are used as output.
    So far I did not recognize any change in behaviour since early beginning with IPS2.0.
    Everything normal, or lets say, same as ever.

    best rgds
    bb
    Geändert von bbernhard (30.08.16 um 23:45 Uhr)

  5. #5
    Registriert seit
    Jan 2010
    Ort
    Utrecht, Netherlands
    Beiträge
    88

    Hi Bernhard,

    Are yours DS2408 also inverted? Meaning that you must send a False to the pin to get it energized and not the True statement? A builder of a board may use the DS2408 in two ways. Normally the builder uses the true statement to energize an output. Hobbyboards have done it the opposite way than 'normal' (according to the documentation both are allowed that's why there is a 'Inverted' check mark option I think). For reading and showing the current status you have two options (I think that's why there are 16 rows . Love to hear if yours are inverted to and how you switch and show them in the user interface!

    The 3.4 build I currently use is #3801. I still have to change the blue dongle for the Linkusb in the 3.4 version to see if I get 1-wire errors with the inverted DS2408, hopefully not ?

    Take care and thanks for the reply!!!
    Robert

  6. #6
    Registriert seit
    Oct 2007
    Ort
    Villach,Kärnten,Österreich
    Beiträge
    2,982

    Hi Robert

    Frankly said actually i do not know if something is inverted or not. I use the DS2408 in my own made boards. There are one further inverter on the board, and in the scripts as well.

    But what i can definitely confirm that the behaviour is same for all version.
    For IPS2.x and IPS3.x I used the "Blue" adapter.
    For IPS4.0 the "LINKUSB".

    best rgds
    bb

  7. #7
    Registriert seit
    Feb 2005
    Ort
    Lübeck
    Beiträge
    21,886

    @Robert: Can you retry with the newest 4.1 build?

    paresy

  8. #8
    Registriert seit
    Jan 2010
    Ort
    Utrecht, Netherlands
    Beiträge
    88

    @Paresy: will do tonight or tomorrow and will let you know asap.

    Robert

  9. #9
    Registriert seit
    Jan 2010
    Ort
    Utrecht, Netherlands
    Beiträge
    88

    @Paresy:tried to install the 4.1 #82 version but it stops at the point of the Visual C++ 2015 Update 3 Redistributable. The setup tries to install the x86 version while it must be the x64 version (its a 64 bits machine). I get the following error from the logfile:

    [0F00:11E8][2016-08-31T21:51:45]i052: Condition '(VersionNT = v6.3 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to true
    [0F00:11E8][2016-08-31T21:51:45]i101: Detected package: Windows81_x64, state: Present, cached: None
    [0F00:0F28][2016-08-31T21:51:49]e000: Error 0x80070666: Cannot install a product when a newer version is installed.

    Also a manual install of the x86 results in almost the same error. Sadly I didn't find a way to continue around the persistent installation of the Visual C++ 2015 Update 3 Redistributable. Set-up comes back with the required installation of the x86 version. The x64 version of Visual C++ 2015 Update 3 Redistributable was already installed on the system!

    Take care,
    Robert

  10. #10
    Registriert seit
    Feb 2005
    Ort
    Lübeck
    Beiträge
    21,886

    You seem to have installed Visual Studio with the newest updates? I will post an new version in the afternoon, which incorporates the newest Redistributable update.

    paresy

Ähnliche Themen

  1. Version 666ffb93 Bug?
    Von ckerndl im Forum Allgemeine Diskussion
    Antworten: 3
    Letzter Beitrag: 25.09.15, 10:27
  2. IPS Neuere Version iFront ältere Version
    Von swissboy im Forum Mobile (iOS/Android)
    Antworten: 1
    Letzter Beitrag: 04.07.11, 22:42

Stichworte