LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hi! Is there a way to send string commands using linx toolkit? Read more below.

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.

GRCK5000_0-1691772070011.png

 

Thank you!

 

 

0 Kudos
Message 1 of 3
(792 Views)

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.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 2 of 3
(786 Views)

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. 

0 Kudos
Message 3 of 3
(781 Views)