05-15-2019 11:23 AM
I am working on a project which has a bunch of other processes designed to use dbus daemon to communicate with each other. Caveat, right now, this doesn't run on NI Linux RT, it is on debian. I ask on here because I don't know where else to ask, and we intend on moving this to NI Linux RT eventually.
Setup:
Debian
LabVIEW 2018 64bit (negotiable to 32bit)
Questions:
Do we have a binding in LabVIEW for dbus? Something I can use similar to the python api: https://dbus.freedesktop.org/doc/dbus-python/tutorial.html
Do we have a roadmap for adding the dbus daemon to the NI Linux RT kernel? (Or has anybody done that before?)
05-15-2019 12:24 PM
Questions:
Do we have a binding in LabVIEW for dbus? Something I can use similar to the python api: https://dbus.freedesktop.org/doc/dbus-python/tutorial.html
Do we have a roadmap for adding the dbus daemon to the NI Linux RT kernel? (Or has anybody done that before?)
One thing to call out: I'm a bit surprised that you're working with LabVIEW on Debian. That's not one of the Operating Systems we consider tested or supported for LabVIEW, and I'd highly recommend working in a supported distribution as it might save you some headache if you run into any issues.
05-15-2019 03:54 PM
To add to what Charlie already said - libdbus and dbus-daemon are available in NI Linux RT images. Because they are used by other components on the system they are already installed and the daemon is running.
I did a quick check on a cRIO-904x with a 2018 software stack:
# find /usr -name 'libdbus*'
/usr/lib/libdbus-1.so.3
/usr/lib/libdbus-glib-1.so.2
/usr/lib/libdbus-glib-1.so.2.3.3
/usr/lib/libdbus-1.so.3.14.9
# ps ax | grep dbus
1086 messageb 0:00 /usr/bin/dbus-daemon --system
3556 admin 0:00 grep dbus
05-15-2019 04:05 PM
Thanks for the help!
That is good news that RT already has the daemon running.
I will have to see what development time we have to create an API.