LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Communication failed to initilize

My Test stand running with Lab window with Automation Direct D4-450 DL405 PLC by  DirectSoft 5

After i reload same Labwindow CVI same version and start  : Initializing Community com port 1 opened at 38.4 K . Next : Communication failed to initilize. 

 

How i can fix it ,maybe lose some file or something?

 

Thank You

0 Kudos
Message 1 of 5
(934 Views)

@Don183  ha scritto:

After i reload same Labwindow CVI same version and start  : Initializing Community com port 1 opened at 38.4 K . Next : Communication failed to initilize. 

If by this you mean that you run the program a second time without closing the previous instance then this is the expected behavior, as the COM port cannot be opened by two processes at a time: the second process will receive an error.

 

Otherwise please try explaining better your problem.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 5
(928 Views)

No i just used this program after restart computer. 

0 Kudos
Message 3 of 5
(908 Views)

I checked : Initializing Communications. Com port 1 opened at 38.4K bps. but It's not Connected to Slave. 

How i cam fix with this problem. Any idea

 

Thanks

0 Kudos
Message 4 of 5
(891 Views)

I'm afraid I cannot give you anything more than general hints on solving serial communications problems.

 

Given that your program was operating correctly before you restarted your PC, something must have happened in this moment. Check that you actually have a com port in your PC, that it has the correct name and that it is working correctly.

Are you using a physical COM port on your PC or is it a virtual port given by some USB-to-serial or other device?

Do you have more than one port in the system? May them be swapped so that your device results to be connected to a port different from the one your program uses? Is the port configured in the program or does it rely on the configuration stated in the OS? In this case check that port configuration hasn't changed.

 

Of course, if you have the source code for this application you could go and examine which conditions result in a connection fault in order to fix them.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 5 of 5
(864 Views)