Dawid Posted October 28, 2014 Report Posted October 28, 2014 (edited) I'm trying to find a way to communicate between two executable LabView app, because of several reasons I chose (associated with my application) Network Streams. Everything works fine so long as they are the VIs. When I build exe files there is no communication between apps. The apps waits forever for connection (because there is no timeout). Did anybody meet the same problem? I will be very grateful for any advices and comments. TestStream.vi TestStream2.vi Edited October 28, 2014 by Dawid Quote
Dawid Posted October 28, 2014 Author Report Posted October 28, 2014 I found the solution! I tried to delete the topic, but I cannot. Anyway the problem was associated with Streams Names, which should be unique. Till you are using streams in LabView there is no need to build "Stream Name" as full URL, "ni.dex://host_name:context_name/endpoint_name". Context_name is optional when Streams works in LabView, but it's necessary to have this name when you are building exe files. The context_name is the name that identifies which application context the endpoint resides in. If somebody need more info, everything is here: http://www.ni.com/white-paper/12267/en/ 1 Quote
MarkCG Posted November 1, 2014 Report Posted November 1, 2014 If you have multiple instances of an application that uses network streams, you can have each EXE give its stream a unique context name by generating a GUID. There is a way to get it via .NET. Quote
hooovahh Posted November 3, 2014 Report Posted November 3, 2014 I found the solution! I tried to delete the topic, but I cannot. You can formally request topic moderation by using the Report to Moderator button. But in this case I would rather we leave the topic as is. Even if your issue was solved, others may look for help on this subject, and finding what you have already done helps the community. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.