Announcement

Collapse
No announcement yet.

PL question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts


  • PL question

    I did a move of a real number (r) to a PL, it doesnt show the data after the decimal. What am I missing?
    Thanks


  • #2
    PL is integer. You can use it to move real values, but you either need to cast to real or use PUBLISH and SUBSCRIBE to move data in and out.

    As a cast: COPY R0 to PL0:R will write the 32 bit real in R0 to PL0 and PL1 (which are 16 bit integers). Reverse at the other end.

    Comment



    • #3
      Thank you!

      Comment

      Working...
      X