Saving and acquiring measurement state on vibration measurement

Background:
I use HP3566A which is multisignal spectrum analyzer. I used it to acquire and analyze vibration response from a machine.
I would like to make an imitation of HP3566A by using DAQCard PCI-4451. I use LabVIEW7.1+SVT 3.1 to develop a dynamic signal analyzer (DSA) vi, and use windows XP as the OS.
Problem:
Until now, there is some facility on HP3566A that I could not develop on my LabVIEW. It is the facility to save the measurement state and call it back when I need it, then automatically set/configure the software. Measurement state is some parameters that are used control some measurement, such as: Span frequency, freq. line, Eng. Unit, measurement type (power spectrum, FRF, etc), trigger type, averaging, and so on.
Right now, on my DSA.vi, to solve the above problem, I only can perform the saving data facility. So that, I can save the measurement state that is used on some vibration measurement. But still, every time I want to run my DSA.vi with that measurement state, I should manually type the measurement state to the front panel parameter. It is very inefficient and wasting time.
Question:
Could anyone help me to show the way in making a facility so that when I call the measurement state which has been saved before, the measurement state can automatically fulfill the parameter on the front panel?
Thank you for your kind attention

One common technique is to use a cluster control on the front panel of your VI with the configuration items you need.  You can store this configuration cluster along with your data, by placing the waveform data type as part of your cluster (or array, or whatever you are using to carry your data).  Use the file write function to store both the data and the configuration cluster. 
When you read data back from the file, it has the config info in it.  You could use this to store test set-ups, etc. 
You may also consider storing your test set-ups in a spreadsheet, then reading and parsing the spreadsheet prior to running a test. 
One implementation of these functions is a LabVIEW application built with the NI tools, Vibdaq, www.vibdaq.com. 
Hope this helps.
Preston Johnson
Principal Sales Engineer
Condition Monitoring Systems
Vibration Analyst III - www.vibinst.org, www.mobiusinstitute.com
National Instruments
[email protected]
www.ni.com/mcm
www.ni.com/soundandvibration
www.ni.com/biganalogdata
512-683-5444

