10-12-2005 11:43 AM
10-12-2005 11:57 AM

10-12-2005 02:52 PM
10-19-2005
04:38 AM
- last edited on
11-14-2025
12:20 PM
by
Content Cleaner
Hi,
You may want to check out some of the links pasted below. Essentially there is vast amounts of resources on LabVIEW's networking capabilities. I'm wondering what version of LabVIEW you working with and it may be helpful if you could elaborate on what in particular you want to achieve and perhaps attach your vi for us to inspect? LabVIEW basics 1 and in particular 2 courses outline good practices to employ when coding your block diagram code. For example it is more effiecient to use lower level vis and functions rather than express vi's. e.g. in some cases when doing data acquisition use specific the daq vi's instead of the DAQ Assistant express vi. For file io operations using intermediate level file io functions and vis allow better manipulation rather than LVM express vi's. e.g. doing opening and closing operations outside a while loop. etc.... Generally you should be able to do multi-tasking with a LabVIEW application that you have running just like with any other application on your computer it is all about how your operating system distributes resources / processor time between different applications you have running. Essentially there are ways to make code more efficient - even with parrallel loops in the block diagram the os is distributing processor time and other resources between applications - unless you are using RT operating systems and FPGA's.... where you look at developing deterministic apps.
About LabVIEW vi server
http://zone.ni.com/devzone/conceptd.nsf/webmain/b837d4f9277ec75786256990006ebe5b
About developing a VI based server
http://zone.ni.com/devzone/conceptd.nsf/webmain/bb7a08241bb0797c86256812005d1f3c
About internet protocols and LabVIEW
https://www.ni.com/en/support/documentation/supplemental/06/basic-tcp-ip-communication-in-labview.ht...
http://zone.ni.com/devzone/conceptd.nsf/webmain/ba7f1d7ce009be7686256a5b004f335d
TCP read and write
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3EBED56A4E034080020E74861&p_node=DZ52052&p_source=External
I hope this helps!
Kurt
Applications Engineer,
NI UK & Ireland.
10-19-2005 10:51 AM
Labview can act as a network server by listening on certain TCP or UDP ports on any computer/OS supported by LabVIEW. (It does not need to be a "Server", whatever you mean by that ;)) Check the shipping examples.
You need to pace your UI loops. Use event structures if needed. A loop in LabVIEW will spin as fast as it can, millions of times a second, consuming all CPU available doing the same calculation over and over again. You need to esure that the loop only spins if e.g. inputs change or something new needs to be done.
Connect an indicator to the iteration terminal to verify your loop execution.