How to read a continuous temperatur​e signal from a Pyrometer via RS-232

I'm trying to read and graph a continuous signal from a Pyrofiber Lab pyrometer which is coming in through an RS-232 cable. As far as I can tell there are no device drivers for this instrument (or any other pyrometers). 
If I have the pyrometer take single measurements I can get those into LabView using the Instrument I/O Assistant, but only as an ABC string reading " 'emmisivity value' 'temperature' 'corrected temperature'" and not as individual numbers or data that I can use/graph. If I have the pyrometer in High Speed Transmit mode (which is the mode I need it in), I can't read the signal at all. How can I get LabView to continuously read (and record or graph) the incoming signal? And is there some way to parse the signal when it comes in as a string with " 'time' 'emissivity' 'temperature' 'corrected temperature'"?
I'm very new to LabView (and programming in general), so any hints on a good starting point would be appreciated. 
Solved!
Go to Solution.

progers - There is not a specific solution, as there is not a device driver for this device (assuming you are also using a pyrometer).
There are serial communication examples in LabVIEW, by going to Help >> Find Examples >> Hardware Input and Output >> Serial. 
You will need the programmer's manual for the device to know what serial commands to use to talk to the device (see Dennis's post above).
Best Regards,
K. Anderson
Applications Engineer
National Instruments

