CAN Monitor App for macOS (Demo)
The MacCAN Monitor App is a little demo program to show the functionally of the PCBUSB library: the macOS Library for PCAN-USB interfaces.
Download (arm64) Download (x86_64) Readme
Demo App for PCAN-USB interfaces
The program displays received CAN messages in a table view.
Furthermore it is possible to send single standard CAN messages with 0 to 8 data bytes.
Limitations (Demo Program):
- CAN channel and CAN bit rate must be chosen once the program is started; they cannot be changed afterwards.
- PCAN-USB FD devices can only be operated in CAN Classic mode (CAN 2.0).
- The size of the table view is limited to 1024 rows.
- The size of the trace file is limited to 100K frames.
macOS® Library for PCAN-USB Interfaces
The dynamic library libPCBUSB is running under macOS 10.13 and later (Intel architecture and Apple silicon). The API is almost compatible to PEAK´s PCANBasic DLL on Windows. See the MacCAN website to learn more.
Supported Devices
Only the following devices from PEAK-System Technik are supported:
- PCAN-USB (product code: IPEH-002021, IPEH-002022)
- PCAN-USB FD (product code: IPEH-004022)
Required Library Version
The minimum required library version is v0.9 (Build 902 of June 25, 2020), but Latest is Greatest.
License
This work is licensed under the terms of the BSD 2-Clause “Simplified” License.
Installation
- Download the PCBUSB Library and run the
install.sh
script in a terminal session. Make sure that you have write permission to/usr/local
folder - Download the MacCAN Monitor App, open the disk image and drag-and-drop the program icon to your Applications folder (or any other folder you like).
Change-log
Version 0.5.1 (Service Release of November 4, 2023):
- Fixed a bug with pipe numbers for PCAN-USB FD devices (hardware version 6.0)
- Added missing linker option
-rpath /usr/local/lib
(cmd line tools 2397) - App as Universal macOS Binary: MacCAN_Monitor_0.5.1_uni.dmg
- App for x86_64 architecture: MacCAN_Monitor_0.5.1_x86.dmg
Version 0.5 (Release of February 4, 2023):
- Trace files are written to the users home directory
- The PCBUSB wrapper has been updated
- App as Universal macOS Binary: MacCAN_Monitor.0.5_uni.dmg
- App for x86_64 architecture: MacCAN_Monitor.0.5_x86.dmg
Version 0.4 (Release of December 10, 2021):
- Added support for Apple Silicon (M1 chip)
- Fixed some deprecated methods with NSAlert
- Built App as Universal macOS Binary (MacCAN_Monitor.0.4_uni.dmg)
- Built App for x86_64 architecture (MacCAN_Monitor.0.4_x86.dmg)
Version 0.3 (Release of July 2, 2020):
- Included version 0.9 of the PCBUSB library
- Check for required version of the PCBUSB library
- Write to file: trace file instead of log file
Version 0.2 SR4 (Service release of September 21, 2017):
- Included version 0.8 of the PCBUSB library
Version 0.2 SR3 (Service release of December 1, 2016):
- Included version 0.7 of the PCBUSB library
Version 0.2 SR2 (Service release of February 21, 2015):
- Included version 0.6 of the PCBUSB library
Version 0.2 SR1 (Service release of November 24, 2014):
- Included version 0.5 of the PCBUSB library
Version 0.2 (Release of February 24, 2014):
- Minor changes (to run with version 0.4 of the PCBUSB library)
Version 0.1 (Release of September 8, 2013):
- 1st release (demo version)
Credits
Toolbar icons by Oxygen Team (GNU Lesser General Public License).
Apple M1 support by Sebastião Beirão (https://github.com/sebashb).
Trademarks
Mac and macOS are trademarks of Apple Inc., registered in the U.S. and other countries.
PCAN is a registered trademark of PEAK-System Technik GmbH, Darmstadt, Germany.
All other company, product and service names mentioned herein may be trademarks, registered trademarks, or service marks of their respective owners.
Hazard Note
If you connect your CAN device to a real CAN network when using this program, you might damage your application.