Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Please help convert MATLAB command to VB

TheBlakDrag0nTheBlakDrag0n Posts: 10Member
I am looking for a way to translate a MATLAB program to VB 2010 so that we can do more with our data. Currently MATLAB is connecting to a tank(liquid) gauge that feeds us that information. In MATLAB, the command to connect appears to be:

[code]con=pnet('tcpconnect',ipaddress{counter},portnumber(counter))[/code]

and then the code to read the data appears to be:

[code]tankdata{counter}=pnet(con,'read','view')[/code]

I am unfamiliar with MATLAB so I am looking here for someone who know's both VB and MATLAB enough to be able to tell me or explain to me how an equivalent to the MATLAB code could be written in VB 2010. Thank you in advance for any help you can provide!
[hr]
Don't be afraid to correct me if I'm wrong...nobody knows it all!! :-)

http://www.bsbweb.net
Sign In or Register to comment.