Similar Messages

  • How to split left and right sound signal from SI READ Stereo?

    How to split left and right sound signal from SI READ Stereo?
    I want to display the left and right sound signal in two graph separately,what shall I do?
    That is how to split 2D arry to two 1D arry?

    Hello,
    Here's another trick...although the "Index Array" suggestion will work, you should investigate using the "Delete from Array" function...you can tell it to delete one of the columns (or rows), leaving one column (or row)...the function will output both the resulting array AND the deleted array, which happens to be the other row/column...this method might not be as intuitive, but it only makes one copy of data in memory, while the Index Array method makes two copies.
    I hope this suggestion helps. I only found out about this trick with "Delete from Array" the other day.
    Have a great weekend!
    Sincerely,
    Darren Nattinger
    Applications Engineer
    National Instruments
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • How to read avi file created in labview from matlab?

    in labview, i created an avi file using 'microsoft video 1' compression codec and with each frame i have a string data attached to it.
    i tried to load the avi file in matlab for further processing, but 'aviread.m' doesn't seem to work.
    also does anyone know in matlab how can i play/read an avi file (created by labview) frame by frame and also have access to the data string attached to each frame?
    thanks!

    Maybe you can use Java.
    http://stackoverflow.com/questions/9155642/how-to-read-an-excel-file-in-c-sharp-without-using-microsoft-office-interop-exce
    Or, get excel Viewer.
    http://www.microsoft.com/en-us/download/details.aspx?id=10
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • Get the blue screen but the TV doesnt find the signal from my mac via hdmi

    Before my mac could connect to my TV Samsungs LE32B350 without any problem, but now it just keep saying no signal from the tv. I get a blue screen when I connect the hdmi on the laptop for one sec then nothing happens. I have tried search for more screens but aint finding anything.
    Please help me

    Unfortunately older G4 minis are very touchy about certain hi-res monitors when run from DVI. Hi-res in this case means any monitor whose resolution causes the pixel clock to be above 135 MHz. It is normally the case that 1680 x 1050 timing will have a pixel clock above 135 MHz, although there is no way to observe that directly from within OS X.
    There are only two known work-arounds for the issue. One is to run the monitor over a VGA interface. The other is to use a program like SwitchRes X to lower the pixel clock below 135 MHz. If you choose to do the latter, write back if you'd like some guidance on how to do that.

  • How to create a java application & call it from a PDA via TELNET

    Dear All,
    My objective is to create a java application that's hosted on a server and called remotely from a PDA using TELNET.
    I've created a java application using Eclipse & the jCurses library. Unfortunately, the jCurses API events and listener aren't enough and i wasn't able to achieve my target application functionality.
    Can anyone advise a library other than jCurses that can help create a java application that can be called from a PDA via TELNET?
    Is AWT an option ?
    Thanks in advance for your support,
    Best regards,
    Lana

    user10827661 wrote:
    My objective is to create a java application that's hosted on a server and called remotely from a PDA using TELNET.
    I've created a java application using Eclipse & the jCurses library. Unfortunately, the jCurses API events and listener aren't enough and i wasn't able to achieve my target application functionality.
    Can anyone advise a library other than jCurses that can help create a java application that can be called from a PDA via TELNET?
    Is AWT an option ?Your server side Java application can use a Java library that
    creates a java.net.ServerSocket to listen for TCP connections from TELNET clients.
    You do not need any graphics (jCurses or AWT) on the server side, telnet is a simple ascii protocol.

  • How to read the CPU temperatures of a RT PC [LabVIEW RT]

    Hi,
    I am programming a stand-alone RT application with LabVIEW RT that runs on a regular PC.
    I would like to monitor the different system temperatures (CPU,...) and if possible the fans speed.
    I found an example that performs this task for PXI systems but not for regular PC.
    Does anybody know if this is possible and how I can do it?
    Thanks

    Here is a solution that reads the temperature via a VBS script. The script uses WMI to access the Temp.
    Saved as LV 8.0
    Robert 'Red' Hoar
    Staff Systems Engineer
    Certified LabView Developer
    www.vi-tech.com
     (972) 233-1950 x 208
    [email protected]
    (Cell) (817) 312-5413 (Fax) (972) 233-1550  
    Message Edited by srhoar on 05-15-2008 11:34 AM
    Attachments:
    Read CPUTemp with vbs script 1.zip ‏17 KB

  • How to read out NB temperature?

    Does the P965 Platinum have a Northbridge temp sensor? Im asking because DualCoreCell doesnt read out anything for the NB.
    Another question, is it normal that the NB heatsink gets extremely hot? Mine gets so hot, I cant even touch it for two seconds without burning my finger, literally. And thats @ stock speeds and voltages. I do have a fan blowing onto the NB, but that doesnt seem to help.

    Quote from: DTU_XaVier on 22-October-06, 06:06:17
    BIOS reports a system temp, though I dunno if that's that...
    On the mobo temp thing, you're not alone... Mine also gets very hot, too hot I'd say normally... Dunno why though, at stock volts...
    Best Regards
    Ah okay, so Im not the only one then. System temp is not the NB temperature, its the ambient temperature.
    The 865PE Neo2 I had didnt have an NB temp sensor, the K8N Diamond also didnt have one... why does MSI never have these on their boards? Asus, Abit and even Gigabyte have them.  >:(

  • How do I get an analog output signal from my PCI-MIO-16E-4 card?

    I need an analog output from 0-10 V to control the mass range on a mass spectrometer. Do I use the DAC0out channel to do this? The manual only talks about analog out (ao) channels. Is this the same as DAC0out and DAC1out? How do I set up the DAQ assistant for this process? I do not need a waveform, only a constant signal.

    Yes indeeded. The DAC0out and DAC1out are the analog output channels (ao0 and ao1).
    Simply follow the examples that ship with LabVIEW. You can also easily create code with DAQ assistant.

  • How to read the contents of XML file from my java code

    All,
    I created an rtf report for one of my EBS reports. Now I want to email this report to several people. Using Tim's blog I implemented the email part. I am sending emails to myself based on the USERID logic.
    However I want to email to different people other then me. My email addresses are in the XML file.
    From the java program which sends the email, how can I read the fields from XML file. If any one has done this, Please point me to the right examples.
    Please let me know if there are any exmaples/BLOG's which explain how to do this(basically read the contents of XML file in the Java program).
    Thank You,
    Padma

    Ike,
    Do you have a sample. I am searched so much in this forum for samples. I looked on SAX Parser. I did not find any samples.
    Please help me.
    Thank you for your posting.
    Padma.

  • How to read a alv grid row data from standard program

    Hi All,
    I am working on transaction LBK1. Actually when you will open this transaction in the left hand side it will show you the data in tree. When you click on a notification node it will show the relevant data in right side. In which there is a operation tab . In this tab the data comes in alv grid. If user selects a row then I have to get that selected row value. There is also a toolbar above on the tree side. There are some buttons which execute our implementation class where I can put the code.  
    Can anyone please help me out? How I can read that selected row in our class/method?
    Thanks in advance.
    Best Regards
    Ritu

    Setting and getting selected rows (Columns) and read line contents
    You can read which rows of the grid that has been selected, and dynamic select rows of the grid using methods get_selected_rows and set_selected_rows. There are similiar methods for columns.
    Note that the grid table always has the rows in the same sequence as displayed in the grid, thus you can use the index of the selected row(s) to read the information in the rows fronm the table. In the examples below the grid table is named gi_sflight.
    Data declaratrion:
    DATA:
    Internal table for indexes of selected rows
    gi_index_rows TYPE lvc_t_row,
    Information about 1 row
    g_selected_row LIKE lvc_s_row.
    Example 1: Reading index of selected row(s) and using it to read the grid table
      CALL METHOD go_grid->get_selected_rows
        IMPORTING
          et_index_rows = gi_index_rows.
      DESCRIBE TABLE gi_index_rows LINES l_lines.
      IF l_lines = 0.
        CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
             EXPORTING
                  textline1 = 'You must choose a valid line'.
        EXIT.
      ENDIF.
      LOOP AT gi_index_rows INTO g_selected_row.
         READ TABLE gi_sflight INDEX g_selected_row-index INTO g_wa_sflight.
        ENDIF.
      ENDLOOP.
    Example 2: Set selected row(s).
      DESCRIBE TABLE gi_index_rows LINES l_lines.
      IF l_lines > 0.
        CALL METHOD go_grid->set_selected_rows
            exporting
              it_index_rows = gi_index_rows.
      ENDIF.

  • How to read 'clicked header' AND selected row from multicolumn listbox?

    I have a multicolumn listbox filled with 6 columns and about 500 rows.
    I want the user to be able to click on a column header, and sort the listbox alphabetically on that column. I've written the code for that, and that works. (using the 'itemnames' en 'get clicked col hdr' properties.)
    However, I also want to include the option, that when a user highlights a row, and then clicks on the header, that after the listbox gets sorted it scrolls down to the selected row.
    (So that the user doesn't have to search for it)
    And that's where things go wrong, because the value of the listbox changes to zero when you click on a column header. No I idea why it does that, but it's rather
    annoying. Can I change that behaviour somehow?
    Or any ideas how to get around it?

    My thanks to you and Jared.
    Seems I got a working solution now.
    Did take a while to figure out why your solution worked. Basicly, you're reading the row from a few iterations before.
    As soon as I understood that, I simplified it a little. Look at the attached file... I think it does the same. :-)
    Jared asked for the sorting routine. As I don't seem to be able to attach files when replying to comments, I took the liberty to include it here also.
    Basicly, I just use the 'sort 1D array' that comes with Labview 6. To be able to sort a 2D array, I convert every row to a cluster. That's something the 'sort 1D array' VI can handle nicely.
    To sort on the correct column, I just cut all columns in front, and paste them behind again. A
    fter sorting, I reverse the process.
    Anthony.
    Attachments:
    copy2_of_multicolumn.vi ‏26 KB
    sort_2d_string_array.vi ‏34 KB

  • How to read and write(a file .txt) from a URLConnection

    I try to read and write on one URLConnection. Is it possible ? How can i make it ?
    The reading part of my application work's but not the writting part
    That's a part of rhe code that i use to write :
    String Line = "Hi";
    MyUrl = new URL(this.getCodeBase(), FichierEvenement) ;
    Con = MyUrl.openConnection() ;
    Con.setDoOutput(true);
    Con.setDoInput(true);
    Con.setUseCaches(false);
    Dos = new DataOutputStream(new BufferedOutputStream(Con.getOutputStream( )));
    Dos.writeUTF(Line);
    Please help me :)

    What are you doing with the bytes written to the OutputStream? This info would help, but i do have a suggestion. I ran into this problem when trying to write strings using writeUTF. The output was all screwed up. So, maybe change your string to a character array. That way Unicode is displayed properly. This in conjunction with writing to an .html file instead of to the connection itself might work.

  • How to read metadata (such as artist  trackname) from mp3 stream properly?

    Hi,
    while playing with JavaFX i would like to read metadata from a mp3 stream ( internet radio)
    to display information such as author, artist , trackname..
    Anbody could give some code example to show how to achieve that?
    Any help would be appreciated..
    Thank you,
    Lacos

    Thank you for your help. I tried once more but somehow i don't get it.
    Here's my code:
    binding the JavaFX media player to variable "player"..
    var player =
         MediaPlayer {
           repeatCount:MediaPlayer.REPEAT_FOREVER
            media : Media {source:mp3RadioStream}
    starting playing the stream when user clicks in a rectangle area
    and (hopefully ever printing some metadata :-) ..
    Rectangle {
                  opacity: 0.0
                  x: 10 y: 80 width: 128 height: 126
                   onMouseClicked: function(e:MouseEvent):Void
                        println("mouse clicked ..");
                        println("setting radio stream..");
                        player.media = Media {source: mp3RadioStream};
                        println("play init..");
                        player.play();
                        println("playing..");
                        // printing some metadata
                         for (a in player.media.metadata) {
                            println("metadata key: {a.key} , value: {a.value}");
                   }Any help, especially some explicit code example would be very appreciated..
    It has to be a silly error on my side but i really dont get it :-/
    Tried to play the mp3 stream with winamp an the stream definitly has some metadata like
    artist , trackname..
    Thx for your help,
    Lacos

  • How to read and display table data entries from ERP in CRM

    Hello experts,
    I am new to CRM. I need to read data base entries from ERP in CRM system. What would be the best way to do . The table is a standard SAP table with a custom include (several customer fields). Calling a web service would be the best way..? or is there any other way that I can do it too.
    Also, to display these entries what would be the best tool? Should I built my own transaction/report to do it?
    Any advise or guidance would be a great kick start to learn the CRM development environment.
    Regards,
    jaffery

    Hi,
    Check the below wiki link if it helps.
    http://wiki.sdn.sap.com/wiki/display/CRM/Howtodisplayaz-tableinanassignmentblock
    Also, you can try an option of transaction launcher.
    Hope this helps.
    Regards,
    Chandrakant

  • How to read the name of .csv file from a particular folder using Oracle.

    Gurus,
    I have a folder called 'data_dir' in Oracle Server and it contains 10 different .csv files and the name of the each file is being suffixed by date and time(24 hrs format).
    First i need to read all the file names then i have to process those files by UTL_FILE to load the data into a relational table.
    Is there any mechanism is available in Oracle to read the file names?
    (In this case all the 10 different csv file names)
    If so, then please help me accomplish this.
    Thanks in advance.
    Regards,
    Venugopal.K

    Is there any mechanism is available in Oracle to read the file names?Sounds to me like you need to use External Tables (*not* utl_file).
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/et_concepts.htm

Maybe you are looking for