02-16-2014 11:36 AM
I want to communicate to a hardware module which is connected through LAN as well as can be connected as a Wi-Fi device. This 3rd party module(Hi-Link's RM04) converts the data received through TCP/IP protocol to RS232. Its a protocol changer module. I have simply created an Applicaton to Write a character and the module which is connected through LAN must convert that data to put it on the RS232 serial connector.
I am getting an error while running the application. The data is not transmitted to the device.
Can anyone help me out in this.
Regards,
Ather
02-17-2014 06:20 AM
Hi,
Could tell in detail what type of an error. I mean the error code.
02-17-2014 11:19 AM
Its Error code 66.
I also want to know that its necessary to use both the TCP/IP client and server side VI's ??
The application for which I am doing is I just want to make a single LV application client side which sends data to the module and it's received on the TCP/IP socket, I mean i know the IP address and port no. of the device.
Kindly guide me.
Thanks
02-18-2014 05:00 AM
Hi,
The problem is that, the device is not listening. I think you should start the server side first and then the client also make sure the u have enough time for listening on server side.
02-19-2014 04:04 AM
Hi,
The thing is that the server is a module it has no LV application running on it, the only thing i had is the client VI running on my PC which is used to connect through LAN or Wi-Fi and communicate whatever I am writing it in the Write.VI but the things are not working my way.
Kindly reply and help me out of the problem.
I am creating an application on the PC which send commands to the module which is connected through LAN or Wi-Fi, but the module is not listening any thing.
02-19-2014 04:20 AM
Hi,
I think there's some problem with the ports, if ports are not configured properly then this kind off communication happens. Check the ports. Do u have written any code for server? if so, which language is it?
02-21-2014 12:39 PM
The port number is correct.
No i dont have written any code for the server side.
02-24-2014 03:15 AM
hi,
Could you please give the details of the server u are using.
02-24-2014 03:15 AM
hi,
Could you please give the details of the server u are using.
02-24-2014 12:00 PM
It's a serial to Wi-Fi converter device:
Hi-Link HLK-RM04
I am attaching the device's datasheet.
Kindly help me I am unable to connect my device via Wi=Fi.
Regards,
Ather