Dividing Serial Data

Hi.
I have three sensors sending data over LabView through serial line.
And I'm trying to have three displays on Front Panel to show those three sensor values.
Each sensor sends 8bits of data serialy one after another.
I am curious to know if there is a counter type of function or any other way to accomplish this.
Please let me know with this issue.
I would appreciate your reply.
Thank you.
Message Edited by Mack1980 on 02-21-2006 12:09 AM

Ok, good shot, I have just one more question (sorry...). your three sensors are linked on the same port, or they all have their own adress (different one from the other) ?
If they have different adress, you need to read then sequentialy, for instance in a for loop indexed on an array of adress.
If they are responding at the same adress (which would surprise me), then the string you receive has to be separted in three parts.
I assume you are in the first case... have a look at the vi and tell me if it works.
When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
Attachments:
Serial Read_.vi ‏101 KB

Similar Messages

  • How to divide RTF data to several pages?

    Hi everybody,
    I created an RTF file from rdf. In my rtf,
    <?start:body?> For
    <?if:GROUP_NAME1 = ‘C’ and GROUP_NAME2 = ‘B’?>
    <?NAME?>
    <?SURNAME?>
    etc.
    Here a text which contains the number of table data for these groups such as <?PERSON_NUMBER?>
    person_id
    address
    post code
    <?end if?>
    <?if:GROUP_NAME1 = ‘C Grubu’ and GROUP_NAME2 = ‘B Grubu’?>
    For - a different for here
    <?PERSON_ID?>
    <?ADDRESS?>
    <?POST_CODE?>
    <?end if?>
    End
    <?if:GROUP_NAME1 = 'A'?>
    Different text here accordingto group name.
    <?split-by-page-break: ?>
    <?table-footer?>
    <?end if?>
    And here is the question. The data in the table (for group B and C) can be several numbers which I can not fit to one page so it continues to second or third pages, or more pages. But in those new pages, I also want to put the upper side to that page. I mean, I want to divide my data, with it's header side. But there is also a problem which is about <?PERSON_NUMBER?>. Because it has to be equal to number which those page include.
    I wish I can tell my problem.
    I will be very very greatful if anybody can help.
    Thank you so much.

    More details would be helpful

  • Using Digital I/O to generate serial data stream

    Hello All,
    I am in need to generate a serial data stream. HW I use is MIO-16E-10.
    I am planning to use the digital line out to generate the serial data stream.
    I seems that if I use the wait timer the minimum pulse width I can get is
    1ms. But for my application the pulses have to be shorter than that. I was
    wondering about an alternative way to achive this. Any one who has worked
    with a similar application please help!
    Thanks in advance!
    Anand.

    Anand,
    What you are looking to do is not possible with the digital lines on the board you have.
    Depending on what other connections you have on the board, you could use one of the two analog outputs to generate your required serial data stream using pattern generation. Check the DAQ solution wizard=>Custom DAQ applications=>Analog Output=>Generate continuous sine wave. This example should give you a baseline to get started. Substitute the sine wave generator for your desired digital stream Logic 0 =0V, Logic 1=5V.
    If you need more than 2 lines, or some form of handshaking, I would suggest using the PCI-6534 or (DIO-32-HS as it was previously called) This will give you the ability to generate serial data streams with timing and/or handshaking.

  • Searching Incoming Serial Data

    Greetings!
    I was trying to get visual studio to filter through the incoming serial data it is receiving from an Arduino. The program shows the incoming data, so I know the serial port is working, but I'm not sure how to get it to look through that data ( I was thinking
    I could use StreamReader to do this). My goal is this: When certain data is received, change the background color of a textbox. I am very new at this and any direction would be appreciated! I feel like i'm throwing spaghetti at a wall... 
    Here is my current code:
    Imports System
    Imports System.Threading
    Imports System.IO.Ports
    Imports System.ComponentModel
    Imports System.IO
    Public Class Form1
    Dim myPort As Array
    Delegate Sub SetTextCallBack(ByVal [TEXT] As String)
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    myPort = IO.Ports.SerialPort.GetPortNames()
    portCmbo.Items.AddRange(myPort)
    End Sub
    Private Sub startBtn_Click(sender As Object, e As EventArgs) Handles startBtn.Click
    SerialPort1.PortName = portCmbo.Text
    SerialPort1.BaudRate = baudCmbo.Text
    SerialPort1.Open()
    startBtn.Enabled = False
    closeBtn.Enabled = True
    End Sub
    Private Sub closeBtn_Click(sender As Object, e As EventArgs) Handles closeBtn.Click
    SerialPort1.Close()
    startBtn.Enabled = True
    closeBtn.Enabled = False
    End Sub
    Private Sub SerialPort1_DataReceived(sender As Object, e As SerialDataReceivedEventArgs) Handles SerialPort1.DataReceived
    ReceivedText(SerialPort1.ReadExisting())
    End Sub
    Private Sub ReceivedText(ByVal [text] As String)
    If Me.inputTxtBox.InvokeRequired Then
    Dim x As New SetTextCallBack(AddressOf ReceivedText)
    Me.Invoke(x, New Object() {(text)})
    Else
    Me.inputTxtBox.Text &= [text]
    End If
    End Sub
    Private Sub outputTxtBx_TextChanged(sender As Object, e As EventArgs) Handles outputTxtBx.TextChanged
    Dim myReader As StreamReader = New StreamReader("Me.inputTxtBox")
    Dim line As String = ""
    End Sub
    End Class
    ps: If there is an easier way of doing this, please let me know!

    You should read a good book on "Communications".  When processing received data (from any device) you need to wait until you get the end of message before parsing the data.  The data will be received in chunks that can contain from 1
    to a million bytes.  When you get the word "Hello" you could get "H" then "ello" or "Hel" and then "lo".  You can't start looking through the data until you get the entire word "Hello". 
    So you first have to define a protocol for sending commands to the device and the amount of data that gets returned.  So normally you have to terminate a message using one of the following methods
    1) Ascii : Terminate a message with a fix character like a return or EOM.
    2) Ascii or binary : Includes a bytes count at the beginning of the message.
    3) Ascii or binary : Each type message is a fixed length.
    You can use combination of the 3 methods above.
    jdweng

  • Serial data tab page missing during Goods Receipt for Mvt type 501

    I have created and asigned the Seria data profile in plant data/Storage 2 of the material master record. Now i want to do the Goods receipt of this material with Mvtr type 501 w.r.t any documents for 5 no's and want the serial number to be createdment. I also have made relevant settings for automatic serial number and equipemnt number synchr, but wen i m in MIGO--Goods Receipt OtherMvt type 501 and enter, the serial data tab page is missing..
    How can I activate this tab page....Any steps missing....
    Can some one throw lights on this.....
    Refered relevant threads but not much useful to my query....
    Thanks
    Murad Shaikh

    Try 501 with MB1C, OR
    Check through Path SPRO -> Sales and Distribution -> Basic Functions -> Serial Numbers -> Determine Serial Number Profiles -> Select Profile 'MM' & double click on Serializing procedure at left & maintain obligatory(03) for procedure MMSL i.e. Maintain goods receipt and issue doc. Also press F1 in Serial Number Usage to read the usage.

  • Reading and analyzing serial data

    Hello,
    My question is about interpreting periodic serial data.
    I'm trying to read a serial rs232 port, through which I'm receiving periodic data which is made up of 4 repeating messages.
    Each message consists of several parameters of various length and fomates (for example, the first parameter could be an unisgned byte while the second parameter could be a word-long float). Each message begins and terminates with known character sequences.
    I need to read this periodic data and display it to the user, so that each of the parameters (of which the messages are made) is displayed
    by a different indicator.
    Right now, I've used the basic read/write rs232 LabView tutorial but now I'm pretty much stuck...
    I've built a similar program using Visual Basic and I've started using LabView in order to build better user interfaces but so far I'm stuck...
    Any suggestions?

    First, I think you really could have come up with a better user name then falling asleep on your "N" key.
    Data that comes in through the serial port is a string.  So your problem really comes down to how to parse the string into its respective parts.  Look at the functions on the string pallete.  Functions such as Match String, Search/Split String, or Scan String for Tokens, should do what you need.  Once you have the parts broken up, the String to Number conversion functions would convert the strings into their appropriate datatypes.

  • Write serial data directly to file

    I am using DasyLab 9. I am reading a com port for serial data. if i issue the command to output a log of stored data from the RSMASTER when the program is not running I get all the data that is in the log. however, when I run the program and send the received strings to a global variable, a$1\r and log it to a file using a message module when the string changes I dont get all the data, there are one out of 10 lines missing. so I would like to output directly to a file or maybe there is a better way to set up the log so that i dont miss data while I am writing to the file.

    What is the time base of the module that feeds the Action module? That may determine the update rate -- it should be faster than you expect the data to change.
    There's also a question of whether the RS232->string is always catching the string.
    Rather than use String changed, you may want to use a timer function for the input to the Action, and write regularly. 
    Is the string alphanumeric? If so, there aren't many choices for logging to a file. You can log strings via ODBC, but it has the same limitation of the Action module response time. 
    - cj
    Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.

  • Precise time stamping of serial data

    I am having trouble with precise timestamping  of incoming serial data recived on 4 ports using 4 separate threads that continually attempt to read a byte.
    When the expected frame is recieved the data is tagged with a time stamp.
    The issue seems to be windows xp or the serial ports themselves.  I am using an xsens serial to usb, 2 lavaport serial cards and the built in serial port.
    Any suggestions for precise timing?

    there is some hints:
       -for milisecond precise timestamp, you can use GetLocalTime,GetSystemTime or GetTickCount.
        But to achieve true milisecond scale, you need use timeBeginPeriod(1)/timeEndPeriod(1) otherwise you get 10-16ms scale depend on system
        (please read help pages on msdn for timeBeginPeriod function)
       - create your program to not use CPU too much(no pooling,just message and/or sync wait),
         or even better, do not run any other apllication which consume lot of CPU/DISK resources on the same PC
       - for serial communication (but this also depend on baud rate) you can try to set send/receive driver buffer to 1 (from windows device manager)
       - try different serial port card/converter(with different drivers)
       - if still need something to try, set higher process and thread priority (SetPriorityClass,SetThreadPriority)
    After all of this, on windows, there are no precise timing.Even if you do everything you can do, there is still chance to get time gap, but you can detect it (in milisecond precision)

  • Handling serial data

    I'm not sure how to handle the serial data I'm receiving from a touchscreen panel.
    All I want to do is display the two sets of coordinates, which are made up of two 4 digit numbers.
    What I'm struggling with, is the carriage return/line feeds (Cr/Lf).
    For example I receive,
    TP  CrLf                  TP = touchscreen pressed
    0100 CrLf             0100 = first set X of coordinates where these values may be anything from 0000 to 4000 and like wise for all coordinates
    0200 CrLf             0200 = first set Y of coordinates
    TR CrLf                   TR = touchscreen released
    0100 CrLf             0100 = last set of X coordinates
    0200  CrLf            0200 = last set of Y coordinates
    If the stylus is dragged on the touchscreen, then I may receive numerous TP CrLf plus the coordinates before I final get the touchscreen release set. 
    If I didn't have all the CrLf's but just one CrLf' after TP nnnn nnnn it wouldn't be problem.
    I've had a go using shift registers, but I'm unsure of the best way forward.
    Some guidance would be most appreciated.
    Solved!
    Go to Solution.
    Attachments:
    Shift1.vi ‏17 KB

    I would advise to have several readouts in one iteration of the main loop:
    First readout - search the received string for valid command (TP or TR).
    If found: run the FOR LOOP to read 2 more times - you will get a string array of your coordinates.
    If not found: skip, go to next iteration.
    First check this: Each readout should give you one message (TP, TR, or coordinates) and properly terminates on linefeed.
    You do not need string concatenations from previous iterations, all shift registers. If not, something is wrong with ViSA settings: wrong termination char, etc.

  • Cannot find serial.dat file

    I downloaded free Sun Java Studio Creator. I updated the creator using the update manager and when I restarted the Creator I get a dialog box to enter a license number, but I cant find any license number. I checked the install.properties file and found that the serial.dat file should be present in Sun/Creator/system/ folder. But I cant find the serial.dat file there. Is there any other way to install the license number to continue using the Creator.

    Sounds like you have the old version of Creator. Please go to this website (you need to join the Sun Developer Network first) and download the new one which will not require you to have any license:
    http://developers.sun.com/prodtech/javatools/jscreator/downloads/index.jsp
    Thanks.

  • Convert syncronous serial data into sequence of hex values

    Hi,
    I have a problem analysing captured data of a digital I/O board. I hope one of you can give me an advice/hint on this.
    Used Software: Labview Express 7.0
    Problem description:
    The captured digital data contains on channel 0 a clock signal, on channel 1 a reset signal and on channel 3 a data signal. The data signal is syncronized to the clock and consists out of 8 serial data bits. My problem is, how to convert this clock syncronized serial data signal into a sequence (array) of bytes each represented by 2 hex digits?
    More details on the problem environment:
    - The captured data comes from an ASCII file which contains data samples of a 16bit digital I/O card. Every line contains one sample encoded as 4 hex digits
    - The file is converted by a VI to a digital waveform and plotted by a digital waveform graph.
    One of my core problem on the way to a solution lies in the area, of how to "Trigger and Gate" the digital waveform based on the rising edge of channel 0.
    Thanks in advance for your help!
    Tryber.

    I checked with the 7.0 express version we have loaded on an older computer still and the part that I think you can use was in that version. In the second loop I had made a note: Boolean Crossing PtByPt.  This looks at a binary input and can output a true pulse (one iteration) based on the direction input condition.  This has three options;  False-True (rising), True-False (falling), or Either which is the option I had used in that vi.  This should allow you to detect a false-true state change on the clock channel.  Now, you say that the clock pulse is not consistant, but what about the information pulses? That was the reason for the first two loops on my program.  To insure that the digital value was measured during one input pulse to avoid turning two or more input pulses into one digital value. 
    As far as your question about trigger functions between the two, I'm not too sure.  I believe they offer the same options that I tend to use so I havnt had a problem with either.  On your block diagram menu select All Functions > Analyze > Point by Point > Other Functions PtbyPt.  There are some very handy tools in that menu. 

  • How To Managed Serialized Data Over Multiple Application Versions

    Lately I've been struggling with deciding how to deal with serialized data between application versions. Assume you have some software that has to be able to save data files. As the application evolves, the data format changes. The application needs to be able to load data saved from prior application versions.
    When I first started out I just used a Serializable class. It was quick and easy. However, as newer versions used slightly different data formats, I had to come up with a means to upgrade the data to the latest version. Initially I created a process where the latest data class knows how to upgrade from prior data class versions. Then, when loading data in the application, if the class doesn't match the latest data class version, it checks to see if it matches one of the versions that can be upgraded.
    This sort of works, but still has one glaring problem. The old data classes must be etched in stone; never altered. For ever and ever. You can get away with certain simple updates to older data classes by defining a serialVersionUID and keeping it's value the same. But this doesn't always work. What if my overall package structure changes? I have to ensure that the old data classes remain in the same older package structures. Not ideal.
    So I've started considering other ways to serialize data...a process where the data can be broken down into core Java classes. There are serializers for serializing to XML, but I don't feel that XML is an appropriate storage format for the data. I'm also considering using a custom built serializer that uses introspection in some fashion.
    Before I go any further, however, I'd like to solicit some suggestions. Do you know of any serialization packages that might help me? Do you have any suggestions on what might be a good custom solution? Will Externalizable make this easier? (I've never used Externalizable before...looks like maybe it could help, but even that appears to be vulnerable to refactors that change package structure).
    Thanks for your thoughts.

    I've continued to work on my own custom serialization process as described in my previous post. Here is how it currently works:
    In the example there is a class named ExampleSubClass identified by the String "xsub" of version "1.0". It is saved and then reloaded into a class named RevisedExampleSubClass identified by the String "xsub" of version "1.1". The String "xsub" identifies what the class represents, which allows the class and package to change as needed. Fields can be added, removed, or converted through the optional serialConvert method.
    public class ExampleSubClass extends ExampleSuperClass {
         private static final String serialId = "xsub";
         private static final String serialVersion = "1.0";
         ExampleAggClass exNullAggClass = null;
         String exString;
         ExampleNonXCSerialClass nonXCSerialClass;
         String exNum;
         ExampleAggClass conAggClass;
    public class RevisedExampleSubClass extends ExampleSuperClass {
         private static final String serialId = "xsub";
         private static final String serialVersion = "1.1";
         ExampleAggClass exNullAggClass = null;
         String newStringA;
         String newStringB;
         String exString;
         Integer exNum;
         ExampleNonXCSerialClass nonXCSerialClass;
         String conAggString;
         private void serialConvert(Converter converter, String fromVersion) {
              if (fromVersion.equals("1.0")) {
                   converter.addField("newStringA", String.class, "new string!");
                   // intentionally not adding newStringB to see if warning is thrown
                   converter.convertField("exNum", new ConvertScript<String,Integer>(String.class, Integer.class) {
                        @Override
                        public Integer convert(String fromValue) {
                             return new Integer(fromValue);
                   converter.convertField("conAggClass", "conAggString", new ConvertScript<ExampleAggClass, String>(ExampleAggClass.class, String.class) {
                        @Override
                        public String convert(ExampleAggClass fromValue) {
                             return fromValue.getAggString();
    // and then in some other class...
         ExampleSubClass example = new ExampleSubClass();
         System.out.println("Serializing class...");
         XCObjectOutputStream xcoos = new XCObjectOutputStream(new FileOutputStream(file));
         xcoos.writeObject(example);
         xcoos.close();
         System.out.println("Deserializing class...");
         XCObjectInputStream xcois = new XCObjectInputStream(new FileInputStream(file), RevisedExampleSubClass.class);
         RevisedExampleSubClass resc = (RevisedExampleSubClass) xcois.readObject();There is still a little more work to do to fully support arrays and collections, and I need to develop a rigorous test suite for it. But so far it's looking good.
    Edited by: Skotty on Jul 18, 2010 5:31 PM

  • Serial Data Record Timing

    I was wondering if I might get some help in debugging some timing issues for my serial data recording.  Currently I am trying to create a loop that records data from a meter that outputs a comma-delimited string every 5 seconds.  I have attached the VI that I am currently trying to debug.
    The problem I am facing now is that sometimes I am not catching the correct string.  It is catching either the tail end of a previous print, and then the read buffer is never cleared, so the data needed array cells 5, and 11 are not correct.
    I was thinking that somehow I could simply wait on the data to arrive, do the reading etc, then wait 5 sec for the next bit of data -> or simply wait for the next complete string.  If anyone has any suggestions please let me know, and code examples would be great.
    Please let me know if you have any questions.
    Thanks
    Attachments:
    test_serial.vi ‏167 KB

    Hi Vessel,
    I noticed another point: I suppose, your meter is configured to send this string every five seconds. Since the timing of your meter and the PC is not exactly the same, you have some timing interference effects, so that after a while your "Bytes at Port"- node executes, while the meter is sending the data (9600 Baud is not very fast). That's why you get only parts of the string.
    A better approach to this problem would be to periodically call the "Bytes at Port"- node until the expected amount of Bytes is given back (if you expect a defined number of bytes). Or you read in all data you receive in a short time loop and check for some end-of-String condition, after this you can parse the String for the coma-separated values.
    Perhaps I could help you, maybe you post your solution to the problem,
    Dave
    Greets, Dave

  • Serial data manchester

    Hello All,
    I am new to the forums here. I need help converting the following code for use in LabVIEW. The data is coming in using rs232 format in ASCII. The bits are manchester encoded. I have setup the normal vi for reading serial data but when indexing it in an array the data is all over the place and inconsistent. Your help would be greatly appreciated.
                   'SERIAL NUMBER
                    Cells(24, 3) = Chr(ReadValue(0)) & Chr(ReadValue(1)) & Format(Str((CVar(ReadValue(2)) * 65536) + (CVar            (ReadValue(3)) * 256) + (CVar(ReadValue(4)))), "00000")
                    'PART NUMBER
                    PNRval = Format(Str(CVar(ReadValue(5)) * 65536) + (CVar(ReadValue(6)) * 256) + (CVar(ReadValue(7))), "00000")
                    Cells(25, 3) = "X" & Mid(PNRval, 1, 2) & "-" & Mid(PNRval, 3, 3)
                    'STATUS
                    Cells(26, 3) = CVar(ReadValue(8))
                    Cells(row, 24) = Cells(26, 3)
                    'Pressure
                    Cells(27, 3) = ((CVar(ReadValue(9)) * 256) + CVar(ReadValue(10))) / 100
                    Cells(row, 21) = Cells(27, 3)
                    'SensTmp
                    If (ReadValue(11) > 127) Then
                        Cells(28, 3) = (((CVar(ReadValue(11)) * 256) + CVar(ReadValue(12))) / 100) - 655.36
                    Else
                        Cells(28, 3) = ((CVar(ReadValue(11)) * 256) + CVar(ReadValue(12))) / 100
                    End If
                    Cells(row, 22) = Cells(28, 3)
                    'ElecTmp
                    If (ReadValue(13) > 127) Then
                        Cells(29, 3) = (((CVar(ReadValue(13)) * 256) + CVar(ReadValue(14))) / 100) - 655.36
                    Else
                        Cells(29, 3) = ((CVar(ReadValue(13)) * 256) + CVar(ReadValue(14))) / 100
                    End If
                    Cells(row, 23) = Cells(29, 3)
                    Cells(30, 3) = "PASS"
                    Cells(row, 25) = 1
                    'Cells(row, 26) = " "

    Preamble
    1
    Byte to   stablise the DC component signal
    serial number
    5
    Serial   number of the unit:
    - 2 Bytes   for the 2 ASCII characters (AA to ZZ)
      - 3 Bytes for the number (0 to 99999)
    part number
    3
    Part Number   of the unit( The last 5 numbers SSHHh):
      3 Bytes for the number (0 to 99999)
    Status
    1
    Byte   indicating the status
    Sensor   pressure
    2
    Value of   the measured sensor pressure :
    2 Bytes   (unsigned integer) with 16 significant bits, decimal value x100 (0.00 to   655.35 psi)
    Sensor   temp
    2
    Value of   the measured sensor temp :
    2 Bytes   (signed integer) with 1 sign bit and 15 significant bit, decimal value x100   (-327.68 à +327.67°C)
    E.   temperature
    2
    Value of   the measured E. temperature :
    2 Bytes   (signed integer) with 1 sign bit and 15 significant bit, decimal value x100   (-327.68 à +327.67°C)
    Checksum
    2
    Arithmetic sum of Bytes on the message frame   (without preamble and checksum)

  • Corrupted serial data when reading

    Hello Friends
    Im working on a project that read a string through the serial port from a flow meter.
    the string that the flow meter sends has this pattern. its a comma separated string:
    0021,00029504,00032622,0115,0,0,00000000,00000006,​0000,00000000,00000000,0000,0,0,00000000,00000000,​18:14:48,12/04/12,2110,00000000,0
    i already proccesed the data with this VI (please fell free to give me any suggestions ). Please see 1.jpg
    I am having the following issue. when receving data from serial, several strings show up corrupted. please see good.jpg and bad.jpg. i have tried to read the serial data on hyperterminal, and all strings show up ok.
    i will appreciate any suggestions and advises on how to fix this!
    thanks in advance
    Attachments:
    1.JPG ‏71 KB
    good.JPG ‏14 KB
    bad.JPG ‏13 KB

    moreins1 wrote:
    hello
    actually, i have one more question.
    this is the data viewer i have on my vi. it shows each data string that my serial device is sending. this string will change 10 times in a second. this is OK. right now, its showing 1 string at a time:
    0021,00029504,00030816,0110,0,0,00000000,00000009,​0000,00000000,00000000,0000,0,0,00000000,00000000,​18:14:54,12/04/12,2173,00000000,0
    what i want now is to actually append all this data in the viewer so i can copy and pasted it to notepad. i would like it to show like this:
    0021,00029504,00030816,0110,0,0,00000000,00000009,​0000,00000000,00000000,0000,0,0,00000000,00000000,​18:14:54,12/04/12,2173,00000000,0
    0021,00029504,00031123,0107,0,0,00000000,00000009,​0000,00000000,00000000,0000,0,0,00000000,00000000,​18:14:54,12/04/12,2174,00000000,0
    0021,00029504,00030948,0104,0,0,00000000,00000009,​0000,00000000,00000000,0000,0,0,00000000,00000000,​18:14:54,12/04/12,2175,00000000,0
    0021,00029504,00030866,0103,0,0,00000000,00000009,​0000,00000000,00000000,0000,0,0,00000000,00000000,​18:14:55,12/04/12,2176,00000000,0
    0021,00029504,00030903,0105,0,0,00000000,00000009,​0000,00000000,00000000,0000,0,0,00000000,00000000,​18:14:55,12/04/12,2177,00000000,0
    0021,00029504,00030888,0105,0,0,00000000,00000009,​0000,00000000,00000000,0000,0,0,00000000,00000000,​18:14:55,12/04/12,2178,00000000,0
    0021,00029504,00030836,0104,0,0,00000000,00000009,​0000,00000000,00000000,0000,0,0,00000000,00000000,​18:14:55,12/04/12,2179,00000000,0
    0021,00029504,00030545,0095,0,0,00000000,00000009,​0000,00000000,00000000,0000,0,0,00000000,00000000,​18:14:55,12/04/12,2180,00000000,0
    and so on.........
    Can you please advise on how to do this without actually monkeying around with the VISA inicialize?
    thanks!
    You're gonna have to put that string into a shift register to bring it back around.  Then you'll have to concatenate it with the current string (add a return so they end up on different lines) and take the output to your indicator.  Be careful what you wish for... if it's updating 10 times a second, it will eat up memory like crazy.
    [edit]
    Didn't realize you wanted to cut n paste to notepad... why not just take the original output to a file instead of an indicator?  Cross beat me to it.
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

Maybe you are looking for

  • How to Convert Oracle Apps Report into XML Publisher

    Hi How to Convert Oracle Apps Report into XML Publisher? Thanks

  • Ipod keeps trying to load during power up.

    Why does my ipod keep trying to download something when it is powering up.

  • 10g Features

    Is there any detailed doco on what's coming in 10g, i've found a couple of links, but none answer my question. Has the allowable length of a table name been increased in 10g?

  • CAN SAP  DATA SOURCE BE INCLUDED

    HI Is it possible to Include the sap UNIVERSE  with in sap  another UNIVERSE? where linking is not possible between SAP  Universe with another SAP universe. THANKS IN ADVANCE

  • Add comments box in a survey

    hi, i am currently looking into a survey list and i have created a  survey. But the  issue is that, I want to add a comments box  at the end of the survey. ie, when user completes the survey, he  should enter comments about the same. i searched in ne