Visit our LabVIEW Wiki LabVIEW Embedded Portal
Tags |
(This content has not been tagged yet)
|
![]() |
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 ,.
|
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?
|
||
|
|
|||
| Ad |
Dec 1 2007, 02:16 PM
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 ,.
|
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
|
||
|
|
|||
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 ,.
|
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
|
||
|
|
|||
![]() ![]() |
| Time is now: 22nd November 2008 - 08:46 AM |