Connecting directly to CompactRio from a Matlab program

Hello
I'm working at Control lab of the Aerospace Faculty in Technion - Israel Institute of Technology in Haifa
we are working on a new project that we require to establish Computerized control system for Vehicles and Quad-helicopters. we required to develop the control in Matlab.
the current situation is that the data is sent with help of LabView to CompactRio device that been use only as DAC (Digital-to-analog converter). Then the analog signal connected to the remotes of the vehicles .
The CompactRIO model name is NI cRio-9074
The device is connected by Lan directly to the computer operating the Labview and Matlab.
a module is installed on the CompactRio in order to supply analog outputs
the module model name is NI 9264
we wish to simplified the process and let Matlab comuincate dircetly with the CompactRio.
but we not sure how we should approach it and if it possible to communicate directly with CompcatRIo.
Thank you
Or Hirshfeld
http://il.linkedin.com/pub/or-hirshfeld/4b/79/577

Hello OrHirshfeld,
You may want to start by understanding how the cRIO functions.  It is a target for code developed in LabVIEW (and C, if you know how) to be deployed to.  Any functionality such as UDP, TCP/IP, etc should be implemented in the code so you can pass data to/from a Host PC.  It may be worth looking through our NI CompactRIO Developers Guide to gain some insight on the things you can and should not do with a CompactRIO device.  
Let us know if you have any specific questions.  Our Example Finder in LabVIEW should have a lot of things you can look at as well.  You can locate it by going to Help>>Find Examples in any window in LabVIEW.
| Zach J. | Applications Engineer | National Instruments |

