Search found 19 matches

by Nicolas2121
Tue Sep 10, 2013 8:47 am
Forum: Application Development
Topic: Access error to a remote path after a project transfert.
Replies: 4
Views: 10632

Re: Access error to a remote path after a project transfert.

Here is the code used to import recipe : // Imports "Coef_Calculs" recipe Globals.Coef_calculs.ImportRecipe("Coef_calculs",@"\\192.9.43.111\BancDeTest\Source",true,true); "Coef_Calculs" is the name of the recipe and the .csv file and "192.9.43.111" the ip adress of the remote computer. Make this ope...
by Nicolas2121
Tue Sep 10, 2013 7:58 am
Forum: Application Development
Topic: Access error to a remote path after a project transfert.
Replies: 4
Views: 10632

Access error to a remote path after a project transfert.

Hello, I have a problem that I don'tunderstand and I can't solve when I want to access to a. csv file on a network location (computer). I need to import a recipe from a csv file located on a remote computer, however when I wish to import a recipe directly after a project transfert ( automatic restar...
by Nicolas2121
Thu Jun 13, 2013 9:43 am
Forum: Scripting
Topic: How to get the GlobalDataItem tag bound to an instance?
Replies: 4
Views: 12368

Re: How to get the GlobalDataItem tag bound to an instance?

Thank you, but I really need to access to get the tag that is pointing to.
by Nicolas2121
Thu Jun 13, 2013 4:24 am
Forum: Scripting
Topic: How to get the GlobalDataItem tag bound to an instance?
Replies: 4
Views: 12368

How to get the GlobalDataItem tag bound to an instance?

Hello, Is it possible to get the GlobalDataItem tag bound to an instance? For example, I created a view "Screen1" with one alias "Input". I have defined two instances of this view "Inst1" and "Inst2" in which I defined respectively tags "tag1" and "tag2". At the opening of the first view with "Inst1...
by Nicolas2121
Mon Jun 03, 2013 10:51 am
Forum: Scripting
Topic: display an infinite progress bar ?
Replies: 1
Views: 5902

display an infinite progress bar ?

Hi,

I would like to create an infinite progress bar during the execution of a script.

How can I do this ?

I try this method, but it's doesn't works:

Code: Select all

progressBar1.Style = ProgressBarStyle.Marquee;
progressBar1.MarqueeAnimationSpeed = 30;
Anyone have an idea ?
by Nicolas2121
Mon Jun 03, 2013 10:44 am
Forum: Scripting
Topic: How to read by script a specific value of a recipe ?
Replies: 2
Views: 7451

Re: How to read by script a specific value of a recipe ?

Thank you for your reply
by Nicolas2121
Fri May 24, 2013 5:41 am
Forum: Scripting
Topic: How to read by script a specific value of a recipe ?
Replies: 2
Views: 7451

How to read by script a specific value of a recipe ?

Hi

I would like to know how to read by the script value of a specific column of a recipe from an index?

Example, I have a recipe "Test", with 5 fields "Field 0" to "Field 4", I want to read value through script of field (without knowing the name of the field). Is it possible ?

Thank you
by Nicolas2121
Fri May 24, 2013 3:36 am
Forum: Application Development
Topic: How to display array tag values in a field ?
Replies: 1
Views: 7019

How to display array tag values in a field ?

I have created an array tag. My example is : Name = array_tag, dataType = FLOAT, Size = 1, ArraySize = 6, GlobalDataType = FLOAT. I affect its values in a script module : Globals.Tags.array_tag[0].Value = 1; Globals.Tags.array_tag[1].Value = 2; Globals.Tags.array_tag[2].Value = 3; Globals.Tags.array...
by Nicolas2121
Wed May 15, 2013 6:57 am
Forum: Scripting
Topic: Error 'There was an error in a part of the date format.'
Replies: 1
Views: 6070

Re: Error 'There was an error in a part of the date format.'

Ok, I think I found the error. It's running on the T21C panel but not on development PC. Definitely a problem between the date / time format different from the PC.