LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

variable incoming value fixing

Hello everyone, 

 

i have a project. I want to keep a variable data that comes with tpdo over the bus cable constant.

For example, the tpdo array comes with 1,2,3 values and each value sends 8 bytes of data. I want to keep the value from tpdo 1 constant in the program. I can't keep it constant as the value from tpdo is constantly changing (1-2-3, 1-2-3...). Therefore, I cann't read the byte data in it.

 

 

 

Thanks in advance for your help.

 

stark57_0-1668412389571.png

 

0 Kudos
Message 1 of 3
(956 Views)

Not sure whether i have understood your question properly, If you have problem with dynamic data keeps receiving from tpdo. You can address this via storing the values in array inside cluster (Store using Shift register) and update the tpdo value when required.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
Message 2 of 3
(936 Views)

Your question makes absolutely no sense, so please provide more details.

 

  • What are 1,2,3 values? Three values?
  • What is a "bus cable constant"? How can it be a variable if it is constant?
  • There is nothing labeled "tpdo1", please be very specific when throwing around names!
  • Where is the control/indicator linked to the "tpdo4 2" value property? What is the representation? How often does it change?
  • What kind of code is outside the visible area of your image. There has to be more!
  • Why are you indicators unlabeled and why are they SGL, i.e. mismatched to the wire data?
  • Why would you need three formula nodes while all you probably need is some trivial graphical code that fits on a postage stamp?

 

Why don't you take a step back and tell us what you have and what you want. Best to attach a simple VI containing some typical data and expected result.

0 Kudos
Message 3 of 3
(874 Views)