I'm trying to get the pico TC-08 logger to function in MATLAB. Currently this code runs displaying ans=1 (true) for opening the port when set to the correct com port (4 for this system). It also finds when the logger is ready to send a value when xobj==1. However xp does not change value and so no value for the temperaure is given xp and x are always value 3 as originally set.
I hope this starts some people along programming for this piece of wquipment in matlab and if anyone knows anyway to get these tempvalues please post in this forum.
calllib('tc0832','tc08_set_channel',port,8,75,10,0,0) %75 equates to 'K'
xp = libpointer('voidPtr',x);
[xobj, xval] = calllib('tc0832','tc08_get_temp',xp,port,8,0);