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.

Tags: NI Software

Similar Questions

  • 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

  • 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

  • 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 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

  • serial port after the installed DSC module problem

    Hello..

    I want to GSM(with labVIEW) and PLC interface, My PLC will work in serial port only.

    In my PC, I have 3 serial ports. before installing the DSC module in my system, I can configure the ports series all the... but, when I finished installation of the DSC module, 2 ports is not between these 3 serial ports. Before PRECAUTIONS, I can work with PLC and I can use other ports. After installation, I can't configure the serial ports... Hereby, I have attached the error with this...  Please help me soon...

    The Solution is, no need to install the VISA device drivers separately. Installing the DSC module only.

  • 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.

  • serial port of the UCS c220

    Someone tried to put the IP address on the serial port MMIC? Thought it would be nice not to have to hang out on the screen and the keyboard, but I can't seem to get the appropriate PIN or and baud rates.

    Sorry Gene, don't know why it gives is right for you.  I shot again today to check, I wasn't crazy, and it is humming along fine on my installation.  Yet once, right rolling cable on the serial port RJ45 in the back (note: not the CIMC/mgmt port, but the port directly adjacent to the VGA port).  I use TeraTerm with parameters:

    Here is the result of my terminal, the color is ugly, but does the job:

      

  • 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.

  • 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.

  • How to change the CSV in dat file

    Hello

    I want you ask about the data I've had.

    In fact, data from csv file. So, can I change directly file dat? Just put c:\Trace.dat?

    may or may not?

    Need your help.

    Thank you.


  • where is the wallpaper of graphic files located?

    The place of 'repair' who 'fixed' my computer added a bunch of pictures that I want to DELETE my "Properties" and I also want to add files customized for the wallpaper.  Where are the files located on the C drive?  They have not yet found and to tell you the truth, just can't remember where they are.  : )

    I don't think that this place of the computer's real competent...  I don't want to take my office back in there for this problem, I think I can fix my own.  I built this 'thing'!

    Thanks for any help/comments/hints/instructions that you have!

    Katie

    Hello 1Startdancer,

    My apologies. I assumed (wrongly) that the photos had been stored in the folder of wallpaper. It seems that the repairman took pictures "as wallpaper."  To do this the photos must be stored in the folder "photo". If you already have other copies of these photos elsewhere the best solution is to delete all those photos in the folder "photo". Once you've done that, go into display properties (right click on the desktop and select Properties, and then in the Properties window, select desktop). Once you see the list of wallpapers, select one that naturally belongs to Windows (do not select one of the photos you want to get rid of that) and then click on apply. Once you have selected a windows desktop and the desktop has refreshed, close display properties and then open the properties of display again. Photos that you removed should be now is no longer there.

    This forum post is my own opinion and does not necessarily reflect the opinion or the opinion of Microsoft, its employees or other MVPS.

    John Barnett MVP: Windows XP Expert associated with: Windows Expert - consumer: www.winuser.co.uk | vistasupport.mvps.org | xphelpandsupport.mvps.org | www.silversurfer-Guide.com

  • Sending data through the serial port and the mscomm control is not the same as the original data

    Please find attached the mscomSerialWrite2.vi and the resulting image.

    Try it and find that when data "FFAE" 4040 EA41 D8FF is sent,

    the received data are "FFAE" 4040 EA41 3F

    I tried other data, the result is as follows:

    sending: 4164 8163 4341 03 receive: 41 64 81 63 43 41 03 leadK
    sending: A143 B245 6AAA BBCC receive: AA BB 00 A1 B2 45 6a 43 result: NG
    sending: AAAA AAAA AAAA AAAA AAAA AAAA receive: result AA AA AA AA AA AA AA AA AA AA AA AA K
    sending: A1A1 A1A1 A1A1 A1A1 A1A1 receive: result A1 A1 A1 A1 A1 A1 A1 A1 A1 A1K
    Send: FFAE 4040 EA41 D8FF receive: FF AE 40 40 41 EA 3F result: NG
    Send: FFAE 4040 EA41 D8FF AA23 AB33 A233 AAAA A404 ABCD A2CD A22D B22C receive: FF AE 40 40 41 EA 3F 3F 3F 3F AA AA AB CD A2 CD result 3F 3F 3F: NG
    Send: FFAE 40A 2 SDAC AETS receive: result FF AE 40 A2 CC DD EE 00: NG

    Please help me solve the problem.

    According to Microsoft, you want something with non-printable strings as an array of bytes, not a string.  I don't know that it will make a difference in this case, but may be worth a try.

Maybe you are looking for

  • Optional language packs updated Windows

    I want to remove language packs I have used to install, how can I remove them? I'm on Windows 7 32 bit Ultimate.

  • Windows is mess up my computer - HELP!

    My computer no longer Broadcom 802.11 network adapter accepts. Replaced by a new adapter Bluetooth of Broadcom Broadcom. The problem is that Windows continues CONSTANTLY reinstall the old adapter - VERY BAD! I had to reinstall EVERYTHING completely 3

  • Computer starts only in safe mode

    I went to stop my dell studio 1737 last night and it is stuck on "shutting down" and so finally I used the power button to turn it off, and now it will only start in safe mode or safe mode with network.  My restore disk is in stock somewhere as I jus

  • When should I enable STP?

    Hello I have my network with 300 series switches. We work in mode layer 3 and all other switches are layer 2. I don't have a redundant path between switches. Should I enable STP? or is not necessary? Thank you very much.

  • No Internet connection when the laptop is off mode "Eve".

    When I close the lid on my laptop (which puts the computer into sleep mode) or he falls asleep with the lid open, there is no internet connection when I wake the computer.  I have to either run the Troubleshooter or perform a reboot to get connectivi