06-24-2011 09:06 AM
@muqz wrote:
Actually I m living in my university hostel and all the PC's here are connected to LAN and now i want to make a connection with one particular computer (which of course has a particular IP) on the network.
Do I need some kind of configuration for TCP listener???
Don't even worry about VI server. The only way that could even matter is if you enable it and try to use the same port for another server. Just disable VI Server and forget it even exists.
Try another port like 8080.
First there may be a firewall running on the PC you are running the server on. Disable that firewall or better enable connections to the port you want to use. There could also be a firewall between the client and server PC that is administered by your university. If that is the case there is probably not a lot you can do except maybe find a port that is not blocked. There are sites on the Internet that will probe a port for you to see if it is accepting connections. If it says the port is open you are good. If it says blocked that doesn't mean much without knowing more about your network topology. There could be and probably is a firewall between the website and your LAN.
Go to http://www.grc.com and look for something called ShieldsUP!
06-24-2011 09:15 AM
ok,i'll try what u just said.hope it works.thanks alot!!!!!
06-24-2011 12:49 PM
i disable the firewall settings and it works perfectly fine.thnks 4 help
06-24-2011 01:13 PM
Instead of disabling the firewall you might want to configure it to allow the port you want to use.
06-24-2011 05:32 PM
ok i'll do it.thnks again buddy
06-25-2011 11:01 AM
plz tell me that if i want to send 6 sine signals instead of one signal on lan in labview example of simple data client and simple data server then how i'll do it??????
06-25-2011 11:45 AM
How are the signals stuctured? Are they arrays, waveforms, blue wire dynamic data types? You should be able to flatten to string on one side, send, and unflatten from string on the other side.
06-25-2011 12:18 PM - edited 06-25-2011 12:20 PM
@muqz wrote:
plz tell me that if i want to send 6 sine signals instead of one signal on lan in labview example of simple data client and simple data server then how i'll do it??????
It is basically the same thing, except we have a 2D array.
Since you cannot typecast to a 2D array, you need to use the Flatten/unflatten primitives instead of typecast. Te rest of the code can remain the same.
By default, the array size is prepended internally when flattening to string, so all you need to do is unflatten to a 2D array and things should fall in place. Try it. As Ravens said, things might need to be modifed depending on the actual datastructures you have. Please attach a simple VI containing your signals.
06-25-2011 02:04 PM
thnks again 4 the quick response.i have to generate 3 phase voltage and 3 phase current waveforms in simple data server.vi example and send it to other pc which is connected to lan to do some manipulations on simple data client.vi. so what i m asking is that whats the procedure to do this????
06-25-2011 03:50 PM
i m using blue wire dynamic data. on server vi i think i sucessfully flattend data to string and it shows no error.but i dont know how to unflattend it on client side.i use unflatten from string block but its output shows cluster of zero size!!so kindly tell me what should i do?? m attaching both VI for better understanding