LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

conditional selection for dynamic data

Hi,

 

I want to use the select block in comparison tools. It seems that,It is possible to connect Dynamic data generated from Simulate signal or DAQ asistant with conditional blocks without error. The program is running but the condition controlled select  isnt working properly. I also used a case structure,but nothing changed. Although they are working properly in a loop. I want to use the conditional blocks without a loop.

 

A simple example vi and a picture are attached. There exists a sine wave in dynamic data form. I want to limit the output with 1 for higher values of sine wave than 1. The greater or equals block can generate True or False dynamically as seen in attachment. Only select or case structure is not working dynamically as I thought.

 

What would  you suggest? Thanks.

 

P.S.: I have only Labview version 7.0. I have no chance of seeing the VI's of higher versions.

 

Download All
0 Kudos
Message 1 of 2
(2,108 Views)

 

Hi FaQ,

 

do you spot the coercion dots at several function blocks? They have a meaning - usually a warning of type conversion!

 

I would never trust any DDT as it effectively hides the used datatype behind thick blue lines Smiley Wink

Best regards,
GerdW


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