Read frequency counter HP/Agilent 53131 via GPIB using c#


The only thing in your code is a reading? How do you set up the meter manually before taking the action? What is the arming mechanism? What is the opening time? What is the sensitivity/resolution?

I think the problem is with your configuration and can respond to study the manual or by asking Agilent.

Tags: NI Hardware

Similar Questions

  • Streaming (record) data of Agilent 6674 interface GPIB-USB powered

    Hello

    I would like to save the output in more than 200 HZ to my power supply CC 6674 A Agilent with LabVIEW 8.2. Agilent 82357 A GPIB-USB interface is used to connect the power to the computer. And I used the instrument for Agilent 66XX driver I downloaded from OR.

    For reading continuous data, I put the read.vi in a while loop and data saved by writing in the file lvm. (just for the starter, not a good sense, though) Please see the attachment.

    The problem I have is that I can only save data in ~ 10 HZ then that what I need is at least 200 HZ.

    It's my first time to the instrument control and I just had a little experience in the acquisition of data before. I had some confusion as below: no I have gained a point each time the while loop is executed? If so, I guess that the time for each loop (and therefore my data rate) depends on my operating system and the computer I have.

    How many points will be acquired whenever the read.vi is run? That depends on the set 'count bytes' in vi or a single point anything? Are there other ways to get the data more efficiently? (want to write your own driver etc...) Any help would be much appreciated.

    See you soon,.

    Bohan

    The rate at which you can run the VI is dependent on the instrument/GPIB bus and use of Scripture on a Measurment file. Yes, you get a voltage reading and a current reading with each iteration and the number of bytes read is so that you can get a complete reading.

    I suggest you delete the entry in the file of the measurement of the loop to see how long takes of the instrument. That would be your maximum rate. If it's fast enough, use a different method to save the data. Architecture of producer/consumer if you pass the data to another loop via a queue would be a way.

  • Read a data point every time via the sound card

    Hello!

    I'm reading the output of an amplifier to lock that cannot be connected to my PC. So I decided to read througn my mic.

    To do this, I connect channel 1 or 2 for my microphone.

    However whenever I do a reading I can not simply take a while but only several points at once.

    10 is the minimum number of points I can get when I put the sampling of 100 and length frequency 0.1 in the VI of its acquisition.

    Any combination that translates into less than 10 points gives me an error (for example 100 sampling rate and duration 0.01).

    I thought that by indexing dynamic data to acquire its VI would solve the problem, but playback is differnet from that I get when reading lock-in amplifier

    through GPIB.

    (I'm testing with a locking amplifier which I can via GPIB interface.  So at the same time, I read with my sound card and the GPIB and compare graphs)

    Any way to read a point every time?  Or I'm getting something other wrong here?

    Thanks for your time!

    Looks like the CDA min frequency response of 10 Hz, pg 69 card technical:

    http://www.hardwaresecrets.com/datasheets/ALC888_1-0.PDF

    However, you can apply a known value of low voltage DC at the entrance to see if it reads properly micro. Note that microphones out low level signals, looks like the ADC full scale entry is ~1-1.5V so make sure that your entry does not exceed. You can use dividers of resistive voltage if necessary to reduce the input voltage.

    -AK2DM

  • How to read a counter value for the separation of the two edge before meter is stopped by the second edge (6602 Council)?

    I use a timer/counter with DAQmx 6602. I use the separation of two - available via DAQmx cash edge. Count between the two edges works properly, however I do not know how to read the value of the counter during the counting operation (i.e. after the first edge triggered the beginning of the count, but before the second edge triggered the end of the counting). I'll have to wait for the second goes off the edge of the end of the countdown until I can get a counter value. I need to be able to access the current value of the County during the count operation. This was possible in traditional DAQ. How can it be accomplished using DAQmx?

    Ah shoot - I was afraid that this might be the case (for what it's worth, my series of X returned intermediate values, but the material and the underlying driver are quite different)...

    You just need to take one measure at a time or you are buffer several measures of separation of the two edges at the same time?  So just to take one measure at a time, you can set a task of edges of count using the database internal time as the source using an arm start trigger (first edge) and a sample of clock (second Board) to work around the problem.

    Best regards

  • Help the spikes of voltage high frequency Counting

    Equipment: NOR USB-6229 (250 ksps / s analog in., 16 bit DAC, 32-bit counters, and internal clocks)<= 80="">

    LabView 14

    Problem:

    I have an experimental app where I need to count the points of tension (entire #) caused by electrons striking a sensor. These tips can be as frequent as 500 000 heads of charge/sec. The tips aren't going to be the same tension every time, but they will be visible above the noise, so I need allow the user to select a threshold voltage that triggers a true count rather than the tips of noise.

    Attempts:

    To count such a high frequency, I gather that I need to use a counter entry to read fast enough, HOWEVER, I wasn't able to find a way to define a threshold of voltage for a counter entry because I think they expect a TTL signal anyway, which I won't. To set the threshold, I realize reading of analog input can be triggered at a point chosen, which is great, but the Analog Input sampling rate is only 250 kech. / who will not catch count each in my project.

    I have a program that uses the channel count edges and it is accurate to 3% of the # expected charges. I was looking at him just with a function generator and the program does not count unless the signal voltage is higher than V 2-3 who does not work for my application. I'll post what I have. Someone know how to trigger at certain levels of tension using counters, or know a way to filter through the noise to get real tips?

    Thank you!

    You will need a device with a sampling rate of greater than 1 MHz analog input or you will need an external reference. With the external comparator, you can use output to set the threshold, although the user would not be able to see the signal or the threshold, only the analog account result.

    Lynn

  • the installation files that are necessary to control a 33210 agilent has via USB

    Hello

    I'm trying to control agilent 33210 via USB to a produce an arbitrary waveform using labview. The installation files I need? Obviously labview 86, ivi specific driver for 33210a, and? After you install labview 86, the program prompted me to install pack pilot devices, which I did, but he asked for disk 3 that does not exist in the package, I downloaded on ni.com.

    BTW, is there a guide on where to go from there? I'm more c/matlab programming and graphic...

    Thank you very much

    Hi User2009,

    Once you have installed LabVIEW and NI-VISA, you can do the rest of LabVIEW.

    The simplest process is:

    1. Go to tools' Instrumentation' find instrument Driver and to use the finder driver tool to download and install the appropriate driver (I recommend getting the pilot LabVIEW Plug - and - Play project).
    2. "Once you have installed the driver open the example finder and navigate to hardware input and output" Drivers of instruments ' LabVIEW Plug and Play and find an appropriate example.
    3. Select your device and run the example to make the work of communication course.
    4. Use the example as a starting point and make any changes you need.

    I got to have an Agilent 33120 at my office, so I recorded a quick video for you to the process described above.  I use GPIB, but the process must be the same for USB.

  • frequency counter

    Mr President, our project is on the design of a "eddy function current sensor for measuring respiration contactless".we had designed so far to 12 MHZ output colpitts oscillator, this frequency is converted into square using a schmitt trigger pulse. Now, we want to know if it is possible to count the frequency of 12 MHZ in lab mode? What is the maximum and minimum, frequency counted by lab view?

    You will need some kind of hardware, likely N.I. DAQ. What you are going to use or you use?

  • I bought windows 7 in a store, but my windows xp cannot read the dvd. can I download 7 and use the product key, rather than buy it again?

    I bought windows 7 in a store, but my windows xp cannot read the dvd. can I download 7 and use the product key, rather than buy it again? I bought an old compaq desktop computer, and I want to update.

    It's probably too late because you have unsealed the package, but as you have relatively minor glitch of the material do not have a DVD player, did you use the (free) Windows 7 Upgrade Advisor to determine whether your computer hardware is capable of running Windows 7?

  • PuTTY of appeal via Powershell using Plink - how auto answer the key question of safety

    I'm working on a script that you call PuTTY via Powershell using Plink.exe.  However, we use automatically generated keys, so I need to answer the question "do you trust this security key" during the execution of my script.

    I found through this blog (http://www.virtu-al.net/2013/01/07/ssh-powershell-tricks-with-plink-exe/), you can use ' echo y | Plink.exe", however I do not know where to put this in the script to work properly.  Any help would be appreciated!

    Thank you!

    It's the "-batch ' option.  Remove that fixed the issue.

  • I can read and modify a pdf to Adobe InDesign using Adobe Acrobat Pro XI?

    I can read and modify a pdf to Adobe InDesign using Adobe Acrobat Pro XI?

    A PDF with InDesign is just one PDF file like any other. If Acrobat can open it. Almost no circumstance you would change it in Acrobat.

    Here's why. Editing PDF files is a last desperate resort. Sometimes easy/practice, often disappointing, frustrating, if not impossible. You modify a PDF file when life depends on it, the original has been lost, and all backups have been eaten by termites. If you do not edit an InDesign PDF in Acrobat. Nor of course in InDesign. What you do is change the original InDesign file and make a new PDF. Even to fix typo.

    (Other types of special Assembly that you just can't do in InDesign are a different story).

  • I had signed up for acrobat reader Pro and I was not able to use it. Why?

    I had signed up for acrobat reader Pro and I was not able to use it. Why?

    What is your operating system?

    Most likely, you will need to exit the Safari completely process, not simply close the browser window.

    Here's how to contact customer service by chat or phone, but the phone support is limited to the day from Monday to Friday in the United States or your country of residence.

  • I deleted Adobe Reader 11 and rebooted and reinstalled Adobe Reader 11 and I still get the error message "Adobe Reader is blocked because it is outdated". Using Windows XP with the latest updates (SP3).


    I deleted Adobe Reader 11 and rebooted and reinstalled Adobe Reader 11 and I still get the error message "Adobe Reader is blocked because it is outdated". Using Windows XP with the latest updates (SP3).

    Screenshots attached to e-mail responses will not come back on the forum. You must connect to the forum and post in your topic using the camera icon in the editor.

    Google Chrome is a problem:

    • If you use the clean Chrome PDF Viewer, the results are unpredictable.
    • If you use the Adobe Reader with Chrome plugin, it can reject (block) If this isn't the latest version.  11.0.08 drive is the latest version for Windows XP, but Chrome can insist on the current version 11.0.10.

    My suggestion; Use a different browser!

  • Can play vod via rtmfp use stratus?

    Can play vod via rtmfp use stratus?

    Stratus does P2P Research/introduction/rendezvous.  There is no video stream on Stratus to play.  only streams to play through your RTMFP connection are those live published by other peers also related to the Stratus.

  • count the number of lines without using the count function

    Hello
    How count the number of lines without using the count function?

    Thank you

    Assuming that your statistics table are updated:

    select num_rows
    from   all_tables
    where  table_name = 'YOUR_TABLE_NAME_IN_UPPERCASE';  
    

    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14237/statviews_2105.htm#REFRN20286

  • multi channels data acquisition, a single frequency, counter a pulse, two voltage inputs, a power meter (by USB) and an analog output spontaneous and recording

    Hello

    I have a power meter which provide the USB driver and a Labview program to get the data and NI USB-6221. The project I am currently working on the needs of:

    1 acquire two signals (inputs of simple tension), pressure frequency KHz

    2. acquire a flow signal, the output signal is 0 to 5V pulse, each pulse means 0.4 ml volume. So I use a voltage inflows to count impulses in certain period of time (in this case, 1 S) for water flow. ; KHz sampling frequency and the 1 Hz update rate

    3. acquire a signal of engine speed. The output signal is pulse square wave whose frequency is related to the speed. I use a REIT port to measure the frequency. Sampling rate: Auto

    4 give output voltage sine or square wave, I use AO do that.output rate: Auto

    5 acquiring by VISA electricity meter data.  Data update rate: every 50ms

    Currently, all the 5 tasks work well separately. But when I put them together, some signals are beginning to hang, for example, pressure signals sometimes give nothing.

    Another problem is the data record. I programmed the VI in such a way that whenever I press the button 'save start', he begins to record data and save them in a .cvs file. For some reason, I always get only the data in the first table. Coult someone help me? I download my code as follows

    Hello

    What I meant by open, write, close.  For any type of file you are using.

    Open the file, which produces a reference, then put the mention in a registry to offset.

    Write data, using the function write (for this type of file) and the reference.

    When you are finished, close the file reference.

    Writing in the spreadsheet opens, written, close all at once.  It is very good for this type of application.

    ***

    The issue of the loop is more general.  I would like to say first of all, I want to say that since each loop works on its own, it is own VI, and that this program has put all this into a single VI, which has a method to solve the problem is to disable all the loops and allow them one at a time to see if there is a culprit responsible for.

    Using multiple loops executes the code at the same time, and some loops would be cycle faster than others, especially if some of them are loops just as they are.

    Communication between the loops is a test to the address if necessary.

    Running all these signals through different loops DAQ must also be examined.  Don't know what questions are for read and write somewhat randomly in the channels.

Maybe you are looking for