LabVIEW and storage data collection?

for a beginner complete labview, which is the best way to collect data of hardware connected by rs-422 serial port?


Tags: NI Software

Similar Questions

  • Open the spreadsheet at the request and add data

    Using a cDAQ 9172 and Labview 8.2, I collect four channels of noisy pressure and temperature data collected during a product test.  The data are shown live on the band on the front panel cards after be smoothed by the average feature of the sample Compression Express vi.  All this works pretty well.

    Data are presented to the test operator so that he can see when the test conditions have stabilized, which usually takes 3 to 5 minutes.  After stabilization, I want to be able to press a button on the front panel so that a spreadsheet is open (ideally, with the original opening time as part of the file name) and a scan of the four data channels are added to the spreadsheet (with a timestamp).  Then, ongoing test for 1 or 2 minutes, I want to again push the button every 10 or 15 seconds or so to add more data analysis, so that we can see later that the conditions had really stabilized.  The exact date and the number of analyses of additional data is not critical, I just want to be able to connect to another 4 to 8 lines of data before you complete the test.

    I have a kind of sort of do this, shown on the seal 'on demand spreadsheet.vi' below.  Noisy signals are shown here numbers just under the random name embedded in a table (which is how my data writing to a spreadsheet file in my actual program).  The problem with this arrangement is that the spreadsheet file is created each time that I start the vi and there are several times during execution of tests and data are not collected for some reason any.  Accordingly, we would end up with a large number of files with no or data without meaning .xls.  I just want to create the worksheet file when I press the button (s) during a successful test after conditions have stabilized.

    I tried a slightly different approach in the joint 'on demand spreadsheet 2.vi' below where I added a switch to toggle to activate a case to open the spreadsheet, and an additional button to save data.  It seems like it should work, but I don't get all the lines of data, only the headers.

    I'm still pretty new to all this and I have spent days trying to figure this out.  Any help is greatly appreciated.

    I don't have 8.2.  You can either save my vi and publish it on the thread Downconvert VI ask, or you could look at just the image:

  • How to collect data on the programs of LabView and VC ++ at the same time?

    Hello

    There are two programs in LabVIEW and another is in VC ++. The two programs to collect hardware data.

    Therefore, for the experience, it is necessary to begin to collect data at the same time and lag must be

    less than millisecond (it is essential for the experience). How can this be achieved? BTW, I'm new to LabView.

    I think on the use of network socket to get the message for both applications.

    I was wondering if there is a better way.

    Thank you.

    MARK002-MAB wrote:

    Hello

    There are two programs in LabVIEW and another is in VC ++. The two programs to collect hardware data.

    Therefore, for the experience, it is necessary to begin to collect data at the same time and lag must be

    less than millisecond (it is essential for the experience). How can this be achieved? BTW, I'm new to LabView.

    I think on the use of network socket to get the message for both applications.

    I was wondering if there is a better way.

    Thank you.

    You do not say if two programs access the same material, but I guess not. Because if they did, you probably get conflicts when the two programs try to access the same material at the same time.

    In either case, the only really reliable way to ensure that your needs of< 1ms="" would="" be="" hardware="" triggering.="" one="" hardware="" unit="" is="" programmed="" to="" provide="" a="" hardware="" trigger,="" typically="" a="" digital="" signal="" and="" the="" other="" is="" programmed="" previous="" to="" the="" desired="" start="" point,="" to="" wait="" for="" that="" trigger="" and="" start="" automatically="" when="" it="" is="" received.="" if="" both="" hardware="" units="" are="" ni="" daq="" cards="" you="" can="" do="" that="" fairly="" easily="" using="" the="" rtsi="" bus="" or="" in="" case="" of="" pxi="" the="" pxi="" trigger="" lines.="" if="" they="" are="" different="" hardware="" then="" it="" can="" get="" more="" complicated="" to="">

  • storage, reading and writing data to the file

    Hello world

    I am new to the Labview and his community.  Asked me to acquire data on the measurement of the pressure using Labview.  I could build the code and got it working, but when I look at my data that has been collected, there no stopping point.  I just spent a lot of time looking at the data in the place where it begins and where it ends.  The question I ask is how to create a code to read the pressure, storage, in memory until there finishes, collect data and then to write in a .csv file.

    I use the NI USB-6009 case and hook upwards to ai0 and ai4.  See the attached code so uncertain.

    I want to record 100 data points and the system stops after these collection.

    Thank you

    John H.

    You have a certain time which means your VI will continue to run until you press your button to stop the loop.

    The DAQ Assistant is already set to 100 samples.

    Just delete the while loop!

  • Collect and display data from several workstations

    Currently, the data in the CSV format locally on several workstations running Labview and the format of the recorded data is the same for each workstation. Data are recorded roughly every 2 minutes at each station and at different times.

    Computers of these stations are connected network but no saves a copy of their files CSV to the server that I know is not ideal, but a part of memory original.  What is now there that a computer on the network brings together these data by workstations and then the poster showing trends in workstations etc. in graphic format and possibly Excel.

    What I'm looking for is some advice on the best way forward.

    I looked at shared variables as a possible solution, but it is work stations send their respective data to the 'central' PC or this PC "questions" workstations that seems inefficient.

    Another thought was using Active X workstations to write in an Excel file running on the "central" PC

    Finally thought that workstations have record their findings to a server and then 'central' PC to access that data, it brings together and then displays the results combined.

    There are several things that remains to be clarified.

    • All LabVIEW programs, individual data record data in the same format and the same number of data points?
    • Record all programs of LabVIEW at exactly the samerate?
    • Are all data on a be saved in a single file of the Machine, or each reading (at intervals of 2 minutes) in a separate file?
    • You are trying to combine data from different machines such that it is collected or after the entire collection was done, and all files have been written?
    • Another that the timestamp of the data file, is there a "time stamp" in (all) the individual data files?
    • If you assume that the data of different machines are more synchronized, you have in mind a way to combine the different readings of the time?  What happens if they are sufficiently different that, say, the Machine has 20 readings more (because it started much earlier) than other PCs?
    • If the machines are not saving at the same rate, how will handle you that?

    A single method, you might consider is to write a program that works on any network connected PC, including a no participate in the recording of data.  For simplicity, assume that each machine "participatant" starts at around the same time, saves exactly at the same rate, written a single data file and has already closed.  If the program "Combining" knows where all data files (because he knows the name of each machine and the location of the file on each machine), it can open all the files, collect all the data and treat it but want to (including a 'combined Excel workbook"writing with a spreadsheet separate for each PC, or combining them all on one sheet).  Just decide what you want to do in the context of the issues raised above.

    Bob Schor

  • Collection of information HBA and storage

    Hello together.

    I'm looking for a script that collect for me some HBA information and storage. We use vSphere 4 U1 and need a Script that collect following information

    Name of Runtime

    Full device name

    Identifier of

    Capacity

    Name of the data store

    Political path

    State (active / standby)

    PWWN

    and maybe some information storage area as a vendor, Firmware Version, if that's possible.

    I found examples of may for some information, but not all together.

    Can someone help me because I'm not a God of script.

    Thank you

    Kind regards

    ron9999

    Hi Ron,

    I tried to do the script that you are looking for, but do not understand what you mean with "Name of the Runtime" and I do not know how to retrieve the version of the firmware. So I let these two. With the identifier did not know which one to choose, because there is more than one. If I put things in the wrong place maybe you can give an example of a production line with real data, you don't want to see it.

    Function Get-DatastoreByHba {
      param([string]$Hba)
    
      $Datastores = Get-Datastore | Get-View
      $Datastore = $Datastores | `
        ForEach-Object {$_.Info.Vmfs} | `
        ForEach-Object {
          $Vmfs = $_
          $Vmfs | `
          ForEach-Object {$_.Extent } | `
          Where-Object {$_.DiskName -eq $Hba} | `
          ForEach-Object {$Vmfs.Name}
        }
      Return $Datastore
    }
    
    $Datastores = Get-Datastore | Get-View
    Get-VMHost | ForEach-Object {
      $VMHost = $_
      $VMHostHBA = $VMost | Get-VMHostHba
      $VMHost | Get-ScsiLun | ForEach-Object {
        $ScsiLun = $_
        $ScsiLun | Get-ScsiLunPath | ForEach-Object {
          $ScsiLunPath = $_
          $HBA = $VMHostHBA | Where-Object { $_.Device -eq $ScsiLunPath.Name.Split(":")[0]}
          $wwn = $HBA.PortWorldWideName
          $wwnhex = "{0:x}" -f $wwn
          $Report = "" | Select-Object -Property VMHost,Device,Identifier,CapacityMB,Datastore,MultipathPolicy,State,PWWN,Vendor
          $Report.VMHost = $VMHost.Name
          $Report.Device = $ScsiLunPath.Name
          $Report.Identifier = $ScsiLunPath.ScsiLunID
          $Report.CapacityMB = $ScsiLun.CapacityMB
          $Report.Datastore = Get-DatastoreByHba -Hba $ScsiLunPath.Name
          $Report.MultipathPolicy = $ScsiLun.MultipathPolicy
          $Report.State = $ScsiLunPath.State
          $Report.PWWN = $wwnhex
          $Report.Vendor = $ScsiLun.Vendor
          $Report
        }
      }
    }
    

    The PWWN conversion code is borrowed from LucD.

    Because the forum software has problems with hooks, and contains the script, I am also attaching the script.

    Best regards, Robert

  • Calendar and the problems of data collection with the DAQ Assistant

    Hello NOR Developer area,

    I am a Novice of LabVIEW and have seen how helpful you all can be, and if I come to ask for your help.

    I'm having some trouble with a VI I built that specifies an input voltage, a SCB - 100 connected to a PCI-6031E and converts this tension in a temperature displayed on a waveform table. The goal is to give a constant reading of the temperature and display it in a chart for as long that the VI is running (and to reset the chart the next time the tracks of VI).

    The problems I've encountered currently are:

    -After a few minutes of the VI running, I get an error message 200279: tried to read samples that are no longer available. The requested sample was already available, but has since been replaced. (to the DAQ Assistant express VI).

    -I don't know how to change my chart so that the minimum value X is both during which the VI was launched and have the maximum X value increases with each iteration of the loop. Currently, I have the VI get the time system and contributing to the property node X scale. This worked for the graph of the voltage, but not for the temperature chart

    I appreciate those of you who took the time to read my post.

    Thank you all for your help.

    Sincerely,

    Ethan A. Klein

    SB candidate in Chemistry & Physics

    Massachusetts Institute of Technology

    Class of 2015

    PS I enclose my VI to give you a better understanding of my current situation.

    E A Klein wrote:

    Thanks for writing.

    What property node is talking?
    I do not understand that many different data types. How can I go on the treatment of all the data?

    (Did you mean I should wire 'blue' data for mathematical functions rather than using the node property tension?)

    Sincerely,

    In fact, one of the nodes property.  I mean specifically the tension property node.  But in reviewing, I noticed the other nodes in property for the chart.  Just set auto-scaling to the X scale and that should take care of two of the nodes property (right click on the graph, X scale-> AutoScale X Scale).  I also recommend placing your mathematical functions in a Subvi to make things easier to read.  Attached, that's what I think you're after.

    I hope that these small tweaks will speed things up enough to avoid your error.  If this isn't the case, then we should begin to look at the design of producer/consumer model or take readings at the same time.  It might also be worth looking away the DAQ Assistant and DAQmx real screws.  But one step at a time.

  • I am new to the ethernet communication using labview. I don't have any material. I have two laptop, I need to send and receive data through these 2 portable by using labview. Kindly help me on this.

    I am new to the ethernet communication using labview. I don't have any material. I have two laptop, I need to send and receive data through these 2 portable by using labview. Kindly help me on this.

    Dennis has already said: for a direct PC - PC connection, you need a cross over cable. If you connect through a router or a switch, you use a standard cable.

  • I get a message saying "you have exceeded your profile storage space. Yet all the files listed th are actually my docs and application data. How to delete my profile, but not from my pc? increase the max profile size

    I get a message saying "you have exceeded your profile storage space. Yet all the files listed th are actually my docs and application data. How to delete my profile, but not from my pc? increase the max profile size

    1. the first thing to do is to make sure that the computer is completely virus/malware-free. Googling around this error produced quite a few links where the posters were or had been infected with Spyware Protect 2009 rogue.

    http://www.elephantboycomputers.com/page2.html#Removing_Malware

    Once the scanning is complete (do not skip the preparatory stages no more), if the problem persists:

    2. double-click on my computer, right-click the icon for your hard drive, click left to get its properties. If you see options to set Quota management make sure that they are disabled.

    3. in the case - BUT ONLY AFTER YOU ARE sure THAT THE MACHINE IS MALWARE/VIRUS-FREE - copy the lines between asterisks (not including the asterisks) below and paste it into Notepad. Save as undopolicy.reg somewhere, you will find. And then double-click the .reg file, that you have just made to melt in your registry. I hope that this will take care of the issue.

    *****
    Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
    'EnableProfileQuota ' = -.
    'ProfileQuotaMessage ' = -.
    "MaxProfileSize" = -.
    'IncludeRegInProQuota ' = -.
    'WarnUser ' = -.
    'WarnUserTimeout ' = -.
    *****

    MS - MVP - Elephant Boy computers - don't panic!

  • Anyone know if there is no CC or BC apps or other alternatives that allow a way to create an online survey consisting of 3 questions for the participants to a trade appear to fill out and submit for the purposes of data collection?  Offlin data collection

    Anyone know if there is no CC or BC apps or other alternatives that allow a way to create an online survey consisting of 3 questions for the participants to a trade appear to fill out and submit for the purposes of data collection?  Offline data collection is a must. Ability to export data to Excel would be an added bonus. Thanks for the tips.

    Hi Nathan,

    This link might help: Create PDF fillable, creative forms of PDF form. Adobe Acrobat DC

    Kind regards

    Sheena

  • New ESX5 host - questions see SAN storage data and much more

    Just installed a new vSphere host 5 and added to a cluster with 2 x 3.5 host (in my vCenter Server 5)

    3 questions.

    1. I can't see LUN (on SAN datastore). Have zoned out my new HBA etc and still no joy. Tried the host that it recharges and rescan option etc. Any ideas?

    2 - my 3.5 hosts I was able to specify different default gateways for my Console and VMKernel Service (both on the same vswitch). I have the Service Console configured vmkernel. 10.16.5.x and 172.16.5.x (I know there is no Service Console in vSphere 5\ESXi) but on my ESX5 host I can't specify different gateways for VMKernel and network management. I'm afraid that vmotion etc will not work between 3.5 hosts and host 5, because although the VMkernels have addresses in the same range, they have not the same gateway. I have to add a local route on the host ESX 5? Or am I wrong configured somewhere?

    3 minor irritation. My local drive in my new server is showing that the data store. Can it be hidden or changed to not be visible in the data store? I want to only display my SAN data stores.

    Thank you very much

    Steve

    (1) sounds like a SAN configuration problem - you should be able to see the LUN masking and zoning is correct in the FC switch and storage array.

    (2) you could specify wear two ways because the vmkernel and the Service Console were different and supposed to be on different networks - you no longer have a gateway single vmkernel - traffic will work as long as they are on the same subnet - a gateway is used only when you exit the subnet

    (3) I do not think it is possible to hide the local data store - but I could be wrong

  • Will be my changes Lightroom RAW and usable by the Adobe programs no data collections?

    Hello.  I have a few questions that I was not able to specify, so I hope someone out there can help me out.  I learned about Adobe Lightroom 3, and I have a few questions.  Basically, I understand how the program works, but I need to know the following.

    -First question: my montages (in Lightroom) to my images (changes of wb, color, contrast, etc) on my files DNG or NAVE & XMP can be opened and edited by programs that are not by Adobe?  I know that I can export the RAW files to JPEG, TIFF or PNG, but the RAW of Lightroom edited files can be used later by a non Adobe like Bibble software?

    -Second issue: my Lightroom database (matadata, keywords, rankings, catalogue, collections, etc.) can be used by programs other than those by Adobe, such as Bibble?

    The reason why I ask is to clarify if my Lightroom RAW file edits and data collections will be nothing outside the universe of Adobe?

    Thanks for any help you might be able to shine on the question.  I appreciate it.

    Will,

    1 n ° If another program can read the changes in lightroom and apply them exactly like lightroom, this program will be lightroom. There is no canonical target for a raw file rendering. Each rendition is based on what some thought better developers and is purely a matter of opinion. And no no adobe program attempts even to read data from change in lightroom.

    2 No. kind of. I think metadata, such as keywords, IPTC and rankings stuff are standardized and can be read by most of the things. Collections, such as virtual copies are held only in the catalog.

    That said, Lightroom does as good raw files work rendered as anything out there, and personally, I don't see any reason I would like the answer to any of these questions to be Yes.

    HAL

  • What is the date of GA of Foglight for Enterprise Virtualization v. 7.0 and Storage Manager 3.0

    Hello

    I was wondering what should Foglight for Enterprise Virtualization v. 7.0 and Storage Manager 3.0 available for download

    Thank you

    Eli

    Foglight for virtualization 7.0 is now available on Supportlink here. Storage Management 3.0 is available here.

  • analog and digital data synchronization

    Hi all

    I would like to help with what I seek to accomplish, if you don't mind much.

    I'm trying to synchronize the acquisition of analog and digital modes using a common trigger that launches both types of data collection at the same time. What I've done so far, is wasting his time trying different combinations to gather examples of LabVIEW 2011 on the synchronization of data - namely the 'Multi-multifunction-Synch AI lu Dig Chan.vi' and 'Multi-Device Synch-Analog Input-Finite Acq-Analog Start.vi.

    I tried to combine the two, because one contains digital and analog, the other contains the trigger for multiple tasks.

    I guess I should place the trigger (either digital or analog-eventually I will want to choose) then call the "Get Terminal name with device Prefix.vi. But from there I'm not sure wheter to connect the name of the terminal of the sample clock digital channel or a digital leading edge of the digital chain trigger.

    Also, the way it is wired now I get errors at the local terminal name, so I don't know exactly where this terminal must come from.

    I try my best, I could use a little help, I have attached my attempt with the examples that I speak to you.

    Thank you.

    Hi beefcake.

    The CtrInternalOutput internal output line is used as sample for your digital output sample clock source clock. If you change the settings for your CO Pulse Time is Dev1 and your digital output is Dev2, you will notice that the name of the product terminal would give Dev2/CtrInternalOutput. So what you get here, it's as well as the digital output device sees his sample clock, instead of the clock itself.

    If you just want to use a digital/analog input as your trigger, you should do something more as in the example above. Do you use multiple devices, or are all your lines on the same device? This example is more complicated because it is synchronization of signals on several devices.

    Looking at how this VI is wired, you can see that the digital signal triggers the analog signal. You want the analogue signal must be started first, so that when the digital signal triggers the analog task is already running and can trigger immediately. If the digital task started first, it can trigger until the similar task had started, and they do not exactly trigger at the same time.

    I hope that clarifies things. Kind regards

  • Save and write data from table to table - easy

    Hello

    I got this system delivered to me. I'm new to LabView and just save the data from the table "average voltage" (inside the while loop) to do some additional testing of our product.

    I will like to do similar to this.

    (1) save in excel file.

    (2) save only when a button button and save it then 5 ilteration.

    (3) save and manipulate the data, so it is displayed in 6 columns (each LED 1) instead of 1 long colum.

    I tried different things with structure business T/F, which resolved the buttom-request. But I am in doubt I should use, writing to the file of the measurement or write to us to the worksheet (by using labview 15.0)-delimited according to my offer the best possible?

    He also seems to be too much to handle when I try to write in txt file, because it pops up with and error that I do not know how to fix, but it says this:

    Error-200279

    Possible reasons:

    The application is not able to cope with the acquisition of equipment.

    Increase in the size of buffer, most frequently the reading of data or by specifying a fixed number of samples to read instead of reading all available samples would correct the problem.

    Property: RelativeTo

    Corresponding value: current playback Position

    Property: Offset

    Corresponding value: 0

    Task name: analog channel

    Thanks in advance

    I agree with Taki, but want to make some additional remarks:

    • LabVIEW is a data flow language.  Think of the "flow" of your data.  You talk about "save only when a key is pressed" and a finite set of data.  You are collecting before the press the button and everything just do not save?
    • Data are collected at some rate, and likely, you don't want to "Miss" data points.  This means that you shouldn't do anything in the loop of the Collection that takes a long time.  If your recovery rate is low and your treatment is fast, you can have everything in a single loop.  Otherwise, to use the technical stream (producer/consumer is a good) to process the data in a single loop in parallel with the collection in a loop independent (and asynchronously).
    • How do you write your data?  You want to write "on the fly", as it is, or can you wait, collect everything, any format and then write it "all at once"?
    • What do you mean by 'save the file in Excel?  Do you mean a 'native' Excel file, one with the extension .xls or .xlsx?  Do you mean a Comma-Separated Variable (.csv) file this reading peut of Excel (and, indeed, usually registers itself to read, change the icon of the .csv files to "look like" it is really an Excel file)?  If the first case, I recommend using the report generation tool.  But for the latter, you can also use write delimited spreadsheet, which can be easier to use.

    Bob Schor

Maybe you are looking for

  • IMac, by default, the keyboard

    I use an APPLE Wired Digital keyboard, when I press the key "a" I am me "az", even for the 'q' = 'qs' and 'w' = 'xw', 't' and 'y' (even in the capital) lost. I check again with the new keyboard with the same problem. I checked keyboard settings. I la

  • model of my laptop and HP Bios Update UEFI

    Hello, I have two questions (1) I can't find what model number, my laptop is so I can understand that downloads to download off the hp drivers and software update and I tried this auto finder without any results. It is a Pavilion dv6, I was sure the

  • 8600 officejet pro to only print in black and white only

    How can I configure my 8600 officejet pro to only print in black and white automatically so I don't have to authorize whenever I print?

  • ASA 5510 IPSEC VPN connection problem

    Hello We have an ASA 5510 (ASA version 8.0) of remote access VPN configured and works most of the time, but there is a problem when you have more than one client that connects to the same office remotely.  When the first VPN client is connected to th

  • Compaq SR5010nx

    Don't see WOL in the bios. Realtek network card has the latest win7 driver. Under power management allow for wake up the computer is grayed out. What are my options to get workking WOL? Running Win7 x 64