Jump to content

PabloFocus

Newcomers
  • Posts

    7
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

PabloFocus's Achievements

Newbie

Newbie (1/4)

1

Reputation

  1. Hi @attila, Great. Thanks for the help. Regards, P
  2. Hi @attila, Ok, I guess I get it now. So it doesn;t matter if it's the protocol or script window if 'Debug with Logic Analyzer' is enabled, it will not receive data and act as if everything is OK, right? Last question, is there any way to prematurely finish a script without an error/warning? I'm doing: if(!Tools.question("continue?")) return; But this is a syntax error, which cause an 'abort' situation. Regards, P
  3. Hi @attila, Exactly, as you can see when 'Debug with Logic Analyzer' the script finds that all devices/addresses are connected to the bus, which is false. This only works correctly when you disable 'Debug with Logic Analyzer'. Is this a known issue? shouldn't be possible to run the script correctly even when logic analyzer is enabled?
  4. This also happens for script window? I'm not using the script tab from protocol, but the general script window. I only enable or disable the 'debug with logic analyzer' from the protocol tab so "it works" the I2C protocol in the script window. Sorry for not being clear enough, To reproduce the error I'm facing is: 1. enable the 'Debug with logic analyzer' from the protocol window. 2. run I2C device detection script in the general script window. 3. disable the 'Debug with logic analyzer' from the protocol window. 4. Run the I2C device detection script in the general script window. At this point you should see different reactions from both runs.
  5. I have clock streching checked, is the 'Debug with Logic Analyzer' feature that makes the script work (or not)
  6. I found something "crazy" about this. This is the code I'm running: In another window I have the next setup: If I use the debugger Logic Analyzer the result of the protocol.i2c.write function is always "true" BUT when this opion is unchecked: The result of the scipt is correct: What is happening here? is this a known issue I wasn't aware of? where can I read about them to avoid further problems with this? Regards, P
  7. Hi, I'm running an I2C script to find the connected devices in the bus, but it "detects" devices that are not connected. I'm attaching part of the script I'm running (is the protocol example code adapted for script window) an its output. Any idea of what's happening or how to solve this? I'm using WaveForms 3.22.20 on Windows 11 and an AD2 for this test. Regards, P
×
×
  • Create New...