Small CIN problem...

Hi all,
I am having problems with calling external dll function from a CIN code. Please help.
The CIN input consists of few integers and one integer array. Inside the code a C structre array is created sizeof the integer array. The code then calls a dll function called pAIConfigureList and passes the C structure as function paramter. Whatever the dll function returns gets displayed on the VI. The code is attached.
I compile the code and create the lsb file. I load this in the CIN. But labview stills gives me the error that "CIN: object code not loaded". I do not know why this is happening. Please help.
I am using Visual Studio 6.0 and have attached the entire workspace. I have also attached portlink (zip file).
In order to see the dll you will need to install this program. The library files are in the following directory:
cw32\lib
cw32\include
The CIN is also attached. If you can spare a few minutes, I'll really appreciate your help.
Regards,
Setu.
Attachments:
pAIConfigureList.zip ‏1138 KB
pAIConfigureList.vi ‏117 KB
portlink.zip ‏886 KB

Hi Setu,
I have managed to get the lsb file loaded.
I had to delete all the labview files from the project and re added them. ( My labview is in a folder called LabVIEW not LabVIEW 6). Doing this I managed to create the lsb file.
To get the lsb loaded into the CIN, I had to pop the PPCI_w32.dll into c:\winnt\system32\. Once I had done this the lsb loaded fine.
Hope this helps
Ray Farmer
Regards
Ray Farmer

