VB.NET

Moderators: seancampbell
Number of threads: 4022
Number of posts: 10035

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
I need to find a VB.NET equivalent for this command... Posted by TheBlakDrag0n on 17 Apr 2012 at 7:48 AM
I've posted in MATLAB forum and gotten no response so I'm hoping someone here may be able to help. Here is the original post:

**************
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:

con=pnet('tcpconnect',ipaddress{counter},portnumber(counter))


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

tankdata{counter}=pnet(con,'read','view')


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!
**************

After more thought on the matter, all I really need to know is how to connect to a specific IP address and port and then ask it to send me the information that it's already broadcasting. Being new to network programming, I'm not sure I'm even asking the correct questions, so please reply if you think you can help point me in the right direction. Thanks!


Don't be afraid to correct me if I'm wrong...nobody knows it all!!

http://www.bsbweb.net



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.