BrianPeek.com

A Compendium of Random Uselessness
in Search

dual 0/0/4 not detected

Last post Mon, Dec 10 2007 9:14 PM by Brian Peek. 23 replies.
Page 1 of 2 (24 items) 1 2 Next >
Sort Posts: Previous Next
  • Sun, Sep 23 2007 10:35 PM

    • rjwinn2
    • Top 50 Contributor
    • Joined on Mon, Sep 24 2007
    • Posts 2

    dual 0/0/4 not detected

    I purchased the two phidgets with the idea of replicating the light show.

    I have visual basic express and downloaded everything I need. I have two problems.

    One: the vb and C verisons of the .exe light show dont detect my phidgets. I have no idea where to start debuging.

    I was hopping to use Brians program for halloween. I will learn more later. :D

    two: I have written a quick program to check and toggle my phidgets, I can only get one working at a time.

    If I hard code the serial number I can talk to one or the other. I can figure out how to talk to both!

    any help would be great!!
    thanks

    Regis

     

  • Mon, Sep 24 2007 4:58 AM In reply to

    Re: dual 0/0/4 not detected

    Hello,

    When you say they're not detected, do you get a message that says no interface kits were detected when creating a new sequence?  Do you have any items in the list box on teh new sequence dialog box?

    As for talking to both, you should just be able to create two instances of the InterfaceKit object and open a connection to each device by their serial numbers to talk to both.  Something like (not necessarily real code):

    InterfaceKit ik1 = new InterfaceKit();

    InterfaceKit ik2 = new InterfaceKit();

    ik1.open(1234);

    ik2.open(5678);

     

     

  • Mon, Sep 24 2007 9:39 AM In reply to

    Re: dual 0/0/4 not detected

    WOW, thanks for the quick response.

    The new sequence dialog box shows nothing.

     

    although if I run it with no devices attached I DO get an error message.

    i will try your sugestion tonight.

    thanks!!

    Regis

     

  • Mon, Sep 24 2007 11:22 PM In reply to

    • rjwinn2
    • Top 50 Contributor
    • Joined on Mon, Sep 24 2007
    • Posts 2

    Re: dual 0/0/4 not detected

    I got my simple program working using your sugestion, thanks.

    Yours still will not connect to my devices. seems to be in the phidgets.attach function.

  • Fri, Sep 28 2007 3:18 PM In reply to

    Re: dual 0/0/4 not detected

    Is an exception being thrown on the attach?  If so, can you please send it along so I can take a look?  Thanks!
  • Wed, Nov 7 2007 11:30 AM In reply to

    Re: dual 0/0/4 not detected

    ' if we're at the end, bail out If (_tickCount >= _channels(1).Data.Length) Then tmrTimer.Enabled = False btnStart.PerformClick() Return End If I am having the same problem. No phidget listed on the new sequence form page. I get "Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index" at the above chunk of code.
  • Wed, Nov 7 2007 1:57 PM In reply to

    Re: dual 0/0/4 not detected

    It appears the Phdigets library has changed since my last release of the sequencer last year.  I will need to compile a version against the updated Phidgets library.  I'll see if I can get to this sometime this week... 

  • Wed, Nov 7 2007 2:47 PM In reply to

    Re: dual 0/0/4 not detected

     Thanks. You Rock.

  • Thu, Nov 8 2007 5:29 AM In reply to

    Re: dual 0/0/4 not detected

    I have updated the projects which *should* fix the problems everyone was seeing.  I'd appreciate any feedback on this to know whether compiling against the new libs fixed the issues.  It worked here, but outside verification woudl be great...thanks! 

  • Thu, Nov 8 2007 12:28 PM In reply to

    Re: dual 0/0/4 not detected

    Looks like it works. Thanks Brian.
  • Thu, Nov 8 2007 1:49 PM In reply to

    Re: dual 0/0/4 not detected

     Excellent news...thanks!

  • Fri, Nov 9 2007 5:24 PM In reply to

    Re: dual 0/0/4 not detected

    Any chance we can get the sequences you previosly made?
  • Fri, Nov 9 2007 5:46 PM In reply to

    Re: dual 0/0/4 not detected

    I guess I accidentally got rid of that section.  Here's a link to the one sequence I created:

    http://www.brianpeek.com/files/folders/sequences/entry2212.aspx 

  • Fri, Nov 9 2007 9:39 PM In reply to

    Re: dual 0/0/4 not detected

     Brain, I am going to work on finding a way to read a midi file and fire phidget events to the music programatically. Will be very use if I can make it happen.

  • Fri, Nov 9 2007 9:47 PM In reply to

    Re: dual 0/0/4 not detected

    I had considered the MIDI route early on but didn't pursue it.  Let me know if you are able to make it work

Page 1 of 2 (24 items) 1 2 Next >
Copyright (C) 2008 Brian Peek
Powered by Community Server (Commercial Edition), by Telligent Systems