Explore the community Forums Lectora Lectora Questions & Answers Lectora and an external device (eg. switch/button)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #297690 Score: 0
    Profile photo of Sulaimaan Arbee
    Sulaimaan Arbee
    Member
    beginner
    intermediate
    friend finder
    curious george
    profile
    picture perfect
    wise owl
    @SulaimaanRB

    Hey Gurus,

    Has anyone been able to successfully create a communication channel between an external device (eg. switch/button) and Lectora. Getting the device to push out a response is not an issue (XML or even Javascript), the issue would come when im trying to receive that response and work with it within Lectora based content so that you can train both theory and muscle memory at the same time.

    1. What technologies can/should I potentially explore?
    2. What issues could I be faced with?
    3. What have I not considered/overlooked?
    4. Is the Tin Can (xAPI) a solution in this instance?
    5. Can Lectora recieve Tin Can statements from an LRS (I know it can submit)?
    #297702 Score: 0
    Profile photo of Sergey Snegirev
    Sergey Snegirev
    Member
    contributor
    intermediate
    advanced
    friend finder
    lab member
    junior moderator
    advocate
    LUC16
    LUC16 Attendee
    wise owl
    336 pts
    @ssneg

    I LOVE projects like that!

    The choice of technology depends on a number of factors. How far is the “push button” from the Lectora course? Is the button some ready-made device or you have access to it and can e.g. solder something in? Does it have to be wired or wireless? Where is the course running (PC, tablet, kiosk, smth else)? Should the course communicate back to the button somehow (to e.g. buzz / vibrate / light up)?

    If you provide a bit more information on the exact scenario, I’ll be happy to help find suitable tech to make it happen.

    #297724 Score: 0
    Profile photo of Sulaimaan Arbee
    Sulaimaan Arbee
    Member
    beginner
    intermediate
    friend finder
    curious george
    profile
    picture perfect
    wise owl
    @SulaimaanRB

    Hi Sergey,

     

    Im glad to have caught your interest. Yes projects like this is what keeps us going, pushing the boundaries helps us stay ahead of the industry.

    The game plan is to have course running on a touchscreen next to the device. Both the device as well and the screen will be running from the same system.

    Picture a touchscreen sitting above an external device with 4 switches with integrated LED’s and maybe even a gauge. This device is already fully functional and can pass values of each switches state to an external file. If we can find a common communication channel that Lectora can read/write to then these switches states can change as well. Therefore giving us a flexible solution that will allow both Lectora content to control the device and the device to control Lectora content.

    #297780 Score: 0
    Profile photo of Sergey Snegirev
    Sergey Snegirev
    Member
    contributor
    intermediate
    advanced
    friend finder
    lab member
    junior moderator
    advocate
    LUC16
    LUC16 Attendee
    wise owl
    336 pts
    @ssneg

    I still don’t entirely understand how your device is wired but I’d assume it has a server somewhere behind the scenes that can read and write the file, correct? Then you can simply issue regular POST requests from Lectora via JavaScript to your server to send data or to query it regularly for any changes in e.g. button state.

    Alternatively, you can wire your buttons to a HID USB controller so they act like a normal keyboard. You can then intercept keystrokes using normal Lectora functionality.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.