Posted Tue, 23 Jan 2024 14:51:55 GMT by Yadav, Yogesh
Hello
I am using matlab to do some measurements on the 2612B system. 
I am using following MATLAB command to send the list of voltage points --

writeline(K2612B, strjoin({gate_smu,'.trigger.source.listv({',Vliststr,'})'}));

here, Vliststr is a list of voltage values.
If the list is very small, the command works without any problem but whenever the list is long, I get "buffer overrun error". What can I do to avoid it?
Is there any way to append to a list in TSP command set? Is there any other workaround?

Posted Wed, 24 Jan 2024 14:45:44 GMT by Odhner, Bradley
How many voltage points are we talking about?

My first thought is to try sending the list to the SMU separately as new array, breaking it up if needed. In pseudocode:
writeline(K2412B, strjoin({'vlist=',VliststrPart1)});
writeline(K2412B, strjoin({'vlist=vlist..',VliststrPart2)});
writeline(K2612B, strjoin({gate_smu,'.trigger.source.listv(vlist)'}));

(".." is the concatenation function in TSP/Lua.)

You must be signed in to post in this forum.