LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Complex waveform dt bug

complex wfm.png

 

for dt 2 i get a result 0.001 and for the dt the result is 1. Should it be like this?

0 Kudos
Message 1 of 7
(3,453 Views)

Does this change if you extract the 'dt' from the imaginary output?

Blake C.
Applications Engineer
National Instruments
www.ni.com/support
0 Kudos
Message 2 of 7
(3,423 Views)

@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.

0 Kudos
Message 3 of 7
(3,414 Views)

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.

0 Kudos
Message 4 of 7
(3,398 Views)

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.

0 Kudos
Message 5 of 7
(3,396 Views)

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. 



Notes for Branch AE:
Please reply to This Post within 24 hours
The US AE is expected to reply to all of your posts within 24 hours. Having this expectation will keep the escalation moving quickly and toward a fast resolution.

You can also use other communication channels: Phone, Skype, etc. to discuss the issue with the US AE. This can help with troubleshooting and quick diagnosis of the issue.

Click here to provide kudos for a post on this page
Message 6 of 7
(3,386 Views)

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 

Message 7 of 7
(3,305 Views)