06-17-2015 09:22 AM
I know that Mac OS 10.10 (Yosemite) is not technically supported by LabVIEW 2014. If that's the only answer to this question, then so be it.
The following causes LabVIEW 2014 to crash on Mac OSX 10.10 (Yosemite):
1. Run the native File Dialog in LabVIEW 2014 (Express VI) , using "New or Existing File" as the selection mode
2. Select "New File..." when the file dialog appears
3. Enter anything as the file name and click OK
4. LabVIEW either crashes immediately, or hangs indefinitely and must be force quit.
Is there an update for LV 2014 (and the RTE) that does support Yosemite?
This bug makes deploying apps to the Mac basically impossible, Yosemite is the latest OS. Does anyone have a workaround for the issue?
Thanks.
06-17-2015 02:04 PM
I see something very similar. It hangs LV but does not exactly crash it. Pressing the Abort button twice will stop it running. After trying some things, not sure of the exact sequence, I lost all of the menu bar items except the LV and Help items. This makes LV unusable, so that might be called a crash.
I had not used that dialog so had not seen this issue.
I have used a File Path control with the browse button to open or create files.
Lynn
06-17-2015 02:13 PM - edited 06-17-2015 02:15 PM
edit
06-17-2015 02:16 PM
@johnsold wrote:
I see something very similar. It hangs LV but does not exactly crash it. Pressing the Abort button twice will stop it running. After trying some things, not sure of the exact sequence, I lost all of the menu bar items except the LV and Help items. This makes LV unusable, so that might be called a crash.
I had not used that dialog so had not seen this issue.
I have used a File Path control with the browse button to open or create files.
Lynn
Hi Lynn,
Thanks for the response.
When I create a new file using the browse button on the filepath control (even when the VI is not running), LV also goes into an unresponsive state. It's not obvious until you try an edit operation, like dropping a control onto the front panel. Then it's clear you're in a bad state.
We implemented a crude dialog box for the specific case of New or existing file, which will be a stop-gap workaround until this is resolved. Fingers crossed for LV 2015 Mac!
PS, it works on Mavericks (OSX 10.9) with no issues.
06-17-2015 02:35 PM
I see that with the path control also. Now I am not sure what I did before. It may have been programmatic file name creation.
Lynn
06-18-2015 01:48 AM - edited 06-18-2015 01:51 AM
LabVIEW 2014 SP1 seems to solve that problem here on my Mac OSX 10.10 system.
Now Apple may be nice for end users, but all those Apple fan boys sure would think a little different about it, if they had to write programs on the Mac. Apple keeps changing its APIs and their behaviour continously, inventing new APIs (which is fine) in a rapid pace, only to depreciate and remove older APIs at almost the same speeed!
Microsoft sometimes goes to the other extreme with maintaining backwards compatibility but working with Apple systems surely isn't easy as a programmer (unless maybe when one uses their high level click and point together web design applications, but I don't know that).
06-18-2015 01:55 PM
@rolfk wrote:
LabVIEW 2014 SP1 seems to solve that problem here on my Mac OSX 10.10 system.
Rolf - Thanks for the notice that there was an SP1 for Mac, I didn't know that. There is also an f1 patch for 2014 SP1. And I agree re: constant OS up-revving.
Alas, I installed all the updates and still see the same file dialog behavior on my OS10.10 Mac mini.
06-18-2015 02:23 PM
@vituning wrote:
Alas, I installed all the updates and still see the same file dialog behavior on my OS10.10 Mac mini.
That is strange. I have no problems here, but I hadn't installed 2014 before but went directly to 2014SP1.