LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to have serial communication in LabVIEW on a Mac without using VISA?

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?

0 Kudos
Message 1 of 3
(794 Views)

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.

Rolf Kalbermatter
My Blog
Message 2 of 3
(758 Views)

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

 

https://shopmoxa.neteon.net/nport-5110/?sku=NPort%205110&utm_term=&utm_campaign=1+Catch+All+Campaign...

 

 

______________________________________________________________
Have a pleasant day and be sure to learn Python for success and prosperity.
0 Kudos
Message 3 of 3
(731 Views)