08-11-2023 11:46 AM
I have a raspberry which is connected to another microcontroller (Emstat pico). I would like to send a string command from raspberry pi to the emstat pico. In other words, the raspberry pi is the master and the emstat pico is the slave.
I want to send a string command using linx toolkit. Is this even possible?
This code below is just to give you an idea of what I'm trying to do. It is not something I would do.
Thank you!
08-11-2023 11:56 AM
Here is how LINX works,
There is a special firmware running on the microcontroller, this firmware reads the serial port, based on known commands, executes equivalent code to control microcontroller's peripherals. On LV side, APIs encode the commands/data into a format the counterpart firmware can understand. All these, somebody developed for public use and collaborated from there.
You can extract the underlying VISA reference in LINX and send any string, but you have to also edit the LINX firmware running on your microcontroller. Since the standard LINX firmware on the Emstat pico will not know what to do, you have to update the firmware to do whatever with your string.
08-11-2023 12:02 PM
Thanks Santo_13! This sounds like a lot of work. if that's the case, I will try to use VISA instead of using Linx toolkit.