Read data series and detect the break in series at the same time

I need to communicate with a serial device that sends messages back, but also sends a break, break, break, break series combo that I need to listen to. I've never worked with before series breaks but the only VI I found which seems to detect pending VISA on event VI with the series Break parameter. I'm not sure that understand how I could detect a break in the series, but also to be reading and writing messages at the same time in the meantime. Isn't this possible?

If you use multiple loops, I think you can do.  You use 1 loop to check to see if there is data and 1 loop looking for breaks series.  Then use queues, authors of notifications or events to anyone who needs to know what you have experienced.

Tags: NI Software

Similar Questions

  • I want to exchange a larger HDD (Mac Pro early 2009) and at the same time improve Cougar to El Capitan.

    I want to exchange a larger HDD (Mac Pro early 2009) and at the same time improve Cougar to El Capitan. What is the best way to do it?

    I think the best would be a new installation of El Capitan on the new HD and reinstall the applications on the new HD, and then migrate the data and setting for the previous version of OSX. In this way the least unused stuff enters the new OSX version

  • How read datalog multiple files at the same time?

    Hello friends...

    can someone help me to show how read datalog multiple files at the same time?

    Here is the example of my case.

    I have 500 files in a folder. each file contains a waveform and its setting.

    and then I want to do a card spectral these files, because these files have been saved in the order.

    the point is to know how to read these 500 files at once? I made a program to read these files, but the program can read these files in one by one. So it is very uncomfortable to read 500 files one by one. can someone help me solve this problem? Thank you. I hope you can show me the program. Thank you again...

    Hi jojo,

    Well, in the range of functions daughter, you will find a function to list the contents of the folder. This allows to get the names of all the files datalog, and then use a loop FOR to read.

    No one is obliged to provide 500 names of files manually - that's why we use a programming language to let the computer do the stupid work

  • How to read 4 similar channels at the same time with the MCC

    Hello

    with the mcc libraries and a card PCi-6034 classic (by calculation of the measure), I want to read 4 analog channels at the same time. I have a "scope" with 4 channels.  How to read 4 channels at the same time with the mcc?

    MF

    Hello MF.

    Thank you for using OR support.  I guess you try to program in LabVIEW.  Where exactly did you get the MCC library of?

  • Can I change the new memory and at the same time to replace the Rams?

    Can I change the new memory and at the same time to replace the Rams?

    If a MacBook Pro RAM and drvie hard can be modified/improved depends on the submodel and we do not know yours. There are dozens of variations of the MacBook Pro issued since 2006, and you do not want guessing us!

    Please do "about this Mac" in your Apple menu to get this:

    Notice the line that I have highlighted with the red arrow. Please tell us what your computer has in the thr same place. However, do not post any serial number.

    With the exact submodel we can better advise you of any available upgrade paths.

  • Please, I need help. Recently, I bought creative photography Cloud plan Student and Teacher Edition (one year) online from the website of adobe because my Photoshop trial has ended. And at the same time, I have 2 days left to Indesign. What I know

    Please, I need help. Recently, I bought creative photography Cloud plan Student and Teacher Edition (one year) online from the website of adobe because my Photoshop trial has ended. And at the same time, I have 2 days left to Indesign. I know, if I bought the plan creative cloud, I can use activate indesign. When I try to activate or renew indesign, they ask the serial number and code exchange and I don't have one of them. Can anyone help me please by giving steps what I need to do. Thank you

    ID is not part of the plan of the photograph, so it will not activate.

    Mylenium

  • opening and reading PDF 2 files at the same time

    Since the last update, I can't open two PDFs at the same time. As soon as I open the second file, the first file is reduced to a minimum.

    Hi sofw.ms,

    Please open Edit > Preferences > General and check "Open document as new tabs.." option to open two PDFs in multiple tabs in the same window.

    Let me know how it goes.

    Kind regards

    Ana Maria

  • How can I separate the dialogue of downloads and bookmarks in the library box so I can see each one separately and at the same time as Firefox used to allow?

    After the last update, placed Firefox download dialog box and bookmarks in the same dialog, which cannot see both at the same time. I can't find any option to separate the two. It's severely cramping my workflow. Can you tell me how I can see once more my download progress in a single window and my favorites in another?

    You can view the new download manager in a tab by opening the words: download page and you can consider opening this page in a separate window.

  • How to create impulses cause a pulse width Variable AND at the same time

    Hi all

    I have a NI PCI-6251 that comes with 2 counters, a FREQOUT port and then some DIO, DAC and ADC.  I want to trigger a pulse of variable width (easy to do with two counters) and a frequency closed, exit at the same time.  So, I want to end up with a line that will display TOP for some variable time, while the other exits a train of pulses for a time variable.  It is easy to do if you have 4 counters but I don't have one.  Does anyone have an idea to implement these two things AND making them trigger at the same time with the PCI-6251 card?

    The line is high for as long as your pulse train controlled?

    If so, set up the first counter as output pulse, configure the 2nd as output continuous meter but with the internal of the first counter output as its trigger to pause (pause when it is low).  Start the 2nd meter before the first.

    If not, you will need to use the digital output to replace at least one of the counters (max sampling rate is 10 MHz, so this would give less resolution compared to the time base of 80 MHz counters).  So you would simply write the waveform predetermined in the buffer and he clock at the desired rate and the number of samples to give the signal that you want.  You need to generate some other subsystem as FreqOut clock.

    Best regards

  • Can PCI 6602:How I use digital lines of the Board of Directors and at the same time to generate trains of pulses by using a meter?

    Hello!

    My problem appeared when I tried to update my traditional NOR-DAQ legacy code to DAQmx.

    I use 2 meter (meter 5 and 7 meter) on PCI-6602, to generate trains of pulses, as well as the lines of e/s digital port 0 (the form lines from 0 to 7). What I do in my request, it's that I'm starting to generate the pulse train on the output of 2 meters and after that I play with the State of digital lines.

    Traditional, it was no problem to use the meters and digital lines at the same time, everything went perfectly, but in DAQmx, is not possible.

    What's happening: I start generating train of pulses on the output of counters, no errors, but when I try to change the State of a line of digital port the generation of the pulse train is stopped. What happens when I start the task associated with the digital way.

    My question is: is it possible to create a channel on digital lines without changing the channels created for meters?

    Another thing that I managed to do with the panels 'Measurement and Automation Explorer' and Test for PCI-6602, is basically the same thing, I generate trains of pulses on the output of the 7 meter and try to start a job on the digital line, but I get an error:

    "Error-200022 occurred in test Panel.
    Possible reasons:
    Measurements: Resource requested by this task has already been reserved by another task.
    Device: Dev4
    "Terminal: PFI8.

    On the contrary if I use the counter 0 or a counter 1 to generate trains of pulses I encounter the same problem.

    What resources are used by 2 to 7 of the PCI-6602 card counters and the counters to 0 and 1 do not use?

    Thanks in advance for any answer!

    Ciprian

    After doing some real tests on this device, I found that it is a normal behavior for the jury of 6602.  This is because when you start a task digital all 32 lines are configured for digital i/o, so it replaces your meter operation.  The article below the link explains a little more on this subject.  You must start the digital task before the task of counter to use the features of both in your program.

    2 meter and above will not work correctly when you perform digital i/o on NI 6601 or 6602

    http://digital.NI.com/public.nsf/allkb/43F71527765EEC3886256E93006CD00C?OpenDocument

  • When I connect to Wi - Fi internet, and at the same time as happens?

    I have a laptop and I connect to Wired internet and wireless at the same time. What does my laptop? Connection speed to the internet both wired and wireless to the top of my internet? Or should it make any difference? I'm always looking for ways to speed up my internet.

    I agree with Alfa S - test both and see which works best for you. Theoretically there should be no difference because there is not any speed of Internet home/nonommercial to the United States that go beyond the capabilities of each network wireless "N" or wired Ethernet networking, but the details vary depending on many variables outside of the theory. For example, your router may have a good wireless signal, but a shit Ethernet switch so it can work better with wireless.  On the other hand, you can be so far from the router wireless is difficult but Wired works well. Test for yourself and see.

  • Is it possible to see or read two video tracks at the same time?

    I have the video shot with two cameras at the same event.  If I took the video and put it in a sequence, say video1 video2, how can I watch two channels simultaneously so I can edit them?  I tried to use the multiple camera monitor and have this show video1, watching the video2 in the right panel, but it works very well.  I mean, that the multiple camera monitor does not play at the same time.  Instead, he stops, so when I play the other monitor is it still until I have stop it.  Then, it "catches up".  If I play the multi-monitor, the other is motionless until I have stop the monitor multi-cam.  Then, someone has a better solution that I can use where they both play at the same time?

    BTW, my hardware is new and I have a processor 6-core i7 - 3930K with 16 GB of memory, so I don't think that the problem is with my hardware is not not enough to properly run the Agency 5.0.

    «adobe multicam tutorial»

    http://TV.Adobe.com/watch/short-and-suite/MultiCam-sync-and-editing/

  • Visa read write on port series independently and at the same time!

    Hi all!

    I need to read and write data to and from a serial port (rs232) independently and simultaneously .

    I'm sorry that I can not put a picture of that, but it's very simple:

    I used "set up the serial port" and forwarded to two while loops, the resource reference.

    a loop is reading data and the other loop is writing data to the port.

    the problem is when the playback loop (function serial reading) waiting for data - it blocks the other loop to run (writing of the serial function is blocked).

    I searched the forum and find this visa open function has 'duplicate session' option - that's what I need?

    If true, can someone explain exactly how to wire and use it in the right direction?

    Thank you very much.

    Guy.

    OK, I found an example that solved my problem: a VI called   serialduplicatesessions.

    The file is associated.

    Here is the link for all cases: http://zone.ni.com/devzone/cda/epd/p/id/1727

  • can insert bulk data two operations at the same time?

    I think they should be in a position, as long as they do not use the parts that overlap.

    OracleGuy777 wrote:
    Sorry guys, I may be

    am not being clear.
    >

    If T1 inserts in a data block and T2 inserts into a data block, then surely it must be some sort of lock/lock for something. I mean, otherwise they might both insert the line in the same position in the data block. If something should prevent that!

    You are absolutely right. There is one kind of locking AND locking AND another (mutex) passed to prevent this exact question.

    Unfortunately, Oracle acknowledges there is a problem and that the expectations of these things may cause performance problems. This is unfortunate because they tinker with it and the answer changes slightly with the version.

    The choice of the lock and latch and (for newer versions, mutex) seems to be based a little on the length and complexity of the "exclusivity" serialization must be. A simple "I want it so I can return this little" will be a latch or mutex. More complex "I want it but others can watch it while I use it" will use the locks, which involve much more complex structures and the ability to queue.

    There are a lot of documents, analysis, speculation, myths and so on around it. If you want to continue past 'there are mechanisms' I would recommend first to decide on the version in order to have a target to reflect and then watch whatever it is written by Tom Kyte, Jonathan Lewis, and Tanel Poder contains the word 'lock', 'lock' or 'mutex '. Studying it could take a few months of dozens.

    But it's one worth studying as it heads toward some of the main areas related to performance. And it's interesting because it's really a "never-ending story" as new and innovative handling restraint means are found or news and more larger sizes require different tactics.

  • How to lock a folder and at the same time enable backup software to access?

    Hello.
    We have 10 systems in our office and an additional computer that acts as a backup server for the important files and folders. However, due to security issues, we want the whole (the inside which are backups) must be locked down and only accessible by providing authentication (e.g. a password). but the problem is that if I block the folder, the backup software may not work.
    Is there a way around this so that whenever anyone attempts to access a file/folder from the server, it will have to enter a password (remember that it is access to the its system which is connected through lan server) and the same brand of time the work of backup software?

    Hello.

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet forum.

    http://social.technet.Microsoft.com/forums/en/category/w7itpro, windowsvistaitpro, windowsxpitpro, windowsintune

  • Read a string and detect the first group of 8 numbers

    I want to take an information from the string within a string (file name or folder name)

    The string I want to take is a number of 8 digits (side by side) and it may be somewhere in the middle of the chain.

    For example:

    Large chain A:

    _v_10097822-YVES. SAINT. Laurent.273456YOD02.4176.silk.15113

    Great channel B:

    _v_nkld3sgrf10097822 - YVES.SAINT.LAURENT.273456YOD02.4176.Silk.15113

    I want to always read the 10097822

    How can I do that with the code in a function that returns the number I want to?

    You can try this...

    var numberFromString = getNumbers("_v_nkld3sgrf10097822-YVES.SAINT.LAURENT.273456YOD02.4176.Silk.15113");
    alert(numberFromString);
    
    function getNumbers(str){
    return str.match(/\d{8}/);
    }
    

Maybe you are looking for