modo Posted January 7, 2005 Report Share Posted January 7, 2005 Hello I've got a little communication problem with the device (HA7Net) that I bought last week. HA7Net is 1-wire <--> Ethernet converter. In my project it acts as a bus master in network which includes temperature sensors. Communication between the converter and PC is through http protocol. In a test stage I used simply web browser (wget)and of course it works. And now there is a time to write some VI. I've got few ideas how to solve this but the simplest is - use the ready functions that are developed. And now there is a problem. These functions are written in Visual Basic and .NET platform. I've never used VB, even haven't got someone to help me to compile this routine into dll. Could anybody compile the file into dll which will work in LV? My operating system is Windows XP (SP1) and LabView versions are: 6.1 and 7.1. Original link to HA7Net VB functions is : http://docs.talk1wire.com/vb.net/HA7Net.html - Section File: HA7Net.vb Also I send VB .Net file with these functions (copied from that web page). Thank you very much. Peter Download File:post-923-1105128055.zip Quote Link to comment
modo Posted January 7, 2005 Report Share Posted January 7, 2005 hi once again me now I realized that the simplest way is to use DataSocket with specific http url and receive the html page. Next step is to use XML parser and after that I'm at home. My request has still active status. Peter Quote Link to comment
Khalid Posted January 8, 2005 Author Report Share Posted January 8, 2005 You may also use the 'Microsoft Internet Transfer Control' in the ActiveX container and read the HTTP info' as String data (from a Variant). Here's the diagram which should give you the idea: http://forums.ni.com/attachments/ni/170/83366/1/https.png Regards, Khalid Ansari Quote Link to comment
modo Posted January 8, 2005 Report Share Posted January 8, 2005 Hi This was one of another idea from my solution list , but thank you. Another example of something like that (web browser in ActiveX container): http://sine.ni.com/apps/we/niepd_web_displ...source=external Quote Link to comment
modo Posted January 8, 2005 Report Share Posted January 8, 2005 I've forgotten add one file that is needed during compile process: OW.Interface.vb link: http://docs.talk1wire.com/vb.net/OWInterface_vb.html Download File:post-923-1105189325.zip Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.