How to read analogue input signal in NI 9201 module using lab view

hi all
iam using Crio 9012 module for real time controller
nd iam using NI-9201 for input and NI9263 for output
i have configures cRIO 9012 on my Pc
but how i will take analog input using NI-9201 module
thanks
tc
Solved!
Go to Solution.

Hello,
I would recommend taking a look at the following examples in the LabVIEW Example Finder.  If you go to help-->Find Examples, you will see this window.  Just search for 9201 and you'll see these 2 examples:
Hope this helps!
Tejinder Gill
National Instruments
Applications Engineer
Visit ni.com/gettingstarted for step-by-step help in setting up your system.

Similar Messages

  • How to read the 'Input help with fixed values' of domain .

    How to read the 'Input help with fixed values' of domain .
    The domain has a Value range i want to read those values .
    Are these values stored in any table ?
    Plz help me i need it ver badly...
    Thanks in Advance...

    Hi Chandra Shekhar,
    To read the 'Input help with fixed values' of domain , you can use the function module : HR_P_GET_FIXED_VALUE_TEXT.
    iIf you enter the domain name, you will find the fixed values entered in the domain.
    These values are stored in a table DD07L(DD zero 7 L). Here the values are stored based on domain name.
    See if it works for you.
    Award points if its helpful.
    Regards,
    Bhanu

  • How do i activate a 3 way valve using lab-view ????

    I am trying to automate a miniature punch press by connecting it to a computer having labview. this is done thro a 3 way valve which is in turn connected to an air compressor.
    I would like to know how i wud be able to control the valve using lab view ?

    Your question reads like;
    "I would like to know how I can drive a car using my hands?"
    Please provide the details on the value (inputs/outputs) and the type of hardware you are using to act on the valve.
    Trying to help!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How to seperate two input signals

    Hi people, currently i have one input voltage signal, i would like to add another input signal which display the temp from my Arduino IDE wirelessly via serial visa configure. After doing that, i would like seperate these two signals by using data bits. Can anyone explain to me in a detailed procedures?
    i will upload up the file to show the current program that i am having now. One would be the main, the other would be the SubVI file.
    Attachments:
    Arduino Visa FG.vi ‏20 KB
    Arduino Visa FGV SubVI.vi ‏26 KB

    I can't tell you anything because you haven't shown me anything of what you are doing.
    Show the subVI you've created.  How are you merging them together?  What does the data stream from your Arduino look like?  Once we know that, then it will be easy to figure out how to split them apart.
    I wouldn't go so far to see you have a temp waveform and a voltage waveform.  It looks like you are just reading them a datapoint at a time.  You almost always need to have a Serial Configure when dealing with serial ports.  It doesn't matter whether you are reading both datapoints through the same serial port or just one datapoing through the serial port.

  • How to read the input FORMAT of a Checkbox in list.

    hi,
    suppose i have,
    WRITE CHK1 AS CHECKBOX INPUT OFF.
    Now i have, grayed check box,
    Problem. how to read from program, whether the checkbox is input off or on.
    pls reply

    Hi,
    Check this example of how to use the Checkbox in a list..
    REPORT ztest NO STANDARD PAGE HEADING.
    DATA: BEGIN OF itab OCCURS 0,
                check,
                value(20),
              END OF itab.
    SET PF-STATUS 'TEST1'.
    itab-value = 'ETSAT'.
    APPEND itab.
    itab-value = 'ETSATADSF'.
    APPEND itab.
    itab-value = 'ETSAT'.
    APPEND itab.
    LOOP AT itab.
      WRITE: / itab-check AS CHECKBOX,
                    itab-value.
    ENDLOOP.
    AT USER-COMMAND.
      DATA: wa LIKE itab.
      DATA: itab_download LIKE itab OCCURS 0 WITH HEADER LINE.
      IF sy-ucomm = 'DOWNLOAD'.
        DESCRIBE TABLE itab.
        DO sy-tfill TIMES.
          READ LINE sy-index FIELD VALUE itab-check.
          IF sy-subrc <> 0.
            EXIT.
          ENDIF.
          CHECK itab-check = 'X'.
          itab_download-value = itab-value.
          APPEND itab_download.
        ENDDO.
       download
        call function 'WS_DOWNLOAD'
             exporting
                  filename = 'C:\TEST.XLS '
             tables
                  data_tab = itab_download.
      ENDIF.
    Thanks,
    Naren

  • Sysgen : How to read the input port data type, width and rate dynamically in a masked subsystem ?

    Hello everybody,
         I am designing a general purpose block in system generator. I pass the user parameters to the block through masking it. Some user parameters can change the block configuration. The input port data type, width and rate can also affect the block configuration.
         The problem is that these values (input port data type, width and rate) are subject to change. So I should read them dynamically, then change the block configuration through programming the "Initialization Commands" field. But unfortunately there is no straight way to read the input port information.
         There are some methods in for example the "Black Box". these are:
    input_width = this_block.port('din').width;
    input_rate = this_block.port('din').rate;
    But these methods are not applicable to a masked subsystem.
    I have tried other ways also. You can find them below. None of them worked.
    Does anybody know how can I solve this problem?
    Other ways I tried:
    1)
    design_name([],[],[],'compile')                                       
    q=get_param(gcb,'PortHandles');
    get_param(q.Inport,'CompiledPortDataType')
    get_param(q.Inport,'CompiledPortWidth')
    get_param(q.Inport,'CompiledPortDimensions')
    design_name([],[],[],'term')
    2)
    ssGetInputPortDataType
    3)
    ts = Simulink.Block.getSampleTimes([gcb '/Input'])
     

    Today we rely on Simulink to perform parameterization of your designs in two ways:
    Parameterizable Subsystems and Blocks : Parameters themselves can be MATLAB expressions that need to be evaluated for which we need the MATLAB interpreter
    The very useful Rate and Type propagation or Simulink compilation that allows us to specify types & rates in one location that gets systematically propagated to all.
    To truly make the HDL Netlist that is generated from SysGen parameterizable, we would have to implement some of this capability in the HDL netlist itself by:
    Using Generics(VHDL) or Parameters(Verilog) - We would have to capture the bit width(type) propagation through levels of hierarchies and finally parameterize the IP itself based on this value
    Since IP itself does not have this capability through generics, we would have to package a separate tcl script that updates the IP parameterization appropriately in response to top level parameters(or GUI parameters)
    Interpreting MATLAB expressions and translating them into VHDL/Verilog expressions (alternatively tcl expressions of IP). In simulink, mask parameters can be passed from one level to the next. Also parameterization of a block can be composed of Matlab expressions using variables from ancestor masks & the MATLAB interpreter – so we will need to somehow capture that as well.
     

  • How to read and input Chinese through Blackberry wireless cell phone

    The way to read and input Chinese through Blackberry wireless cell phone
    My phone model  is Blackberry 8520.
    My Blackberry can read and input Chinese after these steps. 
    1. Go to the weblink http://na.blackberry.com/eng/support/downloads/download_sites.jsp
    2. Click "China Mobile Peoples Telephone" included in "Asia Pacific".
    3.Select a product from the drop down menu, for example, mine is BlackBerry 8520, and I select it.
    4.Click "next"
    5.Then select the "Download Software" on thebottom of the same webpage.
    6.Fill in all the information required on the following page, then "Next"
    7. Start download the software to you PC, computer or laptop.
    8.Install this downloaded software to your PC. The software is called "8520wifijEastAsia_PBr4.6.1_rel424_PL4.2.0.122_A4.6.1.286_China_Mobile_Hong_Kong_Co._Ltd"
    9.Link your wireless cell phone to your PC
    10.Then go to C:\Program Files\Common Files\Research In Motion\AppLoader
    11. Double click "Loader"
    12. Select all the languages you want to update to your cell, and then follow the information to the left steps.
    It will take about 20 minutes after Step 12 to finish the upload to the cell.
    Done.
    Now I am happy I can read and input both English and Chinese through my BlackBerry.
    If you have any questions, please leave message to me on this web.
    Good luck.
    Grace

    Hi Grace,
    I'd faced the same issue as KU.
    After all the installation.. it does not have any options for me to choose for the language.. can kindly assist me on this???
    it only showed those applications that i had in my mobile...
    Thanks
    -fei-

  • How to read data simultaneo​usly from different cdaq modules?

    Is there a way to synchronize input from separate cdaq modules?
    I need to read a voltage on an NI-9219 analog input channel and a
    frequency on an NI-9211 channel.  As far as I can tell a single "task" can
    only read input from channels on one module. Is there a way to build a task that reads data from multiple modules?
    Seems to me that buffered input is useless when multiple tasks are employed. With multiple tasks you get arrays of data that are sequential, not simultaneous. Is this correct? I'm thinking that the only way to
    get synchronized readings is to read each channel individually inside a
    loop. But this restricts the program to low speed data
    acquisition with  measurements that are spaced unevenly. Right?
    I want to create a data file with three columns: time, voltage,
    frequency. What's the best way to get these readings at the same
    instant?
    Referrence to a help document or tutorial would be great.
     thanks! 

    Synchronizing measurements of different types using separate cDAQ modules can be done by making sure that the physical channels for each module IO control are selected (and separated by commas). Please review the following Developer Zone article illustrating how this can be accomplished. Cheers
    1. NI-DAQmx: NI CompactDAQ Module Synchronization:  http://zone.ni.com/devzone/cda/epd/p/id/5259
    Regards,
    Ali M
    Applications Engineer
    National Instruments

  • Help me...How to read the content if "Transfer-Encoding:chunked" is used?

    I am doing a project for internet control using Java,PHP and MySql.All sites should go through the proxy server only.If the HTTP header contains Content-Length,am getting the content length as below:
    public class HTTPResponseReader extends HTTPMessageReader
        String statusCode;
        public HTTPResponseReader(InputStream istream) throws IOException,                     NoSuchElementException
      BufferedInputStream distream = new BufferedInputStream(istream);
      retrieveHeader(distream);
      StringTokenizer st =  new StringTokenizer(new String(HTTPMessageReader.toArray(header)));
      versionProtocol = st.nextToken();
      statusCode = st.nextToken();
      String s;
      while (st.hasMoreTokens())
            s = st.nextToken();
            if (s.equals("Transfer-Encoding:"))
           transferEncoding = new String(st.nextToken());
         if (s.equals("Content-Length:"))
           contentLength = Integer.parseInt(st.nextToken());
         if (s.equals("Connection:"))
          connection = new String(st.nextToken());
          if (connection.equals("keep-alive")) mustCloseConnection = false;
       retrieveBody(distream);     
    }After getting the Content-Length,i used read method to read the content upto that content length.Then i concatenated the HTTP header and body and the requested site was opened.But some sites dont have Content-Length.Instead of that,Transfer-Encoding is used.I got the HTTP Response header as "Transfer-Encoding:chunked" for some sites.If this encoding is used how to get the length of the message body and how to read the content.
    Can anybody help me.
    Thanks in advance...
    Message was edited by:
    VeeraLakshmi

    Why don't you use HttpUrlConnection class to retrieve data from HTTP server? This class already supports chunked encoding...
    If you want to do anything by yourself then you need to read HTTP RFC and find all required information. Well in two words you may reject advanced encoding by specifying HTTP 1.0 in your request or download chunked answer manually. Read RFC anyway :)

  • How to read from a xml file(in String format) using a java program

    hi friends
    i have a string , which is xml format. i want read the values and display it.can any one suggest how to read a xml file of string format using a javaprogram
    thanks

            final DocumentBuilder db =  DocumentBuilderFactory.newInstance().newDocumentBuilder();      
            final InputStream documentStream = new ByteArrayInputStream(documentXMLSourceString.getBytes("utf-8"));
            final Document document = db.parse(documentStream);

  • Using Lab view ver 6,How can I read a cell of excel file right after I write to it

    How can I read a specif cell of an Excel file using Labview VI.

    Hi,
    Attached is a LV6.1 VI which will read a cell.
    It will be looking for a sub VI found in the example C:\Program Files\National Instruments\LabVIEW\examples\comm\ExcelExamples.ll​b.
    The returned value is a string value but there is no reason why it couldn't be a number. Just connect a numeric to the type connector of the Variant to Data function.
    Hope this helps.
    Regards
    Ray Farmer
    Regards
    Ray Farmer
    Attachments:
    Get_Cell_Value.vi ‏41 KB
    Write_Table_To_XL.vi ‏101 KB

  • How to read XML file kept on NON-SAP server using the Http URL ?

    Dear Experts,
    I am working on CRM2007 web UI. I need to read a XML file placed on a shared server location by a third party program. Then process that XML file into CRM and create a quotation using the data extracted from the file.
    All i have with me is the http URL that points to the location of the file.
    I am supposed to read the file , create quotation and at later point of time i would be asked to update the quotation and then generated new XML representing updated quotation and replace the XML file on shared server location with this new updated XML file.
    I know how to extract data from XML file into ABAP but i have no clue as to how to access the file on some other server using the http url i have and how to read it ?
    I searched on the forum and i found the codes for reading XML file that is located either on client machine OR on the Application server wheareas my file is on some other than sap application server.
    Please help me as its an urgent issue .
    Points will be rewarded for sure.
    Please help.
    Thanks in advance,
    Suchita.
    p.s. : the http url to the file location is like -->
    http://SomeServerDomain/SomeDirectory/file.xml

    hi,
    interesting task.
    to request the file by a http call you need to create an if_http_client object.
    More info is [here|http://help.sap.com/saphelp_nwmobile71/helpdata/en/e5/4d350bc11411d4ad310000e83539c3/frameset.htm]
    to parse the file you either have to work with the ixml packages ([info|http://help.sap.com/saphelp_nwmobile71/helpdata/en/47/b5413acdb62f70e10000000a114084/content.htm]) or you use an XSLT transformation ([info|http://help.sap.com/saphelp_nwmobile71/helpdata/en/a8/824c3c66177414e10000000a114084/content.htm]).
    uploading the final file isn't so easy. if you only have http, you should write a server script to allow uploading of the new file and copying it into the place of the old file. but you definitely need the script.
    now it's your take. depending on how experienced you are in ABAP and networking this might turn out to be easy or pretty complicated.
    have fun,
    anton

  • How to read and upload microsoft word file into database using forms9i

    Hi,
    How to read and upload microsoft word file into oracle database using forms9i. I appretiate if anyone can send me example or atleast a sujjetion.
    Thanks in advance
    Mahesh Ragineni

    The webutil package includes the ability up upload from the client to the database. See otn.oracle.com/products/forms and click on webutil for more details.
    Regards
    Grant Ronald
    Forms Product Management

  • How to read iphone/ipad serial number from App application using Xcode?

    May I know how to read the serial number of Iphone/Ipad from my own App using xcode?
    I need it to check the security to download this application.
    Thanks in advance.

    The only information you can access is defined in UIDevice.
    https://developer.apple.com/library/ios/#documentation/uikit/reference/UIDevice_ Class/Reference/UIDevice.html

  • How to read data which is written in little endian using labview

    dear all
    My program in c++ creats a binary file with data as
    struct varaiable
    int a;
    double b;
    doublec;
    float d[30];
    floate[50];
    char time_date[30];
    30 such data type is stored in one .b file.
    when i am reading the file back using labview the data is not the same as stored.
    i think that my c++ program stores data in little endian format while labview is retrieving it in  big endian format.
    i Checked and found that when i am storing a=2 then while retrieving back in lab i displays it as HEX of 02 00 00 00.
    Same is the problem with double and float.so can somebody tell me how i can change labview to read in little endian format.
    I am using labview7.1 
    Abhimaniu

    Yes you are correct. Labview and C uses different endian format. Do not worry you have the toolbox in labview. The most important is the typecast function. With this you can convert anything into everything. And as long as you keep the number of bytes and the internal order intact you will always be able to convert things back. I have made an example for you regarding this topic. It is in LV7.1. I have kept this version since the new butt ugly graph cursor introduced in LV8 is a gigantic bug, and should never have seen the light of day.  Well enough of my frustration. In the data manipulation palette you will find the type cast and tools for byte/integer swapping and byte/integer splitting and merging.  If have done a similar thing before. But I do not remember exactly how to convert a C double into a labview DBL. But take a look at the number 123.123. In this number all the internal bytes are different so by comparing the C version and the labview version byte by byte you will be able to convert it correct. I your case the C struct is 4+8+8+(8X30)+(8x50)+30=690 bytes long. So this is the number of bytes you read each time. I your case I think it will be more convenient to read it as an array of 345 I16(words) but this is up to you.
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)
    Attachments:
    sample.vi ‏59 KB

Maybe you are looking for

  • How can I add an other pop up applet in a already running web-page?

    I have an applet embbed in html. I want to get another applet as a pop up (not embbed in html) when I press a button in the html. I have tried: if (e.getSource() == button { Applet2 applet2 = new Applet2(); applet2 .init(); but the applet haven't pop

  • Message split to 2 differenet IDOCs

    Hi, I'm configuring scenario where I split incoming XML message, each row(JDBC sender), to IDOCs. Depending on some tags, it can be IDOC1 or IDOC2. Occurencess are: In_Msg 1 IDOC1 0..unbounded IDOC2 0..unbounded I have done all mappings and configura

  • IR8A-Assignment to valuation model is missing

    Hi Friends, when i run IR8A program i am getting below error .how to solve this issue , is there any note or anything avilabale to solve this issue ?.we have upgraded our HR sytem to 70 level recently There is the error message when we run IR8A repor

  • How to access Workflow variables in Form Designer?

    Hello, I am wanting to set certain subforms to readonly depending on which part of the workflow the form is currently on. I already have the JavaScript code working to set the subform fields to readonly, but now I cannot figure out how to trigger thi

  • 1.1 Update missing Adobe_Lightroom.msi

    The Update from 1.0 to 1.1 fails with the message: The feature you are trying to use is on a network resourse that is unavailable. This occurs whilst the install package is looking for Adobe_Lightroom.msi I've searched my machine and there is no Adob