Absolute beginner, need help.

Supporting Browser-based Javascript and Node.js
Fresh meat
Posts: 1
Joined: Tue Mar 05, 2019 3:36 am

Absolute beginner, need help.

Postby alistair.monaghan » Tue Mar 05, 2019 3:48 am

I'm familiar with javascript, but a little overwhelmed with the Phidget API. We have purchased 2 x 8/8/8 phidgets - I need to trigger the different outputs on request - essentially I'm trying to build a touchscreen quiz whereby if you answer correctly you trigger output 1, incorrectly you trigger output 2 etc etc

These need to be done across two phidgets, so presumably they have to target 2 different channels.

Any help would be appreciated.

Labview Developer
Posts: 70
Joined: Mon Nov 13, 2017 10:20 am

Re: Absolute beginner, need help.

Postby jdecoux » Tue Mar 05, 2019 5:09 pm

Each output will need its own channel. You have two 8/8/8's, so that means you have 16 available outputs, which translates to 16 software channels.

For ease of use, since they are all the same type of channel, you can group them in an array as outlined on our page about Using Multiple Phidgets.

Return to “Javascript”

Who is online

Users browsing this forum: No registered users and 1 guest