How to make a callback from a separate class

Hi guys!
I've got a class that I'm trying to instantiate in downloadButton, which handles a bunch of NSURLConnection/authentication stuff, and I want it to make a callback to setWebView after it's finished. I don't think I can use the delegates built into NSURLConnection because then all the events will have to be handled by my base class, and I really just want to be notified when the connection and download has been completed and be given back the saved filename.
Thanks!
#import "Controller.h"
#import "fetch.h"
@implementation Controller
- (IBAction)downloadButton {
fetch *downloader = \[\[fetch alloc\] init\];
\[downloader setAuth:Username.text password:Password.text saveName:@"test.html"\];
\[downloader download:@"http://google.com"\];
-(void)setWebView:(NSString *)file
}

True, that works. I thought there might be a way to do it with a pointer to the controller function but this works great. Thanks a lot!

Similar Messages

  • How to Call a method from a separate class...?

    Hi there...
    I have a class name HMSCon which has a method named con...
    method con is the one the loads the jdbc driver and establishes the connection....Now!I have a separate class file named TAQueries,this is where i am going to write my SQL Statements...any idea how to use my variables from HMSCon to my TAQueries class???
    here's my code:
    public class HMSCon{
    public static void con(){
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    String url="jdbc:odbc:;DRIVER=Microsoft Access Driver (*.mdb);DBQ=" +
    "E:/samer/HardwareMonitoringSystem/src/hms/pkg/hmsData.mdb";
    Connection cn = DriverManager.getConnection(url,"Admin", "asian01");
    }catch(Exception s){
    System.err.print(s);}
    here's my seperate class file TAQueries,i put an error message below..
    class TAInfoQueries{
    public void insertNewTA(String TAID,String Fname,String Mname, String Lname,String Age,
    String Bdate,String Haddress,String ContactNo){
    // Statement stmt=cn.createStatement(); ERROR: Cannot find symbol cn.
    // stmt.executeUpdate("INSERT INTO TechnicalAssistants VALUES('sdfas','sdfsdf','sdfdsf','sdfdsf',3,04/13/04,'asdf','asdfsdf')");
    // stmt.close();
    }

    You can try the below code, but it's a bad idea to use staitc member for connection:(
    public class HMSCon{
    static Connection cn;
    static{
    con();
    public static void con(){
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    String url="jdbc:odbc:;DRIVER=Microsoft Access Driver (*.mdb);DBQ=" +
    "E:/samer/HardwareMonitoringSystem/src/hms/pkg/hmsData.mdb";
    cn = DriverManager.getConnection(url,"Admin", "asian01");
    }catch(Exception s){
    System.err.print(s);}
    here's my seperate class file TAQueries,i put an error message below..
    class TAInfoQueries{
    public void insertNewTA(String TAID,String Fname,String Mname, String Lname,String Age,
    String Bdate,String Haddress,String ContactNo){
    // Statement stmt=HMSCon.cn.createStatement(); ERROR: Cannot find symbol cn.
    // stmt.executeUpdate("INSERT INTO TechnicalAssistants VALUES('sdfas','sdfsdf','sdfdsf','sdfdsf',3,04/13/04,'asdf','asdfsdf')");
    // stmt.close();
    }

  • How to call a method from a separate class using IBAction

    I can't work out how to call a method form an external class with IBAction.
    //This Works 1
    -(void)addCard:(MyiCards *)card{
    [card insertNewCardIntoDatabase];
    //This works 2
    -(IBAction) addNewCard:(id)sender{
    //stuff -- I want to call [card insertNewCardIntoDatabase];
    I have tried tons of stuff here, but nothing is working. When i build this I get no errors or warnings, but trying to call the method in anyway other that what is there, i get errors.

    Can you explain more about what you are trying to do? IBAction is just a 'hint' to Interface Builder. It's just a void method return. And it's unclear what method is where from your code snippet below. is addNewCard: in another class? And if so, does it have a reference to the 'card' object you are sending the 'insertNewCardIntoDatabase' message? Some more details would help.
    Cheers,
    George

  • How to modify array elements from a separate class?

    I am trying to modify array elements in a class which populates these fields by reading in a text file. I have got mutator methods to modify the array elements and they work fine in the same class.
    public class Outlet {
         private Outlet[] outlet;
         private String outletName;
         private int phoneNumber;
         private int category;
         private int operatingDays;
    static final int DEFAULT = 99;
         public void setPhoneNumber(int newPhoneNumber) {
              phoneNumber = newPhoneNumber;
         public void setCategory(int newCategory) {
              category = newCategory;
         public void setOperatingDays(int newOperatingDays) {
              operatingDays = newOperatingDays;
    public static void readFile(Outlet[] outlet) throws FileNotFoundException {
              Scanner inFile = new Scanner(new FileReader("outlets.txt"));
              int rowNo = 0;
              int i = 0;
              String outletValue;
              while (inFile.hasNext() && rowNo < MAXOUTLETS) {
                   outlet[rowNo] = new Outlet();
                   outletValue = inFile.nextLine();
                   outlet[rowNo].setOutletName(outletValue.toUpperCase());
                   outlet[rowNo].setPhoneNumber(DEFAULT);
                   outlet[rowNo].setCategory(DEFAULT);
                   outlet[rowNo].setOperatingDays(DEFAULT);
              inFile.close();
         public static void displayUnassignedOutlets(Outlet[] outlet) {
              int i = 0;
              System.out.println("Showing all unassigned Outlets");
              System.out.println(STARS);
              for (i = 0; i < MAXOUTLETS; i++ ) {
                   if (outlet.getCategory() == DEFAULT) {
                   System.out.println("\nOutlet Number: " + (i + 1) + "\t" +
                             outlet[i].getOutletName());
    Now in the other class that I want to modify the array elements I use the following code but I get an error that "The expression type must be an array but a Class ' Outlet' is resolved".
    So how can I modify the array elements? What do I have to instantiate to get the following code to work?
    public class Franchise {
         private Franchise[] franchise;
         public Outlet[] outlet;
         public static void createFranchise(Franchise[] franchise) throws FileNotFoundException {
              Scanner console = new Scanner(System.in);
              int choice = -1;
    ++++++++++++++++++++++++++++++++++++
              Outlet outlet = new Outlet();
              Outlet.readFile(outlet.getOutlet());
    ++++++++++++++++++++++++++++++++++++
              boolean invalidChoice = true;
              while (invalidChoice) {
              System.out.println("\nCreating a New Franchise...");
              System.out.println(STARS);
              System.out.println("Please select an outlet from the list below");
              Outlet.displayUnassignedOutlets(outlet.getOutlet());
              choice = console.nextInt();
              if (choice < 0 || choice > 10) {
                   System.out.println("Error! Please choose a single number between 1 and 10");               
              else {
                   invalidChoice = false;
              invalidChoice = true;
              while (invalidChoice) {
                   System.out.println("Please enter the Phone Number for this Outlet");
                   choice = console.nextInt();
                   String phone = new String();
              phone = new Integer(choice).toString();
                   if (phone.length() < 8 || phone.length() > 10) {
                        System.out.println("Error! Please enter 8 to 10 digits only");
                   else {
    +++++++++++++++++++++++++++++++++++++++
                        outlet[(choice - 1)].setPhoneNumber(choice);
    +++++++++++++++++++++++++++++++++++++++
                        invalidChoice = false;

    Hi Pete!
    Thanks for your comments. I have included my full classes below with their respective driver modules. Hope this helps out a bit more using the code tags. Sorry, it was my first posting. Thanks for the heads up!
    import java.util.*;
    import java.io.*;
    public class Outlet {
         public Outlet[] outlet;
         private String outletName;
         private int phoneNumber;
         private int category;
         private int operatingDays;
    //     private Applicant chosenApplicant;
         static boolean SHOWDETAILS = false;
         static final String STARS = "****************************************";
         static final int MAXOUTLETS = 10;
         static final int DEFAULT = 99;
         public Outlet[] getOutlet() {
              return outlet;
         public String getOutletName() {
              return outletName;
         public int getPhoneNumber() {
              return phoneNumber;
         public int getCategory() {
              return category;
         public int getOperatingDays() {
              return operatingDays;
         public void setOutletName(String newOutletName) {
              outletName = newOutletName;
         public void setPhoneNumber(int newPhoneNumber) {
              phoneNumber = newPhoneNumber;
         public void setCategory(int newCategory) {
              category = newCategory;
         public void setOperatingDays(int newOperatingDays) {
              operatingDays = newOperatingDays;
         public Outlet() {
              outlet = new Outlet[10];
         public static void readFile(Outlet[] outlet) throws FileNotFoundException {
              Scanner inFile = new Scanner(new FileReader("outlets.txt"));
              int rowNo = 0;
              int i = 0;
              String outletValue;
              while (inFile.hasNext() && rowNo < MAXOUTLETS) {
                   outlet[rowNo] = new Outlet();
                   outletValue = inFile.nextLine();
                   outlet[rowNo].setOutletName(outletValue.toUpperCase());
                   //System.out.println(rowNo % 2);
              //     if (rowNo % 2 == 0) {
                   outlet[rowNo].setPhoneNumber(DEFAULT);
                   outlet[rowNo].setCategory(DEFAULT);
                   outlet[rowNo].setOperatingDays(DEFAULT);
    //               System.out.println("Outlet Name+++++++  " + rowNo + "\n" + outlet[rowNo].getOutlet());               
                   rowNo++;
         //          System.out.println(rowNo);
              if (SHOWDETAILS) {
                   if (rowNo > 6) {
                        for (i = 0; i < rowNo; i++ ) {
                             System.out.println("\nOutlet Name+++++++  " + (i + 1) + "\t" +
                                       outlet.getOutletName());
              inFile.close();
         public static void displayAllOutlets(Outlet[] outlet) {
              int i = 0;
              System.out.println("Showing All Outlets");
              System.out.println(STARS);
              for (i = 0; i < MAXOUTLETS; i++ ) {
                   System.out.println("\nOutlet Number: " + (i + 1) + "\t" +
                             outlet[i].getOutletName());
         public static void displayUnassignedOutlets(Outlet[] outlet) {
              int i = 0;
              System.out.println("Showing all unassigned Outlets");
              System.out.println(STARS);
              for (i = 0; i < MAXOUTLETS; i++ ) {
                   if (outlet[i].getCategory() == DEFAULT) {
                   System.out.println("\nOutlet Number: " + (i + 1) + "\t" +
                             outlet[i].getOutletName());
         public static void main(String[] args) throws FileNotFoundException {
              Outlet start = new Outlet();
              Outlet.readFile(start.getOutlet());
              Outlet.displayUnassignedOutlets(start.getOutlet());
    ================================
    So in the below Franchise class, when I specify:
    outlet[(choice - 1)].setPhoneNumber(choice);
    I get the error that an array is required but the class Outlet is resolved. Any feedback is greatly appreciated!
    import java.io.FileNotFoundException;
    import java.io.PrintWriter;
    import java.util.*;
    public class Franchise {
         private Franchise[] franchise;
         public Outlet[] outlet;
         static final int MAXOUTLETS = 10;
         static final int DEFAULT = 99;
         static boolean SHOWDETAILS = false;
         static final String STARS = "****************************************";
         static final double REGHOTDOG = 2.50;
         static final double LARGEHOTDOG = 4;
         static final int SALESPERIOD = 28;
         static final int OPERATINGHOURS = 8;
         public Franchise[] getFranchise() {
              return franchise;
         public Franchise() {
         public static void createFranchise(Franchise[] franchise) throws FileNotFoundException {
              Scanner console = new Scanner(System.in);
              int choice = -1;
              //franchise[i] = new Franchise();
              Outlet outlet = new Outlet();
              //outlet[i] = new Franchise();
              Outlet[] myOutlet = new Outlet[10];
              Outlet.readFile(outlet.getOutlet());
              boolean invalidChoice = true;
              while (invalidChoice) {
              System.out.println("\nCreating a New Franchise...");
              System.out.println(STARS);
              System.out.println("Please select an outlet from the list below");
              Outlet.displayUnassignedOutlets(outlet.getOutlet());
              choice = console.nextInt();
              if (choice < 0 || choice > 10) {
                   System.out.println("Error! Please choose a single number between 1 and 10");               
              else {
                   invalidChoice = false;
              //System.out.println(j);
              invalidChoice = true;
              while (invalidChoice) {
                   System.out.println("Please enter the Phone Number for this Outlet");
                   choice = console.nextInt();
                   String phone = new String();
                  phone = new Integer(choice).toString();
                   if (phone.length() < 8 || phone.length() > 10) {
                        System.out.println("Error! Please enter 8 to 10 digits only");
                   else {
                        outlet[(choice - 1)].setPhoneNumber(choice);
                        invalidChoice = false;
              invalidChoice = true;
              while (invalidChoice) {
                   System.out.println("Please enter the category number for this Outlet");
                   choice = console.nextInt();
                   if (choice < 1 || choice > 4) {
                        System.out.println("Error! Please choose a single number between 1 and 4");
                   else {
                        outlet.setCategory(choice);
                        invalidChoice = false;
              invalidChoice = true;
              while (invalidChoice) {
                   System.out.println("Please enter the Operating Days for this Outlet");
                   choice = console.nextInt();
                   if (choice < 5 || choice > 7) {
                        System.out.println("Error! Please choose a single number between 5 and 7");
                   else {
                        outlet.setOperatingDays(choice);
                        invalidChoice = false;
    //          Applicant chosenApplicant = new Applicant();
         //     Applicant.readFile(chosenApplicant.getApplicant());
              //Applicant.checkCriteria(chosenApplicant.getApplicant());
         //     System.out.println("This Franchise has been assigned to : " +
              //          chosenApplicant.displayOneEligibleApplicant());
              Outlet.displayUnassignedOutlets(outlet.getOutlet());
         public static void main(String[] args) throws FileNotFoundException {
              Franchise start = new Franchise();
              Franchise.testing(start.getFranchise());
              //Franchise.createFranchise(start.getFranchise());
              //Franchise.displaySalesForcast();
              //Franchise.displayAllFranchises(start.getOutlet());

  • How to make a .exe from a java .class

    Hi All,
    I want to write a scheduler program in Java and that class file I want to install as a service in windows scheduler. So for that purposr I need an executale right?
    How can I convert a java class to a .exe program.
    Thanks and Regards
    KK

    No need to create exe file. U can covert into .bat file. With help of windows scheduler u can run the file as per ur required.

  • How to make a silhouette from a portrait (photo) and-

    How do I make a silhouette from a portrait?
    And how do I make the background transparent?

    Do you mean that I send you the portrait?
    Chabæna
    26 apr 2014 kl. 12:31 skrev c.pfaffenbichler <[email protected]>:
    Re: How to make a silhouette from a portrait (photo) and…
    created by c.pfaffenbichler in Photoshop General Discussion - View the full discussion
    How do I make a silhouette from a portrait?
    Ah, but wouldn’t it be ever so much easier to explain if you actually provided (a lores of) the image in question?
    And how do I make the background transparent?
    Preferably with a Layer Mask and then saving in the appropriate file format (psd or png24 for example support transparency).
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6332417#6332417
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6332417#6332417
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6332417#6332417. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Photoshop General Discussion at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • How to make bootable iso from download

    how to make bootable iso from download

    This one - https://www.microsoft.com/en-us/download/details.aspx?id=5587
    1st:  This is NOT a .ISO file!!
    2nd.  It is a .MSI file which is a Microsoft Installer file.
    3rd:  Read the instructions:
    Install Instructions:
    Click the Download button to start the download.
    Do one of the following:
    To start the installation immediately, click Run.
    To save the download to your computer for installation at a later time, click
    Save.
    To cancel the installation, click Cancel.
    When installation completes a file called readme.txt will open to provide instructions for burning a home computer restore CD. The file is also located
    next to the ISO image file for later reference.
    4th: If you are unable to read and follow instructions, there is nothing anyone in these forums can do to assist you.  You must be capable of reading and following instructions! 
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
    OK, well sorry to disagree with you but:-
    1. Using windows 7, the download does not provide a save but only a run option.
    2. In the MS predownload instructions you copied it refers to the readme text next to "the ISO image"
    3. This is a copy of the read me file attached:-
    "This ReadMe document is one of the Windows Home Server Home Computer Restore CD files. Unless you changed the installation location during setup, the Home Computer Restore CD files and license terms are located in one of the following folders:
    * On Windows Vista: %HOMEPATH%\Documents\Windows Home Server Home Computer Restore CD (Dual Boot)
    * On Windows XP: %HOMEPATH%\My Documents\Windows Home Server Home Computer Restore CD (Dual Boot)
    To use the Home Computer Restore CD software, you must write the ISO image file (restorecd_dual.iso) to a blank CD. A CD/DVD burner is required to write
    the ISO image file to the CD. Usually a CD/DVD burner includes the software that you need to write ISO image files. Follow the instructions with your burner software, and then select the option to write an ISO image, not the option to write
    individual files. Note that you cannot write the ISO image by using Windows Explorer to copy the file to the CD-ROM drive.
    Burning the ISO image creates a bootable CD. To restore your home computer, boot the computer from the CD and follow the instructions.
    Microsoft may update the Windows Home Server Home Computer Restore CD software. You can download the latest version from the Microsoft Web site at http://go.microsoft.com/fwlink/?LinkID=109282.
    If you want to review the license terms for the Windows Home Server Home Computer Restore CD, the file EULA_DUAL.TXT can be found in the same folder"
    As you will see it refers to the downloaded .iso file. Nowhere is there a reference to a msi.  As there was only a run function on the downloaded file, it could not be saved. How is an ordinary Windows user meant to interpret the instructs
    if the download function does not work? What you do is try and follow the instructions and produce a load of frigging coffee mats, as it seems did many of the posters on this thread. Are we all illiterate?
    If Microsoft could think in the way of a user it would help a lot of people.
    So Rick Dee, please inform me how I misread the instructions?

  • How to make data flow from one application to other in BPEL.

    Hi All,
    I am designing work-flow of my application through BPEL(JDeveloper), I am making different BPEL projects for different functions, like sales manager got the order from sales person and sales manager either approve it or reject it, if he approve it it goes to Production manager and he ships the goods, now I want to keep sales person, sales manger,production manager in seperate BPEL files and want to get the output of sales person to sales manager and sales manager to production manager please help me in dong this.
    I was trying to make partner link in Sales manager of sales person and getting the input from there. I dont know this is right even or not, if it is right I dont know how to make data flow from one application to other.
    Experience people please guide.
    Sales Person -----> Sales Manager ----> Production Manager
    Thanks
    Yatan

    Yes you can do this.
    If you each integration point to be in different process, you have to create three BPEL process.
    1. Create a Async BPEL process 'A' which will be initiated when sales person creates the order.
    2. From BPEL process 'A' call a ASync BPEL process 'B' which has the approval flow. Depending on the input from process 'A' the sales manager will review the order in workflow and approve or reject and send the result back to process 'A'.
    3. Based on the result from workflow, invoke the Sync BPEL process 'C', where you can implement the shipping logic.
    -Ramana.

  • How to make one dvd from several camcoder dvd's

    How to make one dvd from several camcoder dvd's. I got a dvd camcoder, to be able to play them into DVD player I had to finalize  my disks. Now I got several DVD's whith short files and terrible custom camera menu. I'd like to make it more presentable.
    The main problem is I dont want to recode my vob files. So Final Cut and other editing soft is bad idea.
    Is there any soft on mac I could reauthor my DVD's?

    How to make one dvd from several camcoder dvd's. I got a dvd camcoder, to be able to play them into DVD player I had to finalize  my disks. Now I got several DVD's whith short files and terrible custom camera menu. I'd like to make it more presentable.
    The main problem is I dont want to recode my vob files. So Final Cut and other editing soft is bad idea.
    Is there any soft on mac I could reauthor my DVD's?

  • My message always comes from my iCloud @me handle and not my other IM accounts when I send an IM? How to make it come from my @gmail account?

    My message always comes from my iCloud @me handle and not my other IM accounts when I send an IM? How to make it come from my @gmail account?

    Hi,
    As you have found in the View Menu of iChat is the option to Display the Recipients Bar
    This bar when clicked will display the Screen Names that you know for your Buddy and your own Screen Names.
    The Buddy's names are in the "To:-" section whilst your own are in the "From:-"
    Example pic from my iChat 6
    The Chat window has to Be Open.
    The Buddy's current name becomes a Drop Down that show the To and From names.
    It appears to allow you to Connect Google or Jabber IDs to AIM Buddies but the tick will move to any valid Account if you change either the To choice or the From choice.
    AS you say about the add Buddy drop down that appears - when your Buddy list are displayed as one an extra drop down appears fro you to Select the account/list it is joining as a Buddy
    8:17 PM      Wednesday; January 4, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • HT1338 how can make a room from my start up disk in in mac pro

    how can make a room from my start up disk in in mac pro

    Only you can decide what you want to delete to free up space on your PB, Personally I think you'll find 17 GB won't go very far when you start to add video.
    Consider an external drive. Don't forget if you let your free space fall below 10% of the total size of the drive you will risk corrupting your directory structure or causing other damage which may result in a loss of data.

  • How to get maximal value from the data/class for show in Map legend

    I make WAD report that using Map Web Item.
    I devide to four (4) classes for legend (Generate_Breaks).
    I want to change default value for the class by javascript and for this,
    I need to get maximal value from the class.
    How to get maximal value from the data/class.
    please give me solution for my problem.
    Many Thx
    Eddy Utomo

    use this to get the following End_date
    <?following-sibling::../END_DATE?>
    Try this
    <?for-each:/ROOT/ROW?>
    ==================
    Current StartDate <?START_DATE?>
    Current End Date <?END_DATE?>
    Next Start Date <?following-sibling::ROW/END_DATE?>
    Previous End Date <?preceding-sibling::ROW[1]/END_DATE?>
    ================
    <?end for-each?>
    o/p
    ==================
    Current StartDate 01-01-1980
    Current End Date 01-01-1988
    Next Start Date 01-01-1990
    Previous End Date
    ================
    ==================
    Current StartDate 01-01-1988
    Current End Date 01-01-1990
    Next Start Date 01-01-2005
    Previous End Date 01-01-1988
    ================
    ==================
    Current StartDate 01-01-2000
    Current End Date 01-01-2005
    Next Start Date
    Previous End Date 01

  • How to get a char from a String Class?

    How to get a char from a String Class?

    Use charAt(int index), like this for example:
    String s = "Java";
    char c = s.charAt(2);
    System.out.println(c);

  • How to make a callback to be executed between PreUUTLoop and PreUUT?

    I am building a model in Teststand, which will be a base of any client sequence file, I expect some of callbacks in the model to be executed between PreUUTLoop and PreUUT, how  can I do it?
    Thanks
    Jacky

    Jacky,
    You can make as many callbacks as you like execute between the PreUUTLoop and PreUUT callbacks.  Just as an example, here is how I would insert a new callback a modification of the Sequential Model:
    - Copy over the <TestStand>\Components\NI\Models directory to <TestStand>\Components\User\Models directory.
    - Open the SequentialModel.seq found in the User\Models Directory
    - Go to 'All Sequences' under the view dropdown.  Right click, and select Insert Sequence.
    - Rename the sequence to whatever name you would like.  Right click on this newly created sequence, and go to Properties...  Click the Model Tab, and select Model under the dropdown box.  You have now created a model callback.  The only thing left to do is insert it into the "TestUUT" and/or "SinglePass" execution sequences. 
    - In the view dropdown box, select the TestUUT execution sequence.   You'll notice that quite a few subsequence calls and statements are already used between PreUUTLoop and PreUUT.  Note the "Next UUT" Label.  If you would like to have a callback run only once, before the start of the UUTLoop, you'll need to insert the sequence call before this label.  Otherwise, you can insert the sequence call after the label.  For this example, lets insert a sequence call before the NextUUT label.  Right click on PreUUTLoop Callback step, and select Insert Step >>Sequence Call. 
    -Go to specify module under this sequence step.  Select the current file checkbox, and choose your newly create model callback  from the dropdown list.
    At this point, you've inserted a model callback between PreUUTLoop and PreUUT.
    Chapter 10 of the TestStand reference manual should provide you with a lot of information on modifying the process model.  Make sure to take a look at it.
    Let me know if you need any other help.  Have a great day!
    Andrew W || Applications Engineer
    National Instruments

  • How to make an excutable from a finished vi?

    I have a program that is practically finished but I am unsure how to make it a stand alone executable. I wouls like it so that I could but it on disk and use it on other machines that do not have Labview. Thanks

    Heather,
    With the Application Builder you can make standalone executables. The application builder is included in the LabVIEW professional package, but if you have Base of Full package, you will have to buy the Application Builder as a separate add-on tool.
    Once you build your VI into an executable, it will have .exe extension, and you will no longer need LabVIEW to run it.
    You can run it with the LabVIEW run-time engine. This engine can be installed from any LabVIEW CD, or download from our web site:
    http://digital.ni.com/softlib.nsf/webcategories/85256410006C055586256BBB002C130D?opendocument&node=132070_US
    To order the Application Builder, either contact your sales representative, or order it on line at:
    LabVIEW Application B
    uilder for Windows
    http://sine.ni.com/apps/we/nioc.vp?cid=10731〈=US
    Zvezdana S.
    National Instruments

Maybe you are looking for

  • Using the LeaseRequest to unlock a lock.

    We are having locking issues in our application, we have the lease-granularity set to "Thread", and out application has a JSP that enables us to flush our caches. I am trying to enable an unlocking mechanism in this JSP to unlock these keys. I am usi

  • X230T display dims after BIOS start

    MY X230T was originally supplied with Windows 7 Pro. Apparently as a result of twiddling with the power management options on that platform, the display dims significantly between starting the BIOS and logging in to Windows. Specifically: 1. The BIOS

  • How to delete and start again?

    I've finished ripping my collection of 480+ CDs but I really think a big mistake I made was signing-up to Match before I'd finished. I've got various minor problems (such as mismatched art which won't synchronize) and some bigger problems (such as so

  • Unable to Contribute on SDN

    Hello Experts, I had last submitted an article, which was published and I was duly awarded points for the same. However, thereafter, I am unable to find the article on SDN and under my profile, the hyperlink is not enabled for the article. Also, when

  • Changing web root directory

    I've just managed to set up coldfusion (8, not that I think it should be very different to 7) on my mac. It's running perfectly, except that the wwwroot folder is in Applications/coldfusion8, and my CF pages are in a different directory. Is there som