06-26-2013 03:10 PM
for dt 2 i get a result 0.001 and for the dt the result is 1. Should it be like this?
06-27-2013 12:00 PM
Does this change if you extract the 'dt' from the imaginary output?
06-27-2013 12:38 PM - edited 06-27-2013 12:39 PM
@Blake-C wrote:
Does this change if you extract the 'dt' from the imaginary output?
Very interesting.
I had first tried this VI at home and saw the same behavior that gagikk saw. I played for awhile, but couldn't figure out anything else with it.
I tried Blake's suggestion. I copied the Unbundle and the dt indicator and connected them to the imaginary output. Not only did the new dt3 show .001 like expected, the original dt now showed .001 as well rather than 1 like gagikk saw. If you just right click and put an indicator on the imaginary output, the dt value from the real part shows .001 instead of 1.
So there seems to be some sort of compiler thing going on that causes the Real output to change depending on if something is wired to the imaginary output.
06-27-2013 02:38 PM
I've found that if both Re and Im connected the dt is correct, but if one of them is not connected than the dt is 1.
06-27-2013 02:48 PM
update:
As I get if there is a wire going to disable structure or empty sequence than the output is correct. The important thing is that both outputs should be wired.
06-27-2013 03:32 PM
I have filed this as Corrective Action Request 414839 so that R&D has been made aware of the issue. Thank you for letting us know.
09-09-2013 10:59 AM
FYI - A KnowledgeBase Article that contains a VI Analyzer test to check your code for places this CAR could affect is available - http://digital.ni.com/public.nsf/allkb/BD88F2CE35A2691986257BE10051D214?OpenDocument
Regards,
Jeff Peacock
Product Support Engineer | LabVIEW R&D | National Instruments