LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CSi8D omega instrument communication

Hello,
 
I am trying to communicate with Omega CSi8D over ethernet to read the temperature.
When using TCPIP, TCPIP Read return Erro 56 - Timeout occures.
In TCP Write I provided the html string.
 
And with Datasocket when I provided the URL http://192.168.1.252 or http://192.168.1.252/command?pwd=12345678&cmd=*01X01 I get the following error:
 
Error: -2146797887 occred at DataSocket Read.
This error code is undefined. No one has provided a description for this code, or you might have wired a number that si not an error code to the error code input.
 
Has anyone tried reading the temperature for Omega device?
 
Thanks,
Rachana
 
 
0 Kudos
Message 1 of 3
(2,998 Views)
When utilizing the TCP/IP connectivity can you at least ping the box's IP address? According to the documentation, if you haven't changed it there should be a default IP address on a sticker on the side of the box. The first thing is to get a ping working.

What is the connection like between your computer and the Omega box? Remember that if it is a direct connection you need to use a crossover Cat5 cable. If there is a router or hub of some kind in between you can use straight-through cables.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 3
(2,988 Views)
It sounds like you are mixing up some protocols.  http: is the protocol for serving up webpages.  So if you put http://192.168.1.252/command?pwd=12345678&cmd=*01X01 into a browser, the device serves up a webpage.  A datasocket read isn't going to know how to interpret the webpage html that gets served back.  There must be some other protocol being used to get the data back over the network.
 
Try typing that command into a browser window and see what pops up.
0 Kudos
Message 3 of 3
(2,984 Views)