08-07-2013 03:12 AM - edited 08-07-2013 03:13 AM
Hello,
I am trying to communicate with an Eurotherm 3504 device using ethernet. I am using LabVIEW 2012. With iTOOLS, communication is working fine.
When I try to run the 2 sample VIs I downloaded from the NI webpage, they give the following error:
Please suggest a solution.
08-07-2013 04:09 AM
Dig into the Initialize.vi (part of Eurotherm 35xx Series.lvlib)... one of the property nodes inside Initialize.vi is not meant for this particular instrument that you're using...!!
Try running Initialize.vi alone and using probes, check where exactly (in which property node)this error is occurring..???
Can you share the Initialize.vi.
08-07-2013 07:54 AM
Hi
thank you for the reply.
I am relatively new to LV. Could you please tell me how to locate property nodes . I checked on the block diagram, and using Probe I could see from where the error arises, but then don not know how to fix it.
I have attached both .llb files to this post. Please check. the Initialize.vi is in the et3500.llb file.
08-07-2013 08:41 AM
I've marked 'Property Node' (PN) in the image (inside Initialization.vi)
So there are two property nodes used in the VI, in first step you may want to probe, out of two PNs, where error is getting generated, next you can even breakdown the PN (demonstrated in pricture below) in single node for each property and check in which specific PN error is getting generated.. This might help to corner the issue.
08-08-2013 05:05 AM - edited 08-08-2013 05:09 AM
Hello,
Thank you for the last advice. I deleted the property node which was giving the error in the initialize VI and also the node for serial communication, which is not need as I am using ethernet. Now the initialize.vi does not give any error.
But in the main program, now there is a new error that arises at the et3500 Configure Instrument Mode.vi (this is a sub VI ofcourse). The error reads:
Error -1073807194 occurred at VISA Flush I/O Buffer in et3500 Utility MODBUS RTU Send Message.vi->et3500 Utility Read From Register.vi->et3500 Configure Instrument Mode.vi->et3500 Temperature control and monitoring example.vi
Possible reason(s):
VISA: (Hex 0xBFFF00A6) The connection for the given session has been lost.
I looked into the sub VIs and found that the error is starting at VISA Read block within the et3500 Utility MODBUS RTU Send Message.vi. I am attaching the other .llb file which has the MODBUS sub VIs.
I am attaching the old library file again, where you can find the new et3500 Initialize_edit1.vi
What is this MODBUS doing? Please help with this error.
08-08-2013 05:30 AM
@pd46 wrote:
Thank you for the last advice. I deleted the property node which was giving the error in the initialize VI and also the node for serial communication, which is not need as I am using ethernet. Now the initialize.vi does not give any error.
You should not delete the property nodes, rather you should have replaced with some other code which is relavant to ethernet communication. Now since you've deleted the nodes, and there is no replacement to those deleted property nodes (corresponding to ethernet), you're not even starting the communication (in other words, session is not created)...!!
You might need to refer the manual.
Also if you make any changes to the Initialize.vi, you can test whether able to communicate with instrument or not, by using following VI.
08-08-2013 07:00 AM - edited 08-08-2013 07:06 AM
I still have the old initialize.vi in the library. I tried your sample to test whether I can communicate with instrument or not: when I use the old initialize.vi, I am back to square one -same property node error, when I use the new edited initialize.vi (where I deleted the serial interface node), I get the same MODBUS error.
I tried them each separately.
Why does it show Instrument Firmware Revision v0.0
Instrument Driver Revision: REV 1.0.0, 06/2005, LV 7.0
08-08-2013 07:33 AM
Please see attachment. Same error persists
10-10-2013 10:09 AM
Hello,
I also have a communication pb with my 3504, using ethernet.
My pb is that I don't even find my instrument in "VISA resource name" list.
Is there anything to do, for Labview to find my instrument?
As you, with iTOOLS, communication is working fine.
Did you solve your problem...?
Best regards
Anthony Magueresse
Ingénieur d'Etudes
------------------------------------------------------------------------
anthony.magueresse@univ-ubs.fr
tél. +33 (0)2 97 87 45 44 - fax. +33 (0)2 97 87 46 19
LIMATB
Rue St Maudé - BP 92116
56321 Lorient Cedex
UNIVERSITÉ DE BRETAGNE-SUD
www.univ-ubs.fr
10-10-2013 10:20 AM
Hello Anthony,
I could not interface the 3504 with ethernet and therefore permanently switched to a serial connection. for that, you need to buy a Serial card from Eurotherm and insert it in your device (which is a very simple procedure). And then it all worked fine after that.
Good luck.