01-23-2015 06:48 AM
I have got an undocumented project to maintain, it has a Java UI code, which connects with some component of LABVIEW over
TCP/IP Port = 1234
and over this port it sends commands for clear, get, set
I need links for understanding the component from LABVIEW which is been accessed over port 1234
I have installed LABVIEW Run time 2013, and do not know which PROCESS the Java code is trying to connect over TCP/IP, and I do not see any of the RT processes binding to port 1234.
Any pointers/links would certainly help me!
Thanks,
-Vikrant
01-23-2015 11:10 AM - edited 01-23-2015 11:13 AM
Can you define what you mean by "component of LabVIEW"?
The LabVIEW runtime engine is just a required component to run any custom build LabVIEW executable or dll. So, what is it?
You also mention RT processes. Does this run on an RT system? What is running where? If you are connecting to a remove LabVIEW RT system that runs a service on port 1234, you don't need LabVIEW or a run time engine at all on the local side.
At this time we don't have any useful information from you. Please be significantly more detailed! Thanks.
01-23-2015 01:02 PM
Component in sense, I ran the setup.exe for LABVIEW-64-bit 2013.
It has installed datasocket but I do not see the service running over the TCP IP port
It has installed
NI Application Web Server
NI Citadel 4 Service
NI Configuration Manager
NI Domain Service
NI mDNS Responder Service
NI PSP Service Locator
NI Service Locator
NI System Web Server
NI Time Synchronization
NI Variable Engine
I do not know which service correlates which purpose and which service is suppose to talk with our Java program over TCP socket.
RT I mean labview run time .
I am not sure where the 1234 port no. is configured in labview run time configuration.
request for more information that I need to put up on this group to help myself understand the system.
Is there a pdf on bundled components, configuraton for labview run time?
Thanks
-Vikrant
01-23-2015 01:32 PM
01-23-2015 02:04 PM
Do you have the LabVIEW code? Especially, do you have some LabVIEW VIs that communicate with your JAVA code?
01-23-2015 02:07 PM
Oops, I hit "Post" when I was searching for another key. What can you tell us about the LabVIEW application/component your UI is trying to access? If it is something simple (like "Get me 1000 points from a USB-6009 device"), then maybe we can help you develop this code. If you have existing code and can show it to us, we can suggest how to activate the TCP/IP "hooks".
BS
01-23-2015 03:16 PM
Please find copy pasted Java code in the attached file.
I did not find anything like USB-6009, but I know that the end intrumentation device is connected over USB port to the PC, there is an installable file CONF-6009OEM2.NCE
The user is expected to install NIDAQ980f0.exe before installing the Java application.
Thanks BS & all.
-Vikrant
01-23-2015 03:22 PM
Could you please point a configuration pattern (like design pattern) where there is a USB connected simple device, then some VI related program, then a TCP IP service talking to it and then some XYZ client app talking to the TCP IP.
Once I understand such an existing pattern, I will possibly investigate the matter faster.
thanks,
-Vikrant
01-23-2015 05:11 PM
01-23-2015 05:36 PM
I will wait for any inputs from BS and meanwhile go through the examples, before commenting again.
thanks!