I'm trying to retrieve data from a tag heuer timing system through rs 232. Firefly ports available says com ports 1 and 3 are available. Is one of those two the rs 232 9 pin? Thanks for your help.
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
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
…
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…
picture:
... and on a PC without anything attached to the serial port. When you open the port, start the read component and its timer, do you then get a stream of <empty> values in the log output? (hmmm... I suppose that's only reasonable - but still, you are also seeing this?)
I suppose that, because of the mutually exclusive behavior of both the spider and grasshopper (i.e. only one at a time can access the COM port), we can deduce that we are listening on the correct port.
Am I listening on the correct pin (if such a notion makes sense at all)? If I look back to the spider software, I see that 9 channels are listed and that it's only the measured value on channel 0 that changes when I press the load cell. Channels 1, 2, and 3 report OVERFLOW; 4, 5, 6, and 7 are pretty much constant at 0.000 to 0.005 V; and channel 8 says FFFF. I do not know how things like that work so I do not know if they reflect reading from the 9 pins on the D-sub 9 connector.
As for your BTW question: no, I don't need to record all of the sensor values. I suppose that the Out value on the Read component will always reflect the most current value and that's all that I need to get on with life. In the end, the idea is that we have 4 load cells in the 4 corners of a plate onto which a vertical pipe is fixed. Loads are then put on the top end of the pipe and we'll have to visualize both direction and magnitude of the bending moment that is calculated from the compression - tension readings from the load cells... We've done this on a scaled model and streamed load cell information into MatLab. Now we'll have to use a different datalogger and I was hoping to be able to do the post processing in Rhino.
wim…
nt%3A1077447&xg_source=msg_com_forum
Now my file is like this
quite complicated. So I wonder whether I can do it with Hoopsnake, repeating process 1 for 4 times.
But the process involves 3 different starting input (in Circle 2), which is like this
Input a is the origin of the first rod (O1), Input b is to determine the direction of A1-O2, and Input c is the direction of the first rod (vector O1-A1).
I wonder how these 3 starting data can be calculated respectively in the iterations? Perhaps this involves some manipulation of data tree?
Can anyone give some suggestions? Thank you in advance for any help!
…