12-17-2019 04:55 AM
Hi, I am trying to interface a Eurotherm 2404 with LabView 2018 SP1. I have designed a code to acquire the data from the controller. The eurotherm controller is connected with a temperature sensor which reads the room temperature and display it on the controller & also, the same data is shown on a waveform chart. But, when i try to run the program LabView gets into hang mode after sometime (i.e I will not be able to stop the execution) or it will close all the windows of LabView generating an error report (a snapshot is also attached) or sometimes the system will restart by itself. I am exactly unable to figure out the reason behind this. it would be really great if someone would help me out in solving this
12-17-2019 05:33 AM
Ouch! I usually see these (fortunately rare) reports while running LabVIEW in development mode, and interacting with the Block Diagram or Front Panel while editing. I don't recall ever seeing one of these while I was executing a LabVIEW Routine.
In order to help you find and understand what might be causing this problem, we would need to see the code that you are running. If it is a single VI, just attach the VI. If it is multiple VIs, such as a LabVIEW Project, compress the folder containing them and attach the resulting .zip file.
Bob Schor
12-17-2019 09:27 PM
Happy to hear from you. I didn't expect that I would get a response so soon. I am attaching a zip file which comprises of all the SubVIs. This project is on the verge of getting completed & not yet complete. But, I assure that this will run till the problem I've described. Thank you once again.
12-18-2019 07:16 AM
Miscellaneous comments:
If I had to guess what was generating the "Sorry for the Inconvencience" message, I'd guess the missing pieces of the Message Handling Loop. I like to use Enums instead of Strings for things like Message Handlers -- this lets me eliminate the Default Case (I simply create a Case for every element of the Enum), and if I need to add or remove a State/Message, I get an Error until I add/remove the corresponding Case element.
Bob Schor
02-11-2020 11:11 PM
Thank u for the suggestions. would surely make those necessary changes. my problem with the hanging up of the LabVIEW has been stopped. the problem was with the converter used.
But now I am facing a new problem where in I am trying to display some data on the waveform chart. this data is snt as a notification to the main VI from an SubVI. the problem here is I am unable to synchronize the data displayed on the main VI and the subvi. I have attached a piece of the display below. I have also attached the corresponding main & subvi.