it,
[3] the upper limit, [4] the slider position.
What do you think?
Matt
Radlab, Incorporated
25 Drydock Ave, Floor 6
Boston, MA 02210
W| radlabinc dot com
E| matt@radlabinc
P| 617.440.3588…
Added by Matt Trimble at 7:54pm on November 17, 2009
ying specifically the one port you want to talk to. My guess is that you're Arduino is actually connected to Port 3 (not 1 or 2). Since the Ports Available is returning a list (this would also be the case inside the Arduino IDE BTW)... there are a couple of options you can try. You could use a List Item and retrieve the specific COM port number you're looking for (item 2 in this case). Or you could simply type the number 3 in a text panel and connect that to the Open Port component. You could also right-click on the Port input and set the integer manually that way as well. Any of these will work. But, its important that you're only opening up a single port and not a list of ports. Make sure you also specify the same port on the Uno Read component as well. This should fix your problem (although please let me know if you encounter other issues).
HTH,
Andy…
should not be open).
3. All releases of Rhino 5, Arduino, GH, and FF are the latest as of May 21st.
I Boolean toggled the port open, but I can't seem to get any output to display from the UnoRead component. I was hoping to see values from any of the analog inputs (APin5 depicted) connected as info gets sent back and forth between the Arduino and my comp. I'm getting simultaneous "Hooray" and "Whoops" messages, and I can't pinpoint why. See attached JPG.
Does it have to do with the fact that I have a list of COM ports? Even though I know COM 3 is the correct one as defined in the IDE, do I need to re-declare it in Grasshopper as well? Does the {0} shown impact this output?
Any direction is appreciated.
Thanks - JFig
…
that data via serial to an external program to play as MIDI.
The problem is, I am using a third-party (Spikenzie Labs) serial-to-midi converter that cannot speak to the COM port while Firefly also does. Bear with me, as I am just starting to figure this out, but I imagine the following possibilities:
1. Hardwire an actual MIDI-out into my prototype and code it so that the signal is sent this way. Get a MIDI-to-USB cable and go into a different COM port.
2. Set up a virtual serial port? No idea if this is a thing.
3. Internalize the serial-to-midi conversion/TX to my Grasshopper/Firefly setup. I don't really know what this entails.
Any thoughts?Thanks as always for all of your digital trailblazing...
Josh…
Added by Joshua Jordan at 12:47pm on November 4, 2013
o 'curves'. In the script, it still expects 'x'. I have to add another input before it will refresh and call the input 'curves'.
2/ Upon loading gh, it gives the following error message. This has only happened since upgrading from version 9.0075 to 9.0076
Priority: PreLoad
{
Method not found: 'System.String Grasshopper.Kernel.GH_ComponentServer.CopyFileToRoamingFolder(System.String, Boolean)'.
MissingMethodException
}
3/ I also posted a few bugs here a while ago, just wanted to bump that up:
http://www.grasshopper3d.com/forum/topics/some-gh-bugs?commentId=2985220%3AComment%3A1068289&xg_source=msg_com_forum
Thanks!
Steven…
ceros.
Public concerné /
Architectes et designers, utilisateurs de Rhino souhaitant paramétrer Rhinocéros à l’aide de Grasshopper, programme
associant des composants et une structure de graphe interagissants avec le modèle Rhino.
Une bonne connaissance de Rhinocéros est nécessaire. La langue de la formation est le français.
Structure et Objectif de la formation /
La formation se déroule sur 3 jours : les 2 premières journées sont consacrées aux « fondamentaux » de Grasshopper
avec en préambule une introduction au design et à l’architecture paramétrique et leurs impacts dans la conception, la
création et la construction.
La troisième journée sous forme d’atelier est dédiée à l’étude de cas concrets proposés par les stagiaires, qui, quelques
jours avant la formation, pourront envoyer leurs projets par mail à info AT rhinoforyou DOT com
Les stagiaires, après la formation, pourront rester en contact avec les formateurs de HDA par le biais du blog
complexitys.com et le twitter @HDA_Paris. La durée de cette formation permettra d’atteindre une autonomie et une
bonne compréhension basée sur des exemples concrets.
3 Formules possibles /
3 jours ( Initiation+Atelier ) : du lundi 20 septembre au mercredi 22 septembre
2 jours ( Initiation ) : lundi 20 et mardi 21 septembre
1 jour ( Atelier ) : mercredi 22 septembre
Programme ind icatif des notions traitéES pendan t la formation /
Introduction à la conception Paramétrique . Rhinoscript, Grasshopper: différences et similarités . Interface
graphique de Grasshopper . Objets, Données, Listes . Opérateurs scalaires : La mathématique de
Grasshopper . Gestions des données : la logique de Grasshopper . Vecteurs, Points, Lignes, Surfaces : La
géométrie de Grasshopper . Listes, Arbres, Branches . Le dessin paramétrique: exercices divers et exemples
. Références, Bibliographie, Support de cours . Ateliers d’architecture et design paramétrique (3ème jour) .
Moda lité de la formation /
Venir avec un PC portable équipé de Rhinocéros version 4.0 SR 7 et de la dernière version du plug-in
Grasshopper (téléchargeable sur www.grasshopper3d.com).
Le coût du stage est de 350 € HT/jour par personne.
Réserver votre place dès que possible car les places sont limitées à 10 participants maximum.
Inscriptions et renseignements: Jacques Hababou, info AT rhinoforyou DOT com
Pour en savoir plus sur l’architecture paramétrique: www.complexitys.com…
the "port" input. I would really appreciate any help!
For example, my Arduino board is connected to COM 3. The "ports available" component correctly identifies this port, and I know there is nothing wrong with the port itself since the Arduino communicates through COM 3 without problem when using an Arduino sketch.
The runtime error produced by the Firefly open/close port component:
1. Solution exception:Could not load type 'Grasshopper.Instances' from assembly 'Grasshopper, Version=1.0.0.20, Culture=neutral, PulicKeyToken=null'.
System specs:
Windows 7 64-bit
Rhinoceros 4.0 SR 9
Grasshopper Build 0.8.006
Firefly Build 1.0067
Arduino Uno R3
These error messages appear when Grasshopper is loaded from Rhino. They first appeared when Firefly was installed:
Object: Mega_Write (level 1){ Exception has been thrown by the target of an invocation. TargetInvocationException}
Object: Mega_Write (level 2){ Method not found: 'Void Grasshopper.Kernel.GH_PersistentParam`1.SetPersistentData(System.Object[])'. MissingMethodException}
Object: Uno_Write (level 1){ Exception has been thrown by the target of an invocation. TargetInvocationException}
Object: Uno_Write (level 2){ Method not found: 'Void Grasshopper.Kernel.GH_PersistentParam`1.SetPersistentData(System.Object[])'. MissingMethodException}
Object: ArduinoBake (level 1){ Exception has been thrown by the target of an invocation. TargetInvocationException}
Object: ArduinoBake (level 2){ Method not found: 'Void Grasshopper.Kernel.GH_PersistentParam`1.SetPersistentData(System.Object[])'. MissingMethodException}
Thank you for your help!
Colin…
an external test suite.
We have a lot of parameters we want to test with, so doing so in Rhino is cumbersome.
To this end, we've experimenting to run Rhino/Grasshopper with a number of ways:
- 1) Using the COM interface, to create Rhino, load grasshopper then run tests
- 2) Exposing Rh/Gh internals using WCF via a Rhino command, which starts off WCF, then run tests
- 3) Exposing Rhino/Grasshopper internals using .Net remoting, again via a Rhino command
We've tried -1) that seems to be a dead end, limited access to Rh/Gh
We've tried -2) that works but raises an error in the WCF server stating that RhinoCommon is not available (see attached image). I've tried copying dll's from the Rhino installation to the running wcf directory, but that does not help.
Todo -3) We've still got to try this method.
I've googled similar entries in the forums:
http://www.grasshopper3d.com/forum/topics/how-can-i-use-grasshoper-externally
http://developer.rhino3d.com/api/rhinoscript/introduction/external_access.htm
Does anyone know why -2) wcf fails or if .net remoting will work successfully.
Or indeed if there are other options to address our use case?
Many thanks,
Milan…