How to read the data from a channel named in windows using labview

Hello

I need to read the channel named in windows data. The pipe is created by python by another application. This application post permanent data on the pipe. But I don't know how to read data using labview. is it possible to read the data from different application? If possible, how to start?

Thanks in advance

concerning

RJ

Hi Rolf,.

It's just, because of driving is not initialized completely, pipe read returns error 42, I added 2 seconds late, then its work perfect.

Thank you very much.

Concerning

RJ

Tags: NI Software

Similar Questions

  • How to read the data in a device connected to the usb port

    Is there a class or object, or the piece of code in Java that is comparable to the PDQComm32.ocx and the mscomm32.ocx used in VB6? I need to know how to read the data of a device plugged into the usb port of the BBerry. Is it possible to use the BB to read data from a device via a usb cable?

    I'm new in Java and I'm looking for the opportunity to write a project to read the data in a device with this program that can turn on a BB instead of on a pc.

    Thank you

    Did you watch net.rim.device.api.system.USBPort?

    That's what the doc says:

    Provides access to the USB port of the device.

    Avoid using this class in applications, as it is not portable. On the contrary, if you need to access the USB port, use factory CLDC Connector to serve a connection.

    Rab

  • How to read the date and time of a file by labview information

    How to read the date and time of a file by labview information? for example, time created and updated time.

    The similar question had already spoken here (this is the old thread but still seems topical):

    http://forums.NI.com/T5/LabVIEW/file-date-created/TD-p/109836

  • How to read the data of BLOB and save to the file system

    Hi friends.

    I have called DEMO table there image stored as a BLOB. now my requirement is to know how to read the data of BLOB and saved in the file system. is there a procedure
    to read the blob object and stored in the file system. pls suggest me with an example.
    Thank you

    HI - don't know what version you have, but have a read through this:

    http://www.Oracle-base.com/articles/9i/ExportBlob9i.php

    Hoek link is to import the blobs in the db, it is export, to a file.

  • How to read the data file

    Hello
    I have red the DBW do that beside Scripture, is that correct?

    Thank you

    Jin

    DBWR writing data in data file... hope that the server process reads the data from the data file...

    Kind regards
    Deepak

  • How to read the data with different XML schemas within the unique connection?

    • I have Oracle database 11g
    • I access it via JDBC: Slim, version 11.2.0.3, same as xdb.
    • I have several tables, each has an XMLType column, all based on patterns.
    • There are three XML schemas different registered in the DB
    • Maybe I need to read the XML data in multiple tables.
    • If all the XMLTypes have the same XML schema, there is no problem,
    • If patterns are different, the second reading will throw BindXMLException.
    • If I reset the connection between the readings of the XMLType column with different schemas, it works.

    The question is: How can I configure the driver, or the connection to be able to read the data with different XML schemas without resetting the connection (which is expensive).

    Code to get data from XMLType is the implementation of case study:

     1   ResultSet resultSet = statement.executeQuery( sql ) ; 
    2   String result = null ;
    3    while(resultSet.next()) {
    4   SQLXML sqlxml = resultSet.getSQLXML(1) ;
    5   result = sqlxml.getString() ;
    6   sqlxml.free();
    7   }
    8   resultSet.close();
    9    return result ;

    It turns out, that I needed to serialize the XML on the server and read it as BLOB. Like this:

     1    final Statement statement = connection.createStatement() ;  2    final String sql = String.format("select xmlserialize(content xml_content_column as blob encoding 'UTF-8') from %s where key='%s'", table, key ) ;  3   ResultSet resultSet = statement.executeQuery( sql ) ;  4   String result = null ;  5    while(resultSet.next()) {  6   Blob blob = resultSet.getBlob( 1 );  7   InputStream inputStream = blob.getBinaryStream();  8   result = new Scanner( inputStream ).useDelimiter( "\\A" ).next();  9   inputStream.close(); 10   blob.free(); 11   } 12   resultSet.close(); 13   statement.close(); 14  15   System.out.println( result ); 16    return result ; 17
    

    Then it works. Still, can't get it work with XMLType in resultset. On the customer XML unwrapping explodes trying to pass to another XML schema. JDBC/XDB problem?

  • How to read the data written to the virtual disk

    I use the following VDDK function to read the Flash disk from VMware

    http://bigchainring.kicks-ass.NET/functions/VixDiskLib_Read.html

    But areas of complete disc playback, including empty spaces. I need to back up only the data written to the Flash disk. It is to save the backup disk space (for example if 126 instant KB is written in 40 GB of disk snapshot, then we read only 126 KB and not 40 GB drive). Please suggest the correct way to read the data written to the Flash disk as well as to reproduce the same virtual disk with the data.

    VMware vSphere API queryChangedDiskAreas() can be used to obtain the data blocks in the virtual disk.

    Steps to follow:

    1. get the beaches of block of data (numbers) using queryChangedDiskAreas() API with '*' as argument.

    2 read the data of the specific blocks by using VixDiskLib_Read()

    3. write to another drive using VixDiskLib_Write()

  • How to read the date of the day of the day of the year?

    I want to put 30 days for the test of endurance for the application of the components. the user will have the current value of 30 days with specify them the end of the day.

    I saw that the "seconds to Date/Time.vi" sure I checked the day of the year. If I can use this day of the year, I can add + 30 read 30 date.

    Barros,

    What I gave was the answer you were looking for originally because I believe.  You will not just be able to read the date in a coherent way and then add 30.  You can either use the function Get time in seconds or a few varaint it and then add the offset you want (you could use the get a Date/time string and enter the date directly, but this digital conversion which will be useful in the monitoring of the time elapsed will be much more difficult than what I provided only).  If you want to stop the test, simply to keep track of the amount of time the test is in pause and extension at the time where that amount.

    Cheers, Matt

  • How to separate the data from the reports

    Capture2.PNG

    I wanted to ask, how to separate the data in a single page, in the left side of page 1and then the right side of the page 2

    Thank you

    my report layout.

    you have to find the solution.

  • Select the list box file and read the data from file

    I can list the files in the folder in the listbox

    1. I want to just list file .txt files

    2. How can I read data from the selected file (.txt)?

    I think that's what you want, enter a model in your list of files vi (for example, *.txt) and then just use File.vi text of reading by using the selected item in the list box (double click on event or value change) and use the starting for the vi records list path.  I have included a crude extract for your pleasure.

  • How to get the data from more than 100 domains in bulk API V2.0?

    Hi all

    I try to get data from Eloqua by APIs in bulk because of big data.

    But my Contact 186 fields (more than the majority of export limitation 100). I think I need to get all the data by 2 exports.

    How could I corresponds to 2 parts of a line and join together?

    I'm afraid that any change of data between 2 relative to exports 2 synchronizations would make different order.

    FOR EXAMPLE:

    1. any document is deleted or modified (if it matches do not filter) after obtaining data of the first part and before getting the second part, then everyone behind it would have back in part result.

    2. the data in some fields (included in both parts) are changed between the 2 synchronizations, then the values of the second part are more recent but the values of the first part are old.

    All suggestions should.

    Thank you

    Biao

    bhuang -

    I don't know that you ever go to work around the fact that things will change in your database while you are synchronizing the data. You have to have a way to create exceptions on the side of the synchronization.

    If I pushed Eloqua data to a different database and had to contend with the problem of matches change while I'm syncing, I would create a few additional columns in my database to track the status of synchronization for this folder. Or create another small table to track the data map. Here's how I'd do.

    1. I would have two additional columns: 'mapped fields 1' and '2 fields' mapped. They would be all two datetime fields.
    2. I would do only one set of synchronization both. First of all, synchronize all records for email + 99 fields. Do the entire list. For each batch, the datetime value of the lot in 'mapped fields 1' column.
    3. I would then synchronize all folders of email + other 86 fields. Repeat the entire list. For this batch of the datetime value of each batch in their 'mapped the 2 fields' column to now().
    4. For all records that had only 'mapped fields filled, 1' but' fields mapped 2' was empty, I would be re - run the second query Eloqua API using e-mail as the search value. If no results were returned, I would remove the line. Otherwise, update and the value 'mapped fields in 2' now
    5. For all the records that were only "fields mapped 2', I re - run against the first email query API Eloqua, fill in the missing data and define 'mapped the fields of 1' of the current datetime object." If the record has not returned, remove the line because it is probably not in the search longer.
    6. Finally, the value 'mapped fields 1' and 'mapped 2 fields' empty for all records, since you know that data is synchronized. This will allow you to use the same logic above on your next synchronization.

    Who is? It is not super clean, but it will do the job, unless your synchronizations take a ridiculous amount of time and your great data changes often.

  • How to read in data from MySQL to Authorware?

    Hello

    I'm reading in my authorware (MySQL) database values, but the best I can do is either true or false.
    I would like to be able to get data from the database and return to AW as a string. Does anyone have experience with this? If anyone can lend a hand in this company?

    Thanks in advance for your help,

    Brad

    You'll need some sort of middleware of script, such as PHP or your ASP.
    script will need to:

    * connect to the database
    * query the database
    print the query results

    I use ReadURL to send variables AW to my PHP script, script recovers
    These values and assigns the variables used in the query. Print
    results are returned to the ReadURL. You can also use PostURL.

    In AW, my code for retrieving information from the database looks like this:

    ==================
    Action: = '? action = getData.
    query: = '& student_data_id =' ^ student_data_id
    URLString: = db_loc ^ 'retrieve_data.php' ^ action ^ query
    queryString: = ReadURL (URLString)
    ==================

    I Specifies an action so that the script can contain code for more than one
    the purpose of the trip. My PHP script looks now like the return line (the spirit):

    ==================

    include a script not cached
    include (' lib/no_cache.php');

    connect to the database
    require_once ($_SERVER ['DOCUMENT_ROOT'].)
    '/.. (/ php_secure_scripts/check21/mysql_connect.php');

    create empty var for the holding of output to send to the Authorware
    $output = NULL;

    define queries
    If ((isset($_GET['action'])) & ($_GET ['action'] == 'login')) {/ / set}
    connection request
    $salt = get_salt();
    $query = "SELECT student_id, first_name, last_name, INST_ID select OF.
    students WHERE username = ' {$_GET ['username']} "AND
    password = ENCODE ("{$_GET ['password']}', '$salt'");

    } else if ((isset($_GET['action'])) & ($_GET ['action'] == 'getUserInfo'))
    {/ / set getUserInfo}
    $query = "SELECT inst_name, e-mail, student_data_id, active COURSES."
    LEFT JOIN students student_data USING (course_id) LEFT JOIN to HELP
    (student_id) Using (select INST_ID) WHERE LEFT JOIN institutions
    students.student_id = {$_GET ['sid']} AND courses.sku = {$_GET ['SKU']} ";

    } else if ((isset($_GET['action'])) & ($_GET ['action'] == 'getData')) {}
    query Set getData
    $query = "SELECT course_data, quality, increased FROM student_data WHERE."
    student_data_id = {$_GET ['student_data_id']} ";

    } else {}
    Exit();
    ECHO '.

    No selected query.

    ";
    }

    query the database
    $result = @mysql_query ($query);

    $row = mysql_fetch_array ($result, MYSQL_ASSOC);

    foreach ($row as $key-online $value) {}
    $output = $output. "&" . $key. "=" . $value;
    }

    print $output;

    Close the database
    mysql_close();
    ?>
    ==================

    The returned data is saved in my AW variable called 'queryString' which
    I then analyze in AW. My database connection code is kept in a separate script
    in a location on the server that is not available for browsers. The script
    also contains a custom function that returns a "germ" for the password
    encoding.

    If you need a good book to learn PHP & MySQL, I recommend 'PHP and MySQL '.
    for dynamic Web Sites"by Larry Ullman.
    http://www.Amazon.com/GP/product/0321336577/SR=1-1/QID=1144427020/ref=pd_bbs_1/103-2954060-1860665? % 5Fencoding = UTF8 & s = books

    I hope this gets you on your way!

    --
    _______________________

    Paul Swanson
    Portland, Oregon, United States
    _______________________

    "bradsteele" wrote in message
    News:e161n1$o76$1@forums. Macromedia.com...
    > Hi,.
    >
    > I'm reading in my authorware (MySQL) database values, but
    the
    > I am able to get better is true or false.
    > I would like to be able to get data from the database and return
    for AW

    > string. Does anyone have experience with this? If anyone can lend
    one
    > hand in this company?
    >
    > Thank you in advance for your help.
    >
    > Brad
    >

  • How to copy the data from Palm Desktop on a PC running Windows 8.1

    If like me you still find the Palm Desktop data (addresses, calendar, notes, etc.) handy and use it long after throwing the combined capacity and 'sync', you can see this is useful.  I bought a new PC running Windows 8.1 and had problems with data transfer due to a problem as I understand it, which does not exist in Windows XP, Vista or 7 versions.  Here is a summary of a way to easily transfer data from these earlier versions if you have a USB flash drive (or Dropbox, Google Drive, whatever) very convenient:

    (1) Download Palm Desktop 6.2 or 6.2.2 to your new PC.  Give a user name exactly as it exists in the database from your old PC.  This name will serve as Office Automation to create a folder name of six letters (an abbreviated version of your name) to hold the data that Palm Desktop will turn upward.  Wait a few seconds for this to happen, and then close the application on your new desktop.

    (2) in your old PC you want to transfer data from, find the folder named "Palm OS Desktop" which should exist in 'Documents' under path of folder and subfolders 'Users' as > your subfolder name > Documents in Windows 7 (can also be Vista) or may be under "Documents and Setting" folder in Windows XP.

    (3) in this folder "Palm OS Desktop" search this subfolder of six letters of your name and select this whole subfolder and select 'Copy' or Ctrl-C

    (4) locate the same name of subfolder in your new PC (which will have data zero), delete and then 'paste' the subfolder you "copied" in the exact same location.  If you did it right, Viola!  Your new desktop PC should display all the transferred data, once you open the application again.

    Most of the same procedure works with PC Windows 8.1 (probably also Windows 8).  What I found different is that the subfolder of data created under "Palm OS Desktop} had 7 instead of 6 characters with a"0"(zero), added as the last character.  When finally, you copy and paste this subfolder in the new PC there so rename and add "0" for the Palm Desktop to locate these data.

    I hope this helps.

    Data in XP is located in C:\Program Files\Palm (or PalmOne) \ < your HotSync name truncated > \Backup.

    HotSync for Win8 has been available for quite a while now!  See the post at the beginning of this section called "64-bit Windows USB drivers for Palm Desktop" for instructions and driver downloads.

    Palm Desktop 4.x and 6.2.2 use different database formats - 6.2.2 went to .mdb as an extension.

    Best way to migrate data is to perform a HotSync on the new machine, or use the built-in in Palm Desktop Export/Import option.  Export the addresses and calendar files, and then copy those of the new machine.

    The import option to retrieve data.

    WyreNut

  • How to read the text from a DOS window in real time?

    I call an executable file that downloads a file to flash memory.  This program displays status information in real time as the percentage of completion in one window BACK.   It also makes account of the CRC of the file as it downloads.  I am currently redirect the output of the DOS window in a text log file.  This works fine for obtaining of the CRC when the file is actually downloading but the operator loses the visibility of the State in the percentage of download.  Is there a way to read text information in a DOS window with my request of LabWindows/CVI real-time?

    Hi Brent,

    If redirect you the output from the first application in a log file, you would be able to read the contents of the file streaming to your second request, and whenever the content changes (such as the download value percentage), couldn't display you this information immediately with the second request in one window DOS or some other GUI?

    Luis

  • How to copy the data from the indicator table 1 d to the Clipboard

    Is it possible to copy data from table 1 d indicator to the Clipboard as a text and for more than one cell?

    I use LV8.6.

    Leszek

    Sorry, I wasn't sure if it was available in 8.6, apparently not.

    You could create an indicator of fine print and use 'picture to a worksheet string' to complete. Now, you can just cut & paste the text instead.

Maybe you are looking for