Reading and frequency sweep on agilent 4980a

Hi all.
I newbie on Labview myself but always using this forum to answer all the problem that i had.
Currently I work at compression measurement and do the measurement of load cell and impedance at the same time. I use labview command that included when installing driver.
My problem is that I need to utilize agilent 4980a to read the impedance value on 1K and force value on load cell while probe is moving to compress the spesimen (I reach this step) but I need to add program to stop the probe and execute frequency sweep (and store it in additional file) without terminating the program it self to continue on each point I desire. When i see example program on agilent 4980a, Program to start frequency sweep is different and it's quite confuse me.
Is that any way to inserting frequency command on loop in labview?
I upload my flowchart.
THANK YOU SO MUCH
Ananta
Attachments:
2014-06-26 15_00_15-_Diagram1.dia (D__portable apps_DiaPortable_Data) - diaw.exe.png ‏39 KB

Ananta,
For most instrument control applications, you can replicate commands as you would enter them on the instrument. So if you can perform this frequency sweep in the middle of a test on the instrument itself, you should be able to send serial commands from LabVIEW to mimic this behavior. Once it has been established this task is possible, I would recommend combining parts of the instrument driver examples to try to attain this functionality.
Karl G.
Applications Engineer
ni.com/support

Similar Messages

  • HP4284A Frequency Sweep with frequency points read from a tab delimited excel or lvm file

    Hello,
    I am using a HP4284A, and have downloaded the file here. However, I cannot figure out what format of file it takes as input: I understand this should be a .lvm tab delineated value file, but in what order is the data? If someone could provide an explanation, or an example data file, I'd greatly appreciate that.
    Thanks.
    Ps. I know the linked article says that 'The frequency points are as defined for the oscillator in the HP4284A user manual.', bit I have been through the manual from end to end, and I can't find anything of the sort. The closest I've been able to find is the codgin for remote access, but that isn't very relevant as Labview and the coding (C++, I believe) used are very different.
    Solved!
    Go to Solution.

    Sure. I wound up adding some additional features to it, though, badly. It's perfectly functional but badly coded (veteran users please don't laugh); I could probably optimize it now, having learned more, but I'm too lazy to. There's a writeup, too.
    Attachments:
    HP4284A Frequency and voltage sweep.vi ‏288 KB
    Program writeup.docx ‏12 KB

  • I updated to 7.0.2 and read to close an icon to double click home and then sweep up the icon to close it. I need to know how to sweep up the icon since I can't seem to do it. Help  please???

    I updated to 7.0.2 on my iphone and read to close an icon to double click home and then sweep up the icon to close it. I need to know how to sweep up the icon since I can't seem to do it. Help  please???

    Not the icon. Swipe up the preview card.

  • Can I produce a frequency sweep a PXI-5652 from 1GHz to 2GHz and back down to 1GHz at a rate of 1KHz with RT?

    I need to produce a triangular frequency sweep over a range of at least 1GHz.  This sweep will start at 1GHz go up to 2GHz and back down to 1GHz and repeat the cycle.  I need this cycle to repeat at a rate of 1KHz.  The sweep must be as smooth as possible with the frequency steps being no more than say 1MHz.  I have a RT controller chassis that I can install the PXI-5652 into.  If I dedicate one of the processor cores to this function and reserve the second core for my data acquisition and processing do I have and chance or am I just dreaming?
    Thanks,
    Bruce Barnes

    Hi Bruce,
    If I interpret this correctly that you need to go from 1 GHz to 2 GHz and back to 1 GHz in 1 ms (you want to repeat this at a rate of 1 kHz) then this isn't possible with the PXI-565x series of RF Signal Generators. These have a tuning time of around 1-5 ms for one frequency step, and tuning from 1 G to 2 G in steps no greater than 1 MHz would mean at least 1000 steps.
    Regards,
    Andy Hinde
    National Instruments

  • SCTL-NFC1 is a Near Field Communication(NFC)/Radio Frequency Identification(RFID) Reader and Payment Adaptor designed for iPhone/iPod Touch to provide NFC two-way communication,RFID read/write and contactless payment capabilities.

    SCTL-NFC1 is a Near Field Communication(NFC)/Radio Frequency Identification(RFID) Reader and Payment Adaptor designed for iPhone/iPod Touch to provide NFC two-way communication,RFID read/write and contactless payment capabilities.
    commercial applications such as asset tracking, document tracking, healthcare, security and access control.

    We are the manufactuer of the reader

  • Frequency sweep with peak frequency

    Hi guys, I need some help here. I´m using a NI 9215 to do a frequency sweep from 30 to 90 Hz.
    So far so good. Now I need a resulting resonance frequency at highest voltage.
    I tried a max peak frequency VI but couldn´t get it to work.
    Any idea what to do?
    mfg, Andi
    ok, here is my sweep.vi for better understanding
    Message Edited by andinew on 08-11-2009 04:14 AM
    Attachments:
    sweep.vi ‏216 KB
    create_log_frequencies.vi ‏15 KB

    Hi Andi,
    one thought first off: looking at your "create_log_frequencies.vi", I realized that it generates linear frequency hops, not logarithmic ones...
    But on to your question: to find the frequency with the highest amplitude (this will be your resonace, I guess), you will have to look at the entire signal - your "sweep.vi" code iterates the measurement and interpretation five times per second, independantly of the speed of the sine sweep.
    My advice would be to generate one waveform containing the whole sweep run, and writing this sweep block for block with a constant sample rate onto the output. You could then read back the response with blocks of the same size as your output, do the single tone measurement on this block and store the resulting frequency and amplitude in an array preserved trough a shift register or simply into two auto-indexing tunnels. The latter is okay as you don't need a "while loop" in the measurement loop (you know how long the analog output loop runs - why not use this information to configure a "for loop").
    After your analog input "for loop" has finished, search your amplitude array for the maximum - then use the found element's index to index the frequencies array and return the corresponding resonance frequency.
    A good starting point could be the example I wrote a couple of month ago: it runs continuously the same "sweep" (you'd have to adjust the waveform, I know) and reads back the stimulus and the response (wire the output to your probe and parallely to ai0, your response signal will be connected to ai1). You can then insert tone measurements etc.  at the marked section...
    When trying to open the example, you will be prompted to find a VI called "_Get Terminal Name....vi" - you can find this VI at the following location: C:\Programme\National Instruments\LabVIEW 8.5\examples\DAQmx\_Utility\_Utility.llb
    As an afterthought: the "phase difference" you are calculating between every other sample of the analog measurement array is a bit confusing: if oyu need the phase difference between the original signal and the stimulus response, you will need to wire the stimulus to a second input and compare the phases of the two separate signals...
    Best regards,
    Sebastian
    Message Edited by SFK on 08-12-2009 04:12 PM
    Attachments:
    Multi-Function-Synch AI-AO mit Signalgeneration.vi ‏91 KB

  • First attempt at Producer Consumer Architectu​re: continuous read and dynamicall​y update parameters​.

    Hello,
    I am currently working with two instruments; an Agilent E3646A and an NI 6212 BNC. My objective is to have the 6212 to be continuously taking measurements according to predefined parameters while the E3646A's parameters can be continuously updated. This simple instrument combination is intended to help me learn the necessarry achitecture; continuous measurement, dynamic output control, and more instruments will be added in the future.
    I've previously posted on a similar, but more complicated, setup (http://forums.ni.com/t5/Instrument-Control-GPIB-Se​rial/Split-second-lag-when-controlling-two-instrum​... and was advised to try the Producer Consumer Architecture. I've found relevant literature on the site (http://www.ni.com/white-paper/3023/en/, https://decibel.ni.com/content/docs/DOC-2431), searched the forums and constructed my own VI. While my first attempt at a Producer Consumer Architecture has resolved some of the issues I was having when I first posted on the subject, however, new issues have arisen with regard to reading and stopping the VI.
    I am currently able to run the VI and update the device parameters. Previously, I would get a freeze while the instrument was being updated and could not toggle parameters until it was done. This has been resolved although the read only updates when a parameter has been updated although it is outside of the event structure. Furthermore the Stop button does not work in any context. I've also gotten occasional errors regarding the Deqeue Element but the bulk of the trouble is Error -200279 "Attempted to read samples that are no longer available" at DAQmx Read. I realize that there is a problem in my Producer Loop but haven't been able to figure out how to resolve it.
    This is my first attempt at a Producer Consumer Architecture and already I can see that it is a powerful tool. I read as much as I could and looked at the relevant examples but expected to have some issues in the beginning. Would really appreciate any advice so I can take full advantage of the architecture.
    Hope to hear from you,
    Yusif Nurizade
    Solved!
    Go to Solution.
    Attachments:
    DCe3646A_DAQ6212_Prod_Con_4_13a_2014.vi ‏89 KB

    Jon,
    Thank you for the response and the suggestions.
    I created the Local Variable for the Stop Button and moved the original into its own Event Case. It is now able to stop VI execution although I get Warning -1073676294 which I understand to be the buffer issue. The warning says that this was incurred on VISA Open for the E3646A's Initialize VI which is outside both loops, however, which I don't understand.
    I tried increasing buffer size by decreasing the Number of Samples as per suggestions I found on NI forum threads. I've brought it down as low as 1 but the graph still only updates when an Event occurs and I keep getting the same buffer error. You suggested that the problem could be that they are in the same loop; does this mean that the DAQmx read should be outside both Producer and Consumer Loops or moved into the Consumer Loop? I found a couple of links ( http://forums.ni.com/t5/LabVIEW/Producer-Consumer-​Design-Pattern-DAQmx-Event-Structure/td-p/2744450 ,  http://forums.ni.com/t5/LabVIEW/Producer-Consumer-​Architecture/td-p/494883 -first response) on dealing with an Event Structure that my own VI is based. Alternatively, I found another link ( http://forums.ni.com/t5/LabVIEW/Producer-Consumer-​Design-Pattern-DAQmx-Event-Structure/td-p/2744450 - first response) on a DAQmx Read with an Event Structure that places the graph in the Consumer Loop.
    The core of my purpose in setting up this Producer Consumer Architecture is so that I could read continuously while the instrument parameters are updated dynamically so it's very important that I understand how this works. I am particularly struggling with how the Event Structure is controlling the While Loop's Execution.
    Hope to hear form you,
    Yusif Nurizade
    Attachments:
    DCe3646A_DAQ6212_Prod_Con_4_14a_2014_Edit_I.vi ‏90 KB

  • When using the LabVIEW Simulation Module, how can I start a frequency sweep with the Simulation Chirp signal generation VI at an arbitrary time after the simulation initial time?

    I'm using the Simulation Loop on LV RT when interacting with some hardware (i.e. all I/O is happening in the Sim loop). I'm going to conduct a frequency sweep test on the hardware and want to use the Simulation Chirp function. However, there is no way (that I can see) to trigger the Chirp to start at some event (i.e. I click a boolean on the front panel and enter a case statement). The Chirp is tied to the global time of the Simulation loop and so are it's input parameters. Is there a way to make it relative to some time at which an event happens?

    Craig,
    Your solution will 'cut' the beginning of the signal and only show the signal afterwards.
    To control when the chirp should start, the best option is to use the Chirp Pattern.vi ( in the Signal Generation palette) and use a Lookup table to control when to feed the time. The shipping example (in LabVIEW 2013) shows how to code using a lookup table.
    C:\Program Files (x86)\National Instruments\LabVIEW 2013\examples\Control and Simulation\Simulation\Signal Generation\SimEx Chirp.vi
    Then, to start from a toggled boolean, look at the example:
    C:\Program Files (x86)\National Instruments\LabVIEW 2013\examples\Control and Simulation\Simulation\Signal Generation\SimEx Step.vi
    and Here is the example in 2013 (in attachment):
    Barp - Control and Simulation Group - LabVIEW R&D - National Instruments
    Attachments:
    SimEx Chirp with Delay.vi ‏241 KB

  • How to calculate rms voltage, rms current and frequency from real time data?

    Hello,
    I need to calculate the real time rms voltage, rms current and frequency of the received voltage and current graphs using visa read. Actually am trying to monitor the voltage and current parameters of AC load, in this case, am using a set of 4 light bulbs at the moment. Expected frequency is 50 Hz, and rms voltage close to 240v AC, current about 1A. 
    Attached is the vi picture of what I have been able to achieve so far, courtesy of labview forums. But I need to finally finish this vi by calculating the Vrms, Irms and frequecy. The front panel shows the voltage (Chart V) and current (Chart I) after scaling. Chart VI represents ADC value 0 ~ 1023 of received data. Aray V & I show the binary bits received up to 10 bits of useful data from ADC. Each sine wave from ADC is sampled at 25 samples for the ADC conversion, and sampling frequency of 1.28kH.
    I have tried using the RMS vi, but seems I don't know how to configure it correctly to get desired results. Also when I make changes like switching of one of the bulbs so that their is current change, I need to refresh the SERIAL port first before changes show up on the VI. Any ideas on how to improve on this are highly appreciated.
    Otherwise, I would appreciate if somebody helps me MODIFY my VI to read the rms values and frequency from received data. This is the last piece of my project, I do appreciate all the help rendered. Am currently using labview labview 2014, student version!
    Gavin.
    Attachments:
    Test_revised1.vi ‏39 KB
    Test_frontpanel.png ‏196 KB
    Test_blockdiagram.png ‏187 KB

    hello,
    note that peak voltage (Vpeak) is (240 * 1.414) = 399 V and peak current about 1.414 if intended rms current is 1A.
    Gavin.

  • I am trying to configure my SCXI-1540 card for excitation voltage and frequency using MAX - but it is not giving me that option when I click on the card and then properties​, am I looking in the wrong place?

    I am trying to configure my SCXI-1540 w/1315 card for excitation voltage and frequency using MAX - but it is not giving me that option when I click on the card and then properties, am I looking in the wrong place?
    I have LabVIEW Express 7.0 Professional - SCXI-1000 Chassiss - along with SCXI-1112, and SCXI 1520/1314 - cable to the PCI-6052E is attached to the 1520 card.
    MAX says it recognizes all the cards in the chassiss.

    Jeremy, Thanks for the reply.
    I tried to set up the system as DAQmx.
    I had MAX auto-detect the set-up - and it recognized all the cards - but did not select the 1315 accessory on the 1540 card - I had to do that manually - but in the configuration section I would select the accessory and it would deselect itself. I had to get out of the set-up and then right click on the 1540 card and click on the "Accessories" tab and select the 1315 terminal block that way.
    It didn't seem right that the system should behave that way, but I pressed onward.
    I then tried to create a new DAQmx Task
    When I create new DAQmx task and then click on Analog Input no "Position" Tab appears for me to select, all I get are:
    Analog>>Voltage
    Analog>>Temperature
    Ana
    log>>Strain
    Analog>>Current
    Analog>>Resistance
    Analog>>Frequency
    Analog>>Custom Voltage with Excitation
    Do you think there might be something wrong with either my hardware or perhaps my configuration that is not allowing it to recognize the 1540/1315 in DAQmx?
    I had included the system report of what programs I am using, etc. as attached file nireport.txt
    After the DAQmx did not work I tried installing everything as Traditional DAQ and it did let me set-up the 1540 Card with Excitation Voltage and Frequency and gain - I then went in to the VI that I had built and tried to use the Express DAQ Assisant to read the channel that I am connected to on the 1315/1540 - when I try to use DAQ Assistant it gives me an error saying that "Device not available in NI-DAQmx. It is possible that the device is being use by traditional NI-DAQ"
    Which I guess it is since both configurations are now set-up in MAX.
    I would PREFER to use the DAQmx set-up, but I am confused as to WHY it won
    't come up with
    Analog input>>POSITION>>LVDT
    When I try to create a new DAQmx task.
    Thanks for the help so far! As you can probably tell I am new at this.
    Ryan
    Attachments:
    nireport.txt ‏2 KB

  • Find monitor instance name , device name , resolution and frequency of multiple monitors (VGA and HDMI)

    hi,
    In my system multiple monitors are connected (VGA and  HDMI). In need to know the
    monitor instance name , device name , resolution and frequency of each monitor.. any solution?
    i used wm class 'WmiMonitorConnectionParams'  to determine Video output technology connection type and InstanceName.
    But i didn't get the device name , resolution and frequency of each monitor.??
    There are other wmi class like :
    WmiMonitorBrightnessEvent 
    WmiMonitorConnectionParams 
    WmiMonitorRawEEdidV1Block 
    WmiMonitorListedFrequencyRanges 
    WmiMonitorDigitalVideoInputParams 
    WmiMonitorAnalogVideoInputParams 
    WmiMonitorID 
    WmiMonitorBrightnessMethods 
    WmiMonitorBasicDisplayParams 
    WmiMonitorColorCharacteristics 
    WmiMonitorDescriptorMethods 
    WmiMonitorListedSupportedSourceM… 
    WmiMonitorBrightness 
    WmiMonitorColorXYZinCIE 
    WmiMonitorSupportedDisplayFeatures
     WmiMonitorBasicDisplayParams
     Win32_VideoController
    Win32_VideoConfiguration
    Win32_VideoSettings Win32_DisplayControllerConfiguration
    Win32_DisplayConfiguration
    But unable to determine monitor having  its corresponding values? please help me to find a solution .
    is there any other method to get multi monitor details?
    thank  you

    Hi sumith,
    I read some documents about WmiMonitorConnectionParams class, it should be able to get the video putput technology by the D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY enumeration.
    D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY enumeration
    So what happens when you are using WmiMonitorConnectionParams class? What prevent you? Anyway, please see a example of using WmiMonitorConnectionParams class, maybe you could get some hints on it.
    http://stackoverflow.com/questions/10085900/querying-wmi-for-d3dkmdt-video-output-technology
    Best regards,
    Shu Hu
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can read and process data uploded from a datalogger on a network with labview

    hello evryone.
    i have a agilent datalogger 34972a data acquire temperature reading and makes them availlable on a network. i would like to acess this data on a pc running labview, analyse and prsent them. my problem is that i am not quite sure how to tell labview acquire this specific data.
    any help would really help me getting started.
    thanks already.
    Yann

    Are you
    Running the Agilent stand alone (or using Benchlink) and writing data to a file on the network ?
    Do you want to use LabView to control the networked data logger and aquire data? 
    If you are doing #1 then you can not use LabView because the Agilent (and Benchlink) strores data in a proparitary format.
    You have to use Benchlink to export the data to a CSV file before any other program besides Benchlink can read it.
    If you want to do #2 then you simply access the Agilent through VISA just like if it were connected using USB, Serial, or GPIB. 

  • Frequency sweep input output

    Hi
    Using Labview 7.1 and PCI 6071 DAQmx card i want to design a frequency sweep application. I mean  that i need my analogue output channel to give a sine wave with incremental frequency of 100 Hz step, starting from 10000 Hz untli  100000 Hz (10000 Hz, 10100 Hz...100000 Hz). This wave is applied on a kind of a transformer, and each time the frequency changes, i need an input channel to acquire another also sinus wave coming from this transformer and measure its amplitude, in order to examine its frequency response. So, i came up with the attached vi.
    The problem is, that when "sweeping" takes place ,i get amplitude values between 2 and 6 or even 7 volts something that  can't be happening. I know that the amplitude values i should get are around 2 volts  (+/- 500 mV maximum).
    I think, that the problem should be in some kind of "non-synchronization" of the input-output channels when the vi enters the loop to start changing the frequency.
    Just to be more clear, i need my vi to do these steps in order:1. constantly output the 10000 Hz wave 2. acquire the input wave 3. measure its amplitude 4.transform the frequency into 10100 Hz 5. acquire the input wave 6. measure amplitude  etc... 
    The odd thing is that when i physically connected the output channel with the input one to see if the frequency sweep is done, it worked fine. I mean that i did get in the input channel almost exactly the signal i generated.
    Thanks in advance, and i hope i was not tiringly analytical..
    Attachments:
    sweep3.vi ‏140 KB

    Hi
    Please take a glance at the two attached vi's.
    The first is the one i use in order to generate a steady frequency sinus wave,feed it to my transformer and acquire the also sinus output of the transformer  through my input channel. Using two channels of an external oscilloscope i check and notice that for many frequency values, both sinus waves are steady and noiseless, with the expected amplitude voltages.
    Now, using the second vi, in order to "sweep" the wave and check my transformers amplitude response, then these impossible amplitude "up's and down's" again came up.Again by looking at the oscilloscope's screen i can see the noisy waves tha "confuse" and the oscilloscope and my input channel, and so result in wrong amplitudes.
    Based on the above, i have to assume, that the problem lies in the sweep mechanism design i use. Also, after trying several different ways to sweep, i came to the conclusion, that the problem comes up whenever i use the second Basic Function Generator.vi inside the loop. Could it be that it needs triggering again?
    I'd really use some help, or maybe even ideas for different design approaches for the frequency sweep.
    Thanks in advance
    Attachments:
    Multi-Function-Synch AI-AO3.vi ‏164 KB
    sweep4.vi ‏142 KB

  • How do i do a forward and reverse sweep two independent variables

    Hi,
      So I was looking through the post on how to do a forward and reverse sweep with a real-time x-y plot. I have a similar situation except that instead of sweeping (forward and reverse) of one variable, but instead two variables (in my case, I call it gate voltage G-S Volt and source-drain voltage S-D Volt). I understand how to do it with one variable as provided in previous posts, but I am caught when I add another variable to reverse sweep. I have attached my vi to this post. Any suggesstions is greatly appreciated. Thank you. Also, a little more details on my plot, I am plotting current vs gate voltage which forward and reverse sweepeing (gate and source-drain voltage)..
    Attachments:
    FET_Isd - Vg measurement_Vg_201.vi ‏45 KB

    jasonct,
    It is very difficult to follow what your code is doing. It violates all of the style guide and good practice recommendation for LabVIEW code.
    The diagram should fit on one screen. SubVIs can help.  Generally dataflow eliminates the need for sequence structures.  Stacked sequence structures in particular obscure the code. Local variables are prone to race conditions, violate dataflow, and are not needed for the uses you are making of them.  Wiring should go right to left, with minimal numbers of bends.   Comments documenting what you are doing are helpful to others looking at your code and to you next month when you wonder why you did it that way.
    Lynn 

  • Unable to read the frequency!

    my programe reads in off an lvdt transducer through a labjack my programe works up until the LJ stream graph process reads to "scaled data v's seconds" graph.where it graphs a sin wave (amplitude vs time)
    for some reason the "freq. amp." analyser won't read the frequency correctly. when i run the programme it outputs a frequency of zero.
    note: the amplitude is reading correctly
    Attachments:
    problem.vi ‏77 KB

    Your actual data are not accessible and the sub-VI is missing. If you could re-post your VI with time data saved as default on your graph that would be helpful.
    In the mean time ... few comments:
    - You are attempting to display Amplitude vs. Frequency on an XY-graph. However your graph "data" are just two scalars representing respectivelly the single value amplitude and the single value frequency. This will only give you one point on your graph.
    - What exactly are you trying to display? A set of multiple amplitudes vs.frequencies? The spectrum of your signal?

Maybe you are looking for

  • Forgot Password Only have install disks for 10.4 and disk #2 for 10.5

    Hello, I was playing around on my macbook last night and changed my password to a password that i always use for just about everything and when i changed it worked because i had to logout cause something froze and safari was really messed up so when

  • Dynamic webservice client for User-defined datatypes

    Hi All, I have a webservices with user-defined datat types. I want to write a dynamic client that will work even if there are any changes in the wsdl, so that I do not want to recompile the client or make any changes on the client side. I tried using

  • Recording dance music on Ipad

    HI there I going to start recording my dance music including vocals Does the ipad have good hardware and a user experience for this? (I know Gorillaz recorded an album on there) How can I find out more about this? Thanks Andy

  • Samsung SCH-LC11 4G WIFI Standby

    I know this is a result of the awful firmware with the device and want to see if anyone has figured out a fix. My Samsung SCH-LC11 unit locks up and Green Light under the WIFI button stays constantly lit. In the manual it says that it is in Standby m

  • ODS Object-Specific Properties BUG

    Hi Bhanu & Experts, I have a Variable on particular InfoObject. The RSD1 property is "Only Value in the Infoprovider". When i use the variable from Infocube it only show the values from the Infoprovider in the Variable screen.But when i use the same