02-10-2023 11:09 PM
Hi all,
I downloaded the Labview community edition with the intent to play around with microcontrollers (Arduino and similar boards). They typically connect through the serial port. I'm using a recent Mac (intel) with the latest OS. Today I'm using various languages to do this already e.g. C/C++, Python, Julia, Matlab and browsers.
It turns out, however, that the VISA package that is needed for serial communication using LabVIEW is not compatible with the latest Mac OS (12.2).
My simple question is: Is there a way to access the serial port in LabVIEW without using VISA?
02-11-2023 04:52 AM
Unless you want to dig into the Call Library Node and calling the OSes own APIs directly there likely isn’t. The Mc OS is built on. Unix but with a lot of Apple “convenience” layers around it that require their own specific interface.
But what makes you believe your “latest” OS version 12.2 is not supported by NI-VISA? According to this document NI-VISA 2022Q4 supports up to Mac-OS 12.4. That should work for you.
02-11-2023 08:52 AM
@daviias wrote:
Hi all,
I downloaded the Labview community edition with the intent to play around with microcontrollers (Arduino and similar boards). They typically connect through the serial port. I'm using a recent Mac (intel) with the latest OS. Today I'm using various languages to do this already e.g. C/C++, Python, Julia, Matlab and browsers.
It turns out, however, that the VISA package that is needed for serial communication using LabVIEW is not compatible with the latest Mac OS (12.2).
My simple question is: Is there a way to access the serial port in LabVIEW without using VISA?
As a fellow MAC and Labview user I have a question. Which serial interface are you using? A few years ago (back in the OS10.n days) I was using a FTDI USB to serial cable to talk to external hardware and that worked. These days I find that all the hardware communication I write is over TCP/IP so I have not tried to use a serial connection for my latest OS version (OS13.0), I would hope that it still works. Maybe I need to dig up one of those old projects and see. And if it does not, I will probably get one of these to make it work.