DQMH Consortium Toolkits Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Help with Raspberry Pi

Solved!
Go to solution

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. 

0 Kudos
Message 1 of 7
(864 Views)

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

Antoine Chalons

Message 2 of 7
(827 Views)
Solution
Accepted by topic author VInoob

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.

Christopher Farmer

Certified LabVIEW Architect and LabVIEW Champion
DQMH Trusted Advisor
https://wiredinsoftware.com.au

Message 3 of 7
(792 Views)

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.

0 Kudos
Message 4 of 7
(775 Views)

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.

Christopher Farmer

Certified LabVIEW Architect and LabVIEW Champion
DQMH Trusted Advisor
https://wiredinsoftware.com.au

Message 5 of 7
(770 Views)

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? 

0 Kudos
Message 6 of 7
(84 Views)

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

Christopher Farmer

Certified LabVIEW Architect and LabVIEW Champion
DQMH Trusted Advisor
https://wiredinsoftware.com.au

Message 7 of 7
(74 Views)