Search found 137 matches
- Tue Jan 06, 2015 8:10 am
- Forum: Application Development
- Topic: Bit Level Operations on INT32 or INT16
- Replies: 2
- Views: 6804
Re: Bit Level Operations on INT32 or INT16
To change a single bit you can write script such as int setBit(int currentValue, int bitNumber, bool value) { int bit = 1 << bitNumber; if (value) currentValue |= bit; else currentValue &= ~bit; return currentValue; } Note that when you write to a tag the entire tag value will be written to the cont...
- Tue Aug 12, 2014 9:03 am
- Forum: Application Development
- Topic: Catch mouse events from Listbox
- Replies: 4
- Views: 7311
Re: Catch mouse events from Listbox
Just an FYI - I found my listbox scrolling code stopped working when the panel firmware was updated. My solution was to disable the listbox built-in mouse control and make my code solely control mouse events. using System.Runtime.InteropServices; private class MsgProc : IDisposable { #region Externa...
- Tue Aug 12, 2014 8:46 am
- Forum: Application Development
- Topic: Catch mouse events from Listbox
- Replies: 4
- Views: 7311
Re: Catch mouse events from Listbox
Sadly, I don't know of any flag in iX dev. to indicate debug/run version that can be used to change dll references. I'd also be interested to know if one exists as some script modules in my code reference coredll.dll thus disabling it from running anywhere but on the panel itself. At least for testi...
- Tue May 20, 2014 10:10 am
- Forum: Application Development
- Topic: iX' OPC UA server
- Replies: 4
- Views: 7299
Re: iX' OPC UA server
From a quick google search I found Unified Automation created a C# library for creating a OPC client/server. Check out http://www.unified-automation.com/products/client-sdk/net-ua-client-sdk.html You can also make an OPC client yourself by making a new class that uses the System.Net.Sockets.TCPclien...
- Wed Apr 09, 2014 4:21 pm
- Forum: Application Development
- Topic: Analog numeric does not correctly crop text to fit
- Replies: 2
- Views: 4781
Re: Analog numeric does not correctly crop text to fit
Preview attached.
- Mon Apr 07, 2014 3:43 pm
- Forum: Application Development
- Topic: Analog numeric does not correctly crop text to fit
- Replies: 2
- Views: 4781
Analog numeric does not correctly crop text to fit
There seems to be a problem in iX 2.10 with cropping text in analog numeric control when it runs beyond the size of the control area.
Example:
Any fixes?
Example:
Any fixes?
- Mon Apr 07, 2014 3:15 pm
- Forum: Hardware
- Topic: CPU running at 90% just to display screen?
- Replies: 1
- Views: 8017
CPU running at 90% just to display screen?
I have a T7A with two controllers: GE Fanuc Ethernet and Modbus slave (TCP/IP). The Modbus Slave is configured to echo tags from GE. The panel is also configured to support VNC and FTP connections. My screens are sometimes very slow (1+ minutes to change screens), so I added the System CPU percent t...
- Tue Apr 01, 2014 10:51 am
- Forum: Scripting
- Topic: version 2.1 (02.10.1042) issue
- Replies: 2
- Views: 5326
Re: version 2.1 (02.10.1042) issue
You could use "e.Value" from the event args. This variable is populated with the user's input value before the InputValueChanged event is raised. Example: void AnalogNumeric1_InputValueChanged(System.Object sender, Neo.ApplicationFramework.Interfaces.Events.ValueChangedEventArgs e) { Globals.Tags.Ta...
- Mon Mar 31, 2014 8:10 am
- Forum: Application Development
- Topic: Ix Developer 2.10 Issue
- Replies: 4
- Views: 7506
Re: Ix Developer 2.10 Issue
An additional thing to possibly add to iX 2.10 SP1: When exporting project, rather than always asking whether to set IP Address and requiring all fields to be re-filled out after every export, include the option in the project. Could be something like "[] Ask during Export. [] Don't include. [] Incl...
- Thu Mar 27, 2014 12:28 pm
- Forum: Application Development
- Topic: Have analognumeric input value converted before setting tag
- Replies: 1
- Views: 5235
Have analognumeric input value converted before setting tag
I have an analog numeric configured to multiply a tag's value by 100 before displaying its value using the tags expressions functionality. I want users to be able to modify the tags value by entering it as displayed. Is there a way to add a "reverse" expression to be used to divide the input value b...