Acquisition tension bufferisé

bonjour,
J'utilise labview 10.0 et une carte NUI CB 68LP et j'aimerai lire des voies analogiques sur ma face avant tout en fesant une acquisition de tension bufferisé de ces voies.
je ne sait pas si je suis clair voici en gros ce que je voudrai faire.
dite moi si cela est possible et comment je doit raccorder cela pour que sa fonctionne.
merci d'avance
Attachments:
prog mesure de tension bufferisé.vi ‏32 KB

Bonjour Tigrounours,
Vous avez la possibilité en effet de créer une tâche d'acquisition de
données (Tension, courant, déformation...) de façon continue et finie entre
autres. Les données issues de la lecture du Buffer (la fonction DAQmx Read),
vous permettent de visualiser sous forme de tableau et/ou de graph les données
issues de votre acquisition.
A cet effet, LabVIEW vous offre la possibilité de charger directement des
exemples prêts à l'emploi qui utilisent l'API DAQmx pour réaliser ce type de configuration. Pour cela, je
vous encourage à ouvrir LabVIEW, et depuis la fenêtre de démarrage sélectionner
"Recherche d'exemples" -> E/S matérielles->DAQmx -> Mesures
analogiques. Ensuite, vous pouvez naviguer dans le répertoire et prendre en
main les différents exemples, afin de sélectionner celui qui correspond à votre
applicatif, et votre périphérique d'acquisition de données.
De plus je vous encourage à prendre connaissance des informations présentes
depuis notre site internet sur l'utilisation du driver NI-DAQmx qui permet
d'assurer le dialogue avec les périphériques d'acquisitions de données de
National Instrument:
Learn 10 Functions in NI-DAQmx and Handle 80 Percent of Your Data
Acquisition Applications 
http://zone.ni.com/devzone/cda/tut/p/id/2835
Getting Started with NI-DAQmx: Main Page 
http://zone.ni.com/devzone/cda/tut/p/id/5434
La carte NI CB 68LP, est un boîtier de connexion entre vos capteurs, ou
signal à mesurer et la carte d'acquisition à proprement parlé, qui est
connectée à votre ordinateur ou châssis PXI.
Cordialement,
Rémi D.
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
>> Les rencontres techniques de NI - Mesures et acquisition de données : de la théorie à la mise en ...

