Page 1 of 1

Trend Viewer

Posted: Tue Jan 08, 2013 12:08 pm
by automatix
Hello.I have 3 issues with t10a panel.

1.I have a trend viewer with a data log.I cant find how to find specific date and time in trend viewer.I can only see the samples for the time that i have set eg 4 minutes.Also i cant scroll left or right to older/newer dates.

2.I try to extract data log csv file to my usb but take error "cant create destination path".I tried have my usb in ntfs and fat32.

3.I downloaded the buzzer project for t15a from forum.I copy the script,create thee tags (duration,frequency,queued) same name as the file i downloaded,and i tried to toggle one bit on the button buzzer on/off.But nothing happened.Is the same script and dll for t10a?
Thank you for your patience.
With regards
Antonatos Dionisis

Re: Trend Viewer

Posted: Tue Jan 08, 2013 1:34 pm
by mark.monroe
In the action menu under "Trend Viewer" you can associate a button with an action called Trend Viewer History. Then you can look at older data.

There might be something wrong with your USB stick. I would try a different one.

Can you post the link to where you downloaded the buzzer project from? I am not familiar with that project.

Re: Trend Viewer

Posted: Wed Jan 09, 2013 3:07 am
by automatix
1. I have trend viewer history with a button which enables it but my problem is not that.eg. I have set 4 hours for trend viewer.Then i can see the 4 hours in runtime.But if trend viewer works for 8 hours how can scroll (left-right) to trend viewer object and see what happened the previous 4 hours in runtime without needed to export in usb?i mean how can see all 8 hours in runtime because trend viewer history shows me only the 4 hours.

2. I had tried two different usb but i had the same error that could not create a destination path.Thats why i asked you if i need to create a destination path to usb.

3.The link is http://ixtalk.beijerelectronics.us/view ... p?f=4&t=88.
My client wants have an internal buzzer to t10a and t7a panels.
Is it possible?
Thank you again for your instant answer.

Re: Trend Viewer

Posted: Wed Jan 09, 2013 7:24 am
by automatix
I just fix the two issues but i have the problem with buzzer.
So i have send you the link and i wait for an answer.
Thank you very much

Re: Trend Viewer

Posted: Wed Jan 09, 2013 11:05 am
by mark.monroe
Can you change the target HMI panel to one of the TxA's that you are using and download the sample program and see if it works? All the TxA hardware is the same, just the screens are different. I tested the application on a T4A and it works.

I would guess that you did not copy the ScriptModule or are not triggering the buzzer.

You need to run the below code to make the buzzer make a sound:

Code: Select all

Globals.ScriptModule1.ButtonBuzzerTest();

Re: Trend Viewer

Posted: Thu Jan 10, 2013 2:24 am
by automatix
Yesterday i tested and worked.the problem was that the buzzer on/off button needed to press it for little more time in order to enable.But now i have a new problem because i dont need to control the buzzer with a click action.I need control it from a toggle tag eg alarm.
I did a modification in the script in tags tab and i said for Tag1 value "on" call the scriptmodule but nothing happened.Because i am amateur to Ix panels i would be grateful if someone can explain me detailed how can make this project to work properly.Also i saw that someone in our forum asked how can insert a tag for loudness but never take an answer.So if is it possible every help is welcome.
Thank you very much.

Re: Trend Viewer

Posted: Thu Jan 10, 2013 3:55 am
by automatix
For value change of tag it works but it dont work for value on/off , of the tag

Re: Trend Viewer

Posted: Thu Jan 10, 2013 9:59 am
by mark.monroe
Looks like there is a bug that prevents the ValueOn and ValueOff event from firing in version 2.0.463 of iX Developer. You can use the below code to do the same thing in the ValueChange event.

Code: Select all

if(Globals.Tags.Tag1.Value == 1)
	Globals.Tags.Tag2.Value = 1;
else
	Globals.Tags.Tag2.Value = 2;