Search found 92 matches

by Edmund
Wed Jul 17, 2013 8:59 am
Forum: Application Development
Topic: Rotate Object Ix T10A
Replies: 1
Views: 6363

Re: Rotate Object Ix T10A

No not in the panels with CE (TxA, TxB) due the lack of it in .Net Compact Framework.

On TxC or PC there is no problem with it.

You could have different pictures (with different angles) that you show/hide depending on the tag value.
by Edmund
Tue Jul 09, 2013 4:49 am
Forum: Scripting
Topic: Converting string to property type
Replies: 1
Views: 5431

Re: Converting string to property type

How about using:

Code: Select all

	Globals.Tags.myBool.Value = Convert.ToBoolean("false");
	Globals.Tags.myFloat.Value = Convert.ToDouble("994.4");
	Globals.Tags.myInt.Value = Convert.ToInt16("30");
by Edmund
Mon Jul 08, 2013 7:58 am
Forum: Scripting
Topic: Modifying tagValues using SetValue
Replies: 2
Views: 6581

Re: Modifying tagValues using SetValue

Try get the tag object instead. Use this function to get the tag private GlobalDataItem GetGlobalDataItem(string propertyName) { PropertyInfo tagProperty = typeof (Neo.ApplicationFramework.Generated.Tags).GetProperty(propertyName); if(tagProperty == null) return null; else return tagProperty.GetValu...
by Edmund
Wed May 15, 2013 4:08 am
Forum: Scripting
Topic: Use of Instances
Replies: 5
Views: 9671

Re: Use of Instances

CRAP!

There was an error in my previous post (and attached project).

In the switch statment and case 0, it set the current instance to zero but it should have been 1.

So if you try please change it to

Code: Select all

case 0: Globals.Tags.Selected_Insance.Value = 1; break;

Regards
by Edmund
Wed May 15, 2013 2:36 am
Forum: Scripting
Topic: Use of Instances
Replies: 5
Views: 9671

Re: Use of Instances

Works good for me, I also made some changes/improvements... void btnBack_Click(System.Object sender, System.EventArgs e) { GetInstance(--Globals.Tags.Selected_Insance.Value); } void btnNext_Click(System.Object sender, System.EventArgs e) { GetInstance(++Globals.Tags.Selected_Insance.Value); } void G...
by Edmund
Wed May 15, 2013 12:56 am
Forum: Scripting
Topic: Create a new database
Replies: 3
Views: 7253

Re: Create a new database

We have slowed it by placing a database on a SD card.

Then it doesn’t matter if a user reloads the project from iX (and miss the question about overwrite) or a USB stick, and if the panel crash they can just move the card to a new panel.
by Edmund
Mon May 13, 2013 11:04 am
Forum: Scripting
Topic: Use of Instances
Replies: 5
Views: 9671

Re: Use of Instances

Hi!

If you post your project I´m sure we can help you, but it´s a bit hard to see the problem from your explanation...

Best Regards
by Edmund
Mon May 13, 2013 5:13 am
Forum: Scripting
Topic: SQL database in external computer
Replies: 3
Views: 10379

Re: SQL database in external computer

I´m pretty sure that .Net Compact Framework (T10A) only supports local stored SQL Server Compact Edition (CE) instances, Not remote or a real SQL Server. If you need to exchange data you will probably need to build a web service that you communicate thru... or upgrade to TxC where you have the full ...
by Edmund
Fri May 10, 2013 10:53 am
Forum: Scripting
Topic: Multiple conditions using IF statement
Replies: 2
Views: 6296

Re: Multiple conditions using IF statement

You could do something like this (example is for both senarios)... void Tag1_ValueChange(System.Object sender, Neo.ApplicationFramework.Interfaces.Events.ValueChangedEventArgs e) { Update_Tag3(); } void Tag2_ValueChange(System.Object sender, Neo.ApplicationFramework.Interfaces.Events.ValueChangedEve...
by Edmund
Wed May 01, 2013 3:45 am
Forum: Scripting
Topic: External program check
Replies: 15
Views: 29491

Re: External program check

Hi GoranW! If you want to start other applications on a panel you cant use the user32.dll becuse it don´t exists. But there is a code.dll instead. Have a look at this post first and see if it helps, if not let us know. http://beijerinc.com/support/ix/forum/viewtopic.php?f=4&t=1308&p=2838&hilit=cogne...