10-05-2017 05:33 AM
I would like to display the processed images of LabVIEW directly into an intelligent external Display. The display is known as EA eDIPTFT70-A with it's EA KIT Editor having following functions:
- The editor itself which allows a simple definition of the macros, pictures and fonts like a standard text editor.
- The compiler which translates the text into the uploading code and shows up syntax error.
- The transmitter which search the right connection and uploads the data into the EA eDIPTFT70-A.
I would be grateful if someone can guide me how to integrate LabVIEW with this Editor having EA Macro files with .kmc file Extension.
Solved! Go to Solution.
10-05-2017 07:53 AM
I guess you have to write a driver to communicate with it.
10-05-2017 08:40 AM
First, find out how the display can receive data over a TCP connection (as a client or server). Secondly, find out which image format can handle the KitEditor macros. In this way, you implement the transfer of data from the program to the Labview of the prepared image via the Etnernet connection.
10-05-2017 09:37 AM
@Borjomy wrote:
First, find out how the display can receive data over a TCP connection (as a client or server). Secondly, find out which image format can handle the KitEditor macros. In this way, you implement the transfer of data from the program to the Labview of the prepared image via the Etnernet connection.
The device is RS232, SPI or I2C. What to send is described in the manual (page 10).
10-05-2017 10:16 AM - edited 10-05-2017 10:17 AM
M.m.m... I'll have to do a lot of work to make high-grade display support... You can draw controls in the editor, assign variables to them, and pass values through the protocol. And already the display will draw them. The number of teams in this case will be limited to a few pieces. I hope this is obvious. Work with RS-232 is provided via VISA, there is nothing complicated: the string was sent, 1 byte was accepted and, depending on the command, the beginning of the premise with the length took place, then the corresponding amount of data was received.
The transfer of the image is directly possible, but it will be very slow, on any serial interfaces.
Do you have any difficulties when working with VISA? Or do you choose between available interfaces?
10-06-2017 04:31 AM - edited 10-06-2017 04:44 AM
Unfortunately, I do not have any previous experience with working with VISA. But, I can learn about it. For e.g, if I write a VI in LabVIEW for RS-232 serial communication but how the EA eDIOTFT70-A Display is going to grab the LabVIEW Images. Unfortunately,I am not able to join the dots of how to connect and make the Interface so that LabVIEW can display the images in the electronic display(similar to how it displays on the 'LabVIEW Front Panel Image Display') .
10-06-2017 04:50 AM
The visa part (how to send\receive) is not that difficult. Any example will show you how to init, write and read.
The real concern is that all data is binary, which is more difficult to start learning then ASCII. So to learn data communication (what to send\receive) is the real problem...
10-06-2017 05:06 AM
Here is an example of sending text to the display. Wrote on the documentation for your device. The speed of the port is 115200. If you have another, change the constant. Like, it should work.
10-06-2017 05:23 AM
I am so grateful to you.Thank you so much. I would be more glad if you can explain the working of the VI .
10-06-2017 05:42 AM
described in the picture