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: 

Acquire Two Data at Different Rate Using Timed Loop

Hi, I'm acquiring Temperature Data and Analog Data using Real-Time. I want to acquire Temperature data at a frequency of 5 Hz (200 mS - Period), and the Analog data at a frequency of 500 Hz (2 mS). I have this case structure in order for me to select what data I will be displaying on my Host VI. Can you tell me of a way to set the setting for my timed loop to achieve this setup. Here is a screenshot of my code
0 Kudos
Message 1 of 3
(3,683 Views)

False.PNG

0 Kudos
Message 2 of 3
(3,674 Views)

Hi gijude,

 

simplest solution: use two loops: one for AI, another for temperatures!

 

I suspect it isn't a good the best idea to put network communication into timed loops used for better usage of determinism…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 3
(3,635 Views)