Best communication method between LV Application
Hello Together,
I'm looking for the best communication way between two LabVIEW Applications. As VI is clear, I can use a Queue or a global variable and so on.
But what is the best, when I compile the VIs later to DLLs or Applications. Till now we always use TCP/IP, but I think there must be a better way instead of this.
So if anybody has an idea - it's very welcome.
Thanks in advance
Markus
Solved!
Go to Solution.
Traxx wrote:
What I don't like with TCP/IP that you always need a second thread (while loop) who handle the TCP/IP communication. I thought that there must be an easier way.
I also thought that shared variables are always limited to one application. Thanks for the ideas...
That second loop is a loop that YOU control. If you go with shared variables you are a slave to whatever they can or can not do. Besides, they run on top of TCP/IP so it is not out of the picture.
Its your call,
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction
Similar Messages
-
Communication problem between air application from swf at browser
Hi,
I am trying to communicate adobe air native application from brwser using swf, I check for native application installed or not. If installed then launch and if not then install and launch.
I am facing problem when browser crashes and communication get lost with adobe air native application. And when user restart web browser and try to make local connection for communication with native application, some times it get failed. so, how to handle this state please help.
Thanks
Nitesh KumarHi sinious,
How could I clean up connection when browser is aborted or lost?
below you can find the code snippet to check for air application and connection
airSWFLoader = new Loader();
loaderContext = new LoaderContext();
loaderContext.applicationDomain = ApplicationDomain.currentDomain;
airSWFLoader.contentLoaderInfo.addEventListener(Event.INIT, onInit);
airSWFLoader.load(new URLRequest("http://airdownload.adobe.com/air/browserapi/air.swf"),loaderContext);
function onInit(e:Event):void
airSWF = e.target.content;
switch(airSWF.getStatus().toString())
case "available" : AirLoaderStatus = 1;
break;
case "unavailable" : AirLoaderStatus = 2;
break;
case "installed" : AirLoaderStatus = 3;
break;
private function getAppStatus():void
clearInterval(intervalIdentifier);
if(AirLoaderStatus == 0){intervalIdentifier = setInterval(getAppStatus,1000);return;}
m_launchInstallBtn.visible = true;
var statusInfo:String = airSWF.getStatus();
airSWF.getApplicationVersion(m_installerFileName, m_pubID, versionDetectCallback);
function versionDetectCallback(version:String):void
if (version == null)
trace("Not Installed");
// Take appropriate actions. For instance, present the user with
// an option to install the application.
else
m_isPluginsInstalled = true;
// Take appropriate actions. For instance, enable the
// user interface to launch the application.
private function onlickMouse(event:MouseEvent):void
m_text.text += "\nm_isPluginsInstalled:"+m_isPluginsInstalled+":::AirLoaderStatus:"+AirLoaderStatus;
trace("\nm_isPluginsInstalled:"+m_isPluginsInstalled+":::AirLoaderStatus:" +AirLoaderStatus);
switch(event.currentTarget)
case m_launchInstallBtn:
if(AirLoaderStatus == 1)
installAirsetup();
else
if(!m_isPluginsInstalled)
airSWF.installApplication(m_url, m_runtimeVersion, m_argsToPass);
airSWF.launchApplication(m_installerFileName, m_pubID, m_argsToPass);
else
airSWF.launchApplication(m_installerFileName, m_pubID, m_argsToPass);
break;
in the above code snippet I pass localConnection for send and recieve as an argument in m_argsToPass.
the connection names strarts with "_".
In the air application I I split the event arguments like given below
argsArray = event.arguments.toString().split(",");
and then try to establish connection.
Please suggest, how could I clean the connection on lost/ abort of browser, since then swf object embeded in browser also get lost. -
My external device is having male USB connector. The cable available in market are having can be plugged to the device having female connector.I will need converter in between as my device is having male connector. Can i get such cable? If yes can i establish communication in between my app and device over these cables.I am not passing any audio/video data or photos.I am sending data frames. My device is having firmware and it sends data frames in firmware understandable format. Let me know can i have two way communication in between over USB/BT?
Right now i am connecting my device with host PC and i want to replace my host PC with ipad.Thanks....
will it be possible to establish communication in between my device and app. Because camera conection kit only transfers photos and videos and my device doesnt have any audio/video data.
If yes, should i add photo header to my frames and will send as corrupted photo file or what needs to implement so that i can have sound communication in between. -
How can we do the data migration between Oracle Applications and SAP R/3.
Hi All,
How can we do the data migration between Oracle Applications and SAP R/3 system.What are all the possible ways to move bulk data from Oracle Apps to SAP r/3 system.
Provide any 3rd party tools which supports data migration and also pls rpovide the SAP's own data migration tools with supports the above feature.
Awaiting for best possible solution.
Thanks in advance.
Regards
Dharmarajuthe 3rd party tool is ETL , you can use ETL tool and the prepare the load files then you can use LSMW method to upload the data to SAP.
-
Letter Communication Method in Marketing Campaign Execution
Hi All,
When you assign the communication method to the communication medium in Campaign Execution there is a drop down list box where you have the choice between these communication methods :
1 BP Controlled
2 telephone
3 Internet Mail
5 Fax
6 SMS
7 Generate Contact (visit)
8 Open Channel
9 Lead
10 File Export
11 Sales Order
The communication method "letter" is not listed : do you know how to add it ?
Thank you and best regardsHi Thomas,
They're values from domain CRM_MKTPL_COM_METHOD. You can check them in t-code SE11.
Kind regards,
Garcia -
Re: (forte-users) Communication Pbs between a NT client& a HP 11 load-b
Hi,
I think you misunderstand the anatomy of an Array object. The size of an
Array containing 63 elements can never be 1638 bytes when each element
contains a 100 byte string.
If you use the sizeof function, you'll only get the combined size of all
attributes of the object. But if an object contains attributes that are
objects themselves (e.g. TextData), then only the size of the pointer to
this object is counted. Not the object itself.
Array and LargeArray offer the same functionality but use different
algorithms. LargeArray is better suited for large lists and Array is better
suited for small lists. Array is faster, but requirs more memory. LargeArray
is slower, but requires less memory.
Array reserves a piece of memory that holds 63 pointers to objects. Within
these 63 positions, you can read and write randomly. When you add a 64th
object, Array locates a new piece of memory that holds 127 pointers. The
first 63 pointers are copied to this new location and the original location
is free for garbage collection. When you add a 128th object, Array locates a
new piece of memory that holds 255 pointers. etc.
Check if you're network communication time is closer to what you expect when
you have 127 elements in your list. And then check if performance drops
again when you have 128 elements.
Also, take into account that Forte is not capable of measuring time in very
small units. 80 ms and 150 ms might really just be 3 ms apart. Also, garbage
collection might kick in at any moment, slowing down performance. If you
have a multi-user OS, it might suddenly start doing maintenance tasks, that
reduce the amount of processor time available for your partition, either the
partition that sends the array, or the partition that receives it.
Sending an object requires the object to be serialised, send and
deserialised. The partition that invoked the Send() method blocks during
this whole process. If deserialising at the other end takes longer, then the
process simply waits longer.
-----Original Message-----
From: Olivier Brousseau [SMTP:Olivier.Brousseausema.fr]
Sent: Thursday, April 06, 2000 7:05 PM
To: kamranaminyahoo.com
Cc: Eric ABECASSIS; Giulio CALIENDO
Subject: (forte-users) Communication Pbs between a NT client & a HP
11 load-balanced server : 100ms to transfer 1600 bytes on a 10Mbits link.
Hi,
we have done a very small application to instrument & verify the
communication capabilities of our soft & network :
1. a win NT client that generates an array of object ( nb of object is a
parameter ), and that send it to a server.
2. a HP11 server, that contains a load-balanced SO ( with only one
replicate ). The prototype of the SO entry point, which does nothing, is
as
follows :
void send( input GenericArray of Element );
And Element is a class that contain a DataValue attribute with a 100 bytes
string.
Between the client & server, we have a 10 Mbits link ( it has been
verified
using FTP ). From 1 object sent, to 63 objects, ( size of the array with
63
objects = 1638 bytes ), everything is OK. The elapsed time is 10
milliseconds.
With 64 objects ( size of the array = 1666 bytes ), the elapsed time is
100
milliseconds ( in fact for one iteration, it's 80 msec, for the next one,
150 msec, and then it's 80 msec, etc... ).
All the results with more objects than 63 are awfull.
Has anyone enccountered such a problem ?
Can anyone advise ?
Thanks,
olivier
Nota. Both server & client are built from Forté 3.0.M
O. Brousseau
Architecture & Performance Team
Sema Group France ( DTS )
For the archives, go to: http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com -
How to share the same session between JNLP Application and browser session
How to share the same session between JNLP Application and browser session using BasicService.showDocument(url) method? It appears whenever i launch any URL from within a JNLP application using BasicService.showDocument(url) , it creates new instance of browser and session even after i used cooke handlers to restore JSESSIONID and Ltpa token etc.
public static int showDocument(String urlToOpen)
BasicService obj = (BasicService) ServiceManager.lookup("javax.jnlp.BasicService");
obj.showDocument(urlToOpen);
}Try using Reflection
-
Communication medium and communication method
Hello,
Please someone please explain to me the difference between a communication medium and a communication method...
For example, the communication medium e- mail is the one that I choose in the channels tab on the marketing planner, how do the communication method I assign to this communication medium affect the procedure? and how do a transaction I assign to this communication method affect the procedure too.
thanks for you're replays
IrisHi Iris,
Each communication medium consists of one or more communication methods together with a priority that you assign to a communication method.
Example
You could create the communication medium Phone/E-mail/Fax. The description you use is down to you, but for ease of use, it makes sense to name the communication medium according to the communication methods it contains. The communication method defines the means by which business partners belonging to a target group are informed about the content of a campaign (by E-mail, mail, fax,...). -
Two Application in One EVDRE - check data between two application.
Dear Sap Expert,
We want to check data between two applications.
For example, we have in C_ACCT= 100000000 Amount 5000 in Legal Application, we want to check what amount is in that C_ACCT in ICMatching application.
Problem is that we can't get data from two application with one EVDRE.
If we will make it using two EVDRE, problem when we retrieve data, rows doesn't match.
Our question : is it possible to link to two applilcation using one EVDRE? (Just like dimension? For example for first column it will be Legal, for the next ICMatching.)
If no, how we can solve our needs?
Legal |ICMatching | Difference
C_ACCT 5000 | 2000 | 3000
For example
(100000000)Thanks for answer.
Does it mean that for example if i just want to check C_ACCT=100000000 between two application(Legal and ICMatching) i should build TWO EVDRE, and i can't solve this problem by one EVDRE. (Or with two EVGET)
Our aim that we need to check all BASMEMBERS data between two application, it's huge data, so we want supress all zero data(SUPRESS="Y").
So if we build first evdre for LEGAL, for example it will have, 500 rows.
Second evdre for ICmatching, for example, will have 953 rows.
How we can check data and show difference between them?
Best solution for us, if in one evdre we can retrieve data from two application, so rows will match and we also can supress data.
Thanks,
Kadraliyev Yerlan -
Difference between an application and a package?
Hey!
Cant figure out what the difference between an Application and a Package in SCCM 2012. I only got Packages in 2007, is there any documentation on this?
// ClintHi,
Applications are stated-based which means that you will have to provide a detection method for an application so in some scenarios running a script could be better as an Package/Program. Running a file copy of for instance SAPLOGON.INI every morning is also
handled better as a package/program.
So there are still some scenarios that you want tot use Package/Programs..
regards,
Jörgen
-- My System Center blog ccmexec.com -- Twitter
@ccmexec -
Send message with the standard communication method of the vendor
Hi,
In the transaction XK02 I change the standard communication method to email. When I create a new PO with ME21N I want the message to be create auto. with the std. comm. method define in the XK02. I don't want to use MN05 to define for each vendor a condition record.
I want to use it like the communication language of the vendor work.
If you need more info. let me know.
Best reagrdsHi Tim,
Could you please tell me step by step to configure what you are saying?
I need to send messages by standard communication informed in vendor master data.
Many thanks
Regards
Patrícia -
Executing Methodes between different JFrames
hi everybody.
I have a prop and dont know what the best way is to fix it. There are two JFrames (named F1 and F2) wich are created by a main class (lets say F3). Does anybody know what the best way is to get the reference between those two objects (f1 and f2) so that i can call methodes between those objects (f1,f2). For example i want to perform a methode of f2 from the first JFrame f1 without using a static context.
in f1 something like this:
f2.bar();
thxKangal,
I suspect Kangal is another alias for CoWork? Spelling and syntax are very similar to posts under that ID. If not, please see this thread:
http://forum.java.sun.com/thread.jsp?forum=57&thread=388361&tstart=0&trange=100
--A -
Communication problem between NetBeans and Tomcat
hi!
i got a quite mysterious problem. here is what happens:
- i start NetBeans 5.5.1 (the first time)
- i want to debug my JSF-Project, the Debugger starts
- After a few seconds the debugger waits for tomcat (it sais: "Waiting for Tomcat...") and tomcat starts
- Again after a few seconds the tomcat-debugger-output sais "Tomcat startet in 3333 ms".
okay.
when i enter http://localhost:8084/ in my browser i get the tomcat homepage, so the server has definitely started! But nothing happens in NetBeans and nothing happens with my project....
In the lower-right corner i see this blue working-bar that sais "deploying project" but nothing happens. The Project-Debugger-Output still sais "Waiting for Tomcat..." but nothing happens...
And after something around 3 minutes (i guess it's a timeout) i get the error "Starting of Tomcat failed." But is HAS started, i can login to the Administration-Area in my browser!
so i guess there is a communication problem between netbeans an tomcat. Netbeans waits for a message from tomcat but tomcat doesn't send it..or netbeans doesn't understand it.
But the story goes on:
When i press the debug-button a second time it takes only a few seconds till i get the message: "Tomcat server port 8084 already in use". OF COURSE! Because Tomcat has already startet and can't be stoped by NetBeans.
i'm trying to solve this problem for 4 days now, so i would be very happy if anyone has an idea where to start/continue the search...
thanks,
flo.
some system-info:
- windows vista business 32-bit
- no firewall is running
- AntiVir Personal Edition IS running
- Yahoo Widgets Engine IS running
- no other software is running
and finally the tomcat-log:
Using CATALINA_BASE: C:\Users\Administrator\.netbeans\5.5.1\apache-tomcat-5.5.17_base
Using CATALINA_HOME: C:\Program Files\NetBeans\enterprise3\apache-tomcat-5.5.17
Using CATALINA_TMPDIR: C:\Users\Administrator\.netbeans\5.5.1\apache-tomcat-5.5.17_base\temp
Using JRE_HOME: C:\Program Files\Java\jdk1.5.0_12
Listening for transport dt_shmem at address: tomcat_shared_memory_id
21.09.2007 18:27:50 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_12\bin;.;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\ThinkPad\ConnectUtilities;C:\Program Files\Common Files\Teleca Shared;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\cvsnt;
21.09.2007 18:27:50 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8084
21.09.2007 18:27:50 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1862 ms
21.09.2007 18:27:50 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
21.09.2007 18:27:50 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
21.09.2007 18:27:50 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
21.09.2007 18:27:53 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8084
21.09.2007 18:27:54 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
21.09.2007 18:27:54 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/31 config=null
21.09.2007 18:27:54 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
21.09.2007 18:27:54 org.apache.catalina.startup.Catalina start
INFO: Server startup in 3626 msAs i wrote before, the same problem occured for me. I have found a solution which is : Go to tools menu and then select options . In the proxy info, select No Proxy.
I hope this help you -
IWork Apps Closing When Switching Between Open Applications
I am having an issue with iWork applications shutting down when I am switching between open applications. For example, if I have Pages running, but no document open, and I use the command/tab command to switch to another program, then try to go back to Pages, I find that it has closed and must be reopened. The same thing happens with Keynote. If however, the program is open and a document or presentation is open, I can switch without the program closing. Is anyone else experiencing this? I can't find any other references to it. I am running a Macbook Pro with the latest version of Yosemite and the newest versions of Pages and Keynote.
Thanks.Yokay, so no one else is experiencing this issue. Pretend you were, do any possible solutions come to mind?
-
How to share security context between different application ?
Hi all,
I have two applications(ADF faces + BC, JDev 10.1.3.1) deployed into OAS 10.1.3.1.
The two applications are :
1) SalesApp -> main menu page = SalesMenu.jspx
2) ReportApp -> main menu page = ReportMenu.jspx
I want implement security using CustomLogin.
The question is :
How can I share security context between the applications ?
What I mean is, from SalesMenu.jspx there is one menu item to jump into ReportMenu.jspx, and I want user no need to Login again, Login is once and the user is recognized in the two apps. How to achieve that ?
Thank you for your help,
xtantoXtanto,
actually you can't if these are separate J2EE application deployments. The session is not shared and thus the authentication is lost. I heard that OracleAs is planning to implement a feature that allows you to share the session and thus a context between two J2EE deployments. I am not 100 % sure this is the case and will check with OC4J Product Management
Frank
Maybe you are looking for
-
My MacBook Pro is having trouble restarting. I originally opened the laptop to start working and noticed the comouter was acting strange (reconnecting to Wifi after turning it off, Chrome wasn't loading). I decided to reboot the computer to see if th
-
A query about SOA Design and development
Hi Why everybody these days are interested in SOA ?? The question i mean to ask is from a Service User Perspective , arent we coding our Application forcefully in the idea of making use of Other Software ?? Isn't this is a draw back ? (I am asking in
-
Access PSPAR in USER EXIT EXIT_SAPFP50M_001 - include ZXPADU01
Hi, Is it possible to access PSPAR in include ZXPADU01???? (PBAS0001 Enhancement) I want the variable ACTIO from PSPAR. In debugging mode when i tried ()PSPAR-ACTIO it s working, but when i tried it in report, showing error. ( '(' must follewed by a
-
CS5 differences between mac and windows
Hello all, we just installed CS5 on a new PC and are now comtemplating purchasing a MAC to run CS5 on as well. I was wondering what the differences are and limitations now that they're both on Intel processors. Our designers are concerned that with
-
List of differences between Ipod & Itunes
Is there a simple way to list the differences between the content of my Ipod and Itunes? So that I can just add what is new. I am using a manual sync. Thanks.