Similar Messages

  • A CIN problem

    Hello everyone!I was bothered by a CIN problem today.
    The .c program is very simple,only to experience how to use CIN.
    The .lsp file was made successfully,however,it couldn't be loaded. After chosen the"Load Code Resouce" and confirmed the .lsp file,I ran and there was an error:
    "This Code Interface Node has no code to execute. Right-click the node, select Load Code Resource from the shortcut menu, and select the object code file (.lsb)."
    Why?please help me!!!
    (Labvew 2009  ,VC++ 6.0)
    Solved!
    Go to Solution.

    You keep talking about .lsp but it is in fact .lsb. Do you use a command line script (*.lvm) to do the compilation or a VC project? If the latter have you added a custom step to convert the DLL into an LSB by the lvsbutil tool?
    Last but not least: CINs are a legacy technology. They have been replaced by the Call Library Node calling DLL funcitons directly a long time ago and there is no good reason to develop CINs in the latest LabVIEW versions anymore. But there are several disadvantages to CINs in comparison to DLLs, so don't spend time to learn CINs but go with DLLs instead.
    Message Edited by rolfk on 05-16-2010 08:03 PM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Small SQL problem

    Hello,
    I have a small SQL problem...
    I am designing an online bank using servlets for a university project and it allows customers to view their statements. They select which of their account numbers they want to view the statement for and the start and end date of the statement.
    The problem lies with the dates. Here is the SQL:
    SELECT date, details, amount, balance
    FROM HISTORY
    WHERE bankaccnumber=13494925 And date>=1/1/01 And date<=31/1/01;
    All of the books I have looked at show dates in '1/1/01' format but whenever I try it this way I get a 'Data type mismatch in criteria expression' error (the 'date' field in the Database IS a Date type).
    Although, whenever I run the query in Access and prompt the user to enter the start and end date, it works fine.
    I have spoken to a few people and no-one seems to know why it is not working.
    Any ideas???
    Thanks

    If your database is MS Access and you don't expect to switch to something else, then write this:
    SELECT date, details, amount, balance
    FROM HISTORY
    WHERE bankaccnumber=13494925 And [date]>=#1/1/01# And [date]<=#1/31/01#
    Note that you MUST format your dates as MM/DD/YY and not as DD/MM/YY, that's an Access rule, and that you will probably have to "quote" your column name "date", which I think is a reserved word in SQL and hence a bad choice for column name.
    Personally I always use PreparedStatements. That way my SQL would look like this:
    SELECT date, details, amount, balance
    FROM HISTORY
    WHERE bankaccnumber=13494925 And date>=? And date<=?
    and I would use the setDate() method to fill in the parameters. Since this method uses a Date as a parameter, I don't need to fight with date formats, the JDBC driver handles that for me.

  • Can Lincat find big endian and small endian problem?

    Hi, I want to migrate a project from linux to solaris. And I read that lincat can save a lot of time in migration. But when I tried with lincat. I found that what is found is mainly the difference between linux API and solaris API. I use the following
    codes:
    #include <stdio.h>
    #include <stdlib.h>
    int main(int argc, char *argv[])
    int flagVal = 0x01020304;
    char cptr = (char )&flagVal;
    printf("Val is %d\n", *cptr);
    my lincat does not find the big endian and small endian problem. I also wonder whether lincat can find the misaligned problem and "32 bits and 64 bits" problem. Could you please tell me? I didn't find the answer from lincat manual.
    Edited by: baiwd on May 6, 2008 6:03 PM

    Hi Ankit,
    You may use "Cross Platform Transportable Tablespaces" method if the endian format is different between source and target platforms. Please have a look at Oracle's "Platform Migration Using Transportable Tablespaces" document for more information: http://www.oracle.com/au/products/database/maa-wp-11g-platformmigrationtts-129269.pdf
    Please note that "Transportable Database" is a different feature and can only be used to migrate a new database platform that has the same endian format.
    BR,
    Alper Somuncu

  • A small Java Problem for java Experts

    Hi Guys...
    I have a small problem with my program...
    Tha program I am using consist of several frames where one invokes the other in row.
    These are the classes I am using:
    the FIRST class://THIS CLASS IS NOT COMPLETE
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    * LabelDemo.java is a 1.4 application that needs one other file:
    * images/middle.gif
    public class CSVloader extends JPanel implements ActionListener {
         ImageIcon icon ;
         JLabel label;
    JButton theButton1;
    JButton saveButton;
    JButton displayButton;
    JButton displayStyleButton;
    JFileChooser fc;
    final boolean shouldFill = true;
    final boolean shouldWeightX = true;
    public CSVloader() {
    GridBagLayout gridbag = new GridBagLayout();
    GridBagConstraints c = new GridBagConstraints();
    setLayout(gridbag);
    if (shouldFill) {
    //natural height, maximum width
    c.fill = GridBagConstraints.HORIZONTAL;
    theButton1 = new JButton("Choose source File");
    theButton1.addActionListener(this);
    if (shouldWeightX) {
    c.weightx = 0.5;
    c.gridx = 0;
    c.gridy = 0;
    gridbag.setConstraints(theButton1, c);
    add(theButton1);
    displayStyleButton = new JButton("CSV Display style");
    displayStyleButton.addActionListener(this);
    c.gridx = 0;
    c.gridy = 2;
    gridbag.setConstraints(displayStyleButton, c);
    add(displayStyleButton);
    displayButton = new JButton("Display");
    displayButton.addActionListener(this);
    c.gridx = 1;
    c.gridy = 0;
    gridbag.setConstraints(displayButton, c);
    add(displayButton);
    saveButton = new JButton("Save");
    saveButton.addActionListener(this);
    c.gridx = 0;
    c.gridy = 1;
    gridbag.setConstraints(saveButton, c);
    add(saveButton);
    icon = new ImageIcon("c:/applets/CSVlogo.gif");
    //Create the first label.
    label = new JLabel(icon);
    c.ipady = 45; //make this component tall
    c.weightx = 0.0;
    c.gridwidth = 1;
    c.gridx = 1;
    c.gridy = 1;
    gridbag.setConstraints(label, c);
    add(label);
    fc = new JFileChooser();
    public Dimension getDimension(int hight, int width) {
    Dimension theDimension = new Dimension(hight,width);
    return theDimension;
    public void actionPerformed(ActionEvent e) {
    //Handle open button action.
    if (e.getSource() == theButton1) {
    int returnVal = fc.showOpenDialog(CSVloader.this);
    if (returnVal == JFileChooser.APPROVE_OPTION) {
    File file = fc.getSelectedFile();
    //This is where a real application would open the file.
    //Handle save button action.
    } else
    if (e.getSource() == displayButton) {
         try {
    Runtime.getRuntime().exec("cmd /c start " + "c:\\applets\\displayData.html");
    catch(IOException io)
    System.err.println("Caught IOException: " +
         io.getMessage());
    }else
    if (e.getSource() == displayStyleButton)
    JFrame.setDefaultLookAndFeelDecorated(true);
    //Create and set up the window.
    JFrame frame = new JFrame("Display Style");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    //Create and set up the content pane.
    DisplayStyle newContentPane = new DisplayStyle();
    newContentPane.setOpaque(true); //content panes must be opaque
    frame.setContentPane(newContentPane);
    //Display the window.
    frame.pack();
    frame.setVisible(true);
    else
    if (e.getSource() == saveButton) {
         int returnVal = fc.showOpenDialog(CSVloader.this);
    if (returnVal == JFileChooser.APPROVE_OPTION) {
    File saveFile = fc.getSelectedFile();
    //This is where a real application would open the file.
    public static void main(String[] args) {
    //Make sure we have nice window decorations.
    JFrame.setDefaultLookAndFeelDecorated(true);
    //Create and set up the window.
    JFrame frame = new JFrame("LabelDemo");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    //Create and set up the content pane.
    CSVloader newContentPane = new CSVloader();
    newContentPane.setBackground(Color.WHITE);
    newContentPane.setOpaque(true);
    frame.setContentPane(newContentPane);
    //Display the window.
    frame.pack();
    frame.setVisible(true);
    // Runtime.getRuntime().exec("cmd /c start " + "....\\docs\\index.html");
    this is the SECOND class:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class DisplayStyle extends JPanel implements ActionListener{
         public static final int FIRST_OPTION = 0;
         public static final int SECOND_OPTION = 1;
         public static final int THIRD_OPTION = 2;
         public static final int THE_BUTTON_OPTION =3;
    public static final int ERROR = -1;
         public int selectedOption = ERROR;
         static String table = "Table";
         static String tableNoBorders = "Table without Borders";
         static String highlightedTable = "Highlighted Table without Borders";
         public JRadioButton theTable;
         public JRadioButton theTable2;
         public JRadioButton theTable3;
         public JButton theButton;
         public String theName;
         public DisplayStyle ()
         theTable = new JRadioButton(table);
         theTable.setActionCommand(""+ FIRST_OPTION);
         theTable.addActionListener(this);
         theTable.setMnemonic(KeyEvent.VK_B);     
    theTable.setSelected(true);
    theTable2 = new JRadioButton(tableNoBorders);
    theTable2.setActionCommand(""+ SECOND_OPTION);
         theTable2.addActionListener(this);
         theTable2.setMnemonic(KeyEvent.VK_B);     
    theTable3 = new JRadioButton(highlightedTable);
    theTable3.setActionCommand(""+ THIRD_OPTION);
         theTable3.addActionListener(this);
         theTable3.setMnemonic(KeyEvent.VK_B);     
    theButton = new JButton("OK");
    theButton.setActionCommand(""+ THE_BUTTON_OPTION);
    theButton.addActionListener(this);
         ButtonGroup group = new ButtonGroup();
    group.add(theTable);
    group.add(theTable2);
    group.add(theTable3);
    JLabel theLabel = new JLabel("Choose the style of Display");
    JPanel radioPanel = new JPanel(new GridLayout(0, 1));
    radioPanel.add(theLabel);
    radioPanel.add(theTable);
    radioPanel.add(theTable2);
    radioPanel.add(theTable3);
    radioPanel.add(theButton);
    add(radioPanel, BorderLayout.LINE_START);
         public void actionPerformed (ActionEvent e) {
         if(e.getSource() == theButton)
         JFrame.setDefaultLookAndFeelDecorated(true);
    //Create and set up the window.
    JFrame frame1 = new JFrame("The Format");
    frame1.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    Formats newFormat = new Formats();
    newFormat.setOpaque(true); //content panes must be opaque
    frame1.setContentPane(newFormat);
    //Display the window.
    frame1.pack();
    frame1.setVisible(true);
         selectedOption = Integer.parseInt(e.getActionCommand().trim());
         public DisplayStyle getInstance(){
              return this;      
    this is the THIRD class:
    mport java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Formats extends JPanel implements ActionListener{
         public static final int FIRST_OPTION = 0;
         public static final int SECOND_OPTION = 1;
         public static final int THIRD_OPTION = 2;
         public static final int FOURTH_OPTION = 4;
         public static final int THE_BUTTON_OPTION =3;
    public static final int ERROR = -1;
         public int selectedOption = ERROR;
         static String standardFormat = "Date first";
         static String timeFirstFormat = "Time First";
         static String typeFirstFormat = "Type of call first";
         static String extFirstFormat = "Extension first";
         public JButton theButton;
         public JRadioButton theStandardButton1 ;
         public JRadioButton theTimeButton;
         public JRadioButton theTypeButton;
         public JRadioButton theExtButton ;
         public Formats()
    theStandardButton1 = new JRadioButton(standardFormat);
         theStandardButton1.setMnemonic(KeyEvent.VK_B);     
    theStandardButton1.setSelected(true);
         theTimeButton = new JRadioButton(timeFirstFormat);
         theTimeButton.setMnemonic(KeyEvent.VK_B);     
    theTypeButton = new JRadioButton(typeFirstFormat);
         theTypeButton .setMnemonic(KeyEvent.VK_B);     
    theExtButton = new JRadioButton(extFirstFormat);
         theExtButton.setMnemonic(KeyEvent.VK_B);     
         ButtonGroup group = new ButtonGroup();
    group.add(theStandardButton1);
    group.add(theTimeButton);
    group.add(theTypeButton);
    group.add(theExtButton);
    JLabel newLabel = new JLabel("Choose the Format type for the data to be displayed");
    theButton = new JButton("OK");
    theButton.addActionListener(this);
    theButton.setActionCommand("" + THE_BUTTON_OPTION);
    JPanel radioPanel = new JPanel(new GridLayout(0, 1));
    radioPanel.add(newLabel);
    radioPanel.add(theStandardButton1);
    radioPanel.add(theTimeButton);
    radioPanel.add(theTypeButton);
    radioPanel.add(theExtButton);
    radioPanel.add(theButton);
    add(radioPanel, BorderLayout.LINE_START);      
         public void actionPerformed (ActionEvent e) {
         if(e.getSource() == theButton)
         JFrame.setDefaultLookAndFeelDecorated(true);
    //Create and set up the window.
    JFrame frame = new JFrame("The Font");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    TableFonts newFont = new TableFonts();
    newFont.setOpaque(true); //content panes must be opaque
    frame.setContentPane(newFont);
    //Display the window.
    frame.pack();
    frame.setVisible(true);
         selectedOption = Integer.parseInt(e.getActionCommand().trim());
         public Formats getInstance(){
              return this;      
    and the last class:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class TableFonts extends JPanel implements ActionListener{
         static String standardFont = "Standard Font";
         static String boldFont = "Bold Font";
         static String italicFont = "Italic Font";
         static String monospaceFont = "Monospace Font";
         public      JRadioButton theStandardButton ;
         public JRadioButton theBoldButton;
         public JRadioButton theItalicButton;
         public JRadioButton theMonospaceButton ;
         public TableFonts()
    theStandardButton = new JRadioButton(standardFont);
         theStandardButton.setMnemonic(KeyEvent.VK_B);     
    theStandardButton.setSelected(true);
         theBoldButton = new JRadioButton(boldFont);
         theBoldButton.setMnemonic(KeyEvent.VK_B);     
    theItalicButton = new JRadioButton(italicFont);
         theItalicButton .setMnemonic(KeyEvent.VK_B);     
    theMonospaceButton = new JRadioButton(monospaceFont);
         theMonospaceButton.setMnemonic(KeyEvent.VK_B);     
         ButtonGroup group = new ButtonGroup();
    group.add(theStandardButton);
    group.add(theBoldButton);
    group.add(theItalicButton);
    group.add(theMonospaceButton);
    theStandardButton.addActionListener(this);
    theBoldButton.addActionListener(this);
    theItalicButton.addActionListener(this);
    theMonospaceButton.addActionListener(this);
    JLabel newLabel = new JLabel("Choose the correct font for the data to be displayed");
    JPanel radioPanel = new JPanel(new GridLayout(0, 1));
    radioPanel.add(newLabel);
    radioPanel.add(theStandardButton);
    radioPanel.add(theBoldButton);
    radioPanel.add(theItalicButton);
    radioPanel.add(theMonospaceButton);
    add(radioPanel, BorderLayout.LINE_START);
         public void actionPerformed(ActionEvent e) {
    The problem I am getting is the Number format exception when the OK button of the class Formats is clicked...
    here is the error I am getting:
    java.lang.NumberFormatException: For input string: "OK"
    at java.lang.NumberFormatException.forInputString(NumberFormatException.
    java:48)
    at java.lang.Integer.parseInt(Integer.java:426)
    at java.lang.Integer.parseInt(Integer.java:476)
    at Formats.actionPerformed(Formats.java:80)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:17
    64)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
    ctButton.java:1817)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
    .java:419)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
    istener.java:245)
    at java.awt.Component.processMouseEvent(Component.java:5134)
    at java.awt.Component.processEvent(Component.java:4931)
    at java.awt.Container.processEvent(Container.java:1566)
    at java.awt.Component.dispatchEventImpl(Component.java:3639)
    at java.awt.Container.dispatchEventImpl(Container.java:1623)
    at java.awt.Component.dispatchEvent(Component.java:3480)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
    at java.awt.Container.dispatchEventImpl(Container.java:1609)
    at java.awt.Window.dispatchEventImpl(Window.java:1590)
    at java.awt.Component.dispatchEvent(Component.java:3480)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
    read.java:197)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    COULD YOU GUYS PLEASE TELL ME HOW TO GET AROUND THIS PROBLEM:
    THANKS...

    It's in this line:
    selectedOption = Integer.parseInt(e.getActionCommand().trim());
    Kind regards,
      Levi
    PS. have you noticed the [code][code[i]] tags?

  • CS4 Small Video Problem with Card Update

    OS: Vista 64
    CPU: AMD x2 64 4800+
    MB: Asus A8N SLI Premium
    RAM: Corsair Extreme 4GB
    CS4 Photoshop
    First Video Card: BFG 7800 GTX 512MB
    New Video Card: AVG GTX 260 (210) Superclocked 896MB
    I had no problem with the Open GL acceleration with my old card.
    I just upgraded my video card to the above and now I'm getting a small problem. I have the newest drivers from the nVidia website for the GTX 260.
    When I move my mouse around the Photoshop work space flickers and flashes a little intermittently as I move the mouse around. I turned off GL Acc. and I still have the problem.
    Any ideas?

    Bob,
    You are correct. Once upon a time I had the Canopus DVStorm with Premiere 6.x and it worked great (and a DVRaptor before that). Then came Premiere Pro and the problems that the DVStorm had were insurmountable so I dumped it and got the RTX-100 which was reputed to be about as good as the DVStorm was in the past. Was I disappointed! It just did not work reliably, hangs, BSOD's, unresponsivess and then when PR CS2 came out you effectively had to get the RTX.2, which was paramount to throwing the RTX.100 down the drain. It seemed to me that with every new version of CSx you needed to get a new Matrox card at extravagant prices for what it offered and still had to wait very long for decent drivers to come out. It just wasn't worth the effort anymore. And when you look here at problems that people experience, the common denominator is usually the Matrox card. So, yes, I am glad I got rid of it and found a very useful purpose for the card: a doorstopper, which must have been the intention of the engineers to start out.
    About Win7: No, I did not have any doubts at all, but in my case I was lucky enough to have a high level network consultant with all kinds of certificates and an impressive experience to advise me and he juist plain told me: "You DON'T want Vista!!! GET WIN7!!! I have been using it for several RC's and it is a revelation." Now after installing and using it for some time, I can only agree.

  • CIN problems

    Hi All,
    I am using ECC 6.0 and i have a problem in CIN.
    Under Enterprise structure>> Localize sample organization units>> Country versions>> Country ti Install  ... i am not getting India in the list.
    Moreover under the FI menupath Tax on sales /purchases, i am not getting tax procedure TAXINN/TAXINJ.
    Can anyone tell me what needs to be done for this? Do i need to apply some patches or notes?
    How can i see the present patch level in CIN also?
    Satisfactory replies will be rewarded.
    Regards,

    Do not use nmake (as described by NI) to compile the CIN code. Instead follow these instructions courtesy of Callara:
    Create a makefile (using Notepad or something equivalent) with the following
    lines:
    name=name_of_c_file_without_the_extension
    type=CIN
    cinlibraries=Kernel32.lib
    CINTOOLSDIR=path_to_cintools_directory (in MS-DOS format)
    !include <$(CINTOOLSDIR)\ntlvsb.mak>
    Save this file with the filename "name_of_c_file.mak" and save it in the
    same directory as the C file.
    Now, launch VC++.
    Choose File -> Open (NOT Open Workspace)
    Open the makefile that you just created.
    You will get a dialog that says that the makefile was not created with VC++
    (choose to proceed)
    Now, another dialog that will ask you what kind of platform to use (choose
    Win32)
    Now, the makefile is lo
    aded and the CIN is ready to be built. Choose Build.

  • Small(hopefully) Problem with 5:1 headphones on audigy 2

    I recently purchased a Razer Barracuda headset and there seems to be a small problem. Ive got all of the plugs in their color-coded slot but the left and right channel seem to be backwards. Any help would be appreciated.

    Krypto,
    Center channel works fine for me in all modes.
    I turned on WMP 0 with a few mp3's. CMSS, CMSS + EAX Effect, CMSS2, CMSS2 + Effect. I went through several effects w/ CMSS & 2.
    I did notice a couple things that could be affecting you though. I have the CMSS "Fader" for lack of a better term.. it moves the stereo focus from front speakers to back speakers.. set to 0%, which is balanced between front and back. Also, in the EAX Effect pane there this the effect amount. When I played w/ these two sliders and different effects, I noticed the center speaker did get very faint at times. Sometimes all that could be heard was reverb or echo.
    Maybe it's the unique combination of CMSS setting and effect amount, plus the type of center speaker you have just not getting enough power?
    Hope this hel
    ps.

  • A small layout problem...

    Hi,
    I have a JPanel with a grid layout of 12 rows and 1 column. And it holds 12 buttons like so:
    button1
    button2
    button3
    button12
    The problem is I would like a small bit of space between the buttons. Not closely packed as shown. any ideas? all help appreciated

    try:
    JPanel myPanel=new JPanel()
    myPanel.setLayout(new GridLayout(12,1,5,10));where you'll a horizontal spacing of 5 pixels and a vertical spacing of 10 pixels.
    ;o)
    V.V.

  • Small podcast problem

    I'm new at this. Just downloaded iTunes yesterday.
    Everything seems to be working fine. I've subscribed to a few podcasts with no problems and everything is working fine, except for one small thing. It's really more of a puzzle than a problem. Anyway, here it is:
    When I click on "subscribe" to the CBC podcast "As it Happens" (a nightly program)I do get the last download, but the "subscribe" banner doesn't appear on the podcast line for the downloaded show. It does for the other things I've subscribed to.
    And yes, I've hit the subscribe button several times for the show. I've even deleted it and tried again, but no indicator appears on the line with the podcast. Should I worry?
    Cheers, Don.

    http://quartett.planeteternia.org/newsfeed.xml - there is no file at this address. You have a feed at
    http://quartett.planeteternia.org/rssfeed.xml
    but there are no diacriticals in it - presumably you've removed them.
    The other feed simply includes the diacriticals - it's not using html encoding to display them - so I don't know why you should be having trouble. You need to be writing the text in a plain text editor, not a word processor, and I don't know whether there is an issue with Windows here.
    You could try using the codes - they must be the numbered not the named codes:
    ü is &#252;
    ö is &#246;
    ä is &#228;

  • Small RegEx problem

    Hello fellow Programmers!
    I turn to you because this small regular expression is turning me NUTS! AHHH!
    My String:
    blalba[morebla]evenmorebla]blaMy RegEx:
    \[.*(\]){1}My Aim:
    To get the first Bracket and everything between and inculding the second bracket. So that would be:
    "[morebla]"
    The Problem is I get the first bracket and everything until the LAST bracket.
    "[morebla]evenmorebla]"
    I assume this is so because ".*" just runs over everything until a final bracket appears...
    Any thoughts?

    anox wrote:
    Smithberrys suggestion worked.
    The other one didn't work out with my regEx but I am currently looking into that question mark and its functions.
    Thanks guys!Didn't work? How did you use it? Where did you use it?
    public class RegexpSample {
        public static void main(String[] args) {
            String data = "blalba[morebla]evenmorebla]bla";
            Matcher matcher = Pattern.compile("\\[.*?\\]").matcher(data);
            matcher.find();
            System.out.println(matcher.group());
    }Prints:
    [morebla]
    * is normally greedy, and a question mark makes it reluctant.
    You can find more info in the javadoc for the Pattern class, and on www.regular-expressions.info
    Kaj

  • Small encoding problem

    Hi!
    I'm having a problem and I just can't seem to find where it
    is.
    Here's what is hapening: I have a small flash slideshow on
    the front page of a website. The flash works fine on my computer (I
    have checked it in Firefox, Opera and IE), it works on different
    friends computers (multiple browsers as well). However, it doesn't
    work on my client's computer (IE), a friend of hers is having
    trouble seeing it as well - but one of the ladies in her office can
    see it (Safari). The computers that don't see it can see flash on
    other sites. I've looked at the code so much that I am completly
    blanked.
    Thanks in advance for any help!
    ~~~~~
    Code - entire contents of <div>
    ~~~~~
    <div id="container">
    <div id="logo"><img src="images/logo.png" alt="bog
    1" width="774" height="169" border="0" /></a> </div>
    <div id="header">
    <object classid="flash" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
    width="774" height="300" hspace="2" vspace="5" title="flash">
    <param name="movie" value="cover.swf" />
    <param name="quality" value="high" />
    <embed src="cover.swf" width="774" height="300"
    hspace="2" vspace="5" quality="high" pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    type="application/x-shockwave-flash"></embed>
    </object>
    <ul>
    <li><a
    href="index.html">home</a></li>
    <li><a
    href="coupons.html">coupons</a></li>
    <li><a href="graphic.html">graphic
    design</a></li>
    <li><a href="printing.html">printing
    services</a></li>
    <li><a href="mission.html">about
    us</a></li>
    <li><a href="contact.html">contact
    us</a></li>
    <li><a
    href="links.html">links</a></li>
    </ul>
    </a></div>

    Yes, it looks for Flash 7 - but is suposed to post a "get the
    latest flash" message. Basically it is doing *nothing* on the ones
    that can't see it. Unfortunately when I tried to see if my client
    had the new flash, and had her settings turned on to be able to run
    scripts I confused her.

  • Small crash problem

    I have a small problem. I have a AMD athlon 2000+ , 256 MB DDRRAM and a msi geforce4 440mx. Everything works fine exept 1 thing: Baldurs gate 2. At random places it makes my computer crash. I have talk to several people and search a while on the net and I think there must be problem with the 440mx. I have downloaded the latest drivers (bios, Nvidia-driver) but everything stays the same!! Does ANYBODY have a cleu?? PS I'm no computerexpert. PLEASE if you reply, don't use to much difficult terms??
    THANKS!!!

    I don't know what you mean with psu details of label  (sorry)and where can I find the watts and amps??
    The motherboard is a a7v266-c
    It doesn't crash on other games i have tried. And yes I have cheked the lattest patches.
    BTW I'm pretty sure that is has nothing to do white overheating. The temperatures stay low (CPU and motherboard)

  • Small Application Problems

    Hi folks.
    I just recently started playing around with Java and there are two tiny non-serious problems I bumped into.
    I use Textpad to program my javas and it works fine. I had the all-so-common Classpath problem but fixed it by searching the forum for the information.
    Now my two small problems are these:
    (1) I live in another country which used characters like Alt+0225, Alt+0246, Alt+0254, Alt+0233 and such (I use Alt+ because it seems that even this input window here ain't understanding these characters as a possibility). I use these characters when making my programs, more specific in the System.out.print commands. Looks all nice in Textpad but when I go on and run these javas the characters get all messed up; that is to say, my contry specific characters. This only happens in applications, not applets. Normal Command Prompt in Windows XP displays these characters just fine. How can make it so that when running my javas my country specific characters are shown correctly?
    (2) This is more of a Textpad problem. By using Capture Output in Run Application option in Textpad the above characters are shown correctly. But doing so seems to mess up my use of the Keyboard class. Is there any way to use the Keyboard class along with the Capture Output settings?
    Thanks and I hope someone can help,
    Spekingur

    Spekingur please don't bump. All people here are answering voluntarily and without getting money. So please be polite.
    (1) I live in another country which used characters
    like Alt+0225, Alt+0246, Alt+0254, Alt+0233 and such
    (I use Alt+ because it seems that even this input
    window here ain't understanding these characters as a
    possibility). I use these characters when making my
    programs, more specific in the System.out.print
    commands. Looks all nice in Textpad but when I go on
    and run these javas the characters get all messed up;
    that is to say, my contry specific characters. This
    only happens in applications, not applets. Normal
    Command Prompt in Windows XP displays these characters
    just fine. How can make it so that when running my
    javas my country specific characters are shown
    correctly?It's a problem of your console window and its encoding. Look [url http://www.jorendorff.com/articles/unicode/java.html]here.
    (2) This is more of a Textpad problem. By using
    Capture Output in Run Application option in Textpad
    the above characters are shown correctly. But doing so
    seems to mess up my use of the Keyboard class. Is
    there any way to use the Keyboard class along with the
    Capture Output settings?Which Keyboard class? It's not part of the standard API.

  • A Small Little Problem

    OBJECTIVE:
    Write a program that will produce 15 random numbers. Print out, on one line, only the numbers who are divisible by 2, and multiples of 5 in between 10 and 40. Use any logic gates as necessary.
    Below is the source code of the program I have attempted to do, but I have one minor problem. In the If statement, It says the number has to be between 10 and 40 in order to print out, but sometimes when i run my program, i see 42, 44 or 45, which are even and divisible by 2 or 5, but not in between 10 and 40. Can anyone please help me? ThankS!
    // The "Chap3Program13" class.
    import java.awt.*;
    import hsa.Console;
    public class Chap3Program13
        static Console c;           // The output console
        public static void main (String [] args)
            c = new Console ();
            int num, count = 0;
            c.print ("The random numbers are: ");
            c.println ();
            while (count <= 15)
                num = (int) (Math.random () * 51) + 0;
                if (num % 2 == 0 || (num % 5 == 0 && num >= 10 && num <= 40)
                    c.println (num, 6);
                count++;
        } // main method
    } // Chap3Program13 class

    your code:
    if (num % 2 == 0 || (num % 5 == 0 && num >= 10 && num <= 40)says: if number is divisible by two OR all of the following: number is divisble by five and number is greater than 10 and number is less than 40
    I don't think this is what you want. I think you want your if condition for between 10 and 40 to be outside the rest of your clauses, as
    if ((num >= 10 && (num <=40)) {
      // I know for sure if I am in here that number is in the desired range
      if ((num % 2) == 0) || (num % 5 == 0)) {
        // And if I get to here I know num is both in my range and divisible
        // by 2 or 5 - print it
    }Lee

Maybe you are looking for

  • Problem with Connection Itunes writes "Ichat Icons"

    Why i connect my Iphone 5 to ITunes, and the ITunes can not connect the Phone and writes" Itunes cannot sync photos to the iPhone because you do not have write access to the folder" Ichat Icons"??

  • Freeze during file import

    Hi, Almost everytime I import a batch of movie files from a folder on my hard drive FCP X freezes about 3/4 of the way through the analysis and correction process. The files are all there when I force quit and restart but I wonder if all the import c

  • Wishlist for future versions

    As it stands now, I don't know how many other locations I'm signed into skype.  I don't know if someone has compromised my password, they are signed in at some other location and they are able to watch my chat.  I would like to be able to know how ma

  • Is it possible to customizer entity custom property input interface?

    Hi, I have made a customize validatioin rule and a swing which used to input validation rule parameter. When I costomize validation rule parameter,I only need to do supply three file : PLSQLRule.java,PLSQLRuleBeanInfo,PlsqlRuleCustomizer.java,and the

  • What is my secondary dns

    Last login: Thu Jun 30 17:08:31 on ttys000 184-228-234-70:~ Dylan10$ command:dig -bash: command:dig: command not found 184-228-234-70:~ Dylan10$ dig ; <<>> DiG 9.6.0-APPLE-P2 <<>> ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY,