LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

> Related links

Visit our LabVIEW Wiki LabVIEW Embedded Portal


Tags
(This content has not been tagged yet)
 
Reply to this topic Start new topic
> data transfer between CPRio and "Client" PCs, how best to transfer data between CPRio and multiple PCs
Helmer
post Dec 1 2007, 02:16 PM
Post #1


Enough LAVA to be dangerous


Member
Posts: 4
Joined: 12-November 07
Member No.: 9851
Using LabVIEW Since:1997
LV:8.5 ,8.2.1 ,.
United States Nothing Selected Nothing Selected


I'm creating system consisting of one CPRio and two PC's. The data obtained by the CPRio machine will be sent to each client PC, for data logging. Both PC's need to receive the data. My first idea is to use a shared variable, but I'm not sure how the memory management works with the multiple buffers on the CPRio. Another idea was to use the Simple TCP/IP (SMT) user library. Any suggestions/recommendations?


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ad
post Dec 1 2007, 02:16 PM
Post #















Tags
(This content has not been tagged yet)
Go to the top of the page
Quote Post
sachsm
post Dec 1 2007, 10:20 PM
Post #2


Very Active
***

Premium Member
Posts: 77
Joined: 2-September 03
From: Sarasota, FL
Member No.: 162
Using LabVIEW Since:1994
LV:8.5 ,8.2.1 ,.
Nothing Selected Nothing Selected Nothing Selected


I have sucessfully used network buffered shared variables for transfering complex and high speed data from a cRIO or cVision system to a PC. One of the really nice
things is that you can setup arbitrary shared variable data types and you can specify client and/or server buffering. I believe shared variables
are the future in distributed system design. Also LV8.5 has a totally rewritten network protocol for shared variables that has greatly improved performance over previous versions of LabVIEW, which, by the way, had very respectable performance. Forgot to mention that you can specify the buffer size when creating the shared variables in your project and in operation they function very much like a queue. You can also poll the error out of a shared variable to determine if there is any data in the buffer to read or if there was an overflow condition.

Mike Sachs
Intelligent Systems

--------------------
Michael Sachs
Intelligent Systems
www.viScience.com


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Helmer
post Dec 2 2007, 07:12 AM
Post #3


Enough LAVA to be dangerous


Member
Posts: 4
Joined: 12-November 07
Member No.: 9851
Using LabVIEW Since:1997
LV:8.5 ,8.2.1 ,.
United States Nothing Selected Nothing Selected


QUOTE (sachsm @ Dec 1 2007, 05:20 PM) *
I have sucessfully used network buffered shared variables for transfering complex and high speed data from a cRIO or cVision system to a PC. One of the really nice
things is that you can setup arbitrary shared variable data types and you can specify client and/or server buffering. I believe shared variables
are the future in distributed system design. Also LV8.5 has a totally rewritten network protocol for shared variables that has greatly improved performance over previous versions of LabVIEW, which, by the way, had very respectable performance. Forgot to mention that you can specify the buffer size when creating the shared variables in your project and in operation they function very much like a queue. You can also poll the error out of a shared variable to determine if there is any data in the buffer to read or if there was an overflow condition.

Mike Sachs
Intelligent Systems



Michael,

thanks for reply. I assume that the SVE is running on the CPRio. Is that correct?

Helmer Andersen


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

 




Time is now: 22nd November 2008 - 08:46 AM