Add data from serial Port in the indicator series front panel?

Hello! Everyone,
I'm new to LabVIEW but has prior programming experience.

I have to develop a front for my camera and this is why I need LabVIEW, data comes from serial Port, so I started internet research / LabVIEW forums and found various tutorials by the help I am able to do the part Serial Communication, but has got stuck in one thing.

Whenever data from serial Port, it gets displayed on the indicator chain but clears quickly, but I want some data comes it does not erase the old data and new data to add with the old data.

I read the string concatenation will work in this case, but I am not able to use it.

Please take a look at my VI attached to this mail.

You must use a shift register to keep your story.

I recommend you go to some of the tutorials available.  They will help you a lot to get off on a lot of things like that.

Introduction of 3 hours
Introduction of 6 hours
Bases LabVEW
Paced self-study for students
Self Paced Training beginner to advanced, required SSP
LabVIEW training Wiki
OR learning
Getting started with products OR

Tags: NI Software

Similar Questions

  • Serialize the data into several messages from serial port

    Hello

    My current LabVIEW project, I want to read data from the serial port and store the (transformed) response in a file.

    Since my design model is based arround the Manager of messages queued waiting my serial communication is also build around that. (see this post for my original question).

    But now I have the following problem:

    In the loop 1 I put several messages in the queue of loop 2.

    Loop 2 processes these messages and sends them to the print queue of loop 1.

    Loop 1 gets several messages that need to be combined into 1 string and (with other data) in a file.

    Just to clarify:

    Loop 1, I have send 3 messages for each connected device. Even though I have a separate file for each device, the response to the messages must be in 1 result string.

    (Note on the picture: there are other loops running at the same time you will also need to access the serial port for the port for loop 1 is not an option)

    Hope you can help.

    A next attempt to download the code

    The attached Code is provided as is. It has not been tested or validated as a product for use in a deployed application or system, or for use in dangerous environments. You assume all risk for use of the Code and the use of the Code is subject to the license terms of Sample Code which can be found at: http://ni.com/samplecodelicense

  • Using the Serial Port on the HP 50 g graphic calculator

    Hello world

    I have another question. I want to use the Serial Port on the HP 50 g to connect with another device. The device is called the MFJ-1214PC. What it does is to accept the text and commands through a 9-pin serial Port and converts the text in a Code Morse/RTTY sound audible. It also decodes Audible the Morse Code and RTTY radio signals and displays them as text on your computer. The program that controls the MFJ-1214PC was originally written for an IBM PC for the MS-DOS operating system. The HP 50 g graphic calculator meets the system requirements for the simplest version of the program. I was wondering if there is an MS-DOS emulator written for the HP 50 g, which would allow the HP 50 g to become the computer in this case, or if the program could be rewritten and brought to the HP 50 g. If it could be rewritten, programming language what do you think would be better suited to this type of application (if it is even possible?) or UserRPL, SystemRPL or Assembly. Don't forget that I'm a complete newbie with the HP50g and have never programmed with it yet. I'll include the manual of the MFJ-1214 PC as an attachment so that you won't have to look for him. Thank you in advance for your help!

    ~ Zekelegge ~.

    I understand (from my brief overview) out of the box-MFJ-1214PC, this offer box decoder output series computer.  The computer (50g in your case) will have the software to read message series and then convert that to an output for display.

    BartDb gave you the right answer.

    A serial cable with the correct speed level and reversing lever to manage as well as the 50G has a RS-232 signal to the outside world is the ideal solution.

    However, make sure that the output of the decoder box series package can be understood by the 50 g. aud, bits, etc.   (you have the set-top box manual, so you'll have to look that up)

    the streamsmart is not an aggregator of serial port.

    in other words, these connectors DIN of Qty 4 on the front do not accept series rs-232 input and send then to 50 G.

    I'm not an expert, streamsmart more info on these boxes is rare to find.  The probes are even more rare.

    However, I know that the 4 connectors are for the analog-to-digital conversion in the probes.  The streamsmart works as a "data logger" in which he sees the input probe, the A/D converted, then sends it to the 50G (or a computer via the USB port).

    In addition to the solution of Bart, there was another named Tiwag forum poster who created a serial cable and displayed a schematic representation of the cable.  This information can be found here:

    https://groups.Google.com/Forum/?fromgroups#! searchIn/comp.sys.HP48/serial$20port/comp.sys.HP48/ltcane1jSOw/uHyw2Ti03kgJ

    to see an example of programming to use the serial port of 50G, you can reference the following hpcalc GPS data collection program.

    http://www.HPCalc.org/details.php?id=7105

    It is written in userrpl so can be crossed with the reference of users advanced for the translation of the syntax.

    It seems that the main routine of concern for the comm to the gps is in the file "GPS >.

  • Tecra M11 - 17V - identify the serial port on the docking station

    I have a laptop Toshiba Tecra M11 - 17V, which I often use with the docking station that accompanies it.
    There is a DB9 serial port at the back of the docking station, but I don't know what COM Port.

    I use Windows 7.

    In the device, COM9 Manager - COM22 are identified as Port BT (bluetooth). Com7 - COM8 are RIM Virtual Serial Port v2, COM17 is Prolific USB-to-Serial Comm Port and COM18 is USB-Serial CH340.

    I thought that COM17 or COM18 were the most likely candidates, but have not been able to get to answer using one of them.

    I connect a Psion 5 (Comms app) to him and have developed ports and the Psion 8bits, 19200 baud, no parity, 1 stop bit.

    Hello

    > There is a serial port DB9 on the back of the docking station, but I don't know what COM Port, it is

    I think you have misunderstood something wrong
    COM ports in Device Manager are virtual com ports
    There is no link between a serial port and a virtual com port.

    I have a question: what docking station you have exactly?

    I had an express port replicator and this device required an additional serial port driver installation.

  • What standard corresponds to the Serial Port of the Tecra A9

    What standard corresponds to the Serial Port of the Tecra A9?
    What is RS - 232?

    All I know is that it s a serial port 9-pin

  • Import data from a spreadsheet on the web to the Numbers worksheet

    How can I import data from a spreadsheet on the net in a Numbers spreadsheet, keeping its original format? It is not a problem when you use Microsoft Excel or OpenOffice spreadsheet and had no problem when I was with Appleworks6. When I try in number, however, the data which is along a line on the original worksheet comes to the bottom of the left column, which is completely useless.

    copy the line then pasted in numbers (command C and V command) has always worked well.

    The line of values must be copied from a continuous row of cells.

    If you provide a link to a spreadsheet, I can test it on my machine.

  • the NI 9871 serial ports appear also in MAX with built-in serial ports of the target - under devices and Interfaces IS NOT? NO NEITHER 9871 (Scan Interface)?

    Hi - Have cRIO

    Can someone help me get the NI 9871 (Scan Interface) work?  My two 9477 and two 9425 and 9403, function with the scanning Interface.  In MAX > software > NOR-Serial RT 3.82 > NOR-Serial 9870 and Scan Engine Suport 3.8.2 9871 BUT NOT == MAX > devices and Interfaces > series & parallel = number of Ports Com for 9871 listed?   Project, 4-port RS-485 NI 9871 is in slot1?  Any help appreciated thanks

    the serial ports on the NI 9871 also appear in MAX with serial ports integrated target under devices and Interfaces

     

    NEITHER 9871 (Scan Interface)

    I left the Slot 1 Slot 8 9871 Know works and MAX displays 4 COM ports.  Something is misconfigured in Slot1?

    Solved!

    Thank you

  • Collect data from specific frequency of the power spectrum

    Hello

    I want to know how to collect data from specific frequency of power spectrum file. I'm trying to separate data from specific frequency of the original file.

    This will depend on much how your data is stored. You will need a way to read the file in LabVIEW and then a way to identify the data you want. I often record data in a .csv file, then I use "Reading worksheet" to get the data in a table. Then, you can simply use 'Index Array' to get the datapoints you need.

  • the analysis of data from a legacy in the form of bytes bluetooth

    Hi, Iam execution of java for MYGlucoHealth code monitor. I have to catch the bluetooth through my application data and analyze format. (later I store in the SQLite database). But according to the specification of the Protocol had, I do not understand how to read and analyze. I know how to pair the device to my request. But I do not know how to parse the bytes of data according to the Protocol of the device specification.

    Can someone tell me how to do this. All done with this kind of coding?

    Thnaks in advance,

    -Cissokho

    Published by: 798686 on November 2, 2010 02:38

    798686 wrote:
    Ok.. Thank you

    Tips for the facilitator: don't double post. I've locked the new thread.
    the analysis of data from a legacy in the form of bytes bluetooth
    Please continue here.

    DB

  • Store data from the Serial Port in the buffer and then take action?

    Hello! Everyone,

    I'm new to LabVIEW and I take assistance from various videos and stuffs available online to get started with LabVIEW.

    But I have a duty, therefore needing help.

    initially I see some of the tutorial videos and learned about the LabVIEW interface, and does a little project to communicate with the Port series (receiving and sending data).

    Happens to my task.

    My LabVIEW application will send a few State request packets on my device or control and based on the response packet that I have to display values.

    The Structure of package is as

    Header, length, Op_Code, data Checksum

    There is no terminator as newline or carriage return or anything else.

    In C language, I read the data from the Serial Port, and based on the length, I conclude that I got the full package or not, and then by recalculating the checksum value, the integrity of the package is verified and then based on that Op-Code has been sent will be decided.

    (I'm dealing with hexadecimal data)

    But how can I do this in LabVIEW.
    A tutorial or any referece will be useful for me.

    1. I suggest that you learn to use Shift Registers instead of local and global variables.  They are much more efficient (memory and execution speed) and make it much easier to read the schema.

    2. you don't need this inside the loop property node.  Is there a way to configure a Serial Port to turn off the stop character.

    3. you don't need to wait for playback VISA will limit the rate of loop if no data is coming.

    4. Once you have the length, you simply read the rest of the entire message and process it at a time.  This will make things a LOT faster.

    5. you should really do this enum a def type so that you can ensure that all your enum constants have the same values.  If you need to add a State later, simply update your enum in the same place then.

  • Add card serial port of the Optiplex 780 desktop

    I have a refurbished Dell Optiplex 780 compact desktop computer.  I would like to add an inexpensive PCI card that has two serial ports RS-232 legacy.  The description says that it is a "PCI to serial port card".  He mentions "for 5V PCI slot only."

    I think the 780 will take this card, but I'm not well versed on the specifics of the new PCI standards.  This card will probably work?

    Thank you

    Jan

    Typical PCI cards have one or two notches, according to voltage signalling. Cards requiring 3.3 volts have a notch 56,21 mm from the rear of the card; those requiring 5 volts have a notch 104,47 mm of the rear plate.  Universal PCI cards have two notches to allow them to be plugged into two system 5 v or 3.3 volt slots.

    According to the Manual, the 780 has PCI 2.3.  PCI 2.3 supports 5 volt cards. Your slot machines are probably universal whereas they should accept a card with the notches or both. But be sure that

    An important point is that the map you saw is low profile and full height. The manual said that 780 office accept "without editing card - up to two low profile cards. If you need to pay attention to the voltage more than just.

    And the desktop version does not have a PCI-e x 1 slot, which means you need to find a PCI card.

    Another alternative could be a USB > serial adapter cable.

  • Data NMEA which are received on the serial port, when the system starts causes windows 7 to interpret these data as a serial ballpoint mouse and moves the cursor jumping around.

    I know this question was asked several times before, but the solutions proposed, such as changin the registry does not help. It changes by itself. In the configuration that I have in my boat, the stream of NMEA data is directly injected into the COM port so no driver is necessary. It's a problem easily solved in windows XP, why is it so difficult in W7? There must be a way to permanently disable the plug-and-play driver load. I found this program that works only for Vista, if I understand correctly: http://www.stentec.com/en/download-freeware COM port plug & play blocker. If something similar could be provided by MS for W7, it would be very good...

    It turns out that the program at the port of Stentec COM (freeware) http://www.stentec.com/en/download-freeware care & play blocker, also works in W7. I don't know how it works, but it does, and it's good for me! It also works for the virtual serial ports.

  • Waiting for data on serial port

    Hello everyone.

    I'm trying to figure out how I can solve a problem on LabView. I programmed an Arduino board to read and send a data table of the accelerometer on the serial port. I want to LabView to receive the data and graphs it. My problem is that Arduino send data on an ongoing basis and sometimes LabView can not cope with traffic and read some values "0".

    Is it possible to wait for the data and solve this problem?

    I joined my current vi.

    Thank you much in advance.

    AndreasSchnaas wrote:

    Yes, the characters are 0-9 and - no. ' + 'or'. '. And bytes that vary.

    Once again, thank you very much.

    Given that you send ASCII characters, change your Arduino code to send a character to end of line (10 byte value) at the end of each transmission.  Your code is already configured to use it.  Then you need not use the bytes to the Port at all.  Suffice to say the VISA of reading to read a large number of bytes.  Playback stops when it finds the stop character (value 10).  Your code will get a lot easier from there.

  • serial port to the .csv to graphic file

    I use LV 8.0

    Hello I have attached a .csv file. I am able to read the file via the file VI I joined. But I want to make the graph of the following values.

    The .csv file will come from port series so please tell me how fo this. I have read the attached examples, but I'm not able to convert it to read a .csv file. I use a serial port.

    I searched the internet for examples, examples of availabe are on labview 8.2.so please guide so that I can continue my project.

    Thanks and greetings

    Véronique Gupta

    The example of "Detect the Break event" does not apply in your case. Your instrument causes a break or are you that a break is actually occurred? Doubtful. In your case, you need a loop around reading VISA. You must continue to read until you see the characters "End". Use a shift register to add characters that you receive from a string buffer, and then you can parse the string to get the numbers. You should probably also have a time-out to break out of the loop if the characters of 'End' are not detected by reading VISA. See attached example (LV 8.0) for a possibility.

  • MAX sees no serial port of the computer (RS-232)

    Hello

    MAX (measures and Automation Explorer) cannot see the computer s (9-pin RS - 232) serial ports.  I'm using Labview 7.1 and Windows XP (although I think that the manufacturer has also installed Windows Vista).  When I go into control panel > system > hardware > Device Manager > Ports, I see both ports (COM1 and COM2) and both have the latest drivers on them.  Anyone know of any way to add the "Ports" sub-branch under the direction of "Devices and Interfaces" in Max Configuration tree?

    Thanks in advance for your suggestions.

    PS Labview had been stopped in the middle of editing a block diagram, a number of times before and I have reinstalled it a couple of days (without getting rid of the problem, unfortunately).  I wonder if this problem with MAX is somehow linked to the...

    You could try upgrading to 4.5 or simply unistalling/reinstalling the version you have.

Maybe you are looking for

  • How to stop a 'now on Android' notifications?

    I use Firefox on my PC and I get a bar at the top that says: "bring your bookmarks and passwords with you. Firefox is now on iOS and Android. (Download it now) ». By pressing the x to close or by clicking on "Get it now" doesn't stop there appear tem

  • I want to make my 61 GB player and divide into 2, 30.5-GB disks

    How can I?

  • Outlook Express and MS Word mail merge email

    An Outlook Express can be used as the default email client to work with the functionality of fusion and MS Word mail merge email?  Looks like he wants to Office Outlook as default client.  If I put the Office Outlook as default e-mail client, what wi

  • Hibernation not working/not found.

    Separated from this thread. Hibernation did not appear in the start menu. The control panel (power supply option), Hibernate was saved, computer restarted, but the Start Menu do not show the same in the power button. Start Menu properties has also no

  • Can not find the driver for W8 or does not

    Hi can'f find driver for sopproces (PCI\VEN_10DE & DEV_0543 & SUBSYS_30CF103C & REV_A2), what I found does not install on W8. Pls help! Laptop (HP Pavilion dv9730us)