Search:

Type: Posts; User: yonu; Keyword(s):

Search: Search took 0.25 seconds.

  1. Thread: plugin question

    by yonu
    Replies
    36
    Views
    3,956

    ok thanks got it working will post the plugin as...

    ok thanks got it working will post the plugin as soon as I clean up the code and add in comments well and request a plugin number
  2. Thread: plugin question

    by yonu
    Replies
    36
    Views
    3,956

    I assume this is another require? Wed Jan 21...

    I assume this is another require?

    Wed Jan 21 09:14:58 2015 LuaTimerObject::ontimeout / /opt/girder/lua/rpitemp/component.lua:37: attempt to call global 'assert' (a nil value)
    Wed Jan 21 09:14:58...
  3. Thread: plugin question

    by yonu
    Replies
    36
    Views
    3,956

    ok odd it worked without it in a regular script ...

    ok odd it worked without it in a regular script

    Thanks,
    Yonu
  4. Thread: plugin question

    by yonu
    Replies
    36
    Views
    3,956

    ok I just transfered the plugin over to a...

    ok I just transfered the plugin over to a Raspberry and I get these errors any ideas not sure why it is complaining about io I tested the io codes in a scripting action first and it has been working...
  5. Thread: plugin question

    by yonu
    Replies
    36
    Views
    3,956

    ok i went to add in the timer and I get this...

    ok i went to add in the timer and I get this error


    Tue Jan 20 19:38:40 2015 LuaTimerObject::ontimeout / ...am Files/Promixis/Girder 6/lua/rpitemp\component.lua:32: attempt to index local 'self'...
  6. Thread: plugin question

    by yonu
    Replies
    36
    Views
    3,956

    Thanks that worked I can't believe I missed the...

    Thanks that worked I can't believe I missed the case of Id. will be back with one other question after I type up the other code but I am not worrying about it until I have the rest working.
    ...
  7. Thread: plugin question

    by yonu
    Replies
    36
    Views
    3,956

    well dangit I didn't even notice I had done that...

    well dangit I didn't even notice I had done that

    Thanks,
    Yonu
  8. Thread: plugin question

    by yonu
    Replies
    36
    Views
    3,956

    Ok here is what I have in component.lua right now...

    Ok here is what I have in component.lua right now I will update it to a timer once I get it working right but I still get nil for internal id

    local base = require("plugin.component")
    local print...
  9. Thread: plugin question

    by yonu
    Replies
    36
    Views
    3,956

    Well I just tried that and it doesn't error but I...

    Well I just tried that and it doesn't error but I get a nil value on internalid

    Thanks,
    Yonu
  10. Thread: plugin question

    by yonu
    Replies
    36
    Views
    3,956

    ok in the compoent.lua since all I plan to do is...

    ok in the compoent.lua since all I plan to do is have it read the devices from DM and then read a coresponding file on the filesystem would I do something as simple as this or am I trying to over...
  11. Thread: plugin question

    by yonu
    Replies
    36
    Views
    3,956

    ok thanks. I got that code with no errors. Now...

    ok thanks. I got that code with no errors. Now in my component lua how do I reference it?

    Thanks,
    Yonu
  12. Thread: plugin question

    by yonu
    Replies
    36
    Views
    3,956

    sorry for being a pain I have compaired what I...

    sorry for being a pain I have compaired what I have for component to irtrans and if i understand it what I have should work here is my code


    function createComponentManager( self,...
  13. Thread: plugin question

    by yonu
    Replies
    36
    Views
    3,956

    ok question can I simply copy over the...

    ok question can I simply copy over the component.lua from irtrans and change the plugin name or is it more complicated than that?

    yonu
  14. Thread: plugin question

    by yonu
    Replies
    36
    Views
    3,956

    right not there is no code I am litterally...

    right not there is no code I am litterally starting with this part as the plugin is going to consit of the device lua to to the update the and the js file to allow creation of the devices and labels...
  15. Thread: plugin question

    by yonu
    Replies
    36
    Views
    3,956

    I get an error right off the bat. here is the...

    I get an error right off the bat.

    here is the error i get


    Mon Jan 19 23:59:19 2015 Plugin load test
    Mon Jan 19 23:59:19 2015 ScriptDevice::scriptInit::rpitemp.plugin / ...ogram...
  16. Thread: plugin question

    by yonu
    Replies
    36
    Views
    3,956

    any chance on any more info on using...

    any chance on any more info on using foreachdevice? I am just confused on how to add it to my code.

    Thanks,
    Yonu
  17. Thread: plugin question

    by yonu
    Replies
    36
    Views
    3,956

    thanks I found it but I don't understand how to...

    thanks I found it but I don't understand how to call it in the script. Can I get a dummies guide?
    Sorry,
    Yonu
  18. Thread: plugin question

    by yonu
    Replies
    36
    Views
    3,956

    ok where can I find an example of forEachDevice?...

    ok where can I find an example of forEachDevice?

    Now here is an example of what I am trying to do and I don't actually care where it goes in the plugin as long as it is running every 30 sec...
  19. Thread: plugin question

    by yonu
    Replies
    36
    Views
    3,956

    ok that will work for part of what I need. Here...

    ok that will work for part of what I need. Here is the problem I am having at this moment is with the devices themselves say I create 5 devices i need a timer running to test for a change and update...
  20. Thread: plugin question

    by yonu
    Replies
    36
    Views
    3,956

    that will work thanks I didn't notice that. ...

    that will work thanks I didn't notice that.

    Thanks,
    yonu
  21. Thread: plugin question

    by yonu
    Replies
    36
    Views
    3,956

    ok guess I will wait on a response what I had...

    ok guess I will wait on a response what I had worked out didn't work

    Thanks,
    yonu
  22. Thread: plugin question

    by yonu
    Replies
    36
    Views
    3,956

    please disgeguard I think I figured it out will...

    please disgeguard I think I figured it out will post an example when I am done
  23. Thread: plugin question

    by yonu
    Replies
    36
    Views
    3,956

    plugin question

    ok this may sound odd but can the internal id of a control be referenced in the device.lua of the plugin I am trying to figure out how to create a control but have the plugin auto update it on a...
Results 1 to 23 of 23