Search found 20 matches

by yang
Mon Mar 08, 2021 9:29 pm
Forum: Controller Communication
Topic: "test if echo" on serial port
Replies: 0
Views: 6957

"test if echo" on serial port

Hello,

I am using x2pro 4" HMI with rs485 serial communication. However, when HMI starts up, it will send " test if echo" at the start of serial communication, but it causes com port silent? any body knows how to fix this issue?
by yang
Tue Feb 26, 2013 12:32 pm
Forum: Scripting
Topic: Tags Array and chart
Replies: 3
Views: 7008

Re: Tags Array and chart

Is it possible to save chart plot into the image file?
by yang
Thu Feb 21, 2013 3:08 pm
Forum: Scripting
Topic: Manual Functions
Replies: 1
Views: 5558

Manual Functions

Hello,

iX developer has powerful function library, so many objects, class, but where we can find reference book to describe them and make example, frankly, I can't imagine no any function reference is available for the programmer.
by yang
Thu Feb 21, 2013 2:58 pm
Forum: Scripting
Topic: Tags Array and chart
Replies: 3
Views: 7008

Tags Array and chart

Hello, In tags, we can create a array to hold values, my question is possible to increase the array size in script? I have a csv data file, I want to use chart to display, however, I don't how many value I will have, probably, 100, or other value, I create tags for XArray and YArray, but if size is ...
by yang
Tue Feb 05, 2013 4:00 pm
Forum: Scripting
Topic: FTP FUNCTION
Replies: 17
Views: 36487

Re: FTP FUNCTION

Hello, I did observation a little bit. I think image has some properties not supported by HMI OS. I don't know what is that? I use your component "picture" to open the same image. It works properly. I can open image file into filestream. As soon as I create bitmap object, a error happens. So I think...
by yang
Mon Feb 04, 2013 12:01 pm
Forum: Scripting
Topic: FTP FUNCTION
Replies: 17
Views: 36487

Re: FTP FUNCTION

I verify it. I don't have any name problem. I got exception as below: System.Exception:Exception at Microsoft.AGL.Common.MISC.HandeAr(PAL_Error ar) at System.Drawing.Bitmap._InitFromMemoryStream(MemoryStrea mstream) at System.Drawing.Bitmap..ctor(String filename) ..... and so on , I only copy few li...
by yang
Mon Feb 04, 2013 9:43 am
Forum: Scripting
Topic: FTP FUNCTION
Replies: 17
Views: 36487

Re: FTP FUNCTION

Hello,

Several days, I tried to use

Image img=new Image(@"\storage card\vnwave.gif"). It works before. However, I got exception now. Do you know how to open image file from external folder?
by yang
Thu Jan 31, 2013 1:21 pm
Forum: Scripting
Topic: FTP FUNCTION
Replies: 17
Views: 36487

Re: FTP FUNCTION

I am using T4A.

How I can address the hardware disk.

In HMI, I save image file into HMI, how can I get them ?
If I save it into SD card, how I can address them?
If I save it into USB drive, how I can address them?

Thanks a lot.
by yang
Mon Jan 28, 2013 12:39 pm
Forum: Scripting
Topic: FTP FUNCTION
Replies: 17
Views: 36487

Re: FTP FUNCTION

I modify your code, but it doesn't work. I only want to save image file into the local folder (I run program in PC, so I save file into output folder.) but I received error. I attaches them into the file. Please tell me the reason. Based on my understanding, you modify library Ftp to FTP2. frankly, ...
by yang
Mon Jan 28, 2013 10:43 am
Forum: Scripting
Topic: FTP FUNCTION
Replies: 17
Views: 36487

Re: FTP FUNCTION

but it doesn't include FTP2 library. Also I have one question as followed:

I want to use ftp to download a image file from remote destination. I have one screen with picture component. is it possible to change picture using script and I want to download images file into a specific folder in HMI?