Acquisition of fast pulses with PCI-5122


Hello

in your VI you write in a PDM file as a binary file. You want to save in a spreadsheet file or txt instead? Or just have the waveform data available in other datatype in LabVIEW?

The output of Element.vi Dequeue is table 1 d of waveform: each element of waveform is a cluster of dt (double value), t0 (of a double value) and an array of values double. So, if you need get a 2D with all data table (if I understand correctly), you each elemnt of the 1 d of waveform of the index table, extract the double table in each waveform and then built a 2D array.

You can find an example here.

I hope this helps!

Bye,.

Licia

Tags: NI Products

Similar Questions

  • Digital reading Pulse with PCIe 6509

    Hi all

    I'm trying to decode an infrared control using the PCIe 6509, but I've no chance that a signal from a remote control. It seems that when I use the VI of change detection, it does not generate the interrupt, but it cannot produce enough it fast to create a template to use with the reading VI Daqmx. Does anyone know if something like this is possible? The idea is to make the PCIe 6509 generate a digital output signal for each key different on the controller.

    Thank you!

    Kenny

    Arduinos are often used.  There are a few boxes to software tools out there like LIFA and Lynx.  Then you just need a serial port to communicate.

  • How to trigger the camera and light pulsed with PCIe-1427

    Hello

    We recently bought an acquisition card NI PCIe-1024 and the NI Vision Builder.

    I am new to imaging applications and need support to get started.

    Application:

    We have a camera viewing a scene which is illuminated by a pulsed light source (e.g., a strobe).

    We want to use the PCIe-1427 as the master for the outbreak of the camera and strobe light.

    The first trigger (Ch 0) transmitting signals TTL to camera to 30 Hz (30 fps).

    The second trigger (Ch 1) send bursts of pulses to the strobe light to e.g. 10 kHz. This trigger must only send impulses all other images, so that we can save alternating light and dark images in order to perform background subtraction.

    I tried to set up the channels of the trigger and create virtual channels in the measurement and Applications Explorer, but apparently this is not possible.

    Since it is an application critical time, I'd appreciate an example vi that sets up the channels two trigger and download managers in the camera to get started on this application. Thank you.

    Software of NEITHER: LabVIEW version 10

    Materials: Device for the Acquisition of Image (IMAQ) PCIe-1427 driver Version: NOR-IMAQ 4.4 OS: Windows 7

    Thank you, Justin.

    I'll copy this request to the machine Vision Group as you suggested. I looked at the link sent you me and made progress (limited). I can see on an oscilloscope trigger signals, and the camera acquires images. However, I only managed to do work for pulse trains continuous, not a shots or bursts of pulses.

    No need to answer that. Thanks for your help.

    Peter

  • I need to generate 3.3 V logic level Digital train of pulses with the NI PCI-6221. Can I change the level of 6221 OR logic output?

    I need to generate 3.3 V logic level Digital train of pulses with the NI PCI-6221. Can I change the level of 6221 OR logic output?

    The output cannot be changed. 5V to 3, 3V level controllers are readily available (Maxim, I think). As long as the scanning speed (etc.) is fast enough for your pulse train, even 3, 3V regulator would work. I don't know if NEITHER offers a module to condition TTL levels.

  • patrons of pulse with the repetition of 512us scroll 7811 PCI with compac RIO

    We can produce a specific impulse of 15 to 30 pulses model (0.5us pulse width and frequency of 500KHz and models are transmissible repetedly with 512us interval) with PCI 7811 compac RIO. I have material but do not find any help in this regard. If some body send a small vi. assistance. I will be really grateful

    Yours sincerely

    Do you only need determine if the received model corresponds to the sent model, or do you need to store the received bit model whatever it is? Do you need to process the model received on the FPGA, or you can pass it to the host? How will you know if you begin to receive the reason, especially if it begins with a false?

    The best thing to do is to constantly read the digital input and write the value to a FIFO DMA, you read about the host, where you can treat them more easily. If you need an immediate comparison on the FPGA, you will have to design an algorithm more complex which is used to determine when the received model starts and it matches against the model that was sent.

  • IMAQ extracted buffer is suspended in an ongoing acquisition with PCIe-1429

    I acquire images of 500 x 500 pixels at 1000 FPS from a camera of the Basler A504k using a PCIe-1429 (LabView 8.6, x 64 Vista). The images are processed online, and all works - some time. From time to time the program and out of just to extract vi buffer never gets. No error is produced. I need to kill Labview and restart it to leave. I read http://forums.ni.com/t5/Machine-Vision/BUG-with-PCIe-1429-Cameralink-full-config-Basler-sprint-lines... and implementation of the proposed solution, but no luck. I followed the lost images and buffer number called and can't find any problems. My VI is attached. The images, go to a queue and treatment by another part of the program. Any help will be much appreciated.

    Thanks Vinod,

    Another thing is that the structure of your program looks a little broken. You are extracting tampons from the ring, put a reference to the image in your queue, and then going back and extract a different buffer. This means that your previous buffer is no longer checked and could be replaced, but your loop else may not have finished processing this image yet.

    While this should be causing your current problem, but I thought it is interesting to point out. I think I have two queues of the source images. One that contains free images and one that contains the populated images. You producer loop of who you've given here would consume the free queue, take in one of these images, and then place it in the populated queue. Your consumer loop would be remove from the populated queue, process the image, and then put the image in the free queue.

    Eric

  • Acquisition of Digital Data Output: generate a pulse with a specific width (depending on time)

    How can I generate a digital pulse with a specific width? I was not able to find examples online. Thank you!

    With the USB-6000 - essentially none. He has only digital software programmed according to i/o. on your system, you may be able to generate impulses at speeds up to a few hundred Hertz, but there will be a considerable amount of timing jitter. Tens of milliseconds can be common and even longer variations may occur occasionally.

    Please indicate which are the times for your impulses, so someone may be able to provide recommendations specific to your needs.

    Lynn

  • Generation of pulses using PCI-1428 to CC1

    My laboratory uses an external signal generator to generate a pulse to trigger a line scan camera and continuous acquisition of image acquisition card. The lab has just acquired a new camera and unfortunately I can not use the external trigger on the camera connection. I understand that PCI-1428 cannot external signal to a line of camera control. I tried to generate a pulse of MAX, but he won't let me have a pulse with less than 24 US pulse width.

    So first, I was wondering if there is a way to generate a pulse with less than 24 US of MAX pulse width.

    And if this is not possible, is there a way to generate a pulse of Labview similar to he'S generation.vi of pulse but he sent via the CC lines for the order? Also, how can I program it to make the generated pulse is sent as soon as the frame grabber receives / detects the start of the external signal?

    Thanks for your help.

    Don't know who did the file of the camera, but the 1428 can generate pulses with a period of 40ns on CC1 (a time base internal 50 MHz is used at the moment of high/low pulse). You can use NI Camera File Generator to modify existing camera files:

    http://sine.NI.com/NIPs/CDs/view/p/lang/en/NID/14207

    It has good documentation for how to configure the settings of the pulse. If you still have problems, you can view the camera file, let me know what you're trying to use the mode, and which calendar you want pulse and I was able to address the issue, but I recommend trying OR Camera File Generator first... make a backup of your file to camera to keep your original autour.

    Hope that helps,

    Brad

  • How to count the pulses with digital input on 6351

    Hi all experts in Labview,.

    I just got my USB x series 6351 and it works fine, but I certainly lack of labview skills to use it to its full potential.

    I would like to read digital pulses with several digital inputs and count the number of pulses each T interval in time. All impulses that I entered on any edge of the clock are not synchronized and can occur at random times during the tests. Basically I have an oscillator of square waves can I modulate the frequency. I don't want to use the meter as inputs as I'm limited to only 2 entries (if I use the option 2 input meter for metering of pulses or frequency). The input frequency can range from 0-1 kHz and goes 0 - 3V. So not too fast, and I shouldn't make too many mistakes trying to get the count of pulses and then back out the frequency in accordance with article ni.com on counters.

    I would like to read the 8 digital input channels and get the number of impulses for each channel. I searched high and low for help online but can't find examples that have been useful. Anyone have any ideas on how to go or direct me to a resource? Thank you very much in advance!

    Are you worried about getting the number as a physical operation timed?  It would be nice to acquire a digital waveform and then postprocess on it to detect how many events took place?  I've attached an example that shows how you can accomplish this. It reads a digital waveform and then uses a detection of crete VI to determine how many pulses occurred. Should be a few adjustments to your particular signal.  The VI I use seems to count events twice (probably count each edge), so counting it gives should be reduced by half in order to work.

  • Material synchronizing error PCI-5122

    I tried to run the attached vi (which I ran several times before) and my computer blue screen.  When it restarts, I could no longer use my PCI-5122 digitizer card.  When I try to do a test of the device or device reset in MAX, it tells me that theres a hardware synchronizing error...   I used an external trigger for the acquisition, but don't think that I have been using an external reference clock.  Could someone help me solve this problem?

    Thank you

    Hello

    This error may be the result of a hardware failure where the only solution is a repair or replacement. However, there are some troubleshooting steps base who have been known to fix this without a return.

    1. Restart the PC or PXI controller.
    2. Try another location PCI or PXI.
    3. Update the driver to the latest version.
    4. If possible, try the card in another machine.

    If these steps do not correct the problem, then it is likely the Commission requires a repair that can be arranged by contacting technical support from National Instruments (France: 01 57 66 24 24).

    Best regards

  • DI/O cards such as the 651 x are compatible with PCIe 1 x?

    Hello

    This can be a bit of a stupid question, but it's my first outing with NEITHER and yet I somehow received some amount of responsibility for a very strange procurement process.  I hope the question is easy to answer and that will mitigate its possible idiocy.

    Are maps such as the NI 651 x (http://www.ni.com/datasheet/pdf/en/ds-105) compatible with PCIe 1 x?  Of the image, it looks like they are designed to run on PCIe 16 x, but since the speed is not a major concern, that I wondered if she settle and operate normally on PCIe 1 x.

    I am limited in contracts with a default value, extensive construction of tower PC organization, whose mother has two PCIe 16 x and two PCIe 1 x.  Since I will probably need three cards, I was hoping that it would be compatible with the PCIe 1 x slot and we would save the hassle of special purchase order form.

    Thanks for any help!

    N ° it is even not a PCIe connection.  It's PCI.  I recommend that you call your local representative of OR discuss your needs and they can help steer you in the right direction.

  • docking w520 with pci-e slot, but few likely?

    Hi, is there such a thing? I have a w520 I want to put a raid or hba cards. My t61 had a dock with pci-e slot and I'm looking for something similar.

    no such thing with the ThinkPad W510, W520 W530, new.

  • acquisition of continuous sample with multiple channels

    Hello! Please tell me what I'm doing wrong here, I'm confused about how the acquisition of continuous sample with several channels (using NI USB-6215 boxes).

    Following code is python code, but I don't know who confuse you (and it's only a part of my code in order to not try, it won't work

    buffer_size = 2000 #samples to read
    sampling_rate_hz = 20000
    channels = "Dev1/ai0 ai1/Dev1" #this can be a string or a large number...

    CHK (nidaq. DAQmxCreateTask ("", ctypes.byref (taskHandle)))

    CHK (nidaq. DAQmxCreateAIVoltageChan (taskHandle, channels,"", DAQmx_Val_Cfg_Default, float64(-10.0), float64 (10.0), DAQmx_Val_Volts, None "))

    CHK (nidaq. DAQmxCfgSampClkTiming (taskHandle,"", float64 (sampling_rate_hz), DAQmx_Val_Rising, DAQmx_Val_ContSamps, uInt64 (buffer_size) "))

    CHK (nidaq. DAQmxRegisterEveryNSamplesEvent (taskHandle, DAQmx_Val_Acquired_Into_Buffer, uInt32 (1000), uInt32 (0), EveryNCallback_func, None))

    CHK (nidaq. DAQmxRegisterDoneEvent (taskHandle, uInt32 (0), DoneCallback_func, None))

    the callback function #and

    def py_EveryNCallback_func (self, taskHandle, event_type, nSamples):
    data = numpy.zeros ((self.channel_amount,buffer_size,), dtype = numpy.float64)
    read = int32()
    CHK (nidaq. DAQmxReadAnalogF64 (taskHandle, buffer_size, float64 (10.0), DAQmx_Val_GroupByScanNumber, data.ctypes.data, buffer_size * number_of_channels, ctypes.byref (read), None))

    With only one channel, everything's fine, and tension diagram looks like this:

    buffer_size = 2000, sampling_rate_hz = 20000

    But if I use two channels, voltage diagram looks like this

    buffer_size = 2000, sampling_rate_hz = 20000

    It looks like the sampling rate is higher or there are fewer values?, but with two channels with the results table is 2000 * 2 long and with a single result is 2000 * 1 long is not smaller

    most of the settings important (?) in my code:

    DAQmxCfgSampClkTiming "float64 rate": 20000 (sampling_rate_hz)
    'UInt64 sampsPerChanToAcquire' DAQmxCfgSampClkTiming: 2000 (buffer_size)
    DAQmxRegisterEveryNSamplesEvent "uInt32 nSamples": 1000 (?)
    'Int32 numSampsPerChan' DAQmxReadAnalogF64: 2000 (buffer_size)
    DAQmxReadAnalogF64 "float64 [] readArray": [[buffer_size] * number_of_channels]
    'UInt32 arraySizeInSamps' DAQmxReadAnalogF64: buffer_size * number_of_channels

    as you can see nSamples is a big question mark, but the problem still exists if I set variable buffer_size y (2000)

    Hi Dazzler,

    It is not a multi-channel example that ships with the driver, but after a quick look at the code that you use in your third post, everything seems to be configured correctly. The only thing I was thing I got a question about your plots. Looks like you draw each time the same number of points. If you draw just the table of data directly from the playback feature, you need to draw (buffer_size * number_of_channels) number of channels since the data returned is as an interlaced array. You can also choose to deinterleave samples. More information about this lie in the NOR-DAQmx C reference help, which is installed with the NOR-DAQmx driver.

    Kind regards

    Kent

    Technical sales engineer

  • CAN I USE PXI-8330 WITH PCI-8331

    CAN I USE PXI-8330 (CHASSIS) WITH PCI-8331 (PC)?

    CAN I USE PXI-8331 (CHASSIS) WITH PCI-8330 (PC)?

    CAN I USE OR PXI-8110 (CHASSIS) WITH PCI-8330 (PC)?

    IS CONTROLLER MUST BE THE SAME MODEL?

    Hello

    MXI controllers have a pair use, as you can see the manual on page 1-4.

    http://www.NI.com/PDF/manuals/370840b.PDF

    OR PXI-8110 is a PXI controller, so it's a computer doesn´t need to be connected to a PC using a card-MXI.

    Kind regards

    Abel

    OR Brazil

  • Acquisition of fast mode for 9214 with VB6

    Hello

    I have a VB6 application that acquires data from a device to measure temperature NI 9214. The unit has two modes of acquisition, large (default) precision and high speed. With the help of MAX I can see that these modes both work in a test Panel. However I can't see how to change the mode at high speed by program in VB6. I am generation and execution in VB6 in DevStudio 2008 on a virtual Windows XP machine (host is Windows 7) using 14.2 DAQmx. Also running the compiled executable directly on Windows 7 without problem. I just want to change the mode of fast sampling (up to 100 samples/s for a single channel), while the default precision is only 1 sample/s. looking at transients of the order of 0.01 s over a period of 2 minutes.

    Can anyone help with this?

    Kind regards

    Chris

    I found a solution that I posted a separate issue here. Thank you for all your help.

    http://forums.NI.com/T5/Measurement-Studio-for-VB6/DAQmxSetAIADCTimingMode-function-not-defined/m-p/...

Maybe you are looking for