-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installed LabVIEW on an armbian embedded board, but cannot call the serial port #131
Comments
Are you using the VISA VIs in LabVIEW to interact with the serial port? If so, VISA needs to be installed on the target (WuKong Pi). Does LabVIEW throw an error when this happens? |
Dear samkristoff, hello, thank you very much for your attention to this question.
|
When using local IO, the VIs calls into a shared object under the hood and the shared object will make target specific calls. This does not use the serial port. It looks like your LabVIEW project is configured to treat your target as a BeagleBone black. The LINX shared object may have BBB specific code that fails to run on your WuKong Pi. @sharpk do you recall how the correct LINX shared object gets on the target? @ericddm I don't know anything about the WuKong Pi, but based on the name, I assume it's more like an RPI than a BBB. I'd try updating the LabVIEW project to add the WuKong Pi as an RPI rather than a BBB and see if that helps. |
Dear Sam, @samkristoff |
“When using local IO, the VIs calls into a shared object under the hood and the shared object will make target specific calls. This does not use the serial port.” what should I do to call the GPIO and UART with LabVIEW on this Board?thank you for any help |
So everything, including the linx library (liblinxdevice.so) is installed by the debian package here. There are separate versions of liblinxdevice.so for Raspberry Pi and BBB, and at install time a script is run to detect what hardware the package is being installed on and a symlink is created to the correct library. You will likely need to create a new version of the LINX library in order to do the correct thing for your board to get IO working correctly. I doubt that the pre-compiled Raspberry Pi or BBB versions of the library will work on your hardware (although you can give it a try if you like). |
Dear @sharpk @samkristoff , Very good evening. |
I haven't received your reply for a long time. In order to avoid forgetting, I repeat my requirements again. Liblinxdevice_rpi2.so and liblinxdevice_bbb.so are the source codes of these two files. Can two outstanding @sharpk @samkristoff provide them to me? |
The source code for the shared objects is in https://github.com/LVMakerHub/LINX/tree/main/LabVIEW/vi.lib/MakerHub/LINX/Firmware/Source See the makefile here: https://github.com/LVMakerHub/LINX/blob/main/LabVIEW/vi.lib/MakerHub/LINX/Firmware/Source/make/Makefile |
thank you very much, @samkristoff |
Dear developers and maintainers,
I installed LabVIEW on WuKong Pi, a single board computer running Armbian, as shown in the picture:
But I encountered a problem. It can only run vi that does not call the serial port. Once the serial port is called, the LabVIEW service stops.
I wonder if I need to define this serial port somewhere?
Please help me, thanks
The text was updated successfully, but these errors were encountered: