Search found 26 matches

by jydepower
Wed Dec 16, 2015 7:10 am
Forum: Controller Communication
Topic: Pull groups and speed of communication
Replies: 1
Views: 15070

Pull groups and speed of communication

Hallo Im working on a project where i have to update data in a mysql database every 0,5s. What i do is i set a tag in the plc to > 0, and do a value_change event check in IX. Which initiate the sql query. This works fine. My problem is: I have no sense on how often the tags are updated. When asking ...
by jydepower
Sun Nov 22, 2015 6:27 am
Forum: Application Development
Topic: Structs????
Replies: 3
Views: 10880

Re: Structs????

Check out alias.
The setup is very cumbersome(like many other things in IX), but it works.
by jydepower
Fri Aug 21, 2015 1:15 pm
Forum: Tags
Topic: Tag has been updated, and indexing tag names
Replies: 4
Views: 18689

Re: Tag has been updated, and indexing tag names

Question 2) has been solved as well. Beijer support told me that when using a Tag.Read event. The "code" wont continue until the tags are updated. That means: Globals.Tags.Array1.Read(); (next line will not be read until all the array elements are updated). MySql query goes here. I have testet it an...
by jydepower
Thu Aug 20, 2015 12:21 pm
Forum: Tags
Topic: Tag has been updated, and indexing tag names
Replies: 4
Views: 18689

Re: Tag has been updated, and indexing tag names

I have solved question 1) by reducing the 350 arrays to 1. Suddently i came to think of, that i dident need 350 arrays. Instead i just use 1 array, to carry the data from controller to MySql database. The recipe number (pointer) is used in the WHERE statement in the MySql query. This reduced my tag ...
by jydepower
Wed Aug 19, 2015 12:50 pm
Forum: Tags
Topic: Tag has been updated, and indexing tag names
Replies: 4
Views: 18689

Tag has been updated, and indexing tag names

Hallo. Im working on a project where I need to know if the following two questions are possible: 1) Is it possible to somehow index tag names for looping. 2) Telling when a specifig tag has been updated from the controller. A bit about the project: I have 350 array[50] of int tags in both the ix pan...
by jydepower
Wed Aug 05, 2015 9:54 am
Forum: Application Development
Topic: Show array values from controller on webserver
Replies: 1
Views: 6331

Show array values from controller on webserver

Is it possible to show array values on the webserver in html?
I tried:
<span data-ix-tag="Tag1[0]" data-ix-refresh="interval">
With no succes.
by jydepower
Tue Apr 07, 2015 3:26 am
Forum: Application Development
Topic: Show variables from sdf database on webpage.
Replies: 1
Views: 7158

Show variables from sdf database on webpage.

Is it possible to show variables directly from the internally sdf database on a webpage ? For instance with php or something. I know it's possible to insert into a MySQL db and use that. Downside is I don't always have access to a database. Another solution is the build in webserver, and show the ta...
by jydepower
Mon Aug 18, 2014 2:58 am
Forum: Application Development
Topic: Change name of created report
Replies: 1
Views: 6135

Change name of created report

Hallo.

When creating a report IX makes the name BoxData 18-08-2014 10.23.41.xls as default.
Is it possible make IX create it without the time?
by jydepower
Mon Jun 24, 2013 1:13 pm
Forum: Scripting
Topic: Automatically saving last loaded recipe.
Replies: 5
Views: 12360

Re: Automatically saving last loaded recipe.

Problem is when i use the Globals.Recipe.SaveRecipe function it opens the save recipe popup window. And there i have to choose a recipe again. I want to save it directly like you do with the load function.
by jydepower
Thu Jun 06, 2013 3:15 pm
Forum: Scripting
Topic: Automatically saving last loaded recipe.
Replies: 5
Views: 12360

Re: Automatically saving last loaded recipe.

Thanks for your reply. I don't think this is exactly what im looking for. Basically i want to automatically save/overwrite the last loaded recipe with the current loaded values. I want the OP to avoid choosing from a list, to avoid overwriting another one. How do i find the script commands that fire...