Problem creating inputs, outputs and text in Scilab Script Block

I have recently installed the Labview to Scilab Gateway.  I am running Labview 11.0 and Scilab 5.3.3.  The example files run properly, However, when I try to define any inputs, or outputs, there is no option to add the ports.  The block also ignores any text I type in it or copy to it.  I have been trying this on a blank vi.
Solved!
Go to Solution.

Hi Ronny,
I have a few more questions to help us debug this issue.  You said you tried the same right-click procedure to create inputs and outputs on a normal script block and it worked as expected.  What specifically do you mean by a "normal script block"?
How did you drop the empty Scilab script node on a blank VI?  Did you drop it from a palette or paste it from another VI?
Can you post an image of your Help >> About LabVIEW screen (feel free to obscure your name, company, and license number)?  If not, can you provide the LabVIEW version number specified from that screen?  There have been a few patches to LabVIEW 2011 and it will help us to reproduce the issue if we know exactly which version you have.  Also on that screen, do you have LabVIEW Base, Full, or Professional (or maybe an Evaluation or Student edition)?  The Scilab script node will not work in LabVIEW Base and the right-click menu will look as you describe.  You can verify your LabVIEW activation in the NI License Manager.
Do you have any other versions of LabVIEW installed on your computer?  Is LabVIEW 2011 the most recent LabVIEW you installed?  How about previous versions of Scilab?  Do any previous versions remain or did you remove a previous version of Scilab AFTER installing Scilab 5.3.3?
Grant M.
Senior Software Engineer | LabVIEW Tablets | National Instruments