Similar Messages

  • The passcode lock code at the iPhone 4 was broken into by a program from Internet. ( By connecting the phone to a PC that program tells the passcode) Does someone knows how to prevent unauthorized opening of iPhone? How to secure the passcode ?

    My daughter has an iPhone 4 secured with passcode lock. A visitor in their house took her unattended iPhone, connected to the PC, from a certain program got her pascode and did open her phone to go through her private messages. Does someone knows how to prevent this? How to secure the Phone from unauthorized opening?
    Thanks in advance for all suggestions!!!

    Hi igmusla,
    It seems someone has stolen your daughters phone there is an application called FindMyiPhone if she had location services on and the thief hasn't disabled it you can possibly track the phone down. Sadly you cannot stop the thief from gaining access to her phone and personal information. Please report your phone stolen to your local police station and call Apple aswell, they can possibly put a lock on your phone aswell as put it into a carrier block which prevents the thief from calling anyone or putting a new sim card in it.

  • I cannot get Mavericks to download, even when connected directly through ethernet.  Anybody know why? I am running OS Lion, the most recent version and my Mac ws from late 2011

    I asked this question before, and was told to connect directly to the internet via ethernet, rather than attempting to download wirelessly.  Three times I have attempted the download, and the most I get is a small blue dot on the launchpad icon. I click on the Mac store and while it says "Downloading" nothing seems to be happening.  All apps are updated and closed and yet...nothing. 
    I am really frustrated with this whole thing!  I am wondering, is Mavericks really worth all this hassle as an upgrade from Lion?  And of course, you cannot get help from Apple without paying $20 unless Mavericks downloaded successfully and you are just having trouble.
    If anyone out there can help me with potential problems I can remedy myself, I would greatly appreciate it.  Thank you in advance!

    The download speed all depends on the speed of your internet connection. Mavericks is a 5+ GB download and it will take a while even with a fairly fast internet connection.
    The progress bar will barely move in the first few minute and it may take several hours to complete. If the App store is saying it is downloading then I would think it is downloading. Just let it run and set you mac not to go to sleep.

  • I have CS 6 which requests I sign in to access my serial numbers, which I have already, and it fails to connect so that I cannot use the programs. How do I get past this, is there a direct line to customer support?

    I have CS 6 which requests I sign in to access my serial numbers, which I have already, and it fails to connect so that I cannot use the programs. How do I get past this, is there a direct line to customer support in the UK?
    Thanks

    Sign in, activation, or connection errors | CS5.5 and later
    Mylenium

  • How to connect iseries green screen from java program

    how to connect iseries green screen from java program to get the data in the DB files ,here the DB is DB2/400

    Just some Friday fun. Use the telnet program that comes with Windows and supports VT escape sequences.
    import java.io.*;
    import java.net.*;
    public class AutoTelnet {
         private static Socket s;
         public static void main(String[] args) throws Exception {
              Thread t = new Thread() {
                   @Override public void run() {
                        try {
                             s = new ServerSocket(5555).accept();
                        } catch (IOException ex) {
                             ex.printStackTrace();
              t.start();
              Process p = new ProcessBuilder("cmd", "/C", "start", "telnet", "127.0.0.1", "5555").redirectErrorStream(true).start();
              t.join();
              PrintStream ps = new PrintStream(s.getOutputStream());
              ps.println("Screen will be cleared in 5 seconds");
              ps.println("5");
              Thread.sleep(1000);
              ps.println("4");
              Thread.sleep(1000);
              ps.println("3");
              Thread.sleep(1000);
              ps.println("2");
              Thread.sleep(1000);
              ps.println("1");
              Thread.sleep(1000);
              ps.println("\u001b[2J");
              Thread.sleep(5000);
    }

  • Do thumbnails show in Bridge CS5 if connected directly from a DSLR (via USB cable)?

    I have a D90 and none of my thumbnails for my files show in Bridge CS5 when connected directly from the camera. This includes ALL types of files (JPEG, NEF, etc). It shows the thumbnails when I use a card reader though. Is this common with DSLRs?

    If you have—misguidedly and unfortunately—done that already, first back up the image files on your computer, then immediately format the card in the camera, which will erase everything in the card and format it to a fresh, pristine state.
    What ever possessed you to do a thing like that? 
    Had you done that to the card containing the raw files you can't open?
    Do not be fooled by what the camera shows you anyway. The preview you see in the back of the camera when chimping* is not a preview of your raw file at all, but of the embedded JPEG that the camera creates right after you shoot and records inside your raw file.  The histogram it shows you in the camera is not based on the raw data at all either, but on said embedded JPEG.
    The same is true when you review or playback the images later on the LCD display in the back of the camera.
    *Chimping is a colloquial term used in digital photography to describe the habit of checking every photo on the camera display (LCD) immediately after capture.
    The phrase is most likely derived from comparison between the sounds and actions some make while reviewing images and those of an excited primate (Oooh! Oooh! Aaah!), or when a photographer is completely absorbed in the act of analyzing, admiring or proudly displaying a shot to others.
    From: http://en.wikipedia.org/wiki/Chimping
    Oy! 

  • I have CS 6 installed on a Win 7 OS machine. I can not connect to the internet to get updates from within the program. How do I fix this?

    I have CS 6 installed on a Win 7 OS machine. I can not connect to the internet to get updates from within the program. How do I fix this?

    IP routing doesn't work the way many folks might initially think it does; functional IP routing requires manual configuration and the establishment of static routes and default routes specific to the local network configurations, and it's very easy to get it wrong, or to get the default route swapped. Multiple NIC boxes don't magically work, either. (Been there, done that, wondered what happened to my network when the paths got reordered or my route settings were messed up, etc.)
    Routing configuration errors can be quite subtle, too. (Again, voice of experience. Ever had a thousand-seat office LAN accidentally routing through your desktop? As the, um, unnamed guilty party discovered, getting into that configuration was subtle. Seeing the performance crater on the fellow's box and on the LAN was obvious.)
    Knowing how IP routing works is a prerequisite to getting this configuration to work; there's manual configuration required. Clearly something has gone weird here.
    What to do? Read up on IP routing. I'll again suggest the threads and the manual mentioned earlier.
    And in general, I prefer to avoid using my comparatively expensive Mac boxes as sub-optimal IP routers or as firewall boxes. General-purpose operating systems and generic x86 boxes are going to be inherently poor IP routers. Dedicated routers (or embedded or surplus x86 boxes with routing software loaded) offload the Mac boxes here, and are also typically easier to configure manage. And "real" IP routers can have hardware specific to efficiently routing packets. Use of an outboard firewall or firewall-router box also greatly simplifies gateway routing, too; it's a configuration that many folks and many businesses tend to use.

  • Any Program to connect JAVA for DB from SAP

    Any Program to connect JAVA for DB from SAP,
    Rather than JCO Is there any other option,
    Please tell that option ,
    and how to do that,
    thank you,
    Regards.
    Jagrut BharatKumar Shukla

    Hello Al Mamun,
    SM59 is for RFC (remote function call).
    If you are looking for ODBC-like connection, would you consider Tcode DBCO, then use native ABAP code to connect to the remote SQL server?
    Best regards,
    Victor

  • Connecting directly from my modem to XBOX 360 Live Please Help me.

    Please help me I keep getting the message on my Xbox live that I can connect but that I have moderate nat. You see I play Final Fantasy online using Xbox live and I keep getting disconnected in the game..every 10 minutes..exactly. It's really annoying. The problem has to be the NAT.
    I connect directly from my modem to the Xbox 360. I have no router. My modem is a Westell 6100G that's what it says on the front. On the bottom of the modem it says: Model: G90-610015-20. My connection speed is 1 MB.
    Please someone help me if I need to reconfigure the modem. I do know how to get into the modem reconfiguration web page but don't know what to do in there. Please help.
    Solved!
    Go to Solution.

    jdomi78 wrote:
    OMG thank you so much! that worked.
    What worked? I did not tell you to anything else, other than look at FAQ and answer my question. Huh?
    jdomi78 wrote:
    The first poster...and what happened to his post? was it deleted?
    Huh?
    When replying, use the View discussion in a popup feature.
    For example, as you can see in the screen shot my last post in this thread seems to disapper when replying.
    http://i34.tinypic.com/123vzno.jpg
    But it did not really disapper.
    If you are the original poster (OP) and your issue is solved, please remember to click the "Solution?" button so that others can more easily find it. If anyone has been helpful to you, please show your appreciation by clicking the "Kudos" button.

  • Can i connect directly from my cable internet connection, or do I require a cable modem?

    I would like to se up a home network using my cable internet without having to rent a cable modem from my service provider. Can I use a Time Capsule to connect directly to the cable internet, or do I need the modem to establish the connection before using the time capsule to create my network?

    The Time Capsule does not have a modem onboard. You will need a modem if you want to be able to connect to the Internet.

  • Help Me! How to send sms from a java program with a pda connected to system

    help me ,
    I am new in JavaME. I have to send sms from a java program, A PDA is connect to the system. Can some one help me to make that program which interact with PDA connected to system and send sms to any mobile or pda phones.

    user12873853 wrote:
    I believe JavaMail API will help in sending the mails and SMS through SMTP server. Sounds more like false hope than belief to me. The only way that would work is if you have an SMS gateway that allows communication through SMTP. Doubtlessly some exist (searching for 'JavaMail sms' through google certainly seems to indicate this), but if you have to ask you don't have one.
    And that exactly where you are stuck: to send SMS messages you need an SMS gateway. That will be the first thing you have to shop for, until then there is no reason to think about code, protocols or implementations. It can be as simple as hooking up a mobile phone, but then you cannot send bulk messages of course. Most likely you'll need to shop around for a partner that has an SMS blasting service you can use.

  • DB 12c Connection directly to a PDB from frameworks

    Hi,
    I already install 12c and I have configured my CDB and PDB correctly. I also created a local user in the PDB.
    I can connect  to the CDB but I need to connect directly to the PDB from php and adf using the local user.
    So, the question is:
    What is the procedure to config the listener to connect directly to the PDB as a non-CDB?
    I have several apps in different application  frameworks working with 11g and I need to use my PDB as 11g DB.
    thnaks,
    Jhon
    DB 12c

    Jhon,
    I commonly do it using the LOCAL_LISTENER parameter which points to the Oracle database listener. the database then autoregisters at the listener with its database name and you can connect to it.
    If you need more details, I would like to ask you to post your question in the generic database forum as we here commonly discuss issues how to connect from an Oracle database to a foreign database.
    - Klaus

  • How to connect to oracle ebs from an external software

    Hi!
    I want to develop an integration for oracle EBS. Therefor I'm looking for ways how to connect to the EBS and for a repository of functions which can be called from an external program. I'm not quite sure if this is the right place to ask but I could not find anything yet so I'm trying here.
    Are there any standard connectors for the EBS provided by Oracle?
    Thanks,
    Konrad

    Oracle Applications Architecture is a framework for multi-tiered, distributed computing that supports Oracle Applications products. In this model, various servers are distributed among multiple levels/tiers as follows:
    - The Desktop Tier --> Web browser with Jinitiator or Sun JRE
    - The Application Tier --> Web, Forms, Reports, Admin, and Concurrent servers
    - The Database Tier --> Oracle Enterprise Edition Database
    The Application tier is the layer which is responsible for:
    - Hosting the various servers that process the business logic
    - Managing communication between the desktop tier and the database tier
    So, in order to connect to the database, you can either access the application tier, or connect directly to the database. I do not think it is possible to communicate with the application services from some other application. Therefore, you would need to connect to the database directly which can be achieved as explained in my previous reply. There is no such API which can be used to open/close a database connection. Oracle E-Business Suite is just a database with number of schemas and objects which are tightly integrated.
    More details about Oracle E-Business Architecture can be found in:
    Oracle Applications Concepts
    http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/11iconcepts.pdf

  • Using Connect:Direct with SAP

    Folks,
    Client is using Connect:Direct to transfer the files from one location to another location.There are two table maintained namely T9AOA and T9AOB with Interface id and Unix scripting w.r.t Processing types respectively.
    1.I don't think these are SAP standard tables then why they are not named starting with Z or Y
    2.How to use Connect:Direct with SAP.
    Searched in SDN and google but didn't get any clear information on the above.From google I came to know this is a Product of Sterling Commerce(AT&T).
    Hope someone here who used Connect:Direct with SAP can share the info.
    Thanks,
    Kiran.

    Paky,
    The existing Design,had some tables which were maintained with required Unix Scripts.In the program we are just fetching that script from the table and building a Unix Command to move the files.There is also a URL using which we can check the status of the files.As I was just using the already existing design,don't have much info on how C:D connectivity can be designed from scratch.
    By Googling,I was able to get some info.May be it will give you some lead.
    https://www.google.co.in/?gws_rd=cr&ei=F5apUsrYCYWNrQf1y4GoDQ#q=connect+direct+in+unix
    K.Kiran.

  • How to extract the data from module pool program to Excel Sheet?

    Hi Guys
            I am having a requirement to transfer the data from Module pool screen to excel sheet directly.
            This is an urgent requirement.
            So plz reply me with some coding examples.
            I will give points for that.

    This report extract excel file. From that concept you can easily extract data from module pool program also by coding in PAI of the screen.
    REPORT ztest1 .
    * this report demonstrates how to send some ABAP data to an
    * EXCEL sheet using OLE automation.
    include ole2incl.
    * handles for OLE objects
    data: h_excel type ole2_object,        " Excel object
          h_mapl type ole2_object,         " list of workbooks
          h_map type ole2_object,          " workbook
          h_zl type ole2_object,           " cell
          h_f type ole2_object,            " font
          h_c type ole2_object.            " color
    DATA: FILENAME LIKE RLGRAP-FILENAME.
    tables: spfli.
    data  h type i.
    * table of flights
    data: it_spfli like spfli occurs 10 with header line.
    *&   Event START-OF-SELECTION
    start-of-selection.
    * read flights
      select * from spfli into table it_spfli.
    * display header
      uline (61).
      write: /     sy-vline no-gap,
              (3)  'Flg'(001) color col_heading no-gap, sy-vline no-gap,
              (4)  'Nr'(002) color col_heading no-gap, sy-vline no-gap,
              (20) 'Von'(003) color col_heading no-gap, sy-vline no-gap,
              (20) 'Nach'(004) color col_heading no-gap, sy-vline no-gap,
              (8)  'Zeit'(005) color col_heading no-gap, sy-vline no-gap.
      uline /(61).
    * display flights
      loop at it_spfli.
        write: / sy-vline no-gap,
                 it_spfli-carrid color col_key no-gap, sy-vline no-gap,
                 it_spfli-connid color col_normal no-gap, sy-vline no-gap,
                 it_spfli-cityfrom color col_normal no-gap, sy-vline no-gap,
                 it_spfli-cityto color col_normal no-gap, sy-vline no-gap,
                 it_spfli-deptime color col_normal no-gap, sy-vline no-gap.
      endloop.
      uline /(61).
    * tell user what is going on
      call function 'SAPGUI_PROGRESS_INDICATOR'
         exporting
    *           PERCENTAGE = 0
               text       = text-007
           exceptions
                others     = 1.
    * start Excel
      create object h_excel 'EXCEL.APPLICATION'.
    *  PERFORM ERR_HDL.
      set property of h_excel  'Visible' = 1.
    *  CALL METHOD OF H_EXCEL 'FILESAVEAS' EXPORTING #1 = 'c:kis_excel.xls'
    *  PERFORM ERR_HDL.
    * tell user what is going on
      call function 'SAPGUI_PROGRESS_INDICATOR'
         exporting
    *           PERCENTAGE = 0
               text       = text-008
           exceptions
                others     = 1.
    * get list of workbooks, initially empty
      call method of h_excel 'Workbooks' = h_mapl.
      perform err_hdl.
    * add a new workbook
      call method of h_mapl 'Add' = h_map.
      perform err_hdl.
    * tell user what is going on
      call function 'SAPGUI_PROGRESS_INDICATOR'
         exporting
    *           PERCENTAGE = 0
               text       = text-009
           exceptions
                others     = 1.
    * output column headings to active Excel sheet
      perform fill_cell using 1 1 1 200 'Carrier id'(001).
      perform fill_cell using 1 2 1 200 'Connection id'(002).
      perform fill_cell using 1 3 1 200 'City from'(003).
      perform fill_cell using 1 4 1 200 'City to'(004).
      perform fill_cell using 1 5 1 200 'Dep. Time'(005).
      loop at it_spfli.
    * copy flights to active EXCEL sheet
        h = sy-tabix + 1.
        if it_spfli-carrid cs 'AA'.
          perform fill_cell using h 1 0 000255000 it_spfli-carrid.
        elseif it_spfli-carrid cs 'AZ'.
          perform fill_cell using h 1 0 168000000 it_spfli-carrid.
        elseif it_spfli-carrid cs 'JL'.
          perform fill_cell using h 1 0 168168000 it_spfli-carrid.
        elseif it_spfli-carrid cs 'LH'.
          perform fill_cell using h 1 0 111111111 it_spfli-carrid.
        elseif it_spfli-carrid cs 'SQ'.
          perform fill_cell using h 1 0 100100100 it_spfli-carrid.
        else.
          perform fill_cell using h 1 0 000145000 it_spfli-carrid.
        endif.
        if it_spfli-connid lt 400.
          perform fill_cell using h 2 0 255000255 it_spfli-connid.
        elseif it_spfli-connid lt 800.
          perform fill_cell using h 2 0 077099088 it_spfli-connid.
        else.
          perform fill_cell using h 2 0 246156138 it_spfli-connid.
        endif.
        if it_spfli-cityfrom cp 'S*'.
          perform fill_cell using h 3 0 155155155 it_spfli-cityfrom.
        elseif it_spfli-cityfrom cp 'N*'.
          perform fill_cell using h 3 0 189111222 it_spfli-cityfrom.
        else.
          perform fill_cell using h 3 0 111230222 it_spfli-cityfrom.
        endif.
        if it_spfli-cityto cp 'S*'.
          perform fill_cell using h 4 0 200200200 it_spfli-cityto.
        elseif it_spfli-cityto cp 'N*'.
          perform fill_cell using h 4 0 000111222 it_spfli-cityto.
        else.
          perform fill_cell using h 4 0 130230230 it_spfli-cityto.
        endif.
        if it_spfli-deptime lt '020000'.
          perform fill_cell using h 5 0 145145145 it_spfli-deptime.
        elseif it_spfli-deptime lt '120000' .
          perform fill_cell using h 5 0 015215205 it_spfli-deptime.
        elseif it_spfli-deptime lt '180000' .
          perform fill_cell using h 5 0 000215205 it_spfli-deptime.
        else.
          perform fill_cell using h 5 0 115115105 it_spfli-deptime.
        endif.
      endloop.
    * EXCEL FILENAME
      CONCATENATE SY-REPID '_' SY-DATUM+6(2) '_' SY-DATUM+4(2) '_'
                  SY-DATUM(4) '_' SY-UZEIT '.XLS' INTO FILENAME.
      CALL METHOD OF H_MAP 'SAVEAS' EXPORTING #1 = FILENAME.
      free object h_excel.
      perform err_hdl.
    *       FORM FILL_CELL                                                *
    *       sets cell at coordinates i,j to value val boldtype bold       *
    form fill_cell using i j bold col val.
      call method of h_excel 'Cells' = h_zl
        exporting
          #1 = i
          #2 = j.
      perform err_hdl.
      set property of h_zl 'Value' = val .
      perform err_hdl.
      get property of h_zl 'Font' = h_f.
      perform err_hdl.
      set property of h_f 'Bold' = bold .
      perform err_hdl.
      set property of h_f 'Color' = col.
      perform err_hdl.
    endform.                    "FILL_CELL
    *&      Form  ERR_HDL
    *       outputs OLE error if any                                       *
    *  -->  p1        text
    *  <--  p2        text
    form err_hdl.
      if sy-subrc <> 0.
        write: / 'OLE-Automation Error:'(010), sy-subrc.
        stop.
      endif.
    endform.                    " ERR_HDL

Maybe you are looking for

  • Importing multiple .psd files

    I have nearly fifty Photoshop files (all 8x11) that I need to import into Pages. Is there some way I can import them by folder rather than dragging them one by one into separate document pages? Same goes for Keynote. Thanks in advance, Guys!

  • AS Java (Config Wizard Configuration to Solution Manager)

    Hello. While I try to configure "NW:Solution Manager-AS Java(Config Wizard configuration to Solution Manager)" in NWA I receive the following error: Error: Name or password is incorrect (repeat logon) Step: J2EE User: SOLMAN with SID and Client exten

  • When my MBP is hot, the trackpad opens a contextual menu when i click

    Hello all, I have been having an issue with my late 2008 MBP for some time now. When i have been using it for a few hours and it is a bit hot, the trackpad will suddenly interpret single clicks as right click. You probably think that i accidentaly pu

  • (animated) Loading message

    Hi, I am trying to display an animated "Loading" message with the execution of an iView. The iView points to a JSP that takes a fair amount of time to execute; before I try to create something of my own, could I reuse the portal mechanism to display

  • Oracle ADF - Check box auto refresh on first select.

    Hi, I am using ADF application for development. in my project. when select Check box for all record selection then all Check box auto refresh on first select. and also records get refreshed Pls suggest a solution for the same. Thanks Vinod