I'm trying to use Multisync to read a string outputted to localhost with a Matlab tcp/ip function. Basically, I've set it up so that at http://localhost:3999 there is a string of a number.
Now, I'm trying to use Multisync in DBPro to read that number. I seem to have some success connecting to localhost because I do not get an error. However this is what the following commands return for me:
NET GET STRING() returns nothing
NET GET FLOAT() returns 3.5288...e-038
NET GET INT() returns 20980024
NET GET BYTE() returns 1 (always 1, and not the number I wanted)
NET GET WORD() returns 8054 (again, not the number I wanted)
How can I get it to give me the string that is there?
Here is my code:
ip$ = "127.0.0.1"
net connect ip$
do
print net get WORD()
print "hi"
loop