Similar Messages

  • Can't select input output and name media when using MRC1 log and transfer

    I am using a MRC1 from the Sony Z5E to film my media. I downloaded the plugin which allows me to log and transfer through FCP 6.0.6. The only problem is that it does not allow me to input/output and name the pieces of each clip that I want. Hence I can only import the whole clip and am wasting time and space with media that I do not want or need. Is there an additional plugin or setting to pick on FCP to get this feature to work?
    Rich

    Hi xhk, I'm a Kubuntu's user and I've had the same problems. I've been days reading on the Internet about this issue and finally I solve it by following this post from a Spanish tutorial: http://bit.ly/4p3XFq. It worked for me!
    Basically it is:
    1. Get install the needed packages, i.e: sudo apt-get install ibus ibus-pinyin
    2. After installing them, introduce a little code into two files:
    2.1.--> type on your konsole: kate /home/$(whoami)/.bashrc
       a--> add to the bottom of the opened text:
    export GTK_IM_MODULE=ibus
    export XMODIFIERS=@im=ibus
    export QT_IM_MODULE=ibus
       b-->save the changes on the text.
    2.2.--> type again on your konsole: kate /home/$(whoami)/.profile
      b--> repeat 2.1.a. and 2.1.b
    3. Go to main menu - system settings - advance - "autoarranque" (I don't know how it is called in English, "restarting" maybe?) and then "add a programme". Type: ibus-daemon -d, press OK and then rebooth.
    It shall be working by then.
    Last edited by mxd (2013-07-06 01:42:27)

  • I would like to create a playlist of some of my voicememos to hear on my iphone5. I have no problem creating the list and can listen on playlist on computer but not when i sync to my phone. How can I listen to voicememos in a playlist on my iPhone?

    I would like to create a playlist of some of my voicememos to hear on my iphone5. I have no problem creating the list and can listen on playlist on computer but not when i sync to my phone. How can I listen to voicememos in a playlist on my iPhone?

    Hi czigrand,
    Thanks for visiting Apple Support Communities.
    Currently, you can gift dollar amounts or individual items (EG. songs) on the iTunes Store. See this article for more information:
    In the iTunes Store, you can gift a dollar amount or specific music, movies, TV shows, or apps from your iPhone, iPod touch, iPad, Mac, or PC. Follow these steps to send a gift from the iTunes Store.
    iTunes: Sending iTunes Gifts
    http://support.apple.com/kb/HT2736
    Best Regards,
    Jeremy

  • I am having problems creating PDF file and downloading them

    I am having problems creating PDF file and downloading them

    Hi Randy Keil,
    You might need to sign up with your Adobe ID and password at "https://cloud.acrobat.com/convertpdf"
    Then you can choose the desired files to create the PDF.
    Now, let me know what error message do you get while doing the same.
    What kind of files are you trying to convert to PDF?
    Have you checked with your internet connection and tried using a different browser?
    Hope to get your response.
    Regards,
    Anubha

  • Input/Output And Method Not Found Problem

    Ok so firstly I think I should apologise on two fronts.
    Firstly, 'cause this is probably posted in the wrong board but I'm not sure this was suitable for the Swing board just 'cause I've been using Swing? And secondly 'cause the code I'm gonna post is so shoddy I would think this constitutes as flaim-bait. >_>
    In my defense this is purely for a little class project to give something to write some documentation on so I'm really not too bothered about the efficiency or ace-mazingness of the end result. I just want it to work.
    To the problem at hand.
    I'm trying to write a program that asks the user a question and then outputs their answer to a file, from which a tally of answers can later be made for the purpose of displaying "results".
    My problem is I've been having problems with the input/output of saving the answers given to the program.
    I'm still learning and input/output is probably my weakest subject (other than, y'know, being good at Java). I've had a bash at it in the following code but all it does it overwrite what is in the file with a single answer so no list of results accumulate. I generally don't have an idea what to try for that one so any pointers would be appreciated.
    Also, my second problem is, in trying to gather results by tallying what is contained in the file, I've run across a problem with the charAt() method not being found and I'm not sure why. Isn't that method a part of java.lang?
    Here's the code thus far:
    //libraries
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swing.text.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.text.*;
    import java.io.*;
    class CaseStudy {
         public static void main(String args[]) {
              GUI maininterface = new GUI();
              maininterface.setupMenu();
              maininterface.display();
    class GUI {
         //for the actionlisteners
         int whatframe = 0;
         //creates mainframe and border content panel
         JFrame mainframe = new JFrame("Survey Client");
         JPanel borderpanel = new JPanel(), bottompanel = new JPanel();
         JButton quizbutton = new JButton("Take the quiz"), tallybutton = new JButton("Show Results"), submitbutton = new JButton("Submit Results"), menubutton = new JButton("Return To Menu");
         QuizQuestions toppanel = new QuizQuestions();
         QuizResults toppanel2 = new QuizResults();
         GUI() {
              //sets border in borderpanel, this spaces the main content in from the sides of the window
              borderpanel.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
              //sets up the frame and panels and adds on borders
              mainframe.setDefaultCloseOperation(mainframe.EXIT_ON_CLOSE); // exits java when clicking on close on main frame
              mainframe.getContentPane().add(borderpanel); // adds the panel as a component to the frame, the panel can hold stuffs
              borderpanel.setLayout(new BoxLayout(borderpanel, BoxLayout.PAGE_AXIS));// page_axis means it'll layout vertically
              bottompanel.setLayout(new BoxLayout(bottompanel, BoxLayout.LINE_AXIS));// line_axis means it'll layout horizontally
              //gives button an action
              quizbutton.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e1) {
                        setupQuiz();
              tallybutton.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e1) {
                        if(whatframe == 1) setupResults();
                        else {
                             int rusure = JOptionPane.showConfirmDialog(null, "Are you sure you wish to show results? Any current quiz answers won't be saved.", "Please Choose One", JOptionPane.YES_NO_OPTION);
                             if(rusure == JOptionPane.YES_OPTION) setupResults();
              menubutton.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e1) {
                        setupMenu();
              submitbutton.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e1) {
                        toppanel.doQuiz();
              borderpanel.add(bottompanel);
         public void setupMenu() {
              if(whatframe == 3) {
                   bottompanel.remove(menubutton);
                   borderpanel.remove(toppanel2);
              whatframe = 1;
              //adds components and lays them out
              bottompanel.add(quizbutton);
              bottompanel.add(Box.createRigidArea(new Dimension(0,10)));
              bottompanel.add(tallybutton);
              display();
         public void setupQuiz() {
              bottompanel.remove(quizbutton);
              bottompanel.remove(Box.createRigidArea(new Dimension(0,10)));
              bottompanel.remove(tallybutton);
              whatframe = 2;
              bottompanel.add(submitbutton);
              bottompanel.add(Box.createRigidArea(new Dimension(0,10)));
              bottompanel.add(tallybutton);
              borderpanel.add(toppanel);
              display();
         public void setupResults() {
              if(whatframe == 1) {
                   bottompanel.remove(quizbutton);
                   bottompanel.remove(Box.createRigidArea(new Dimension(0,10)));
                   bottompanel.remove(tallybutton);
              else {
                   bottompanel.remove(submitbutton);
                   bottompanel.remove(Box.createRigidArea(new Dimension(0,10)));
                   bottompanel.remove(tallybutton);
                   borderpanel.remove(toppanel);
              whatframe = 3;
              bottompanel.add(menubutton);
              borderpanel.add(toppanel2);
              display();
         public void display() {
              //sets the size of the frame around it's components and then shows it
              mainframe.pack();
              mainframe.setVisible(true);
              mainframe.validate(); //makes referenced container relayout it's components
    class QuizQuestions extends JPanel {
         LoadingSaving loadsave = new LoadingSaving();
         JPanel popm = new JPanel(), pop1 = new JPanel(), pop2 = new JPanel(), pop3 = new JPanel(), pop4 = new JPanel();
         JFormattedTextField ques = new JFormattedTextField(), op1 = new JFormattedTextField(), op2 = new JFormattedTextField(), op3 = new JFormattedTextField(), op4 = new JFormattedTextField();
         JButton bop1 = new JButton("1"), bop2 = new JButton("2"), bop3 = new JButton("3"), bop4 = new JButton("4");
         char answer;
         QuizQuestions() {
              popm.setLayout(new BoxLayout(popm, BoxLayout.PAGE_AXIS));
              pop1.setLayout(new BoxLayout(pop1, BoxLayout.LINE_AXIS));
              pop2.setLayout(new BoxLayout(pop2, BoxLayout.LINE_AXIS));
              pop3.setLayout(new BoxLayout(pop3, BoxLayout.LINE_AXIS));
              pop4.setLayout(new BoxLayout(pop4, BoxLayout.LINE_AXIS));
              this.add(popm);
              popm.add(ques);
              popm.add(pop1);
              popm.add(pop2);
              popm.add(pop3);
              popm.add(pop4);
              pop1.add(op1);
              pop1.add(bop1);
              pop2.add(op2);
              pop2.add(bop2);
              pop3.add(op3);
              pop3.add(bop3);
              pop4.add(op4);
              pop4.add(bop4);
              //sets up question text fields
              ques.setEditable(false);
              op1.setEditable(false);
              op2.setEditable(false);
              op3.setEditable(false);
              op4.setEditable(false);
              bop1.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e1) {
                        answer = 'a';
              bop2.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e1) {
                        answer = 'b';
              bop3.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e1) {
                        answer = 'c';
              bop4.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e1) {
                        answer = 'd';
              Question1();
         public void doQuiz() {
              loadsave.save(answer);
         public void Question1() {
              ques.setValue("Who's your favourite X-Men character?");
              op1.setValue("Cyclops");
              op2.setValue("Xavier");
              op3.setValue("Wolverine");
              op4.setValue("Rogue");
    class QuizResults extends JPanel {
         LoadingSaving loadsave = new LoadingSaving();
         JPanel popm = new JPanel();
         JFormattedTextField op1 = new JFormattedTextField(), op2 = new JFormattedTextField(), op3 = new JFormattedTextField(), op4 = new JFormattedTextField();
         int[] answerarray = new int[4];
         QuizResults() {
              popm.setLayout(new BoxLayout(popm, BoxLayout.PAGE_AXIS));
              this.add(popm);
              popm.add(op1);
              popm.add(op2);
              popm.add(op3);
              popm.add(op4);
              op1.setEditable(false);
              op2.setEditable(false);
              op3.setEditable(false);
              op4.setEditable(false);
              answerarray = loadsave.load();
              op1.setValue(answerarray[0]);
              op2.setValue(answerarray[1]);
              op3.setValue(answerarray[2]);
              op4.setValue(answerarray[3]);
    class LoadingSaving {
         public void save(char answer) {
              FileReader fr;
              FileWriter fw;
              BufferedReader br;
              String s;
              try {
              //ERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERROR
                   fr = new FileReader("casestudyoutput.txt");
                   fw = new FileWriter("casestudyoutput.txt");
                   br = new BufferedReader(fr);
                   if (br.readLine() == null) s = "x";
                   else s = br.readLine();
                   s = s + answer;
                   fw.write(s);
                   fr.close();
                   fw.close();
              //ERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERROR
              catch(FileNotFoundException exc) {
                   JOptionPane.showMessageDialog(null, "File not found.");
                   return;
              catch(IOException exc) {
                   JOptionPane.showMessageDialog(null, "Something bad happened.");
                   return;
         public int[] load() {
              FileReader fr;
              BufferedReader br;
              int[] answerarray = new int[3];
              String s;
              long length;
              int a = 0, b = 0, c = 0, d = 0;
              answerarray[0] = 0;
              answerarray[1] = 0;
              answerarray[2] = 0;
              answerarray[3] = 0;
              try {
                   fr = new FileReader("casestudyoutput.txt");
                   br = new BufferedReader(fr);
                   if (br.readLine() == null) return answerarray;
                   else s = br.readLine();
                   length = s.length();
                   for(int i = 0; i < length; i++) {
                        char ch = charAt(i); //ERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERRORERROR
                        switch(ch) {
                             case 'a':
                                  a++;
                                  break;
                             case 'b':
                                  b++;
                                  break;
                             case 'c':
                                  c++;
                                  break;
                             case 'd':
                                  d++;
                                  break;
                   answerarray[0] = a;
                   answerarray[1] = b;
                   answerarray[2] = c;
                   answerarray[3] = d;
                   fr.close();
              catch(FileNotFoundException exc) {
                   JOptionPane.showMessageDialog(null, "File not found.");
                   return answerarray;
              catch(IOException exc) {
                   JOptionPane.showMessageDialog(null, "Something bad happened.");
                   return answerarray;
         return answerarray;
    }Any pointers/tips/solutions/angry posts to tell me to stop trying to learn Java would be greatly appreciated.
    Thanks in advance!
    Oh, and in trying to work with it a bit further I realised I'm having a few problems with runtime errors due to exceptions. The first was due to the array being assigned out of bounds (fixed in the above code). But the second reads the following:
    Exception in thread "main" java.lang.NullPointerException
         at Loadingsaving.load(CaseStudy.java:330)
         at QuizResults.(init)(CaseStudy.java.259)
         at GUI.(init)(CaseStudy.java:34)
         at CaseStudy.main(CaseStudy.java:15)Not quite sure what this one means or how to handle it. =\
    Edited by: ThePermster on May 19, 2008 8:08 AM

    A NullPointerException means a method has been called on a null object, or a variable that isn't pointing to any object. Your Exception points to line 330, which is:
    length = s.length();A NPE on that line means that s is null. So let's look at where s is set:
    if (br.readLine() == null) return answerarray;
    else s = br.readLine();s gets it's value from br.readLine(), so that method must be returning null. You have a logical error here. Look at your If-Else. It reads a line, makes sure it isn't null...then it reads another line. Well what if that line is null? You are performing 2 reads here instead of 1.
    Since your If condition returns a value, there's no need for an Else. The code will continue on until it reaches another return. Try this:
    s = br.readLine();
    if (s == null) return answerarray;

  • Frequency problem in input-output control loop, LabviewRT

    Hello,
    I want to write a cotrol loop in LabView real-time. My target is to acquire a data from 5 channel in frequncy about 100 kHz, integrate the data and send them to the output in frequency about 10 kHz (every 10th sample). I made twou time-loops. One for acquiring and integrating, second for sending them to output. This loops are connected throug the rt fifo. 
    My problem is with a speed of acquisition. When I use "Hardware-timed single point" for acquiring, the result frequency is about 50 kHz. Continous sample and finite samples give me the desired frequency, but the output is not in in the same time as input (output waits until the input collects all data). Is there any problem with communication with the input and output channels in the same time?
    My Hardware: 
    Computer: NI PXIe-8108 in NI PXIe-1062Q
    card: NI PXIe-6358
    My vi is attached
    Attachments:
    rt_headless_v1.2.vi ‏133 KB

    Dear Kocman,
    thanks for including your VI, it is useful to understand better your application.
    However, the detailed requirements are still not entirely clear for me.
    I think, starting with the right architecture and proper timing and synchronization schemes could save you a lot of effort while they ensure proper operation.
    First, it should be defined what kind of timing your application requires. More specifically, if it needs to be hardware or software timed.
    From your description it sounds like you would need hardware timed aquisition synchronized with generation, although your code tries to implement it using timed loops, which are inherently software timed.
    You can find some useful additional information about the two methods and a nice white paper about synchronization techniques here:
    http://zone.ni.com/reference/en-XX/help/370466V-01/TOC11.htm
    http://www.ni.com/white-paper/4322/en
    Probably it helps to review them or even try to test some of the methods to get a better feeling about it.
    I hope this helps you to get to the proper solution.
    Best Regards,
    Adam Cseh
    Applications/Systems Engineer
    National Instruments

  • Create new output and bypass the old output

    Hello Gurus,
    Currently we have an output type (YAB1) that is created for all customers and item categories for application V2. New requirement is to create new output (YAB2) that exactly works as old one with one difference is that new output type YAB2 should be created for specific customers. Also bypass creation of old output YAB1.
    I understand how can we create new output YAB2 for specific customers. How can I by pass these customers from the old output YAB1. Please help me.
    Thank you so much for your time,
    Regards,
    Pavan

    Thank you so much for your replies,
    Sampath, Can you please provide more details of how can I create requirement. Is there any possibility of using NACE condition entries.
    What I think is create a custom table and maintain customers to whom YAB2 created. When YAB1 is created I read the table and when customer is found then set return code to 4 so that it is bypassed. We need YAB1 output for other customers.
    Is there any better approach?
    Regards,
    Pavan
    Edited by: Pavan1 on May 26, 2011 12:46 AM
    Edited by: Pavan1 on May 26, 2011 12:47 AM

  • Create an image and text rollover in Dreamweaver?

    I'm wanting an image and text to have a link and then the image and text to change to another image and text automaticly.  Here is a link that I want it to look like.  (local hot spots) Is there a way in Dreamweaver to do it or by inserting HTML code...
    http://thegospot.com/
    Thanks to any help I can get.

    All depends on what you want. 
    CSS a:hover affects the text/image mouseover state.
    http://alt-web.com/DEMOS/CSS-Button-Sprite.shtml
    Disjointed content inside <span> tags displays wherever you code it to appear on hover.
    http://alt-web.com/DEMOS/CSS-Disjointed-Text-Rollover.shtml
    Nancy O.

  • Creating Animated lines and text on HD timeline... converting to SD DVD

    Hi, we are filming with XDCAM EX1 cameras, with the end result to be output as NTSC DVD tutorials, Online, DVD-ROM, and Ipod/WMV cross platform.
    The project requires (at this point) an animated music score that scrolls from left to right on an off white background. The score has black stave lines, black notes and tab, with blue fingering numbers.
    I have been testing this for the last few months... and have not yet found a suitable solution... what my client wants is for the edit process to be done in HD so that when HD becomes popular we can easily re-release in Blue-ray. Therefore we have been editing on a HD timeline using footage that is filmed 1080/30p, then outputting to SD. The client also wants the DVD to be viewable on Cathode ray interlaced TV, as well as Plasma/LCD progressive scan screens, and to still be readable on a computer monitor when a user plays the DVD using their Laptop/PC/Macs DVD player.
    Up till now I can get a decent result if created using progressive scan, on LCD and computer moniter using DVD, but then the interlaced TV looks crap. Alternatively I can get a good result with interlaced footage on the cathode ray, yet the LCD suffers, and the computer monitor looks crap.
    I realise that what we are doing is something that is quite difficult to perfect, but we are not after perfect results all round, we just want something that is acceptable on all three scenarios. Out difficulty is of course working with thin black text & lines on a off-white BG and animating them left to right.
    Is there anyone out there with experience in similar projects, or does anyone have any ideas that perhaps we haven't tried yet (believe me we have tried a lot), I would really appreciate any constructive feedback... Thank You... B

    I like to convert to SD in FCP because it's easier to jump around and try things within one application.
    So if the titles aren't working well at SD resolution, I can tweak them. If I want to crop things
    differently, I can play with the motion tabs. When I use Quicktime Same Settings to export the SD sequence, I get a master file that looks like my FCP project.
    At that point, I can focus on compression as a separate problem. I can try different Compressor
    settings without having to go back to FCP. Having a single master file also makes it easier
    to do alternate versions for the web or ipod.

  • Problem with ora:output and xmlns attribute

    Using lastest XDK.
    I am using the built in extension ora:output in a stylesheet running via XSQL called from a small java prg.
    I am using this to generate several html fragments that will get processed later on not by xsql or xml/xsl but by another java prg.
    I have specifed the output as html BUT when I look at the output some of the elements have an xmlns attribute added i.e. xmlns:ora="http://www.oracle.com/XSL/Transform/java"....
    Strange thing its not on all elements, "a", "tr", "td" tags are ok but "b", "br" and "table" have this attribute added.... HELP!!
    How do I stop this attribute getting added...
    Many thanks
    Rob
    PS I know if I use an "html" tag to wrap the output then only that element ends up with the xmlns attribute but I cant/dont want to do this as the prg running later will combine many of these fragments to create a single "real" html page.

    I'm not sure whether i understand your problem,
    It doesnot need using the binding attribute If you wanna updating the value of each rows in the datatable.
    below is a sample that updating each rows of a datatable
    jsp file
    <h:dataTable value="#[sampleBean.data}" var="row">
        <h:column><h:inputText value="#{row.col1}"/></h:column>
    </h:dataTable>
    <h:commandButton value="update" action="#{sampleBean.update}"/>BackingBean:
    SampleBean.java
    public class Samplebean{
      private SampleRow[] rows[];
      public SampleRow[] getData{
              return rows;
      public String update(){
          for(int i=0; i<rows.length; i++){
             rows.update();
    return "success";
    SampleRow.java
    public class SampleRow{
      private String col1;
      public String getCol1(){
        return col1;
      public void setCol1(String col1){
        this.col1 = col1;
      public void update(){
         //write your code to save one row data to db/file here

  • Creating radio buttons and text box in the screen

    Hi Guys,
    Need help asap. I am writing a report and I have to create text box for user to input GL account numbers for two types of customer. I have to make these fields required and take the data back from the screen and write it in a file. The second thing that I have to do is to make radio buttons for the user to select whether he wants the file written on the application server or the presentation server. and process the report accordingly. Now can somebody please given some code and tell me how I should do this. Both the things have to be done for the same report. Please help.
    Thanks,
    Minal

    Hi,
    TABLES: likp,
            lips.
    TYPES: Begin of ty_likp,
           vbeln like likp-vbeln,
         end of ty_likp.
    TYPES: Begin of ty_lips,
           vbeln like lips-vbeln,
           posnr like lips-posnr,
         end of ty_lips.
    DATA:  i_likp TYPE STANDARD TABLE OF ty_likp,
           i_lips TYPE STANDARD TABLE OF ty_lips,
           w_lips TYPE ty_lips,
           w_likp TYPE ty_likp.
    SELECTION-SCREEN BEGIN OF BLOCK b_0 WITH FRAME TITLE text-001.
    SELECT-OPTIONS:  s_delno FOR likp-vbeln,
                     s_type  FOR likp-lfart,
                     s_ship  FOR likp-vstel,
                     s_date  FOR likp-erdat.
    SELECTION-SCREEN END OF BLOCK b_0.
    SELECT vbeln
             FROM likp INTO TABLE i_likp
             WHERE vbeln IN s_delno
             AND   lfart IN s_type
             AND   vstel IN s_ship
             AND   erdat IN s_date.
      IF sy-subrc <> 0.
        MESSAGE i000 WITH text-002.
        " No valid deliveries for the selection parameters entered.
        STOP.
      ENDIF.
      IF NOT i_likp[] IS INITIAL.
        SELECT vbeln
               posnr
               FROM lips INTO TABLE i_lips
               FOR ALL ENTRIES IN i_likp
               WHERE vbeln = i_likp-vbeln.
      ENDIF.
    format color 1 on intensified on.
      WRITE: /01(46) 'Following are the Hanging Deliveries/Invoices:'.
    format color off intensified off.
    skip.
    format color 1 on.
      WRITE:  SY-ULINE(27).
      WRITE: /1       SY-VLINE,
              3(12)    'Document No.',
              16      SY-VLINE,
              17(8)  'Item No.',
              27      SY-VLINE.
    write:/1 sy-ULINE(27).
    format color off.
      sort i_lips by vbeln posnr.
      LOOP AT i_lips INTO w_lips.
          Read table i_likp into w_likp with key
                            vbeln = w_lips-vbeln
                            posnn = w_lips-posnr.
          if sy-subrc <> 0.
          format color 2 on.
             WRITE: /1   sy-vline,
                    3(12)  w_lips-vbeln,
                    16  sy-vline,
                    17(8)  w_lips-posnr,
                    27  sy-vline.
            write:/1 sy-uline(27).
            format color off.
            clear w_lips.
          endif.
          ENDLOOP.
    Try this one with ur own example.
    Thanks & Regards,
    Judith.

  • Problems creating new project and ringtone

    Hello everyone. I recently tried to create a new ringtone using GarageBand v5.0.2 and I ran into a problem. I clicked on iPhone Ringtone on the left hand side but there's nothing on the right and when I click on the Choose button, nothing happens. So I tried to create a new project instead. I clicked on New Project on the left, nothing shows up on the right, and when I click on Choose, nothing happens. Learn to Play, the Lesson Store, and Magic Garageband all seem to be working okay. So does Recent Projects.
    Any thoughts as to why this is happening to me? Or offer up a solution, maybe? Thanks in advance.
    -Bruce

    Never resolved

  • Problem with digital output and microph

    Hello! I recently bought a new motherboard MSI K8N SLI Platinum that have onboard Sounblaster Li've 24bit, with coaxial and spdif and also the standard outputs. I ve connected via a fiber optical cable to my amplifier and i checked the digital output only box to the advanced settings on the mixer. I am hearing sound very well from my amplifier but when i connect headphones to with microphone to my soundcard , i don't hear anything at all from my headphones. Also i cannot speak via microphone. If i uncheck the box digital output only i hear sound from my headphones and also i can speak to microphone. Is there some way to have them both enabled? In my previous motherboard i didn't have that problem. I could hear sound from my amplifier with pcm signal and from my headphones and microphone analog at the same time.
    Thanks!

    Thibaud,
    The clue is here: " i take acquisition with one sample on demand."
    You are apparently using software timed output. To maintain accurate phasing at 80 Hz you need timing which is accurate to better than 4 milliseconds. This is not likely to occur with a desktop operating system. Sometimes it will be good and other times OS latencies will throw the timing way off.
    If your board supports it, use hardware timing. The timebase sources on most boards are far more precise and accurate than software timing.
    Lynn

  • UMI-7774 Axis1 Inhibit input/output (and Fault +/-) to corresponding Servo Drive signals

    Hi,
    I have servo drive (yaskawa sigma fsp) that i configured to work in Position command mode,
    And i want to connect it to UMI-7774 with PCI-7344 also configured in MAX to work in P-Command mode.
    The Servo drive has these signals:
    /S-ON    (Servo ON input)
    ALM+    (Servo alarm output)
    ALM      (Servo alarm output)
    The UMI-7774 on its Control Connector of Axis1 has these signals:
    Enable
    Fault+
    Fault-
    i read the umi7774 manual and also the servo drive manual, and didnt understand all the things because
    the umi7774 manual named the signals Inhibit-input, inhibit-output
    but there is no signals in this name on the UMI-7774/Axis1/Control Connector.  
    So, i think the wiring i need to make is :
    [Servo Drive] /S-ON   < to >  [UMI-7774/Axis1/Control Connector]  Enable 
    [Servo Drive] ALM+   < to >   [UMI-7774/Axis1/Control Connector]  Fault+
    [Servo Drive] ALM      < to >  [UMI-7774/Axis1/Control Connector]  Fault- 
    is [UMI-7774/Axis1/Control Connector]  Enable  is same as Inhibit-Output ?
    what about the inhibit-input, is the ALM+ from the drive is acting this role ?
    And, because the servo drive and the pci7344 configured to P-Command (Position command) mode,
    The control signals is connected in this way :
    [Servo Drive] PULS      < to >  [UMI-7774/Axis1/Control Connector]  Step (CW) 
    [Servo Drive] /PULS     < to >  [UMI-7774/Axis1/Control Connector]  Digital Ground
    [Servo Drive] SIGN       < to >  [UMI-7774/Axis1/Control Connector]  Dir (CCW)
    [Servo Drive] /SIGN      < to >  [UMI-7774/Axis1/Control Connector]  Digital Ground
    And for the feedback connector :
    [Servo Drive] PAO      < to >  [UMI-7774/Axis1/Control Connector]  Encoder Phase A
    [Servo Drive] /PAO      < to >  [UMI-7774/Axis1/Control Connector]  Encoder Phase A-
    [Servo Drive] PBO      < to >  [UMI-7774/Axis1/Control Connector]  Encoder Phase B
    [Servo Drive] /PBO      < to >  [UMI-7774/Axis1/Control Connector]  Encoder Phase B-
    [Servo Drive] PCO      < to >  [UMI-7774/Axis1/Control Connector]  Encoder Index
    [Servo Drive] /PCO      < to >  [UMI-7774/Axis1/Control Connector]  Encoder Index-
    i read the ni-motion manual,pci-7344 and umi7774 manual and also the articles about configuring the Position Command mode
    including the MAX setting.
    i finally start to understand the setting after i read the PCI7390 which is position-comannd controller.
    i just need to know if what i write here is correct.
    (The servo drive manual is here:
      http://www.yaskawa.com/site/products.nsf/products/Servo%20Amplifiers~fspsigma.html?openDocument&seq=... )
    Last thing,  the  "How to connect the 73xx inhibit and command signal outputs to third party drives"  article
    (http://zone.ni.com/devzone/cda/tut/p/id/3442 )
    shows that we need resistors etc.. to connect the signals between the servo drive and umi-7774,
    can i directly connect the signals using Pigtail cables the National instruments provide?
    Thanks
    Moti

    Dear Vince,
    this is the description from the servo drive manual about the following signals:
    [Servo Drive] PULS  (Reference pulse input)
    [Servo Drive] SIGN   (Reference pulse input)
    [Servo Drive] PAO   (PG divided output A-phase)  same for PBO,PCO
    i understand the following connection that i write here (for control and feedback)
    from the PCI 7390 users manual (Table B-7 on Page  B-15 : CN1 cable pin assignments)
    the table shows the signals from the MCA-7790Y which is accessory
    for connecting the pci7390 to Yaskawa Sigma 2 drive (which is the same as Yaskawa Sigma FSP drive).
    So, is that the correct connections for using the umi7774 and this servo drive in position command mode ?  :  
    [Servo Drive] PULS      < to >  [UMI-7774/Axis1/Control Connector]  Step (CW) 
    [Servo Drive] /PULS     < to >  [UMI-7774/Axis1/Control Connector]  Digital Ground
    [Servo Drive] SIGN       < to >  [UMI-7774/Axis1/Control Connector]  Dir (CCW)
    [Servo Drive] /SIGN      < to >  [UMI-7774/Axis1/Control Connector]  Digital Ground
    And for the feedback connector :
    [Servo Drive] PAO      < to >  [UMI-7774/Axis1/Control Connector]  Encoder Phase A
    [Servo Drive] /PAO      < to >  [UMI-7774/Axis1/Control Connector]  Encoder Phase A-
    [Servo Drive] PBO      < to >  [UMI-7774/Axis1/Control Connector]  Encoder Phase B
    [Servo Drive] /PBO      < to >  [UMI-7774/Axis1/Control Connector]  Encoder Phase B-
    [Servo Drive] PCO      < to >  [UMI-7774/Axis1/Control Connector]  Encoder Index
    [Servo Drive] /PCO      < to >  [UMI-7774/Axis1/Control Connector]  Encoder Index-
    thanks for your reply , i appreciate your help
    since i'm alone in this, unfortunately i cant get help on this issue from anyone.
    Please verify that what i write here is correct.
    Regards,
    Moti

  • Problems creating an array and mixing them up

    I am trying to create an array (1-35), mix that array and display the results with a trace. I am getting an error withthe following code.
    public function generateArray(toNumber : int) : Array {
            var result : Array = [];
            for (var i : int = toNumber; i != 0; i--) {
            result.push(i);
            return result;
            public function shuffle (a:Array,i:int):Array
            {var rndm:int;
            var b:Array = a.slice();
            var c:Array = [];
            while (i) {
            rndm = Math.random() * b.length;
            c.push(b.splice(rndm,1)[0]);
            i--;
            return c;
             /*limit question display to 35*/
             generateArray(35);
             trace(generateArrays);
    the error(s) are:
    1180: Call to a possibly undefined method generateArray.
    1120: Access of undefined property generateArrays.
    please assist with resolving these problems.
    thanks in advance!

    generateArray(35) and that trace() must be inside a method (or methods).  for example,
        internal class Mixer {
            //retains the array that is consulted for random question numbers
            private var randomizedOrder:Array;
            //CONSTRUCTOR - passed total number of questions in section
            public function Mixer (questnsTotal:Number) {
                randomizedOrder = new Array();
                randomizedOrder[0] = Math.floor(Math.random()*questnsTotal);
                for (var i:Number=1; i<questnsTotal; i++) {
                    randomizedOrder[i] = newNumber(questnsTotal, i);
                for (var k:Number=0; k<questnsTotal; k++) {
                    trace(""+k+": "+randomizedOrder[k]);
      /*limit question display to 35*/
             generateArray(35);
             trace(generateArray);
            //recursive function that creates a new number until it creates one that isn't already in use
            private function newNumber (qTotal:Number, curNum:Number):Number {
                var newNum:Number = Math.floor(Math.random()*qTotal);
                for (var j:Number=0; j<curNum; j++) {
                    if (randomizedOrder[j] == newNum) {
                        return newNumber(qTotal, curNum);
                return newNum;
            public function generateArray(toNumber : int) : Array {
            var result : Array = [];
            for (var i : int = toNumber; i != 0; i--) {
            result.push(i);
            return result;
            public function shuffle (a:Array,i:int):Array
            {var rndm:int;
            var b:Array = a.slice();
            var c:Array = [];
            while (i) {
            rndm = Math.random() * b.length;
            c.push(b.splice(rndm,1)[0]);
            i--;
            return c;
            //This is how external classes acquire a random number from this class's array
            //(programNum = the question the program wants to ask next, based on sequential order, or user selection)
            internal function getRandomNumber(programNum:Number):Number {
                return randomizedOrder[programNum];

Maybe you are looking for