I have a follow up question. I have successfully sent data from Grasshopper to the Arduino through VB. But, what if I wanted to reverse the flow of information. What if I wanted to send data from the Arduino to Grasshopper (through VB).
Here's a simple example. Let's say I have a photocell hooked up so that when I turn on the serial monitor, I get a stream of voltage information that is coming into the computer. How would I read that information in Grasshopper (again using VB). The problem in the past with Grasshopper has always been with reading information into the program... It has no problem streaming data out. But, it only refreshes the algorithm if something has changed in Rhino or in Grasshopper... and since nothing has really changed in the Grasshopper definition or in the Rhino viewport, it doesn't know to refresh the solution, and thus get new information in from an external file. In the recent release of Grasshopper (just 2 weeks ago) there is a new timer component that will refresh the solution based on any time interval that you give it. I think MaxMSP has something very similar (I think it's called the Metronome). So, I think I can use this component to automatically refresh the solution every (1 sec for example) to retrieve the new information being sent from the Arduino. My main question is how to script it in VB to read this information. I may not have been clear, but if you have any suggestions, I would really appreciate. Thanks again for your help so far!