Similar Messages

  • How to turn off EPU Power Saving and Certain C-States in Bios

    I have the MSI X99 AC Xpower
    how can I turn off like specific c states like c6 c7 and c1e? And I see no where to turn off EPU

    C-State/C1E setting are under OC CPU Features (at the bottom)

  • DAQ vi to perform digital write and read measurements using 32 bits binary data saved in a file

    Hi
    DAQ vi to perform digital write and read measurements using 32 bits binary data saved in a file
    Two main
    sections:
    1)     
    Perform
    write and read operations to and fro different spread sheet files, such that
    each file have a single row of 32bits different binary data (analogous to 1D
    array) where the left most bit is the MSB. I don’t want to manually enter the
    32 bits binary data, I want the data written or read just by opening a file
    name saves with the intended data.
          2)     
    And
    by using test patterns implemented using the digital pattern generator or  build digital data functions or otherwise, I need to
    ensure that the     
                binary data written to a spreadsheet file or any supported file type
    then through the NI-USB 6509 is same as the data read.
    I’m aware I can’t use the simulated
    device to read data written to any port but if the write part of the vi works I
    ‘m sure the read part will work on the physical device which I’ll buy later.
    My Plan
    of action
    I’ve
    created a basic write/read file task and a write/read DAQ task for NI USB 6509
    and both combine in a while loop to form a progress VI which I’m confuse of how
    to proceed with the implementation.
    My
    greatest problem is to link both together with the correct functions or operators
    such that there are no syntax/execution errors and thus achieve my intended
    result.
    This
    project is one of my many assignments for my master thesis, so please i’ll
    appreciate every help as I’m not really efficient with LabVIEW programming but
    I prefer it because is fun and interesting if I get to know it.
    Currently I’m
    practicing with LabVIEW 8.6/NI DAQmx 8.8 Demo versions and NI USB 6509
    simulated device.
    Please see
    the attached file for my novice progress, thanks in
    advance for the support
    Rgds
    Paul
    Attachments:
    DIO_write_read DAQ from file.vi ‏17 KB

    What does your file look like?  The DAQmx write is expecting a single U32 value, not an array of I64. 
    Message Edited by vt92 on 09-16-2009 02:42 PM
    "There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal

  • Triggering and simultaneous measurements

    Hi everybody 
    I've written a Vi to to acquire data simultaneously from 7 devices. I'll be using cDAQ9178 with NI9203. The vi will acquire current values 4 to 20mA. Could you please check the attached file and let me know if I need to improve it.
    I have some question and I should be grateful if anyone can help me to answer them.
    1. How to open the binary file from write to measurement file by EXCEL?
    2. Is it better to use write to spreadsheet for data logging, if yes how to include the time column??
    3. I'm going to use external signal for triggering through PIF0 port, is it Ok to do that through dag assistance?? I've not tried yet but it seems straightforward?
    4. Finally I have another vi for valve control that should be triggered with the measurement vi, is their any way to do that?? I was thinking about notifiers but I don't know how to use them ?
    Sorry for asking to much  I really in urgent need of all of this. I should finish my data acquisition system by Tuesday 
    Best Regards 
    Solved!
    Go to Solution.
    Attachments:
    triggering and simultaneous measurements.vi ‏97 KB

    1. How to open the binary file from write to measurement file by EXCEL?
    If you select TDMS as the file format in the write to measurement file, you should be able to open it directly from Excel if you install the TDMS Excel Add-In. Be aware that at 1kHz data rate, you will exceed the capability of old versions of Excel to read the entire file in about 65 seconds. Newer versions can read more, but anything over a couple thousand points gets difficult to analyze. That is about my limit. Over this, I go to something else for analysis, such as LabVIEW or Mathematica.
    2. Is it better to use write to spreadsheet for data logging, if yes how to include the time column??
    The write to spreadsheet file is very inefficient for data logging and cannot be recommended. Given your data (an array of waveforms), TDMS is your best bet. The write to measurement file Express VI is the easy way to do this. I, personally, prefer the control I get from using the TDMS API directly. Note that under the hood, the output of the DAQ Assistant is an array of waveforms with individual t0s and dts. The t0s are all different due to the fact that your 9203 is a scanned device, not a simultaneously sampled device. It scans at 200kHz, so the differences are not large, but they are there. I would convert the DDT into an array of waveforms, then use the native TDMS API, but I have a lot of experience. Since you are in a hurry, the Express VI using TDMS is probably your best bet.
    3. I'm going to use external signal for triggering through PIF0 port, is it Ok to do that through dag assistance?? I've not tried yet but it seems straightforward?
    That should work fine. Given your continuous acquisition, the trigger will only start the acquisition, not gate it or trigger it at later times.
    4. Finally I have another vi for valve control that should be triggered with the measurement vi, is their any way to do that?
    We do not have enough information to answer this question. Specifically, how is the valve being triggered (boards being used, hardware interface, software interface). The ideal way would be to run it through the same cDAQ 9178 so that it can be synchronized through hardware. Software synchronization cannot be guaranteed better than about ±50ms. Read up on how to synchronize things through DAQmx and you should be good.
    Good luck!
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • Fieldpoint and Labview 64 bit - why is the LabVIEW Support missing from MAX and the Measurement I/O Pallette?

    I am running Labview 2010 on a Windows 7 virtual Machine, I have installed Fieldpoint 6.0.7 with all the appropriate support. The VIs are in vi.lib. BUT, MAX doesn't show the LabVIEW support as existing, and the Measurement I/O pallette doesn't have the Fieldpoint VIs linked into it.
    Anyone out there with any idea what I might need to do to get these seen? I've uninstalled, re-installed, installed only sections, and so far - no sign of these VIs appearing.
    So, any ideas?

    Not quite. I can see Fieldpoint, but not the LabVIEW support section.
    The first screenshot is from my 32-bit system, the second is the one from the 64-bit system.
    Attachments:
    Fieldpoint Screenshot 1.JPG ‏20 KB
    Fieldpoint Screenshot 2.JPG ‏15 KB

  • Invisible objects made visible revert to their invisible state after saving and opening

    I am working in LiveCycle Designer ES2 creating a decision tree that is highlighted in red as you click the Yes and No checkboxes in the document. I duplicated the arrows and made the copies red and then invisible. When the checkbox is checked, the red arrows become visible, when unchecked, invisible. The problem I have encountered is that because the default state of the red arrows is invisible, they do not stay visible if you fill out the form, save it, then open it again. When the saved form is opened, all the correct checkboxes are checked, but all the red has gone back to being invsible. I am creating and saving the pdfs as dynamic XML forms and using them in Acrobat X. It was all done with the action builder (yes, I know, stop using action builder, but I had to teach myself LiveCycle last week to get this far and havn't made it to scripting).
    I read through a post with a similar question but it involved a master drop down list not checkboxes, and I did not see how I could apply the solution in that post to my checkbox issue.
    Any thoughts on how to get the red lines to stay visible when saved and reopened?

    Hi,
    check your form properties.
    You need to activate the option to preserve script changes.
    http://forums.adobe.com/message/3835967#3835967

  • RGB and L measurements below histogram suddenly quit

    The RGB and L measurements below the historgram sometimes quit working unexpectedly and give all zeroes wherever the cursor goes on the image.  Quitting Aperture and reopening has usually solved this problem, but I wonder if it's something I'm somehow causing to happen, or it other users have experienced this.

    Thank you.  I have been going back and forth between Pages and Aperture, keeping both applications on the screen, but I hadn't thought to see if the back-and-forth was causing it.  I've been using the viewer.  Is this something that's just a little bug that we need to live with?  Do you close Aperture and reopen as I do to regain the RGB & L values?
    I just did a little test, toggling between Pages and Aperture and then Safari and Aperture, and the loss of RGB&L values did not recur.

  • How to separate the source and the measured current

    Hi Everybody,
    I'd like to know if there is some way to separate the source and the measured current and just writte an mathematical expression to make a dependence between the source and the said parameter. Thanks in advance.

    Sure,
    Here is the deal:
    I'd like to build a circuit with dependent sources, but instead of connecting the sense of current/voltage, I'd like to know if there is a way to writte a sentence for the source which is dependent of a parameter.
    For example:
    In this circuit I just wrote an expression for the source and its respective parameter. (8*Io).
    Attachments:
    images.jpg ‏7 KB

  • Amplitude and level measurements for stereo signal

    Hi,
    If I input  my attached stereo file into Express Amplitude and level measurement (blue icon) it does not give me output value as an array. I want to measure peak to peak value for both left and right channels. I get only left channel value. (No array)
    But if I use amplitude and levels.vi I get array as an output for both channels. So i have what I need but I thought I would just post here anyways.
    I have attached my audio file.
    Sheetal
    Thanks.
    CVI 2010
    LabVIEW 2011 SP1
    Vision Builder AI 2011 SP1
    Attachments:
    AUX_HP1_RSA_OFF.zip ‏13 KB

    Sheetal,
    The output of that express vis is of dynamic data type. You need to convert it to a waveform (use the "from ddt.vi") which will then give you the waveform data type. You can then use the "Get Waveform components" to access the "Y" array data.
    Post to let us know if this helped out.
    Chris C
    Chris Cilino
    National Instruments
    LabVIEW Product Marketing Manager
    Certified LabVIEW Architect

  • Encoder Position and Velocity Measurements and Force Measurements

    Hi,
    I am using a USB 6210 DAQ Card and an optical encoder and force transducer together in an MRI room to measure the power ouput of a patient pedalling on a recumbent ergometer. I would like to obtain synchronous measurements and output this to file. I have started working on the code for the encoder. I am struggling to get the frequency measurement and encoder position outputting fast enough. Any idea why this is? For the force measurements will this be with the same configuration just adding Vi's for analog input. Also I know using the write to measurement file vi is quite slow to write to a spreadsheet what is the more efficient method for doing this.
    Regards,
    Darren
    Attachments:
    Angular_Position and RPM.vi ‏46 KB
    Angular_Buffered.vi ‏80 KB

    Hello Darren,
    The fastest file to write to in LabVIEW is a binary file.  The specific file type used by LabVIEW is the Technical Data Management (TDM) file.  The TDMS file is a version of this file specifically designed for streaming applications.  You can find several examples of writing to this file in the NI Example Finder (Click Help -> Find Examples).  By using the search tab, you can use the keyword “TDMS” to search for all of the examples that use the TDMS file type.  The example Cont Acq&Graph Voltage - Write Data to File (TDMS) can be found from the search tab, or by using the path Hardware Input and Output -> Analog Measurements -> Voltage.  While the data acquisition part of this example pertains to analog input, the same file input structure can be used with your counter input tasks. 
    What do you mean that the encoder and frequency measurements are not fast enough?  Each rising edge of the sample clock source will latch the current value of the measurement into the FIFO and transfer this value into the buffer.  At this point, how quickly you can read the buffer will affect how quickly the user is updated with the newest measurement information.  Since you have specified the number of samples to read in your buffered example, the read VI will wait until that many samples are available in the buffer before returning a measurement (this could slow down the update rate for the user).  By specifying -1 as the number of samples to read, you will read all available samples in the buffer.  If there are no samples available, nothing will be returned, but the VI will continue to execute.  Hope this helps. 
    Regards,
    Browning G
    FlexRIO R&D

  • Amplitude and level measurement two signals

    Hello,
    I am delveloping a data aquisition VI, I am using the DAQmx and it works fine. I am using the amplitude and measurement express vi to obtain data such as peak to peak etc... I can aquire up to eight channels using the DAQmx, just by selecting the physical channels, but the amplitude and level measurement vi only seems to give me the value of one of the signals (the first one aquired), even though two are being displayed on the graph or even three. How can I display all the peak to peak values for all waveform simultaneously. I am aware that the measurement express is a dynamic data type and conversting the output into an array would work, but I keep on getting errors. Any advice. Attached is the VI and a snapshot of the VI. I also tried splitting the signal with no luck.
    Thank you
    Attachments:
    run.JPG ‏152 KB
    Cont-Acq-and-Graph-Voltage-Int-Clk6.vi ‏144 KB

    HI Tareq,
    Well I think I tired what you said but it is still not working, here is a snapshot of my VI and the VI itself. I still get the same output
    Thank you for your help
    Alloush
    Attachments:
    Cont-Acq-and-Graph-Voltage-Int-Clk7mod.vi ‏145 KB
    run.JPG ‏160 KB

  • Encoder and Teslameter measurement....

    HI all!!
    I am using Encoder (A,B,Z) and Teslameter (measuring magnetic field).. Encoder has got 10000 pulses per revolution... I have connected the teslameter to AI 0... I tried programming to get the encoder reading and teslameter reading at the same time (i mean, for each pulse from the encoder, i should able to attain a value from teslameter)...  i am getting failure as shown in the attachment.. i am attching my program as well...
    I am using LabVIEW 2012, PCIe 6341..
    Thanx in advance..
    Every Expert was once a Beginner!!
    Attachments:
    Test_Drehmomentmessung2.vi ‏41 KB
    error.PNG ‏8 KB

    Hi Ed,
    The DAQ-STC counter/timer chip on your PCI-6035E card is not your most accurate counter/timer chip to perform encoder measurements. You are better off using a PCI-6601 card which is much more accurate and has real encoder capabilities.
    PCI-6601 (w/ NI-TIO Counter/Timer Chip)
    http://sine.ni.com/apps/we/nioc.vp?cid=3589〈=US
    The reason the NI-TIO chip is better suited for encoder measurements than the DAQ-STC is because of the following (which might also explain some of the difficulties):
    1) DAQ-STC can't reset the count after an encoder revolution (NI-TIO can w/ Z-Index line)
    2) DAQ-STC only has one encoder measurement mode and that is the 2-pulse encoder measurement mode. The NI-TIO has the X1, X2, X4, 2-pulse
    This essentially me
    ans that your DAQ-STC will count up when channel A leads B and count down if channel B leads A. There is no reference point, no ability to reset and no filters on the lines to prevent glitches.
    What is probably happening in your case is that you are measuring 9,000 pulses in one revolution and you are also measuring glitches on the line which is why you are getting the extra 5,000 counts. The DAQ-STC shipping example programs will give you some insight into programming your E Series counter to make encoder measurements but your errors are more likely caused by the fact that it is just a simple 2-pulse encoder (up/down encoder).
    Hope that helps. Have a good day.
    Ron

  • Direct and Rollup Measures

    Hi All,
    I have two kinds of measures direct and rollup. For eg. Consider my dimension CLIENT which has the following representation:
    CEO --> EVP --> P1
    CEO --> EVP --> P2
    CEO --> PA
    We collect data for P1, P2, EVP and PA. So, data is not only collected at the lowest level but also at the intermediate levels. Now, If I just ignore the data collected for EVP, then it is straightforward rollups and the measures associated are ROLLUP measures. The data associated with EVP is a direct measure. Whats the best way to achieve this objective?
    Thanks in advance,
    Swapan.

    One of the ideas I was considering was having a virtual node for every node in the tree( need only basis? ) and then doing custom aggregations from there.
    CEO --> EVP --> VEVP(virtual)
    CEO --> EVP --> P1 --> VP1 (virtual)
    CEO --> EVP --> P2 --> VP2 (virtual)
    CEO --> PA --> VPA (virtual)
    In this way, data is always collected at the leaf nodes but then the simple rollups become more interesting.
    Any comments/suggestions?
    Swapan.

  • Recording Temperature and Voltage measurements using Keithley 2182 Nanovoltmeter

    Hello all,
    I am relatively new to LabView and looking to extend a vi I am currently using.
    I am trying to record voltage and temperature measurements from a Keithley 2182 nano voltmeter using a GPIB cable. I have a vi that can do this for either voltage or temperature not both. At the moment I only record what is shown on the display of the nano voltmeter.
    Could somebody explain how I could get labview either to change between voltage and temperature on the nano voltmeter or whether it is possible to have two simultaneous measurements of temperature and voltage and how I would achieve this.
    Thanks
    Mike

    Hi,
    For each read, no matter Temperature or Voltage there is a certain command that is send to the voltmeter.
    I don't think (actually I'm pretty sure) you cannot read it in parallel but you can do it successively: One read Voltage, one read Temperature and so on.
    There should be something like:
    while not STOP do
      1. send GPIB command for changing Keithley to Voltage Measurement
      2. send GPIB command for Voltage Read
      3. read GPIB -> Voltage
      4. send GPIB command for changing Keithley to Temperature Measurement
      5. send GPIB command for Temperature Read
      6. read GPIB -> Temperature
    end
    You can take a look in VI to see which are the commands send for Voltage and Temperature reads and to mixed them like I described it above.
    If you don't manage it share your VIs (for temp and volt.) maybe it will be easier for me (or something else) to give you some additional advices.
    Paul

  • HELP ME PLEASE !!! dynamic pdf with table grows each time it's saved and reopened??? HELP PLEASE !

    Hi, I hope someone can help me. I created a form (dynamic pdf) with Livecycle ES 8.2.
    This document has a table in which rows are added when the user clicks on a button.
    The document in design stage takes up no more than 1/2 an A4. Here are my two problems;
    1. When the document is opened in Reader (9.3) it is all formatted correctly accept the one row, in it's default state (which can be added to by clicking button) is now three rows????
    2. Whether the two extra rows are deleted or filled in or whether more rows are added and filled in, if the document is saved and opened again with reader it has grown to a full page (of empty default rows). If saved again, it grows to 4 pages and so on.
    Can somebody please help me. I can supply a copy of my file if necessary.
    I don't know if this makes a difference, but the document is protected with a password to open in Livecycle and it also has user rights assigned for the user to be able to save a copy on their local machine (not just allowed to fill out and print).
    My email is [email protected]
    Would appreciate any help that can be offered. My document is ready (accept for this issue) for me to use in my job.
    Regards
    Bradd

    Bradd,
    Please forward the form and I can take a look. If you want to forward a version of the form that is not password protected or send the password in a separate email, that is up to you.
    [email protected]
    Steve

