I have recently started a project in which I need to use a Teensy 4.0 board. Because I am familiar with Labview and not much with Arduino, I thought I could try to use Labview. I want to develop some code for sending signals and reading data from sensors.
I installed the LINX package from MakerHub, but the Teensy 4.0 is not listed and I am not sure if I need to adapt something for the 4.0 or there is something already available.
Can anyone help?
Thank you in advance!!
Solved! Go to Solution.
have you tried this tutorial?
this may help you adding new hardware to LINX.
Thank you very much! I will definitely take a look at that tutorial. I didn't know about it.
I will report back once I try it and see if I am successful.
just a heads up,
i don't know the reason that you need to use Teensy 4.0.
As far as i understand, it is a very powerful hardware.
However LINX may slow it down in terms of using visa connection and other functions to read/write signals.
Yes, you are totally right. I have thought of that. I have seen a comment about this in another post and it make sense.
We are using the Teensy 4.0 to control a motor for actuation of an exoskeleton. I need to send command signals and do readouts of the sensors that come with the motor. We also have a combination of analog and digital sensors that we want to monitor for proper actuation of the system.
After reading that post and also based on your last comment, I may try to program the Teensy 4.0 and test the correct operation and maybe use Labview to start and stop and collect data with a GUI.
If you have any other thoughts or comment, please feel free to share them!
Thank you for the help so far.
oh well, then i'll share an experience i had.
I needed to acquire an 1kHz signal with these development cheap boards. as you may know, it is very hard for such hardware make such acquisition and aditionaly deal with communication and so on.
Arduino Due acquiring data <--> serial low level communication (point to point, very fast) with ESP 32
ESP32 gets data, build an 400 position array, sends over TCP to a listener in LabVIEW.
even though we didn't use LINX, it was a very good experience.
Sorry for the late reply. Thank you for sharing your experience. I will look into the setup that you shared and see if we can go with such solution.
It seems that your solution worked quite well.
Jorge helped me by suggesting a post on how to add LINX support for the teensy 4.0.
The link he provided is: https://www.labviewmakerhub.com/doku.php?id=learn:tutorials:libraries:linx:misc:porting_device
I have been working on the list of changes to be made to the .cpp and .h files for the libraries.
However, I tried to find some information about the Teensy 4.0, but I am not sure what I should put for the following variables/definitions. If any of you knows what I should put for these variables/settings it would be great. Thank you in advance.
Also in the Config.h I am not sure about these changes:
Thank you in advance for your attention to this post and for your assistance.