I know you don't officially support MatLab, but I'm trying to write code to control the USB tc-08 in streaming mode but cannot get it to work properly.
Do you have ANY examples you could show me that might give me a hint (or does anybody have any MatLab code that might help me?)
Also could you give me more of an indication what values the dll requires and what it is supposed to return? I have read the manual over and over and it doesn't seem to give much information and seems to contradict the dll code.
Any more help anybody can give me would be appreciated - I've tried everything I can think of yet still can't get this to work!
Have you found a code to read the TC-08 (USB) directly in Matlab in streaming mode in the meanwhile?
Would be nice if you could send it to me or post it here.
I could get the tc-08 to do everything but stream the data, but every time I tried to read from it MatLab would crash. I haven't really used the system since as I've been working on other things however, so haven't tried much more.
If you get anywhere with it I would like to see how you did it too. If you are having problems getting MatLab to talk to the sampler then I can dig out my old code that used to work for setting up the channels and starting sampling etc.
I used the support for .dlls in MatLab 7. To be honest I'm not much of a programmer and have very limited knowledge of C, so found it tough trying to work out what was going on. Also when I was doing the work the dll support in MatLab was almost non-existant as it's a new feature.
I'll have a dig round and see if I can find the code for you though if it will be any help.
Just as an aside, the MatLab example we have is for the ADC-2xx range and it was written by another customer. If anyone would like this please email us at tech@picotech.com and we will send it to you.
Hello to everyone! I created a GUI to control the USB-tc08. This program is not perfect and it has the comments in Italian, but it works. I attach it in case it could be useful to someone.
Regards.