User string input

andrea379's picture

Dear forum, I'm developing a composition for a university exam. I'd like to build a string that user can modify by keyboard generating a specific directory scanner. So I'd like to call a specific 3d file sited into a folder by typing on keyboard. I'd also like to specify tags/categories for each folder because of the specific question that user will make typing.

I've already set a part of the string using the directory scanner patch, so the user can just define the last word of the input string. What I miss is to call the second part of the string, that in this case will contains .dae files, or folders containing jpg.

Thanks in advance, kind regards.


XML and streaming data display

ginsu777's picture

so i have been working on/off on this project whenever i want to add a feature or use a new video -- it works good. however, i ran into an issue.

I send a command to the terminal via TCP socket client to run a little program that interfaces with the usb stick receiver. It listens for the data on port 8168, and when its just the HR, it is all fine. however, i use another program to see the data in realtime and it also is getting the cadence and speed data in XML over the same port. my string truncate is seeing different data, and the output is not right.

now, I would like to use that data, but I am unsure as to how to get it, since it all comes over the same port, and my work is all in strings to truncate, etc to then display it. so i am not parsing the XML, and the extra data is now messing up my HR display. I'd like to use that data somehow.

This is complicated by the fact that both Cadence and Speed values I am interested in are reported as "RPM" so using a string components tool is getting complicated.

any ideas?