Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Error 62 When Using the Simulation Interface Toolkit in LabVIEW Real-Time

Primary Software: LabVIEW Modules>>Real-Time Module
Primary Software Version: 6.1
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Toolkits>>Simulation Interface Toolkit

Problem:
I have built my model dll with The MathWorks Inc Simulink® and Real-Time Workshop® using the Simulation Interface Toolkit (SIT) template. I run the driver VI first on the Real-Time target, then I run my host program. When I stop the driver VI I get error 62. What is wrong?

Error 62 occurred at TCP Write in sit
Send Packet.vi->sit Check State Change.vi->Name of Your Host.vi


Solution:
Error 62 is a TCP/IP connection error. When you shut down the driver VI you are essentially shutting down the TCP/IP SIT server on the Real-Time target. However, your Host VI keeps trying to communicate with that server. The proper way of stopping the execution of your model is by stopping your host VI first. Then you will not receive any error messages.

Related Links:
KnowledgeBase 36AGDCOH: Error 14153 When Using the Simulation Interface Toolkit in LabVIEW Real-Time

Attachments:





Report Date: 03/05/2007
Last Updated: 02/11/2008
Document ID: 474J8ULA

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit