Jump to content

LabVIEW on Windows 11 ARM inside Parallels on M1 Mac


Recommended Posts

That thread looks promising.

I experimented with Windows 10 ARM by putting it on a Raspberry pi, then trying to run LabVIEW programs.  At the time the x86 emulation built into Windows 10 didn't support several SSE extended CPU instructions, and LabVIEW EXEs wouldn't run.  After rolling back to LabVIEW 2016 I was able to disable those instructions, make a build, and run the EXE.  I didn't attempt to run the IDE because even installing the runtime was difficult with various MSI installers needing to be manually installed. 

Link to comment

I would love to get this going myself. I've been developing in Parallels on Intel Macs for years. The problem I see currently is drivers for pretty much everything. I use FTDI-based devices and they have some ARM drivers in beta-ish format. But I also use a lot of ARM-based Arduino boards, and there is no support for the Arduino IDE or for recognizing the boards. So sort of stuck for now.

Link to comment
  • 4 weeks later...

I have been using Parallels on my Mac to develop LabVIEW (for Windows) code for years and have been very happy with it.  I have been trying for some time to get this working with the M1 chip.   I have an Apple M1 Mac mini and more recently, an M1 MacBook Pro.   Installing Windows 11 ARM is straightforward.   LabVIEW does install and I am able to partially open my projects but I have a lot of packages as dependancies and am not able to get VI Package Manager to work.  But more significantly, every time I install NI-Max, it kills Windows and I am no longer able to boot.    I recommend you keep ‘Snapshots’ of your Parallels VMs as you get thinks working.   Hopefully you will have more success than me.  

Parallels and Windows 11 on M1 after installing NI-MAX.png

VI Package Manager on Apple M1 using Parallels and Windows 11.png

Link to comment

This looks similar to the issue I mentioned earlier with SSE instructions.  The guess at the time was that the translation layer of Windows for ARM for running x86 applications, didn't fully support all the instructions.  This is why in my experimentation with LabVIEW on Windows 10 on a Pi, I had to go with LabVIEW 2016.  With 2016  there is settings in the application builder that can turn SSE optimizations off.  Since VIPM is built using LabVIEW using those SSE instructions, it can't run.  MAX corrupting Windows is a new one.

Link to comment
  • 3 weeks later...
On 1/6/2022 at 12:58 PM, emcware said:

I have been using Parallels on my Mac to develop LabVIEW (for Windows) code for years and have been very happy with it.  I have been trying for some time to get this working with the M1 chip.   I have an Apple M1 Mac mini and more recently, an M1 MacBook Pro.   Installing Windows 11 ARM is straightforward.   LabVIEW does install and I am able to partially open my projects but I have a lot of packages as dependancies and am not able to get VI Package Manager to work.  But more significantly, every time I install NI-Max, it kills Windows and I am no longer able to boot.    I recommend you keep ‘Snapshots’ of your Parallels VMs as you get thinks working.   Hopefully you will have more success than me.  

Parallels and Windows 11 on M1 after installing NI-MAX.png

VI Package Manager on Apple M1 using Parallels and Windows 11.png

 

On 1/6/2022 at 12:58 PM, emcware said:

I have been using Parallels on my Mac to develop LabVIEW (for Windows) code for years and have been very happy with it.  I have been trying for some time to get this working with the M1 chip.   I have an Apple M1 Mac mini and more recently, an M1 MacBook Pro.   Installing Windows 11 ARM is straightforward.   LabVIEW does install and I am able to partially open my projects but I have a lot of packages as dependancies and am not able to get VI Package Manager to work.  But more significantly, every time I install NI-Max, it kills Windows and I am no longer able to boot.    I recommend you keep ‘Snapshots’ of your Parallels VMs as you get thinks working.   Hopefully you will have more success than me.  

Parallels and Windows 11 on M1 after installing NI-MAX.png

VI Package Manager on Apple M1 using Parallels and Windows 11.png

Did you figure out how to get it installed? I'm currently experiencing the same problems. I was able to install base LV with the math toolbox but nothing else. Bricks my machine every other time. I've gone through ~25 Windows 11 snapshots trying to get at least some basic add-ons installed like DAQ, but haven't had any luck :( 

Link to comment

I took a crack at this when I got my M1 back in December and got nowhere, but now I have progress.

TL;DR it doesn't work yet, though.

I've been working to get Windows x86 to stand up on UTM (which I gather is really just a fancy frontend to QEMU). I'll write things up better when I have something real to show for it, but so far:

  • I can't get it to install Win11 x86, because it seems to insist there's an architecture mismatch. I suspect this is an error on my end, since it was the first thing I tried and I may have misunderstood some of the config.
  • I did get it to boot and install Win10 x86. However, when I rebooted after install, Windows gets angry about not being able to find the "Desktop" for the user, and kind of loses its mind. This is also possible my error somewhere, but I haven't gone back to figure it out.

I'm not super optimistic about this, since ultimately it'll be running emulated, not under virtualization. So speed is likely to be not great. But it's at least a potential way forward and if somebody else wants to give it a shot, UTM may be an option.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.