Pir sensor with encoders and decoders using rf to 8051 and display on lcd

 looking to do a project with the follwing heading is there anyonw with ideas 

Hi @Satorijolene ,
Welcome to the HP Forums!
It is a terrific place to find answers.
For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide Learn How to Post and More
I understand that when you connect an external monitor via HDMI the screen blinks rapidly.  Here is a link to Display Quality Issues to assist you in overcoming this difficulty.
This may also help Connecting a Monitor, Projector or TV (Windows 7)
I hope this helps.
Sparkles1
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

Similar Messages

  • Problems with parsing and display a XML-File

    Hi,
    I'm working on an applet to read a XML-file, display the content in a JTree, in order to modify and save it again. I found this tutorial: http://java.sun.com/webservices/jaxp/dist/1.1/docs/tutorial/dom/index.html
    I took this example http://java.sun.com/webservices/jaxp/dist/1.1/docs/tutorial/dom/work/DomEcho02.java and modified it, to run it as an applet.
    I changed the method main into:
    public class EditorTest extends JApplet {
    public void init(){
         DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
         try {
              DocumentBuilder builder = factory.newDocumentBuilder();
              File file = new File("/path/inhalt.xml");
              document = builder.parse(file);
         } catch (SAXException sxe) {
              // Error generated during parsing)
              Exception     x = sxe;
              if (sxe.getException() != null)
                   x = sxe.getException();
              x.printStackTrace();
         catch (ParserConfigurationException pce) {
              // Parser with specified options can't be built
              pce.printStackTrace();
         } catch (IOException ioe) {
              // I/O error
              ioe.printStackTrace();
         makeWindow(); //equals makeFrame(); in the tutorial
    } //initThe method makeWindow() looks like this:
    private Container container;
    private void makeWindow(){
         container = getContentPane();
         JDesktopPane desktop = new JDesktopPane();
         final EditorTest echoPanel = new EditorTest();
         JMenuBar menuBar = MakeMenuBar();  //returns a JMenuBar with a few items in it
         container.add(menuBar, BorderLayout.NORTH);
    }The constructor:
    public DomEcho02() {
         // Set up the tree
         JTree tree = new JTree(new DomToTreeModelAdapter());
         // Build left-side view
         JScrollPane treeView = new JScrollPane(tree);
         treeView.setPreferredSize( new Dimension( leftWidth, windowHeight ));
         // Build right-side view
         final JEditorPane htmlPane = new JEditorPane("text/html","");
         htmlPane.setEditable(true);
         JScrollPane htmlView = new JScrollPane(htmlPane);
         htmlView.setPreferredSize(new Dimension( rightWidth, windowHeight ));
         // Build split-pane view
         JSplitPane splitPane = new JSplitPane( JSplitPane.HORIZONTAL_SPLIT, treeView, htmlView );
         splitPane.setContinuousLayout( true );
         splitPane.setDividerLocation( leftWidth );
         splitPane.setPreferredSize( new Dimension( windowWidth + 10, windowHeight+10 ));
         // Add GUI components
         this.setLayout(new BorderLayout());
         this.add("Center", splitPane );
    } // ConstructorI didn't change the class AdapterNode and DomToTreeModelAdapter. When I change the line "JTree tree = new JTree(new DomToTreeModelAdapter());" into "JTree tree = new JTree();", the applet starts and display a standard-JTree, as it ist generated by the constructor. If I want to display my own Tree the applet fails. When I start it with the appletviewer I get this message:
    java.lang.NullPointerException
    at DomEcho02$AdapterNode.childCount(DomEcho02.java:151)
    at DomEcho02$DomToTreeModelAdapter.isLeaf(DomEcho02.java:167)
    at javax.swing.JTree.setModel(JTree.java:704)
    at javax.swing.JTree.<init>(JTree.java:511)
    at DomEcho02.<init>(DomEcho02.java:51)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at sun.applet.AppletPanel.createApplet(AppletPanel.java:721)
    at sun.applet.AppletPanel.runLoader(AppletPanel.java:650)
    at sun.applet.AppletPanel.run(AppletPanel.java:324)
    at java.lang.Thread.run(Thread.java:595)
    Is there anyone out there, who knows how to fix it?
    Thanks in advance.

    I found out, how it was going wrong.
    When the applet started, it didn't start with the method init(), as it should do, it started with the constructor. Because there was no document the method childCount() throws a exception. After this, the method init() startet reading the file and started the constructor again, but the results were not shown.
    After knowing this I decided to write the Applet again and now it's working fine.

  • Is there a way to connect my MacPro (with DVI and Display ports) to the new Thunderbolt display?

    I'd like to connect these devices together.

    As Kevin J. Doyle points out, the displays from NEC are better than what Apple has to offer for graphics. For video, you'll need a broadcast capable monitor for accurate color correction. Not a computer monitor.
    The 24" model is under $1,000 and it include color calibration items. It has both DVI and Display Port connections. The base can be raised/lowered as well as tilted. (the Apple display does not)
    http://www.bhphotovideo.com/c/product/822739-REG/NEC_P241W_BK_SV_24_Widescreen_P rofessional_Graphics.html
    They have other sizes and resoltuions as well.
    Here's a review on the NEC displays.
    http://macperformanceguide.com/RecommendedDisplays.html

  • Select distinct using LINQ and bound to a dropdown list with id and display name

    Hi,
    On one of my sharepoint page, I want to populate dropdown list with countries, namely
    <asp:DropDownList ID="ddlCountry" runat ="server"></asp:DropDownList>
    In the code, I use LINQ:
     var country = (from p in dc.ProvCountries
                                   select p.country_code ).Distinct();
                ddlCountry.DataSource = country;
                    ddlCountry.DataBind();
    I want the country_code to be  the ID, while the country_name will be the display name in the dropdown, how can that be done?
    Thanks in advance.

    Hi,
    The following code for your check.
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    namespace WebApplicationLib
    public partial class _Default : Page
    protected void Page_Load(object sender, EventArgs e)
    List<ProvCountries> list = new List<ProvCountries>();
    list.Add(new ProvCountries { country_code = "201", country_name = "A"});
    list.Add(new ProvCountries { country_code = "201", country_name = "B" });
    list.Add(new ProvCountries { country_code = "202", country_name = "C" });
    list.Add(new ProvCountries { country_code = "202", country_name = "D" });
    var country = (from p in list select new { p.country_code, p.country_name }).DistinctBy(p => p.country_code).ToList();
    ddlCountry.DataSource = country;
    ddlCountry.DataValueField = "country_code";
    ddlCountry.DataTextField = "country_name";
    ddlCountry.DataBind();
    ddlCountry.Items.Insert(0, new ListItem("Please select", ""));
    class ProvCountries
    public string country_code { get; set; }
    public string country_name { get; set; }
    static class DataDistinct
    public static IEnumerable<TSource> DistinctBy<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector)
    HashSet<TKey> seenKeys = new HashSet<TKey>();
    foreach (TSource element in source)
    if (seenKeys.Add(keySelector(element)))
    yield return element;
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Doubt with encoders and UMI7774

    Hi all,
    I have NI, PCI7344 motion controller with UMI 7774. I am trying to read the counts of an encoder. The encoder gives 3 signals, i.e. A,B and Index. The encoder does'nt give A bar , B bar and Index bar signal. Can I still read the encoder pulses in labview with the above hardware? Is there a work around?  Earlier I had UMI 7764 with PCI-7344 in my previous project. I had used this kind of encoder successfully with UMI7764. Do I need to change my encoder and get the one which gives the inverted pulses too, to use it with UMI7774.
    Regards,
    Giridhar Rajan
    Automation Engineer, Design
    Cruiser Controls
    Mumbai, India

    Hi,
    Hey that OK you have used 7404.But I would suggest using AM26C31 which is quadrature differential line driver.
    In this particular you will give the Input and in Output you will be getting Input as well as the inverted input.i.e
    If you give A as an Input , In Output you will be getting A as well as A bar.
    Regards
    Manish karnik
    Application Engineer
    Mumbai, India

  • Problem with creating and displaying images in a thread

    Hi everyone,
    i need some bit of advice (of course otherwise i wouldn't write anything here). My situation is like this:
    I have a JFrame where the user can enter a string. Then a file that corresponds to this string is read and the information is stored in objects, then these two objects (there are always 2 objects per file) are passed to an ImageCreator class that creates one image with the information found in each object. So per file there are always two images created. Now the thing is that after creating the images i need to display them for 10 seconds each, but as it takes about 2 seconds to create each image i would like to start showing the first one already while the second one is still being created. As i am not really experienced with threads i wonder what would be the best way to manage something like this. Here is a little bit of code, which is still in a rather pseudo code state...if(checkPattern(scanField.getText()) &&
          fc.getFile(createFilename(scanField.getText())) != null)
          BufferedImage img = null;
          ImageDisplay display = new ImageDisplay(scanField.getText(), this);
          for (int i=1; i<3; i++) {
          Info info = tReader.readTelegramForOneInfo(createFilename(scanField.getText()));
          if(i==1) 
            info.setError(ew.getProperty(info.getMTNr1(), info.getLack()));
          if(i==2)
            info.setError(ew.getProperty(info.getMTNr2(), info.getLack()));
            iCreator.setHashtable(info);
            iCreator.setWhichMatNr(i);
            img = iCreator.createImage(false);
            if(i == 1)
                //here i would like to start showing the first image
                display.showImage(img);
          //thats an older version where i displayed both images after they had been
          //created.
          //Thread t = new Thread(new ImageDisplay(scanField.getText(), this));
          //t.start();
          //here i would like to show the second image.
          display.showImage(img);
          scanField.setText("");
        else
           doSomethingElse();
        }I hope you can help me.
    Thanks!

    All actual drawing opertations should occur on the dispatcher thread. When the first image is ready you could use SwingUtiltiies.invokeLater() to place a task on the dispatcher thread to draw the image e.g.
    final BufferedImage img = iCreator.createImage(false);
    if(i == 1)
      SwingUtilities.invokeLater(new Runnable() {
         public void run() {
           display.showImage(img);
       });(Both the variables uses in run() must be final.
    But it's probably better to have a java.awt.Component of some kind for each image to be displayed, and whose paint method does the actual rendering, if the image is ready (is blank otherwise). Then, when the image is ready you need only call repaint on the components.

  • Help with printer and displays c?alibration

    Good afternoon
    I need help processing and printing photos.
    My hardware is:
    • Macbook Pro 13 "Intel Core 2 Duo with 4GB Ram 2:53 and running MacOSX 10.6.6
    • Wacom Cintiq 21UX
    • Canon Pixma iP4850.
    I treatment of images in Adobe Lightroom 3; CINTIQ my main monitor, when I compare with the MACBOOK, the images are clearer in this and the printing is always similar to that presented by the MACBOOK. The most obvious option would be using it as primary monitor and guide me through it. But as I have the CINTIQ want to take advantage of it.
    So, I ask:
    • If someone uses the same hardware, what is the best configuration in terms of monitor calibration?
    • What is the best choice of monitor and printer calibrator?
    Thanks

    Your startTimer() method blocks waiting for the thread you started to finish:
    public static void startTimer(String sType, boolean isEnemy) {
            TimerType type = getType(sType);
            TimerThread tt = new TimerThread(type, isEnemy);
            //tt.isPlayable checks that the .wav file was found
            if(tt.isPlayable()) {
                Thread t = new Thread(tt);
                t.start();
                try {
                    t.join();   <------------------  Waits here for thread to finish
                } catch(InterruptedException ie) {
                    ie.printStackTrace();
        }

  • Several problems with histograms and display

    Hi,
    I'm in the process of moving from Lightroom to Aperture 2.1, and I'm far enough up the learning curve to start working on images. I'm noticing several things:
    - sometimes, changing an adjustment setting can make all or part of the image blank out (to black). Usually this does not carry over to fullscreen mode, but it is very difficult to "flush" in normal mode
    - I've lost the histogram in the levels brick. Whatever I try it won't come back
    - the main histogram frequently disappears for up to 10 secs
    - the histogram reacts very slowly to changes in adjustments, unlike in Lightroom where it gives instant feedback
    - the loupe starts reacting slowly after I apply a few adjustments to an image
    Is this normal ? I'm using Aperture 2.1, on a new MacBook Pro 2.5Ghz with GeForce8600M GT graphics card and 4Gb RAM. All images so far are Olympus ORF, either E-400 or E-3.

    I found out, how it was going wrong.
    When the applet started, it didn't start with the method init(), as it should do, it started with the constructor. Because there was no document the method childCount() throws a exception. After this, the method init() startet reading the file and started the constructor again, but the results were not shown.
    After knowing this I decided to write the Applet again and now it's working fine.

  • JFormattedTextField with edit and display formatter for date

    How can I have a date display formatter and a edit mask date formatter for JFormattedTextField instance.
    When I do
                   DateFormatter dateFormatter = new DateFormatter(new SimpleDateFormat("dd/MM/yyyy"));
                   JFormattedTextField.AbstractFormatterFactory factory = new DefaultFormatterFactory(dateFormatter, dateFormatter, dateFormatter);
                   jFormattedTextField_2.setFormatterFactory(factory);
    all is okie but I wanna a mask formatter and if I do
                   DateFormatter dateFormatter = new DateFormatter(new SimpleDateFormat("dd/MM/yyyy"));
                   MaskFormatter editFormater = new MaskFormatter();
                   try {
                        editFormater.setMask("##/##/####");
                   } catch (ParseException e) {
                        e.printStackTrace();
                   editFormater.setPlaceholderCharacter('_');               
                   JFormattedTextField.AbstractFormatterFactory factory = new DefaultFormatterFactory(dateFormatter, dateFormatter, editFormater);
                   jFormattedTextField_2.setFormatterFactory(factory);
    jFormattedTextField_2 accepts invalid date.
    What can I do to have a date edit mask and a date display mask for a
    JFormattedTextField instance.
    Thx a lot, Tony.

    txtdatnalzaproizvoid = new JFormattedTextField(datformater("##/##/##"));
    txtdatnalzaproizvoid.setValue(datumformat());
    public static MaskFormatter datformater(String formatnavnes){
    MaskFormatter formatter = null;
    try {
    formatter = new MaskFormatter(formatnavnes);
    formatter.setValidCharacters("0123456789");
    } catch (java.text.ParseException exc) {
    System.err.println("formatter is bad: " + exc.getMessage());
    System.exit(-1);
    return formatter;
    public static String datumformat(){
    Date dddd = new Date();
    SimpleDateFormat formatter = new SimpleDateFormat("dd/MM/yy");
    datumformat = formatter.format(dddd);
    return datumformat;
    }

  • I need a Vietnamese keyboard. Recommendations? A keyboard that officially works with iPad and displays all the characters and their accent marks for typing.

    Where do I find an excellent and reliable Vietnamese keyboard for new iPad? A keyboard that displays all the characters and the accent marks so typing can be easily accomplished. The iPad keyboard selection for Vietnamese really only seems to change the Return key to the Vietnamese language. iPad is sold all over the world....my interest is Viet Nam.....the full keyboard.

    Thanks.....my Vietnamese expert spouse says this tip will work just fine.  I was not aware of the hold down function. Slow typing but accomplishes the objective native on the iPad.
    You are correct.....most Apps that I find seem to be based only on a copy/paste method of input.
    You solved the problem.

  • Can I use the same nike+ sensor with two differet Ipods and register the trainings in onmly one account?

    Hello, I would like to know if I can use the same nike  Ipod sensor with two different ipods. I want to use the same sensor sometims with an Ipod touch and sometimes with an Ipod Nano, I want my trainings with both Ipods to be registered to the same account. I want them to be registered to only one account, not as it had been used by two different people.

    Of course. You should use the same AppleID on all your devices. Why would you create a new one?
    Matt

  • Need example of the use of AQ Streams with JMS and no JNDI

    This question may be a stretch, but help me if you can.
    I do not have Oracle Internet Directory, but I do have 10g database and queues created.
    I would like to use plain JMS 1.1 wherever is that possible, but I understand that I will need to use Oracle AQjmsFactory to get to the connection and queue objects.
    Does anyone has any examples on how to do this. When I use patches of examples that oracle provides I get NullPointerException.
    Thank you,
    Edmon

    We started with the sample encoder and receiver available
    here:
    http://www.adobe.com/devnet/flashcom/articles/broadcast_receiver.html
    Great article and sample apps!
    We were broadcasting and receiving within an hour.
    Then we integrated the necessary AS into our own custom
    encoders and players.
    Good luck!

  • Use of different sensors with scc-sg24

    Hi,
    in my application I've to use two type of sensors with following characteristics:
    -a pressure sensor : 10V Ex V , input nominal 950 Ohm output nominal 300 Ohm
    (what does it mean? I know that should be a 350ohm full bridge...)
    -a load cel: 10V Ex V, 700Ohm full bridge
    It is the SG24 able to read this kind of sensors?
    Can I use a single SG24 module to read the two sensor using the two
    channels at same time?
    Thank you,
    Pets
    Solved!
    Go to Solution.

    Hi Pets,
    by looking at the scc-sg 24 specifications at this link http://www.ni.com/pdf/manuals/371073b.pdf you
    you can see that your module has a 10 V excitation which is the same amount required by your sensor.
    The module will work with either the 350 Ohm resistance and 700 Ohm, but since it's been designed for a 350 Ohm bridge, this will be more sensitive.
    I hope this informations will help you.
    Regards 
    Andrea N.
    Systems Engineer ATE & RF - Mediterranean Region
    National Instruments Italy

  • What Kind of microcontr​oller is needed for alarm system with PIR sensors

    Hi ! I'm student at Technical University Varna , 
    Bulgaria . I'm interessted to create my own alarm system with Labview,
    but I'm not sure what kind of controller i need and what kind of PIR
    sensors.                  Thank You

    This is duplicate post:
    What Kind of microcontroller is needed for alarm system with PIR sensors

  • What Kind of microcontroller is needed for alarm system with PIR sensors

    Hi ! I'm student at Technical University Varna , 
    Bulgaria . I'm interessted to create my own alarm system with Labview,
    but I'm not sure what kind of controller i need and what kind of PIR
    sensors.                  Thank You

    Hi xellos,
    I'm not sure what you need, but if my feelings is right, than what you  want to do is sort of motion detector based on PIR sensor and some ucontroller. It this is what you need, than once again, such a question is rather suitable for other discussion forums, like LabVIEW Embedded.
    However, in general you can go for ARM or Blackfin when thinking about embedded platform. See following links to get more ingormation on ARM and Blackfin with LabVIEW:
    NI LabVIEW Embedded Module for ARM Microcontrollers
    NI LabVIEW Embedded Module for ADI Blackfin Processors Development Kit
    With choosing sensor, I suggest simple googling - with relativly little effort you can find many sensors. And you can pick on specification and requirements you have (just to note, National Instruments is not producing and usualy not selling sensors).
    Regards,
    Stefo

Maybe you are looking for

  • Technical problem

    Hello looking for some help with my q10 when I insert the SIM card all if fine and after a few mins it's saying searching for network and then bam technical problem. I have try by fixing the slot for the SIM card and it the same problem running out o

  • How do I get Office for Macs to open

    I really don't know how this works and I don't have the energy.

  • Problem in selecting the different fields from different text fields

    hi, Can anyone help me regarding my query. i have 3 select list columns separately and what i m trying is that when i select one field from first select list the related fields must only be available for me in the second select list and so on. Suppos

  • What file(s) keep Bridge labels and ratings

    Using Bridge CS4  3.0.0.464, and have lost some of the labls and ratings I had given images. I was unable to regain them from .xmp files, or cache files, so had to get them from backed up folders of those images, though all the image files themselves

  • Trackpad unable to select/click

    I am not able to click or select with my trackpad. I am able to move the cursor and it is able to make the clicking sound and physically move up and down as a click. I am just unable to click or select. I am able to use my usb mouse and it's function