cancel
Showing results for 
Search instead for 
Did you mean: 

Real-time module. Feed a variable's value into a 1D Array

jjramos
Member

Real-time module. Feed a variable's value into a 1D Array

Hi all,

I'm sorry to post such a simple question but I have been really struggling with this for more than 2 days.

 

I have Real-Time project and two variables:

1) MyVariable.

  - Variable Type: Single Process.

  - Data Type: Double.

  - RT FIFO enabled.

  - FIFO type: Single Element

2) MyArray.

  - Variable Type: Single Process.

  - Data Type: Array of double.

  - RT FIFO enabled.

  - FIFO type: Single Element

  - Number of Elements: 10

 

I have a VI which is called inside the critical loop. How can I make that in every iteration of the critical loop, the current value of MyVariable is fed into MyArray?

 

Thanks in advance.

1 REPLY 1
Highlighted
ANdrè
Member

Rif.: Real-time module. Feed a variable's value into a 1D Array

Message contains an attachment

Hi,

look at the attached image.

I think that it can help you.

 

Have a Nice Day

ANdrea