cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

TCP TRANSFER DATA

Solved!
Go to solution

Re: TCP TRANSFER DATA

If you wanted to transfer the values of Numeric 1, Numeric 2, Numeric 3, Numeric 4 & Numeric 5 using the method discussed above you would do something like this

 

TransferNumericValues.png

 

Hope this helps

 

Steve

Combined.png

0 Kudos
Message 11 of 18
(83 Views)

Re: TCP TRANSFER DATA

Hello,

 

I do this, but when I want to read in server and I use Unflatten From String and unbundle I obtain an indicator not a control.

 

 

Thanks

0 Kudos
Message 12 of 18
(80 Views)

Re: TCP TRANSFER DATA

Hello,

 

I do this, but when I want to read in server and I use Unflatten From String and unbundle I obtain an indicator not a control.

 

Maybe, I would have to do a new tcp communication changing the roles?

 

Thanks

0 Kudos
Message 13 of 18
(69 Views)

Re: TCP TRANSFER DATA


cristina.lopez wrote:

I do this, but when I want to read in server and I use Unflatten From String and unbundle I obtain an indicator not a control.


Use a Local Variable to update a control.  Note that is it usually really bad UI to have the code manipulating controls that the user should be using.


There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
0 Kudos
Message 14 of 18
(64 Views)

Re: TCP TRANSFER DATA

Hi Christina

 

It is probably best to think about it as data rather than a Control or Indicator.  I agree with crossrulz,  firstly question why you need to update controls in your Server.  Could you change your Server to better accept the data being received (is there a better way to do things)?   If not then use a local variable to update your controls.

 

Steve

Combined.png

0 Kudos
Message 15 of 18
(57 Views)

Re: TCP TRANSFER DATA

My goal is following:

 

I have three .vi  one in FPGA , one in Host-target and one in Host-computer and I want handle all program from the computer, and in this .vi i want to change the control for they'll change in target (host and fpga), so that, I want see the controls and indicators in conputer (server)

0 Kudos
Message 16 of 18
(51 Views)

Re: TCP TRANSFER DATA

Hi Cristina,

 

did you create an example project for your PC host/ RT host/ FPGA system?

LabVIEW comes with such examples - the communication is explained in them quite well…

Best regards,
GerdW
CLAD expired, using 2009SP1 + LV2011SP1 + LV2017 (+LV2018 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

0 Kudos
Message 17 of 18
(48 Views)

Re: TCP TRANSFER DATA

Hi Christina

 

GerdW is correct LabVIEW gives you the best possible start and does not expect you to start from the beginning each time.  Also there is plenty of information on ni.com, check this out as an example.

 

Steve

Combined.png

0 Kudos
Message 18 of 18
(43 Views)