USB Board interfacing with visual basic

Hi, I'm attempting to use grasshopper to control an external USB Board. I can control the board using Visual Basic commands (within Visual Studio), but when I load this into the VB or VB.net Component for grasshopper, the component returns a series of errors. I think the problem is that the communication routines for the board are contained in a DLL, which has been provided as a standard windows DLL, so cannot be referenced. The board is a Velleman VM110 (https://www.vellemanusa.com/support/downloads/?code=VM110#). Is it possible to have a component (even if I have to write it myself) run a script as Visual Studio does, but while accepting inputs from grasshopper?

Thanks in advance,

Callum

  • up

    Thibault Schwartz

    Hi Callum. Well, a dll is a dll, so you should be able to reference it. On the website a .Net 4.0 SDK is mentioned, so I guess implementing a few gh components redirecting to this sdk would be quite straightforward. What errors do you have?

    3