How to view mdsplus data using labview

 I posted this question in the Labview board, but seems nobody replies it so far. I am not sure which board is the best place to post this question. So I just reposted here.  Thanks a lot.
I am a newbie to Labview. I am trying to write some vi to view and write data to Mdsplus.  I have downloaded Mdsplus(labview), and can find the Mdsplus functions, like mdsconnect, mdsput, ect, in the Call Library Function vi. But I have no ideal of how to use it. I tried to use Mdsconnect function to connect to some machine, but it always gives me an error message like, Labview: An exception occurred within the external code called by a call library function node.......  I was searching for help documents on the internet, but couldn't find anything useful. Could you please help me for this problem?  If you have any example of such vi, or teach me how to do it, that would be very helpful. I am using Labview 8 (windows). I would greatly appreciate your help!  Looking forward for your reply.
Solved!
Go to Solution.

oops,
I didn't attach these correctly in the previous post.
Greg
Attachments:
Example_Read_Write_MDS_Array.vi ‏25 KB
Open_MDS_Shot2.vi ‏45 KB

Similar Messages

  • How to view clob data using sql

    Hi,
    In our database, we have one table that is having one column of CLOB datatype but now i want to view the data using sql select query but it throws error: "Datatype not supported".
    Could any one please let me know how to view the clob data using select query.
    Oracle DB version : 10.2.0.3
    Thanks

    h5.
    use read procedure
    PROCEDURE READ (
    lobsrc IN BFILE|BLOB|CLOB ,
    amount IN OUT BINARY_INTEGER,
    offset IN INTEGER,
    buffer OUT RAW|VARCHAR2 );
    example  Updating LOB by Using DBMS_LOB in PL/SQL
    DECLARE
    lobloc CLOB; -- serves as the LOB locator
    text VARCHAR2(32767):='Resigned: 5 August 2000';
    amount NUMBER ; -- amount to be written
    offset INTEGER; -- where to start writing
    BEGIN
    SELECT resume INTO lobloc
    FROM employees
    WHERE employee_id = 405 FOR UPDATE;
    offset := DBMS_LOB.GETLENGTH(lobloc) + 2;
    amount := length(text);
    DBMS_LOB.WRITE (lobloc, amount, offset, text );
    text := ' Resigned: 30 September 2000';
    SELECT resume INTO lobloc
    FROM employees
    WHERE employee_id = 170 FOR UPDATE;
    amount := length(text);
    DBMS_LOB.WRITEAPPEND(lobloc, amount, text);
    COMMIT;
    END;

  • How to view creation date using 'ls' command?

    Hi all,
    Anyone know how to get the 'ls' command to display creation date? When I do 'ls -la' I get the mod date, but cannot figure out how to view the creation date.
    Thanks!
      Mac OS X (10.4.2)  

    While there is NO way to do this as ls will only show the mod time there is using another program
    DL this HFSDebug.
    Running it on any file will display to you Create, Mod and access times. An example for you
    sudo hfsdebug /usr/local/bin/hfsdebug\ 2.04\ BETA\ G5
    path = Firefly:/usr/local/bin/hfsdebug 2.04 BETA G5
    # Catalog File Record
    type = file
    file ID = 20112378
    flags = 0000000000001010
    . File has a thread record in the catalog.
    . File has security data (ACLs).
    reserved1 = 0
    createDate = Wed Dec 14 00:57:14 2005
    contentModDate = Wed Dec 14 00:57:14 2005
    attributeModDate = Wed Dec 14 00:57:14 2005
    accessDate = Thu Dec 15 20:42:53 2005
    backupDate = Fri Jan 1 00:00:00 1904
    # BSD Info
    ownerID = 0 (root)
    groupID = 20 (staff)
    adminFlags = 00000000
    ownerFlags = 00000000
    fileMode = -rwxr-xr-x
    linkCount = 0
    textEncoding = 0
    attrBlocks = 0
    # Finder Info
    fdType = 0
    fdCreator = 0
    fdFlags = 0000000000000000
    fdLocation = (v = 0, h = 0)
    opaque = 0
    # Data Fork
    logicalSize = 121744 bytes
    totalBlocks = 30
    fork temperature = not a hot file
    clumpSize = 101 bytes
    extents = startBlock blockCount % of file
    0x362cd4 0x1e 100.00 %
    30 allocation blocks in 1 extents total.
    30.00 allocation blocks per extent on an average.
    # Resource Fork
    logicalSize = 0 bytes
    Enjoy!
    Peter
    PowerMac G5 DP 2.5Ghz   Mac OS X (10.4.3)  

  • How to view plan data

    Helloo experts,
    I want to see the actuals and <b>plan</b> data for  given <b>costcenters/Internal</b> orders.
    I use T-code: KSB1 for viewing Actuals data. But, I dont know how to view Plan data. 
    What is the best way to look at it.

    Reddy,
    What do you mean by you want to check this data ? Well this is the data that was entered into SAP by some excel ( i am guessing) - So that's the data that was inputted into SAP.
    Do you have any other system where you do the planning and then load it into SAP ? If you want to compare with that - yes you can.
    If you are using BPS for planning, yes you can compare by preparing a report from the transactional infocube in BW ( which would hold the planning data) with this R/3 report.
    Hope that helps - Let me know if you need any other info.
    Thanks,
    Nandita

  • I am trying to open a website that is using Microsoft content viewer, and the page does not show. Any ideas on how to view this site using firefox. It works on IE.

    I am participating in an online class whose website uses Microsoft Content Viewer to view the class content. The browser opens a new page, but nothing is there. At the top of the tab it says Microsoft Content Viewer, and nothing else. Can anyone tell me how to view my course using Firefox? I would prefer not to use IE, but it works there.

    When originally creating the pdf, you would need to choose another pdf conversion setting. In Word if you use the pdf menu, change your settings there: Adobe PDF > Change Conversion Settings. I would use High Quality Print instead. If you use the File > Print method, click the Properties button next to the Adobe PDF printer selection.
    For your already created form, you can change the file so your users will not encounter issues. In Acrobat 9, which hopefully is similar in process to 8: Advanced > Preflight > Profile tab > PDF/A compliance > Remove PDF/A information.(You'll have to unsecure your form first).
    You can read about PDF/A files in the Help.

  • How to make load simulator using labview 2010

    i want to ask how to make load simulator using labview? 
    Solved!
    Go to Solution.

    what have you tried so far? and exactly what is it your tying to do?
    Please remember to accept any solutions and give kudos, Thanks
    LV 8.6.1, LV2010,LV2011SP1, FPGA, Win7

  • How to view current  date and time on SAP screen

    Hi Everybody,
    How to view current  date and time on SAP screen .I have set time zone in T-code STZAC.now iam getting correct date n time in my tranctions but i want to check without any tractions
    Plz repay,Regards,
    Sadik.

    Hi,
    You can check the time by running a report .
    It will show the database and central instance time : Report name :rsdbtime
    Thanks and Regards
    Vijay kumar G
    Edited by: vijay kumar gopal on Mar 4, 2008 1:09 PM

  • How to view complete date stamp in query result view in sql developer?

    Hi,
    In the query result, the date present in db is shown as DD-MM-YYYY format but I want to view the complete date stamp. When I view the same data in aqua data studio, I see the complete time stamp. Please let me know if I need to do some settings in Oracle SQL Developer so that complete date is shown?
    How to view complete date stamp in query result view in sql developer?
    Thanks in advance,
    Vineet

    864793 wrote:
    Hi,
    In the query result, the date present in db is shown as DD-MM-YYYY format but I want to view the complete date stamp. When I view the same data in aqua data studio, I see the complete time stamp. Please let me know if I need to do some settings in Oracle SQL Developer so that complete date is shown?
    How to view complete date stamp in query result view in sql developer?
    Thanks in advance,
    VineetAlternatively you can execute below
    set nls_date_format='DD-MM-YYYY HH24:MI:SS';Regards,
    Achyut K

  • How to make RC circuit using labview

    Hi,
    how to make RC circuit using labview... Thx

    Your question seems awfully similar to this thread. Is this a school assignment?
    Jeff
    Using Labview 7 Express

  • How to view alerlog contents using SQL?

    How to view alertlog contents using SQL?

    Hi,
    Why don't you use the OEM Database Console ?? Now, in order to view the contents of the alert log file using a SELECT statement, you need to create a external table:
    create or replace
    directory background_dump_dest_dir
    as '<your_oracle_home>/bdump';
    CREATE table alert_log_external
    (line varchar2(4000) )
    ORGANIZATION EXTERNAL
    (TYPE oracle_loader
    DEFAULT DIRECTORY background_dump_dest_dir
    ACCESS PARAMETERS (
    RECORDS DELIMITED BY newline
    nobadfile
    nologfile
    nodiscardfile
    FIELDS TERMINATED BY '#$~=ui$X'
    MISSING FIELD VALUES ARE NULL
    (line)
    LOCATION ('alert_<sid_of your_database>.log') )
    REJECT LIMIT UNLIMITED;Cheers

  • How to view the date when the Customers credit limit updated in SAP-FSCM?

    How to view the date when the Customers credit limit updated in SAP-FSCM?

    OK you can look at field - LIMIT_CHG_DATE in the table - UKMBP_CMS_SGM via SE16
    I would assume you would want to run it based on a date range.

  • HOW TO VIEW SPATIAL DATA

    I don4t know how to view spatial data stored in an oracle database with a graphic representation.
    Are any ORACLE product to do this? Or any third party product?
    Thanks

    In Oracle 8.1.6, OEM ships with a simple
    Java viewer to help you tune your data.
    At the command line, type:
    oemapp sdoadvisor
    In Oracle's next release (8.1.7) the JDBC
    access to Oracle Spatial types is
    much faster (more comperable to OCI access).
    You will see the improved performance
    in the OEM tool.
    =====
    There is also an unsupported Motif visualizer
    (written in PRO*C and OCI).
    You can download the motif viewer at:
    http://technet.oracle.com/products/spatial/
    under "sample code".
    It is compiled for Solaris, but you
    can compile it for any UNIX platform.
    Hope this helps. Thanks.
    Dan

  • How is the Raw data used in iPhoto. I currently shoot both jpeg and raw and import them both into iPhoto.

    How is the Raw data used in iPhoto? I currently shoot both jpeg and raw and import them both into iPhoto. What do I gain by collecting Raw data?
    Thanks

    You get more parameters for making adjustments to the image. This is not really an iPhoto question but more a general photography one. In rather simple terms here's how a digital camera works:
    You expose an image. A lot of data is gathered in by the sensor. But it's just a bug lump of data and not very useful in that form.
    In cameras that shoot jpeg that mass of data is interpreted/processed into an actual image, and the image is stored in a jpeg file. (that's a process broadly analogous to developing a film). The decisions that go into making that interpretation are all made by an engineer somewhere, back when the camera was developed.
    If you shoot Raw, then what you do is take that mass of data, and rather than working to the decisions made by that engineer, you develop the shot - you run the digital darkroom.
    Why would you do this? Take on all this extra work? Well one of three reasons: a: you think you can do a better job than that engineer. b: you just prefer the result you get when you develop yourself or c: you're a hopeless shooter and raw means you have more options to fix the mistakes you made in the camera. (That's why I do it.)
    Here endeth the two dollar tour. So, basically, if you're happy with what your camera produces in Jpeg then there's really no need to shoot Raw.
    There's no need at all to shoot Raw+Jpeg as iPhoto creates a jpeg preview when you import, so you're just wasting space.

  • How to display today date using formcalc

    Hi all,
    how to display today date using formcalc, eg April 20, 2009?
    Thanskks

    Num2Date(Date(), "DD/MMM/YYYY", "de_GB")

  • How to insert the data using matrix

    Hi
      All how to insert the data using matrix feild
      plz help me
       thanks
        Loy

    Hi Loy,
    The best way to fill an entire matrix is to use a DBDatasource, here is some sample code:
    Dim oForm As SAPbouiCOM.Form
    oForm = SBO_App.Forms.Item("YourFormTypeID")
            '1. Add a DBDataSource to the form
            oForm.DataSources.DBDataSources.Add("OUSR")
            Dim oColumnDBS As SAPbouiCOM.Column
            Dim oColumnUDS As SAPbouiCOM.Column
            Dim i As Integer
            Dim GenEdt As SAPbouiCOM.EditText
            Dim oMatrix As SAPbouiCOM.Matrix
            Dim oColumns As SAPbouiCOM.Columns
            Dim oDBDataSource As SAPbouiCOM.DBDataSource
            oMatrix = oForm.Items.Item("7").Specific
            oColumns = oMatrix.Columns
            '2. DBDataSource: Binding a field / alias of the table to a column
            oColumnDBS = oColumns.Item("V_1")
            oColumnDBS.DataBind.SetBound(True, "OUSR", "U_NAME")
            '3. getting the data sources bound to the form
            oDBDataSource = oForm.DataSources.DBDataSources.Item("OUSR")
            oMatrix.Clear()
            ' Querying the DB Data source
            oDBDataSource.Query()
            ' Adding the data to the matrix
            oMatrix.LoadFromDataSource()
    When you want to fill a specific field use :
    GenEdt = oMatrix.Columns.Item("V_2").Cells.Item(1).Specific
                    GenEdt.String = "Hello"

Maybe you are looking for

  • Game center log in problem

    I signed out of Game Center and now it won't accept my old name when I try and log in. . I used my same email and needed to create a new password, however, this created a new game center account without my old scores.  How can I find my old account?

  • Oracleoracle: error while loading shared libraries: libodm9.so: cannot open shared ob

    Hi, I'm installing Oracle 9i on IA 64, OS linux. I keep getting the following error when I run sqlplus oracleoracle: error while loading shared libraries: libodm9.so: cannot open shared object file: No such file or directory ERROR: ORA-24314: service

  • Legend item text too long

    Hello. Question to Flex guru: I have too long text in Legend for chart. How can I do line folding or how can I show toolTip for legend item (like for a Label object)? How can I initialize Legend object with array of LegendItem objects? Sorry for my e

  • Trouble with logging off and back on, Windows XP

    This doesn't quite seem to go here, but none of the sub forums seemed really appropriate. I've had Windows XP installed on my Macbook for about a month now. I recently noticed that if I log off my user account, my computer will freeze up as it tries

  • Changing the account name

    When I setup my new Mac, I created the same account name as my old Mac. This is creating problems during my migration.  How do I change the main account name?