12-06-2017 06:14 PM
Writing NaN to the duty cycle input of the DAQmx Write (Counter Frequency) VI will cause an abrupt crash of LabVIEW 17.0f2 (32-bit). So far it seems hardware independent. It will even happen with simulated cDAQ hardware. For example, create a cDAQ-9189 or 9178 chassis and add a 9401 or 9485 module. Run the attached VI with one of the counter channels selected. Click the Send NaN button and LabVIEW will crash. I realize NaN is not a valid input for duty cycle, but at worst it should generate an error rather than take down the entire application. Took me a while to figure this one out, but luckily the crash logs generated when running an EXE were pointing me to the VI that was causing the crash.
12-07-2017 03:01 AM - edited 12-07-2017 03:03 AM
Yes, I see the same bug. It crashes my LabVIEW dev environment (LV2017 f2 32 bit, Win7 x64):
12-07-2017 04:22 PM
Hello,
Have you encountered this issue in previous versions of LabVIEW or have you only tested this on LabVIEW 2017?
Regards,
Shezaan Noorani
12-07-2017 05:52 PM
I just down-converted and confirmed it will crash LV2015 as well. I have a feeling this might go pretty far back.
12-12-2017 01:59 PM
I have submitted a Corrective Action Request with our R&D team CAR 679575