01-26-2024 01:13 PM
Hello,
I have a project where I want to use a raspberry pi which seems to not support event structures. Making it an issue for me to use DQMH.
I was wondering if anyone knows if it’s possible to use DQMH at all? Since I believe the raspberry pi can be thought of as a real time device and from a forum I read real time devices should support event cases.
Thanks for the help and sorry about the question if this is covered elsewhere, I couldn’t really find a clear answer.
Solved! Go to Solution.
01-27-2024 12:02 AM
I don't know the answer to your question but I would start looking here : https://forums.ni.com/t5/Hobbyist-Toolkit/bd-p/linx-toolkit?profile.language=en
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
01-28-2024 01:04 AM
Some NI Real time devices support user events. This article helps to understand which ones: Which NI Real-Time Targets Support Embedded UI? - NI
Raspberry Pi does not support user interface events. That is because there is no user interface to a LabVIEW application running on a Raspberry Pi.
However DQMH runs fine on RT devices that don't support user interface events. We have written an application on a Rasp Pi using DQMH.
It works fine. You just can't create user interface events. Instead, you can create a Windows application that communicates to the Raspberry Pi using TCP or other network interface. Or you could use G Web Development to create a webpage to communicate with the Raspberry Pi using the Systemlink (Skyline) API. We have done this with success.
01-28-2024 08:15 PM - edited 01-28-2024 08:16 PM
How do you connect to the pi using TCP remote? I am using the Linx toolkit and can control it with local IO option. Whenever I try to do the TCP remote from my pc it gives me an error.
01-28-2024 08:45 PM
Use the TCP/IP VIs to create a client server arrangement. You'd have the Rasp PI running code acting as the TCP/IP server, and then your windows LabVIEW application would be running as the TCP client. Then you can have the two applications talking to each other.
05-23-2024 07:09 PM - edited 05-23-2024 07:11 PM
Thank you for the suggestions. At the time I didn’t understand it, but after thinking about it for a while. I was eventually able to get this to work.
On the topic of using DQMH on RPi, can you share a simple project with this in use?
05-23-2024 09:14 PM
I don't have any free code to share at this time sorry.
Have you checked here - there are examples:
Getting Started with Raspberry Pi and LabVIEW Community Edition
Also, this post is asking similar questions to yours (but not DQMH related):
Run LabVIEW executable on Raspberry Pi as a GUI/HMI - NI Community