How to inherit from the class of property

Hello experts,
I use form 10g. I created a class of property in form one.
Save and compile. now, I wanted to inherit this class of property in form b.
for this I subclass form a form b.
When I close the form, it shows the message
error frm:18108
source module: formA
source my_property object (class)

as we say that we can inherit from the classes of quality, please help me how?

Thank you
Yoann

Yoann,
So that the B FORMULA to find the class property in the FORM A, FORM A must be in a directory that is part of the FORMS_PATH. It's always a good idea to create a GLOBAL. FMB (or whatever you want to call the form) or an object library (.) OLB) that contains all of your objects that will be subclassed in other forms. Then put it. FMB or. OLB in a directory that is in your FORMS_PATH. This allows you to store all your source objects of subclass in one place.

Craig...

Tags: Oracle Development

Similar Questions

  • Inherit from the Classes?

    I noticed when I start that a flash project publishes always quickly. But after 5-10 classes, it is dog slow and more so he gets. I wonder if this isn't because each class is constantly importing movieclip, sprite, events, mouseevents... classes? Is it possible to import these just to the document class, and is no longer necessary to keep their import in each custom class?

    they must be imported into each class that uses any object of the imported class.

  • How to inherit from Actor.lvclass?

    Hi all

    I'm playing with the framework of the actor. After reviewing the sample cooler evaporative project, I want to make an absolute minimum example from scratch. I want to open a blank project, manually add a few classes, make them inherit from Actor.lvclass so on (for example not start since the draft framework for actor model).

    The first problem I encountered (and not yet resolved) is How to inherit from the Actor.lvclass?.

    Time evaporation cooler project (ECEP) example and the project of the actor model framework (AFPT) have some classes already inheriting from Actor.lvclass new classes will have this option of legacy. ECEP and AFPT have also vi.lib-> Framework.lvlib actor in their dependencies.

    But how actor Framework.lvlib in my dependencies? I can't just drag C:\Program NIUninstaller Instruments\LabVIEW 2012\vi.lib\ActorFramework\Actor Framework.lvlib with dependencies in my Project Explorer.

    However, I can drag C:\Program NIUninstaller Instruments\LabVIEW 2012\vi.lib\ActorFramework\Actor Framework.lvlib in my Project Explorer (like adding a VI to the project). This gives me the ability to inherit from Actor.lvclass and if I remove actor Framework.lvlib in my project again (after a class inherit) it will be listed under dependencies. But I hope that there is a way to better / cleaner to him.

    I wish it works when I move the project to another computer with a different labview installation path. My approach above will ensure that Framework.lvlib of the actor is still loaded in the subfolder vi.lib or is it now "hardcoded" aware of my installation path?

    Best regards
    Jonas CJ

    You should read some documents and tutorials on LVOOP, because it is the mechanism that is used. In this case, you must have the responsible actor in the project, so the simplest is the frame screws fall into a vacuum of VI, then go into your properties of the class, go to the legacy page and click the button change. The tree shows you the class loaded into the project, that's why you need the first step for the first class. After that, the class is already loaded, because the other your class inherits from this one, you don't need something it explicit the call.

    With respect to the path, vi.lib is a logical path, so it does not work properly when moving between computers and versions of LV.

  • How to move from the photo library?

    How to move from the photo library? How to use more than one library?  I would like one on a second partition for work stuff and hand over folder for personal stuff.

    Do the drag to another volume and launch Photos with down necessary option.

    (144134)

  • How to boot from the CD from Toshiba - Satellite 2450-101?

    Hello everyone,

    I would like to know how to start from the cd to install windows xp.
    I have a toshiba laptop (Satellite 2450-101).
    I'm not sure but I think dat This model has a DVD player in scii. Dat is the problem?

    Kind regards
    Steve.

    Hello

    If you use the internal CD/DVD drive you press simply the C key immediately after starting the laptop or you will simply change the boot order in the BIOS to CD/DVD drive.

  • How to boot from the flash drive which has xp to install an OS?

    Boot from the flash drive

    How to start from the flash drive which has xp to install an OS

    the system's model of netbook rlg

    Intel Valérie mgsone

    How to install Windows XP on a Netbook using a USB flash drive
    http://www.TechSpot.com/VB/topic160906.html

    J W Stuart: http://www.pagestart.com

  • How to print from the capture tool?

    How to print from the capture tool?

    Hello

    The Snipping Tool does not support print screen capture.

    You must save the snip as image file and open it in a program that supports printing.

    Concerning

  • How to exclude from the SOUL of the rules if the invoice distribution amount is < 0 (i.e. the negative amount) to the existing rule

    How to exclude from the SOUL of the rules if the invoice distribution amount is < 0 (i.e. the negative amount) to the existing rule.

    Requirement: I have an obligation to send the invoice approval group approval specified when the invoice distribution account is 4567 and charge the amount of distribution > 0

    Finished configurations:

    1. Set condition: the string value to using 4567 supplier_invoice_distribution_gl_account attribute
    2. The condition set: SUPPLIER_INVOICE_DISTRIBUTION_AMOUNT is greater than or equal to 0
    3. Definition of new rule setting the terms of the 1st and 2nd stage and also group attached to this rule approval

    Note: Approval is not required is defined for invoices IN. matched in SOUL.

    Test case:

    1. Corresponding invoice with PO (PO amount is 8000)
    2. Amount of invoice header 5000
    3. Distribution account invoice 5568 as well as the amount is 8000
    4. Inserted 4567 distribution and quantity is - 3000

    Behavior of real: system sends the approval of the Bill for approval related group account 4567

    Expected behavior: invoice approval status should be 'Not necessary', since it is a corresponding purchase order invoice and 4567 account amount is < 0

    Kindly let me know how to set the rule to exclude the ve - amount distribution associated with lines

    Hello

    Then set a rule all 3 conditions:

    If attribute SUPPLIER_INVOICE_DISTRIBUTION_PO_MATCHED = No. and the SUPPLIER_INVOICE_DISTRIBUTION_AMOUNT attribute is less than the 0 attribute and supplier_invoice_distribution_account = <> then no permission.

    Concerning

    Yvette

  • How issues disappear from the forum?

    How issues disappear from the first forum?  Since I have a GTX 480 and I am interested in learning how a significant official support for reading of mercury's, pirate vs support, I had entered a question to solicit feedback from the owners of GTX 470 graphics cards.  A person with almost 12,000 jobs railed against my post, I answered, and you'll find is no longer my post.

    Is there a problem with the forum software?

    Steve,

    Don't remember not this post, but then things were pretty fast and furious in the forum of CS5.

    Now, there are two ways that the messages may disappear, or appear to do so:

    (1.) a moderator can block a thread or can turn things in a new thread. This just happened today, but the two sons of original are always there, just not separated.

    2.) adobe admin can delete a thread (do not think that a MOD can do - only lock, move or branch?), but would probably not, unless it is obviously spam. Even in this case, the thread probably would remain, with all URLS "[Edited by Host]" or similar.

    (3.) a moderator can move a thread, saying if it was posted on the forum of CS5 and it was really regarding CS4, or earlier. This can also happen, if a thread is best suited for the Hardware Forum (this would be my first guess in your case), or in the living room, if I managed to slide too far off-topic. See the Hardware Forum, because that's where I expect such a post to be.

    4.) when Adobe went with the new software, many old messages went to heaven bit that I highly doubt that anything like that happened here. We lost a few positions when there was a major update of Jive, but it has not been an update in ~ 8 mos.

    5.) there is often no messages, if they have access to the forum by e-mail instead of a browser. I guess with some flow, which could happen also, but not sure.

    Good luck and check the Hardware Forum.

    Hunt

    PS - usually, when Jeff, Jerry.K, Curt, et al, move a message, they try to make the poster to know. Yet, with CS5.0.2 hitting and all traffic, perhaps they slid upward, ran completely out of time, or tried and failed in the notification. Most likely, if one of the MOD he stirred, they will jump in full and report making. They are great, though sometimes the details could be lost on a busy day, especially if they're trying to out of town to be with their families on a holiday (US) weekend to indulge in their "afterlife." Alternatively, they could be packing to avoid a hurricane - Earl.

  • inherit from the array class

    Hi, I want to create my array class that extends the functionality of the base table.

    I wrote something like this:

    package {}

    public class my_array extends {Array

    // (...)

    public void my_array(_long:int) {}

    // (...)

    Super (_long);

    }

    } / / class

    } / / packages

    in other words, I have to call the super constructor, and since then I declare a new table I Specifies the length of the array, I pass the length of the array to the super constructor.

    Nothing wrong so far, but when I try to use my new table, like this:

    var test: my_array = new my_array (10);

    test [0] = 1;

    I get this error:

    ReferenceError: Error #1056: cannot create 0 my_array property.

    at rob1_fla::MainTimeline/frame1()

    Then I replaced the 'super' line in the constructor of my class with this one:

    This super = (_long);

    and now I get this:

    1050: impossible to assign a value without reference.

    so, how to extend the class array, so I can use my new class of array indexes?

    TNX

    Make your class dyanamic.

  • How to inherit from matlab code in labview. The code is ".m" format.

    Hi guys,.

    How can I use a matlab code in labview. I want inherited the code in matlab for editing in labview.

    Mathscript is an option? If yes how to do it.

    While MathScript and Matlab share much in common, they are fundamentally different languages and MathScript don't support or have equivalents of a large number of Matlab functions. In addition, if you use tool boxes, then you won't be able to use them in MathScript. In one of your ".m" files, I spotted the Heaviside function, which comes from the symbolic math Toolbox. MathScript isn't it.

    With respect to the code, I don't know what you mean that we for you on this subject. Certainly, we cannot convert the code for you (unless you are ready to hire a person).

  • Pulling data from the class on a MovieClip array

    I am trying to create this slideshow application that displays product information (Tennis rackets) issues of different categories. A great programmer advised me that OOP would be a way to go, however I'm having a difficulty with it.

    I created:

    A document class called CustomClass--> This class downloads all data from the server and pushing the content in the XML based on a category tables. These berries are public, there is also a funciton iterateArray that places the children information somewhere.

    I would like to have 3 different movie clips

    1 screen-> Welcome Message

    2nd screen-> first table

    3rd screen-> second table Dispalyed

    package {
         
         import flash.display.*;
         import fl.transitions.*;
         import fl.transitions.easing.*;
         import flash.net.*;
         import flash.events.*;
         import flash.text.*;
         import flash.text.AntiAliasType;
         import flash.utils.*;
         import bucket_right;
         import bucket_left;
         import firstScreen;
         import secondScreen;
         
         
         public class CustomClass extends MovieClip {
              
              
              [Embed(source="C:/WINDOWS/Fonts/Eurosti.ttf", fontFamily="Euro")]
              public  var EuroEmbedded:Class;
              
              
              //XML responsible variables 
              private var xmlLoader:URLLoader;
              private var xmlContainer:XML;
              private var xmlList:XMLList;
              
              //Array specific variables 
              public var rackUSA:Array;
              public var rackOther:Array;
              public var imagesArray:Array;
              
              //Position Variables 
              public var position:Number;
              
              //Movie Clip Related Data
              public var bucket:MovieClip;
              public var firstScreenShow:MovieClip;
              public var secondScreenShow:MovieClip;
              
              //Text Field Formatting
              private var brandnameTxt:TextFormat;
              private var detailsTxt:TextFormat;
              private var priceTxt:TextFormat;
              public  var euroEmbeddedFont:Font;
              private var fontNeeded:String;
              
              
              //Set up Timer Vars 
              private var applicationStart:Timer;
              private var delay:Number;
              private var repeat:Number;
              
              //Positioning Variable 
              private var positionBuckets:Boolean = true;
              
              //This is the constructor of the application 
              public function CustomClass() {
                   euroEmbeddedFont = new EuroEmbedded();
                   fontNeeded            = euroEmbeddedFont.fontName;
                   position         = 5;
                   rackUSA            = new Array();
                   rackOther            = new Array();
                   imagesArray       = new Array();
                   
                   delay                 = 2000;
                   repeat                = 1;
                   applicationStart = new Timer(delay, repeat);
                   LoadXML();
              }
              
              private function LoadXML() {
                   xmlLoader = new URLLoader();
                   xmlLoader.load(new URLRequest("http://localhost/xml/index.php"));
                   xmlLoader.addEventListener(Event.COMPLETE, populateInfo);
              }
              
              public function populateImages(imgname:String, imgurl:String):* {
                   var imageLoader:Loader = new Loader();
                   //imgname = imgname.split(".gif").join("");
                   //imageLoader.name = imgname;
                   //imagesArray.push(imageLoader);
                  imageLoader.load(new URLRequest(imgurl));
                   return imageLoader;
              }
              
              public function getArray(arrayName:Array) {
                   return arrayName;
              }
              /*public function startApplication() {
                   applicationStart.start();
                   applicationStart.addEventListener(TimerEvent.TIMER_COMPLETE, firstScreen);
              }
              
              public function firstScreen(e:TimerEvent) {
                   removeChild(secondScreenShow);
                   applicationStart.reset();
                   applicationStart.removeEventListener(TimerEvent.TIMER_COMPLETE, firstScreen);
                   firstScreenShow = new firstScreen();
                   addChild(firstScreenShow);
                   //firstScreenShow.iterateArray(rackUSA);
                   applicationStart.start();
                   applicationStart.addEventListener(TimerEvent.TIMER_COMPLETE, secondScreen);
              }
              
              public function secondScreen(e:TimerEvent) {
                   applicationStart.reset();
                   applicationStart.removeEventListener(TimerEvent.TIMER_COMPLETE, secondScreen);
                   removeChild(firstScreenShow);
                   secondScreenShow = new secondScreen();
                   addChild(secondScreenShow);
                   //secondScreenShow.iterateArray(rackOther);
                   applicationStart.start();
                   applicationStart.addEventListener(TimerEvent.TIMER_COMPLETE, firstScreen);
              }*/
              
              public function setFontFormat() {
                   //Text Formatting for Brand Name Field
                   brandnameTxt = new TextFormat();
                   brandnameTxt.font = fontNeeded;
                   brandnameTxt.color = 0x006699;
                   brandnameTxt.size = 20;
                   brandnameTxt.bold = true;
                   //
                   
                   //Text Formatting for Country/Material
                   detailsTxt = new TextFormat();
                   detailsTxt.font = fontNeeded;
                   detailsTxt.color = 0x006699;
                   detailsTxt.size = 10;
                   detailsTxt.bold = false;
                   
                   //Text Formatting for Country/Material
                   priceTxt = new TextFormat();
                   priceTxt.font = fontNeeded;
                   priceTxt.color = 0x9DE36E;
                   priceTxt.size = 20;
                   priceTxt.bold = true;
              }
              
              public function tweenBucket(bucket:MovieClip) {
                        var bucketImgTrans = new TransitionManager(bucket);
                        bucketImgTrans.startTransition({type:Zoom, direction:Transition.IN, duration:3, easing:Strong.easeOut});
              }
              
              private function iterateArray(contentInfo:Array) {
                   this.setFontFormat();
                   
                   for (var c:uint = 0; c < contentInfo.length; c++) {
                             var brand:TextField   = new TextField();
                             var country:TextField = new TextField();
                             var made:TextField    = new TextField();
                             var cost:TextField    = new TextField();
                             var img:Loader;     
                             brand.embedFonts        = true;
                             
                             img            = contentInfo[c].picture;
                             brand.text   = contentInfo[c].brand;
                             country.text = contentInfo[c].country;
                             made.text    = contentInfo[c].made;
                             cost.text    = contentInfo[c].cost;
                             
                             if (positionBuckets) {
                             bucket       = new bucket_left();     
                             //Align Data
                             bucket.y = position;
                             bucket.x = 70;
                             brand.x = -50;
                             brand.y = -35;
                             country.x  = -45;
                             country.y  = -10; 
                             made.x = -45;
                             made.y = 5;
                             cost.x = 45;
                             cost.y = -10;
                             img.x = -105;
                             img.y = -35;
                             brandnameTxt.align = TextFormatAlign.LEFT;
                           priceTxt.align         = TextFormatAlign.LEFT;
                             positionBuckets    = false; 
                             } else {
                             bucket       = new bucket_right();     
                             //Align Data
                             bucket.y = position;
                             bucket.x = 240;
                             brand.x = -50;
                             brand.y = -35;
                             country.x  = -45;
                             country.y  = -10; 
                             made.x = -45;
                             made.y = 5;
                             cost.x = -110;
                             cost.y = -10;
                             img.x = 70;
                             img.y = -35;
                             brandnameTxt.align = TextFormatAlign.RIGHT;
                             positionBuckets    = true;      
                             }
                             brand.setTextFormat(brandnameTxt);
                             country.setTextFormat(detailsTxt);
                             made.setTextFormat(detailsTxt);
                             cost.setTextFormat(priceTxt);
                             //this.tweenBucket(bucket);
                             addChildAt(bucket, 0);
                             bucket.addChild(DisplayObject(img));
                             bucket.addChild(brand);
                             bucket.addChild(country);
                             bucket.addChild(made);
                             bucket.addChild(cost);
                             position += 70;
                   }
              }
              
              private function populateInfo(event:Event) {
                   
                   //Incoming XML Data
                   xmlContainer = new XML(event.target.data);
                   xmlList = xmlContainer.product;
                   //
                   
                   //Variables to hold the string
                   var brandTxt:String;
                   var country:String;
                   var material:String;
                   var price:String;
                   var image:String;
                   
                   for (var i:uint = 0; i < xmlList.length(); i++) {     
                   if (xmlList.country.text()[i] == "USA") {
                   brandTxt = xmlList.brand.text()[i];
                   country = "product of " + xmlList.country.text()[i];
                   material = "made of " + xmlList.material.text()[i];
                   price = "$" + xmlList.price.text()[i];
                   image = xmlList.image.text()[i];
                   rackUSA.name = brandTxt.toLowerCase();
                   var imgVar:* = this.populateImages(image, "http://localhost/rackets/" + image); 
                   rackUSA.push({brand: brandTxt, country: country, made: material, cost: price, pic: image, picture: imgVar});
                   //addChild(DisplayObject(rackUSA[0].picture));
                   } else if (xmlList.country.text()[i] == "Other") {
                   brandTxt = xmlList.brand.text()[i];
                   country = "product of " + xmlList.country.text()[i];
                   material = "made of " + xmlList.material.text()[i];
                   price = "$" + xmlList.price.text()[i];
                   image = xmlList.image.text()[i];
                   var imgVarOther:* = this.populateImages(image, "http://localhost/rackets/" + image); 
                   rackOther.push({brand: brandTxt, country: country, made: material, cost: price, pic: image, picture: imgVarOther});
                   }
                   }
                   //this.startApplication();
              }
              
              
              
              
              
         }
    }
    

    If I clip named firstScreen how to fill with data from the rackUSA of the table, using the presented functions iterateArray

    I tried in a movieClip

    CustomClass.iterateArray (rackUSA); but it does not work

    Any suggestions

    I want to clarify the use cases.

    1 load data into the document class

    2. display a welcome message

    3 allow users to navigate through the products.

    Q1: Do you mean by 'welcome message' a user interface that allows to start navigation?

    Q2: Products appears the same way. I mean, consider that product display will have a uniform provision?

    If the answer to Q2 is Yes, I would:

    1. create a class that features products. Call ProductDisplay

    2 transfer data (subset of XML related to a particular product - in your case, it may be an object in the position of the table) in an instance of ProductDisplay

    I would like you to consider the following.

    It is a good practice to do OBJECT oriented programming class as little as possible each. This means that a class must have a very focused functionality. For example, ProductClass you perform tasks related to laying on the presentation of the product. With this in mind, it is best to delegate, say, loading image to a separate category. Believe me, when you do – your life will be much easier if you do features as granular as possible even if sometimes it feels like an overdose.

    So here's the sketch of your classes. I wrote it just to illustrate the idea. I did not check the code during execution is definitely buggy.

    Read my comments below also.

    It is a class of product image that load the image:

    
    package
    {
         import flash.display.Loader;
         import flash.display.Sprite;
         import flash.events.Event;
         import flash.events.ProgressEvent;
         import flash.net.URLRequest;
    
         public class ProductImage extends Sprite
         {
              // image url
              private var _url:String;
              // loader
              private var _loader:Loader;
              public function ProductImage()
              {
                   if (stage) init();
                   else addEventListener(Event.ADDED_TO_STAGE, init);
              }
    
              private function init(e:Event = null):void
              {
                   removeEventListener(Event.ADDED_TO_STAGE, init);
                   _loader = new Loader();
                   _loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onLoad);
                   _loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgress);
                   _loader.load(new URLRequest(url));
              }
    
              private function onProgress(e:ProgressEvent):void
              {
                   // display progress if needed
              }
    
              private function onLoad(e:Event):void
              {
                   _loader.contentLoaderInfo.removeEventListener(Event.COMPLETE);
                   _loader.contentLoaderInfo.removeEventListener(ProgressEvent.PROGRESS, onProgress);
                   addChild(_loader);
    
              }
    
              public function get url():String { return _url; }
    
              public function set url(value:String):void
              {
                   _url = value;
              }
    
         }
    
    }
    

    ProdustDisplay class. Note how the product class is instantiated

    
    package
    {
         import flash.display.Sprite;
         import flash.events.Event;
    
         public class ProductDisplay extends Sprite
         {
              // hold the metadata
              private var _metaData:Object;
              // an object that holds the image
              private var _imageDisplay:ProductImage;
              public function ProductDisplay()
              {
                   if (stage) init();
                   else addEventListener(Event.ADDED_TO_STAGE, init);
              }
    
              private function init(e:Event = null):void
              {
                   removeEventListener(Event.ADDED_TO_STAGE, init);
                   // only if metadat is set - build interface
                   if (metaData) {
                        build();
                   }
    
              }
              // build interface
              private function build():void {
                   // place prduct image
                   _imageDisplay = new ProductImage();
                   _imageDisplay.url = metaData.image;
                   addChild(_imageDisplay);
                   // do the rest - like description, etc.
              }
              // function that accepts product metadata
              public function set metaData(metaObject:Object):void {
                   _metaData = metaObject;
              }
              // returns metadata
              public function get metaData():Object {
                   return _metaData;
    
              }
    
         }
    
    }
    

    Now in your document class, you can set an unlimited number of instances of ProductDisplay (as slides) and manipulate them. Again, this is just a sketch. Actual implementation of features and code will be somewhat different:

    var productDisplay:ProductDisplay = new ProductDisplay();
    productDisplay.metaData = rackUSA[2];
    
    

    Note: Your code has several inconsistencies - we need to go through them at another time. For now just digest these ideas. I understand that this will involve a refactoring on your part, but once you are done with it - things will fall in place fast.

  • How to move from the old iMac, iMac (24-inch mid 2007) to the new

    Got an iMac (24-inch mid 2007), and the desire to buy a new... How to transfer from 'old' iMac again?

    You will have the option to do so when you set up the new iMac; He can run through a network, external drive or disc mode target.

    (140878)

  • I use Homeshare to watch downloaded movies on my computer and then visible on my TV via Apple TV, but I how remove items from the library of movies on Apple TV when I looked at the

    I use Homeshare to watch movies downloaded on my computer and made visible on my TV via Apple TV. How to remove items from the show announced on television through homeshare /AppleTV when I looked at them?

    You must delete the contents of iTunes on the computer to remove it from the list of content on Apple TV.

  • How to read from the beginning to reference trigger?

    Hello!

    I develop a system a little on a NI DAQmx 6025 and want to know how can I get data from an early relaxation of reference.

    I use "AcqVoltageSamples_IntClkDigStartAndRef.2008" to control the unit in c#

    If I set up the Starttrigger only, I can trigger... (the measure is to start by climbing aboard PFI0)

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    myTask.AIChannels.CreateVoltageChannel (physicalChannelComboBox.Text,"", (AITerminalConfiguration)(-1), rangeMin, rangeMax, AIVoltageUnits.Volts ");

    myTask.Timing.ConfigureSampleClock ("", sampleRate, SampleClockActiveEdge.Rising, SampleQuantityMode.FiniteSamples, 1000);

    myTask.Triggers.StartTrigger.ConfigureDigitalEdgeTrigger ("/ PFI0/Dev1", DigitalEdgeStartTriggerEdge.Rising);

    Reader = new AnalogMultiChannelReader (myTask.Stream);

    ...

    drive. SynchronizeCallbacks = true;

    drive. BeginReadWaveform (-1, New AsyncCallback (myCallback), null);

    ... MyCallback...

    data = reader. EndReadWaveform (ar);

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Now, I want to stop my measurement by the trigger of the reference, so I set up the Referencetrigger on the same source (PFI0)

    myTask.Triggers.ReferenceTrigger.ConfigureDigitalEdgeTrigger ("/ PFI0/Dev1", DigitalEdgeReferenceTriggerEdge.Falling, 10);

    (This line is after the configuration StartTrigger)

    If I start the task and give the triggersignal, the measurement starts. But now the measure must stop if I start PFI0 again!

    I don't know what I have to do to become a measure from the beginning to trigger Stop... I mean PFI0 PFI0 rising Edge edge

    Thanks for the support!

    Suchen für alle die noch immer nach einer Antwort, ich habs jetz!

    For all who are looking for this answer, I get it now!

    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    myTask = new Task ("aiTask");        Create a new task
    Initialize local Variables
    Double sampleRate = Convert.ToDouble (rateNumeric.Value);
    Double rangeMin = Convert.ToDouble (minimumValueNumeric.Value);
    rangeMax double = Convert.ToDouble (maximumValueNumeric.Value);
    Create a virtual channel
    myTask.AIChannels.CreateVoltageChannel (physicalChannelComboBox.Text, "", (AITerminalConfiguration)(-1),
    rangeMin, rangeMax, AIVoltageUnits.Volts);
    Set up sync Specs
    myTask.Timing.ConfigureSampleClock ("", sampleRate, SampleClockActiveEdge.Rising, SampleQuantityMode.FiniteSamples, 1000);
                
    Configure start and reference triggers
    myTask.Triggers.StartTrigger.ConfigureDigitalEdgeTrigger ("/ PFI0/Dev1", DigitalEdgeStartTriggerEdge.Rising);
    myTask.Triggers.ReferenceTrigger.ConfigureDigitalEdgeTrigger ("/ PFI0/Dev1", DigitalEdgeReferenceTriggerEdge.Rising, 100);

    Check the task
    myTask.Control (TaskAction.Verify);
    Create the object reader
    Reader = new AnalogMultiChannelReader (myTask.Stream);
    Start the task, and set the playback position
    myTask.Start ();
    myTask.Stream.ReadRelativeTo = ReadRelativeTo.CurrentReadPosition;

    AnalogWaveform[temp];

    {while(!myTask.IsDone)}
    Temp = reader. ReadWaveform (60000);
    }

    myTask.Dispose ();

    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Mit dieser Lösung kann man von mension zu messen mension.

    With this resolve you can measure from edge to edge.

Maybe you are looking for