annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

Error 56 localhost

Risolto!
Vai alla soluzione

Hello All,

 

I'm fairly new in Labview.Smiley Strizza l'occhio

 

I'm trying to communicate 2 VI in the same computer using STM function. One VI are collecting the data via DAQmx, and send it over using STM function, while the other VI read the data from STM and plot the data in the waveform graph.

 

However, I got the problem on the very beginning of the program. The client always get an error on establishing connection with the server with error 56. I tried to change the port number, change the timeout, and check the available port using command prompt, and yet, the problem still appears. The current port I used is free and still not running. Is there any suggestion for my problem here?

Unbenannt1.PNG

Thank you!

 

Regards,

 

Stefan

0 Kudos
Messaggio 1 di 7
5.208Visualizzazioni

Do you have the Server.vi running before you start the Client.vi?



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Messaggio 2 di 7
5.191Visualizzazioni

Hi Crossrulz!!

 

Thx for fast reply!

 

Yes, I do start the server first. I normally wait around 4-5 second before start the client.

When I start the Server, the server went well. But as soon as I start the Client, the server suddenly turn off, followed by the client as well.

 

Thx!

0 Kudos
Messaggio 3 di 7
5.176Visualizzazioni

Hi Stefan,

 

I know this article is based on communication between different computers, but I think it's worth reading through as there are some points that would apply to you as well.

http://digital.ni.com/public.nsf/allkb/D90C4F99C1EF3F6A86256E4A0080A120

 

Also, are you able to do this communication using one of the LabVIEW examples?

0 Kudos
Messaggio 4 di 7
5.133Visualizzazioni

Hi,

 

Thanks for your reply.

 

Yeah, I read this article before, I tried to do their suggestions as well.

The example program is running perfectly, there are no problem until I add the Stop FGV in the system.

 

 

0 Kudos
Messaggio 5 di 7
5.098Visualizzazioni
Soluzione
Accettato da autore argomento stefanusandika

Hi Stefan,

 

Why are you using the Stop FGV in the system?  You can stop parallel loops with just using a local variable: http://digital.ni.com/public.nsf/allkb/267704CDE91156D186256F6D00711AAE

 

The top example there describes how to do it. You shouldn't need to use Stop FGV.

0 Kudos
Messaggio 6 di 7
5.068Visualizzazioni

Hi gdrag!!

 

Good morning!

 

Thanks for your reply and input. I am currently working on it. I hope your suggestion work well!!

 

0 Kudos
Messaggio 7 di 7
5.050Visualizzazioni