Maybe you are looking for

  • Connect USB CF Reader to iPad Camera Kit?

    Could someone give this a try and let us know how it works out? I shoot with a Canon DSLR, which is dreadfully slow to transfer when directly connected. Would love to just use a speedy card reader connected to the USB dongle instead. Any feedback is

  • When i plug i pod to computer, the laptop says the iipod is corrupt and i tunes shuts down

    when i plug in ipod to computer a pop up saays the ipod  is corrupt, when its scanned by the computer is comes up as clean. if i open i tunes and then plug in the ipod the i tunes shuts down everytime. I have updated both itunes and ipod and brought

  • Error message 'memory card error' with SD card on C5180

    Photosmart C5180 displays 'memory card error' when SanDisk SDHC inserted.  (The card is not damaged, it's new & works in camera.)  I've been unsuccessful in finding  answers on HP site.  Any help most appreciated.  Thanks much. This question was solv

  • Max Date with Fact Totals

    Hi, I have a Subject Area with typical fact and time dimensions. I want the equivalent of max(month_start_date) but only where facts have a corresponding balance entry - say Volume <> 0, to use in a case statement along the lines of; - case when year

  • Need help with a powerpivot chart

    I need to create a chart with the following three categories: Success inside window Success outside window Failed Seems simple enough. However, my dataset contains a calculated column based off of info contained in two other columns STATUS & FINISHED