Similar Messages

  • Help with DAQmx tension measurement and saving to spreadsheet file with NI USB-6218 (very urgent !)

    Hello people,
    I've been given at the last minute a project at school where I need to do some data acquisitions (tensions) with a DAQ NI USB-6218 and it has
    been miserable ever since, I first tried the "easy" way with DAQ assistant to save a given number of samples per channel to a text file
    in order to use it in matlab, well...it isn't working : every time in my text file I have a different number of samples, I used the "Write to spreadsheet" function within a while loop where I wired the path outputs to a shift register in order not to have it asking me the path all the time,
    but I'm still not getting the X number of samples per channel as specified at the beginning.
    So I've been using another method with the DAQmx where I get each individual waveform into a vector of samples, when I look for the size
    of the vector it looks Ok, 100 in my case but the problems start when I try to have a text file where each column will represent a channel for
    subsequent matlab treatment, what I'm doing doesn't seem to be working, it's really unbearable, please help me sort this mess out.
    I'll add both VIs as attachment so it can help you help me, thank you.
    Basically what I need is to acquire 15 tensions with a given number of samples per channel (the same for each channel) and then plot it in matlab.
    Note the first VI has switches to "unblock" each channel but it doesn't seem to be working, please look at both VIs.
    It's very urgent, I could fail my school year if I fail this project.
    Thank you very much for your help.
    Attachments:
    Projet EM acquisition - Copie.zip ‏78 KB
    projet autre version envoyer sur forum.zip ‏20 KB

    Hi Thank you very much for your help, in the meantime, I've changed the project to (see attachment), now
    it is at least writing the waveforms to the txt file, but again there is an another problem, it seems to be ignoring the
    number of samples I specified per channel, it seems to be writing into the txt file for as long as I keep the VI running.
    What is missing ? Also I'd like to have a clock for my samples, that is when I plot in matlab I do not just plot random numbers, but the
    physical analogical inputs as a function of time, that is for instance the first line corresponds to time 0, line 2 to time 0,001
    ect...How could I do that ? For the meantime I got only 5 channels, when I know what my mistake is, I'll expand it to 15 channels.
    Please help me.
    Attachments:
    acquisition 5 voies.zip ‏61 KB

  • DAQ and Hanning windows

    I've tried to use the example Continous Acquisition & Graph (buffered) with the Hanning block of Hanning Windowing Functions.vi. The mismatch type doesn't let me to connect, any idea or hints.
    Thanks.

    The Hanning Window function expects a 1D array as an input. The output of the AI read in the Continuous Acquisition and Graph is 2D since it is capable of returning multiple channels. You will need to use the Index Array primitive to pull off a single column of data for your channel of interest.
    Marc

  • Use PFI pin to trig ??

    Hello,
    I would like to start oscilloscope (mode single) with a trigger. I have a PCI 6024E board. Can i use the PFI input like to a trigger for activate a Vi who send instruction to oscilloscope.
    Thanks.

    Hi
    You can use the PFI lines as trigger to the hardware. It means that you can setup your board to wait for the trigger signal on the PFI line. The board will wait for the trigger. The trigger will not activate the vi (sotware), but will start A/D conversion of the PCI-6024 (the hardware).
    You can take a look on the example "Continuous Acquisition & Graph (Buffered) Using Digital Triggering" and then go to the function AISTART. This vi is calling the function Trigger Config. Take a look on the help description on this function. It explains how to setup a digital trigger by the PFI lines.
    RKO

  • How can I do a buffered digital acquisition on a single line?

    I am using a NI PCI 6110 DAQ and I need to do a continuous buffered data acquisition (sample rate near or above 5 kS/s). The thing is, the acquisition must be done on a single digital line. Some other lines of the digital port are used for something else (some in write mode, others in read), so they have to remain unaffected by the process.
    It would certainly be better if it could acquire data at the same speed as an analog input (which will be executing at the same time). In fact, it would have been much easier to only add a channel to the AI and I would have got exactly the results I want, but all the AI (4) of the board have already been used .
    The picture I uploaded shows what I'm tryi
    ng to do: I acquire analog data and I want to automatically show the moment a deconnection occured. The purple/pink line, which I added manually, is the one causing me trouble. It shows the voltage (0-5V) of the relay doing the deconnection (that's why it have to be done at the same time than an AI data acquisition).
    Thanks for reading this to the end
    Attachments:
    Graph.jpg ‏55 KB

    Well, you can't get hardware-timed DIO with the 6110, but you can probably use its counters to capture the timestamp you need.
    One method would be to set up a buffered edge-counting task. The analog input's sample clock would be specified as the source signal. This will cause the counter's value to increment at the beginning of each sampling cycle, acting as a measure of time from the start of analog input.
    The falling edge of the relay signal would be the counter's gating signal. For each instance that the relay disconnects, the count value ("time") at that instant will be stored in the counter's buffer for subsequent retrieval.
    Note one small timing subtlety: while the very first sample clock edge puts analog data into the 0th array inde
    x, it will also be incrementing the counter time to 1. This off-by-one deviation will persist.
    There are other variations on this theme, depending on whether you also need to capture re-connection times, or whether there is always one and only one disconnect of interest, etc. You can likely get just the behavior you need using one or both of the on-board counters.
    -Kevin P.

  • How to do multi-buffered acquisition on NI-6115

    I need to acquire multiple sequential arrays of data over a single channel using an external clock and a digital trigger (~1000 arrays total, 1000 samples/trigger, external clock frequency 500kHz, trigger frequency 250Hz). It is important that the sampling start right after every trigger, and that I do not miss any triggers. I can already do this using simple buffered acquisition with the ai start and ai read vis in a loop, except it misses triggers while the loop re-starts. Is there any way I can define a buffer large enough to hold all of the samples I need, then to have it read only the number of samples I want after each trigger into this large buffer? I don't need to see the data until the whole acquisition (1000 x 10
    00 samples/trigger) is over. Is this what multi-buffered acquisition does? I cannot find any literature on the NI site related to multi-buffered acquisition. Thanks for any help.

    So every 4 msec you get a trigger signal that should initiate a 2 msec acquisition (1000 samples at 500 kHz sampling rate)?
    There's an example of a way to use your board's counters to support retriggered analog acquisition here on the NI site: Retriggered Analog Input Example. The code may look a little complicated, but the basic idea is described pretty well.
    The goal is to make sure the timing is handled in hardware so you don't miss triggers while doing the software reprogramming. AI Start would be called only one time prior to your loop, and only AI Read would be calle
    d inside the loop.
    Just be careful about your timestamp info. The analog acq. task won't have any "awareness" of time intervals between samples. It'll be up to you to slice up the data into appropriate chunks. You can probably do this by simply requesting the right number (1000) from AI Read.
    Good luck,
    -Kevin P.

  • I am trying to write a double buffered data acquisition program using MFC and a callback function.

    i am trying to do a double buffer data acquisition using MFC application framework in Visual Studio.i want to use a callback function to notify when the buffer is half full.do you have some sample reference program that can help me?

    What DAQ board are you using? When you installed NI-DAQ you should have selected to install the support files for VC++. Then there will be several examples on how to do double buffered data acquisition.
    If you have already installed NI-DAQ 6.8 or higher and did not select to include the support files, you can run the NI-DAQ setup program and just add them. If you are using an older version, you will have to uninstall and reinstall.
    Once you have the support files, follow this path to the examples.
    >>Program Files>>National Instruments>>NI-DAQ>>Examaples>>Visual C>>
    If you are doing digital acquistion, goto the di folder, if you are doing analog acquisition goto the ai folder.
    As for the callback function, you can use the NI-DAQ function Config_DAQ_
    Event_Message with DAQEvent Type = 1, where N would equal half your buffer.
    Brian

  • Can PCI 6031E handle multi-buffered data acquisition

    If so can anyone send me some instructions or LabView code. Thank you in advance.

    Greetings,
    The PCI-6031E can handle single or double buffered acquisitions. The two best sources for examples and instructions are LabVIEW itself and our web site. Go to the "Help -> Find Examples" pull-down menu in LabVIEW to search for shipping examples. Look in the folder "Hardware Input and Output -> DAQ -> Analog Input -> General." Here you will find many analog input examples. Specifically, you should pay attention to the ones with "buffered" in the title.
    In addition to LabVIEW itself you will find our web site's Developer Zone extremely useful.
    Development Library
    http://zone.ni.com/devzone/devzone.nsf/6ae7945502d89dea0625685500506e1f/4d58b1b80ec41ef70625683f006e1d6d?OpenDocument
    Regards,
    Justin Britten
    Applications Engineer
    Nati
    onal Instruments

  • Role of timing and rate in the buffered acquisition

    Hi
    I am trying a buffered acquisition. 
    In the timing VI, when i specify the rate to be around 2000, i do not get any error message and the data acqusition continues. Also i am giving a time of 1000ms in the wait until next millisecond vi in the while loop.
    But if i increase the rate to be around 5000 and increase the millisecond count to 2000, then i get the following error message.
    -200279   DAQmx Read (Analog 1D DBL 1Chan NSamp).vi:1<append>
    <B>Property: </B>RelativeTo
    <B>Corresponding Value: </B>Current Read Position
    <B>Property: </B>Offset
    <B>Corresponding Value: </B>
    <B>Task Name: </B>MyVoltageTask 
    What is the importance of timing in the while loop and specifying the rate in the timing VI????
    Somil Gautam
    Think Weird
    Solved!
    Go to Solution.

    Thanks.
    Actually, setting the timing in while loop to 1/10 th rate in the timing VI is a good practice.I had increased the timing and as a result the buffer was getting overwritten.
    Somil Gautam
    Think Weird

  • Double buffered acquisition with PCI-6031E

    For a meagre 1 channel acquisition at a sample rate of 100 Hz and buffer size of 1000, I get this message:
    "Warning -10026 occurred at an unidentified location.
    Possible reasons:
    NI-DAQ LV: The requested number of buffers or the buffer size is not allowed. For example, the buffer limit for Lab and 1200 devices is 64K samples, or the board does not support multiple buffers."
    Can someone explain the reason

    My favorite way to get this error is to accidentally wire something to the "number of buffers" input on the AI Config VI. This should be left unwired most of the time. You can also get this error if the buffer size is invalid. This would be less than 3 or greater than 2^24 for your board. See KB 1JAKLN6Q for more information.
    Finally, as a check I would run one of the shipping example programs to see if you don't get the same problem. Then you can compare your program to it. Try "Acquire N Scans.vi"
    Hope this helps!
    Russell
    Applications Engineer
    National Instruments
    http://www.ni.com/support

  • Real-time PID control and continuous buffered acquisition. Does it work together?

    I use the "real-time PID control.vi" that acquires single AI point and generate single AO point in every "while loop" iteration to control a piezo actuator motion. Simultaneously I need to do (in another loop) a continuous buffered acquisition of another two AI channels (in the same rate as first AI channel).
    It does not work together.
    Does anybody know how to fix it?
    Platform: LabVIEW 6.1
    Board: PCI-6024E

    Hi,
    I would try to avoid the idea of using a separate loop since the PID
    loop is a continuous acquisition and will require un-interrupted access
    to the Analog DAQ system of the board. The last thing it needs is for
    you to attempt to start other AI functions at the same time.
    Configure your AI in the PID loop to read in multiple channels (Just add
    some more channels to the Input Channels Control. Separate the data as
    it comes out of the AI single Scan function using Index Array or other
    Array functions into that needed for the PID and that needed for your
    other data (the example is already doing this to make sure it only gets
    1 channel of data into the PID). If you don't need to sample all your
    channels of data all the time you can throw some data away as
    required.
    Obviously your other channels are now arriving one sample at a time so
    if you might need to build an array, insert into an array or use Auto
    Index on the loop if you are data logging.
    Regards,
    Dave R.
    varmih wrote:
    > I use the "real-time PID control.vi" that acquires single AI point and
    > generate single AO point in every "while loop" iteration to control a
    > piezo actuator motion. Simultaneously I need to do (in another loop) a
    > continuous buffered acquisition of another two AI channels (in the
    > same rate as first AI channel).
    > It does not work together.
    > Does anybody know how to fix it?
    >
    > Platform: LabVIEW 6.1
    > Board: PCI-6024E

  • Acquisition de tension et fréquence sur ni6010

    Bonjour
    Je souhaite faire des acquisition de tension de de fréquence (tous cela en continue) avec une carte ni6010
    gamme de tension 0-5V
    fréquence x-500Hz
    j'ai essayé se montage mais sa ne marche pas (pièce jointe)
    pourquoi??
    Pièces jointes :
    acqui.JPG ‏70 KB

    Qu'est-ce qui ne marche pas? C'est un peu vague comme description pour pouvoir t'aider!
    Olivier L. | Certified LabVIEW Developer

  • Buffered ring acquisition with IMAQ 1394 2.0 (beta)

    Hi,
    the IMAQ 1394 low level buffer access topic comes up again. National Instruments promised that low level buffer
    access will be feasible in the 2.0 (beta) version of the IMAQ 1394 driver. However, I still encounter problems.
    I want to run a continuous ring acquisition. The ring shall consist of 40 buffer cells. I configure the acquisition
    using IMAQ 1394 configure acquisition.vi and wiring "40" to "number of buffers" and "continuous" to "continuous?".
    If I am testing the ring, it appears that the ring only has 20 buffer cells. After an image had been written into cell
    no. 19, the next image is written into cell no. 0 and not into no. 20.
    Is there a maximum number of buffer cells implemented? In the online help, nothing is written about such a fact. In
    addition, the help statements are quite puzzling. There they write:
    Use the Continuous? and Number of buffers parameters to select the type of acquisition that you want to configure,
    as follows:
    Snap One-shot; one buffer
    Sequence One-shot; multiple buffers
    Grab Continuous; one buffer
    The combination of "continuous" and "one buffer"
    sounds rather antithetically. Is any beta tester around there who can make sense out of this?
    Thankful for any hint,
    Peter

    What I want to do is to setup the camera and store the settings to the camera memory and do a flat-field calibration of the camera (and maybe also store the calibration image in the camera).
    I will use your method to handle the default settings. Thanks!!!
    Then I will remove the camera from the calibration setup and use it in a machine performing measurements not using LabVIEW. I could make all the setup in the machine again but that would mean more work than to use LabVIEWs functionality (I'm just lazy).
    I just want to be sure that all settings have reached the camera memory and that they were stored there. It does not seem that the Property Node communicates directly with the camera like the "IMAQ1394 Write Registers" command does.
    Richard

  • Flexmotion single point acquisition with Analog buffered acquisition

    I am trying to read the ADC's with a 7344 motion card using a looping single point acquisition equivalent to 50Hz. This is occurring at the same time as I am performing a buffered analog acquistion on a PCI6023 E-series at 1000Hz.
    The values from the ADC's are stored in an array, but when I view this array there are hardly any data points, maybe about 20 in total.
    I am guessing that it is because of the buffered acquisition, but can anyone help me understand this problem a little better? Can I accomplish what I have described?
    Thanks
    Chris

    I checked and the Read Position VI loop runs properly while the motion profile is running (without any analog acquisition through my 6023E card).
    Likewise, with no read position loop, all the analog acquisition with motion runs properly.
    I have attached a simpler example that I tried, so that there was no triggering involved. The analog acquisition runs, and I find that the Read Position VI loop only starts displaying once the analog acquisition is finished (after 2000 samples/ 2 seconds).
    It seems that it cannot do the two processes at once and that the analog DAQ on my 6023E card has priority over the Read position loop????!!!!???
    The example is in LV5.1.1 format
    Any help would be much appreciated!
    Chris
    Attachments:
    simultaneous_DAQ_on_6023E_and_reading_7344_flexmotion_(simple_example).vi ‏149 KB

  • Multi-buffered acquisition with digital trigger

    I have a PCI-MIO-16E1 and I need to do three channel (250KHz/channel - ~400 scans/trigger) multi-buffered acquisition with digital trigger (trigger => 30 Hz).
    I could not find any example of multi-buffered acquisition. Could anybody help me?

    Hello,
    I assume that you are refering to a retriggering setup where each time you recieve a trigger you take 400 samples on each channel at a rate of 250kHz per channel (total scan rate = 3CH * 250kHz = 750kHz).
    In order to keep the system hardware timed you can use the two counters on the board to produce a retriggerable pulse train that will act as your scan clock. For example each time the counter recieves a trigger it will output a clock signal of 750kHZ with 400 or so pulses in order to take ~400 scans/trigger.
    This clock signal can then act as the scan clock for your 3 channel analog input operation.
    Now we have to figure out how to set up the retriggerable pulse train from the counters and have the analog input use the counter output as a sca
    n clock.
    Good thing there is an example that is already written
    http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/aab61e455564a04d862568930018e725?OpenDocument.
    Good Luck.

Maybe you are looking for

  • Creating a Hyperlink in a Footer

    I am currently using Acrobat Pro X Version 10.1.1....along with every pdf editor I could find. I have created a couple of hyperlinks, highlited in blue and underlined....finally, and want to make these 4 links a footer...that's all. These are in PDF

  • Fireworks not working on main user

    I purchased the new WebPremium CS3 last year when it came out and I can't use Fireworks on my computer unless I create a new user and use it on that user. It is a real pain as I have to keep switching users and find the files in the shared folders. I

  • Cannot load java applets in Safari

    I have several accounts on my machine. In one, the one I use most of the time, Safari will not load java applets. I have checked preferences and compared with those set on the other accounts. They are the same, including enabling javva and javascript

  • Bank Charge and Bank Overdraft Fees Master data

    HI Expert, When i am Running Bank  Manual Reconciliation(FF67), I am not able to run successfully.i am getting error-there is no open item found for Bank Charge and Bank Overdraft fees. however i made bank charge and bank overdraft fees as normal G/L

  • A Table/List​box with Checkbox Column?

    Hello everyone, I want to build a table or a multicolumn listbox which contains a checkbox column, is it possible under LabView8.*? Thanks a lot! Le