ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

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.

0 Kudos
Message 1 of 2
(2,368 Views)

Hi,

look at the attached image.

I think that it can help you.

 

Have a Nice Day

ANdrea

0 Kudos
Message 2 of 2
(2,347 Views)