Reading live ASCII data

b1i2d3i4e5's icon

How do I get Max or the associated Max program to accept live streaming ASCII data?

Also any tips on how to parse the data would be great -

thanks-

seejayjames's icon

depends, where is it streaming from? you can maybe read through a [serial] object, but would need to know the origin. For parsing, look to [spell] [atoi] [itoa] [sprintf]... something there should work. [regexp] for more advanced text options.

sounds interesting, what's the project idea?

b1i2d3i4e5's icon

It is streaming from the internet through DDE format-

-Not to be rude or mysterious but the project has some patent issues so I prefer not divulge too many details on the net=

mzed's icon

I'd check out some of the java classes that come with max. Find stockwatch.maxhelp, for example.

mz

b1i2d3i4e5's icon

Thanks the stockwatch.maxhelp looks interesting-
It imports data from yahoo financial by the look of things?
Does it stream the data do you know?

Appreciate the help-=