11-07-2008 03:25 PM
Good Friday afternoon !
I have successfully used the web interface for my OMEGA iNFB meter with Ethernet Option. I am now trying to repeat the communication in Labview. The program appears to write the data just fine but then does not get an answer back, or at least Windows isn't patient enough to wait for one because I get Error 66 in attempting to read. I added a while loop to re-establish the connection when an error in attempting to read is reported. I still do not get any answer from the device. The format of the command is:
* - selected recognition character (any ASCII table character)
X - read measurement data in decimal format
01 - address the first (actually only) sensor
<CR> - carriage return
When given this command over the "internet" interface, the device responds with (for example): X0100076.0.
The probe attached is an RTD probe and the reading contained in the response is correct: 76.0.
The program is attached for your disection.
Thanks for your insights...
Solved! Go to Solution.
11-10-2008 09:53 AM
Solution:
The attached code above works just fine (minus the while loop) when the i-server is properly configured to accept connections. Apparently when using the internet interface, this setting is ignored and access granted regardless. To configure the iserver for access set the "number of connections" to greater than 0, in most cases 1 should suffice. Once this is done the standard TCP/IP communication VI as attached above works like a charm.
Hope I can save someone else some time...
09-21-2010 07:54 AM - edited 09-21-2010 08:02 AM
I am having the same problem with an Omega I-series controller (CNi8-EI). I am trying to read the temperature continuously via TCP (or VISA through MAX). It gives me the correct read string during the first loop ("01X010072".... which means 72 degrees F)... then it gives error #66 and stops I/O.
I tried changing the number of connections to "1" from "0" as mentioned, and then it gives error #62 (System caused connection to be aborted).
When I try it with VISA it still reads once and then sends error # -1073807298 (I/O error)
Any Ideas?