Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button with "IO Command" does not take the sleep(<float>) command #726

Closed
bigl00z3 opened this issue Nov 17, 2021 · 1 comment
Closed

Button with "IO Command" does not take the sleep(<float>) command #726

bigl00z3 opened this issue Nov 17, 2021 · 1 comment
Labels
Milestone

Comments

@bigl00z3
Copy link

Describe the bug
A clear and concise description of what the bug is.

I am trying to set a visual alarm by flashing a LED (several times in a row to have it more visible)
I send a command to a Phidget 1019 by calling a button which is using the "IO Command":

The button's IO command is:
pulse(0,1000,595251);sleep(1);pulse(1,1000,595251);sleep(3);pulse(2,1000,595251)

For the test, I have set it to 3 different LEDs on different Phidgets output ports to allow to see if they all flash at the same time or if they do it in a sequence. For the test

Result: they all flash at the same time once for 1000ms
--> the sleep function does not seem to work.

This is confirmed by the "Message History" where I get the error "No match for command [sleep], continuing"

Based on the Button's help menu, I would expect it to be feasible as under IO Command:

_ IO Command Help sleep() sleep: add a delay of seconds_

Setup (please complete the following information):

  • Artisan Version [e.g. v2.4.4]: 2.4.5
  • Artisan Build (number in brackets shown in the about box) [e.g. 97e6dec]:
  • Version [e.g. 22]:
  • Platform (Mac/Windows/Linux + OS version) [e.g. macOS 10.15.3]:
  • Connected devices or roasting machine [e.g. Probatone 5]:

Additional context
Add any other context about the problem here.

Please attach your current Artisan settings file (as exported via menu Help >> Save Settings as *.aset) file.
Please attach any relevant Artisan *.alog profiles.

Note that you need either add a .txt extension or zip the files before uploading. Otherwise you will receive a "Not a supported file type" error on uploading.

@MAKOMO MAKOMO added the bug label Nov 17, 2021
@MAKOMO MAKOMO added this to the v2.6.0 milestone Nov 17, 2021
MAKOMO added a commit that referenced this issue Nov 17, 2021
@MAKOMO
Copy link
Member

MAKOMO commented Nov 17, 2021

IO Command sleep() is broken and maybe always was. A simple typo.

@MAKOMO MAKOMO closed this as completed Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants