Ni pxi 5122

Bonjour,
je vais déclencher une ligne vidéo (HD ) a partir d'un ni-pxi 5122 et un trigger extérieur(external TRIG).
avez vous une idée sur ce  trigger comment  peut-être sa fréqunece,amplitude..?

In LabVIEW, select Help->Find Examples... When the dialog comes up, search for NI-SCOPE. You should find what you need.
This account is no longer active. Contact ShadesOfGray for current posts and information.

Similar Messages

  • PXI-5122 External Sample Clock

    PXI-1031 Chassis
    PXI-8106 PC
    PXI-5122 14bit 100MS/s Digitizer
    Labview 8.5
    I am driving X-Y mirrors steering a laser.
    I am measuring the reflected light
    to develop a raster image of a sample.
    I have a pixel clock running at 60MHz that
    I want to clock the acquistion and external
    trigger that defines the 'line valid' or sampling
    across the mirrors during their constant velocity
    range.
    I am using [PFI0 with 'READY for START EVENT'] as
    a start pulse to run my x-y mirror scan.
    CH0: Analog signal
    SMA TRIG: line valid
    AUX: PFI0 with 'READY for START EVENT'
    In the property node 'niScope'
    when I add the following elements:
    Sample Clock Timebase Source = VAL_NO_SOURCE
    Sample Clock Timebase Rate = 60000000
    Sample Clock Timebase Divisor = 1
    I get the following message:
    Error -1074118614 occurred at Error occurred at:  niScope Fetch Binary 16.vi:2
    Possible reason(s):
    Driver Status:  (Hex 0xBFFA402A)
    An acquisition has not been initiated.
    Error -1074134971 occurred at Property Node (arg 4) in CSKB-4X_VID.vi
    Possible reason(s):
    The channel or repeated capability name is not allowed.
    Attribute: NISCOPE_ATTR_SAMP_CLK_TIMEBASE_SRC, Channel: 0
    Attached are the VIs with the elements added to the niScope property node
    and without.
    I get the above errors even when I set the 'Sample Clock Timebase Source'
    to 'VAL_NO_SOURCE'
    It appears, by just adding the elements, it gives me the error(s).
    How can I get the external sampling clock to work along with external trigger?
    Solved!
    Go to Solution.
    Attachments:
    CSKB-4_VID.vi ‏148 KB
    CSKB-4X_VID.vi ‏146 KB

    Hi csk,
    I was wondering if you could clarify how many
    samples you wish to take. Am I correct that you wish to take 30,000
    sets of 150 samples each, or do you mean you want to take 150 sets of
    30,000 samples each (since 30,000 periods of the 60 MHz clock fits
    within 90% of a 1.8kHz signal)? In either case, the current method you
    are using is only going to acquire a single record each time through
    the loop, and so you will be limited by how fast you can retrigger in
    software.
    For your application, it sounds like you will
    need to perform a multi-record acquisition, as this will allow you to
    specify what condition to trigger off of and how many samples to
    acquire each time the trigger occurs. In this way, each "transition" of the sawtooth wave is considered a single record, and you are acquiring multiple different records corresponding to each time a rising edge trigger occurs. I believe that you can accomplish
    exactly what you need with only a slight modification to the niScope
    shipping example "niScope EX Multi Record Fetch More Than Available
    Memory.vi" (found at Start » Programs » National Instruments » NI-SCOPE
    » Examples). With this VI, you can specify that you wish each record to
    have a min record length of 30,000 samples (or 150 samples if this is
    the case) and that you wish to acquire 150 records (or 30,000 if this
    is the case). The only major change that you would need to make is to
    change the Configure Trigger VI to be a Digital Edge trigger rather
    than an analog trigger. With this and a few other modifications (ie -
    configuring the external clock) you should be able to accomplish what
    you need. Please let me know if I explained this alright and if my
    assumptions are correct. Thanks, and best of luck!
    Daniel S.
    National Instruments

  • External trigger of ni pxi 5122

    hello,
    i want use external trigger of ni pxi 5122 to select video line (video HD).
    how it is the form of the trigger in this case?

    Hello,
    Based on the Specifications Manual (pages 18 and 19) this module will accept a voltage signal from -5V to +5V.
    http://www.ni.com/pdf/manuals/371172m.pdf
    Please refer to the links below for more information about Video Triggering.
    http://www.ni.com/white-paper/3735/en/
    http://zone.ni.com/reference/en-XX/help/370592E-01/digitizers/5122_video_triggering/
    Regards,
    MCOTO.

  • External trigger ni pxi 5122

    hello,
    i want to generate an external  trigger signal for an ni pxi 5122  to launch a specific line video : HD(720p,1080i).
    what is a form of this external trigger ?

    Hello,
    Based on the Specifications Manual (pages 18 and 19) this module will accept a voltage signal from -5V to +5V.
    http://www.ni.com/pdf/manuals/371172m.pdf
    Please refer to the links below for more information about Video Triggering.
    http://www.ni.com/white-paper/3735/en/
    http://zone.ni.com/reference/en-XX/help/370592E-01/digitizers/5122_video_triggering/
    Regards,
    MCOTO.

  • PXIe-5122 continuous stream 2 channels to disk with 100MS/s

    Hey,
    I am currently trying to find a way to stream 2 channels to disk with 100MS/s with my PXIe-5122. According to the product specification, the card should be able to do this. 
    Unfortunately, I have'nt seen any programs.
    What I have are two loops, one for the DAQ and one to empty the onboard memory using a queue and writing the fetched waveform data into a tdms file. I keep obtaining the error, that samples in the onboard memory are overwritten... therefore, the VI doesn't empty the onboard memory in sufficient speed.
    Does anybody know how I could solve this problem? Or does anybody have a program?
    Thanks for the help!

    Hi lehrm,
    you are writing about that you didn#t see any application for the 5122. If you mean examples, there are a lot of examples installed on your system when you install the driver sw for the device. eg. there is an example called niScope EX Stream to Disk, that seems to be interesting for your issue
    Examples are available in the Example Finder of LabVIEW, in the folder: "Hardware Input and Output" -> "Modular Instruments" -> NI-SCOPE (High Speed Digitizer)" -> "Continious Acquisition".
    This can give you first ideas! 
    Kind regards
    Tobias S.

  • Ni pxi 5122 yuv

    hello,
    i want to understand why for testing  video signal like RGB,Y/C.. we connect  directly a video signal in a  ni pxi 5122 but for yuv signal we must use an external card who has a trigger connected to a trigger of ni pxi 5122 ??

    Hello hamdoulah
    Here you can find related information:
    DVD video-YUV output test using NI 5112
    What is the NI BNC-2178 VideoMUX and How Do I Install It?
    Regards
    Frank R.

  • NI PXI-5122 2bit external input

    Hello.
    I'm trying to acquire a normal Voltage signal with the channel 1.
    But i also have to read (with the "PXI-5122") an external 2 bit input. Sended by another device.
    Which port do you think is better to use to read this 2 bits?
    The Bits arrives in  parallel on 2 different channels.
    Signal ------------------------------->PXI-5122 Chan 1
    External Device ------>bit0 -------->PXI-5122 Port?
    External Device ------>bit1 -------->PXI-5122 Port?

    Actually from the DevSpec it seems that the Digital I/O is absent.
    But i think that it may be possible to use the PFI0 and PFI1 as a 1 bit digital input.
    This sentence comes from a NI 6013/6014 User Manual:"As an input, each PFI pin can be individually configured for edge or level
    detection and for polarity selection."
    (Even if it's not the same model of my device the functions names
    should be the same)
    So i think that it could be suff. to configure the trigger level in LabView in order to read the signal as a 1 bit digital. input.
    Can someone confirm this theory?

  • NI Scope Sorf Front Panel will not detect NI PXI-5122

    Hello,
    I am trying to use NI Scope Soft Front Panel 2.7f0 to acquire simple waveforms;
    however it will not detect my NI PXI-5122. I have confirmed that the digitizer
    works under MAX 4.2.1 and can see waveforms under the test panel. I have
    installed NI Scope 3.3.1 on my machine and have updated the driver on the PXI
    to version 3.3.1. Any ideas on what is wrong?
    ~Buck

    It is unclear from your post whether or not the 5122 is on the same physical device as you are running the soft front panel (SFP).  The SFP only works on local devices.  It does not have the capability to attach to RT or remote systems (MAX does).  However, if you are running Windows on your PXI controller or are using MXI to control the chassis, there is another issue.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • Soft Front Panel PXI-5122 and RealTime

    Can anyone tell me if the PXI 5122 Digitizer has a Soft Front Panel that is supported in LabView Realtime (8.6).
    When I load the one that is on my system, it doesn't recognize my external pxi chassis hardware.
    Thanks.

    The soft front panel that ships with the 5122 works only under Windows with devices directly accessible from Windows.  Since RT is a separate OS running over a network, the SFP will not work with it.  It could be modified to do this, however.  I will pass your suggestion on.  You may want to consider entering a product suggestion yourself (use this link).  Strange as it may seem, suggestions from customers are weighted more highly than suggestions from internal engineers .
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • DAQmx and pxi-5122

    Does anyone know if I can use DAQmx to measure a 5volt DC current from a pxi-5122 card?

    Good afternoon ndaugherty and devchander,
    Thanks for contacting National Instruments with your issue, we'll try and resolve it for you as quickly and efficiently as possible.
    devchander is correct, it is possible to program National Instruments Scopes (in this case the 5122) using DAQmx, however it is not recommended and not supported.  DAQmx is a multi-purpose driver designed, whereas the NI-SCOPE API is designed specifically for out Modular Instrument Scope cards.  For this reason, a lot of the functionality, timing considerations and register access, will be exceedingly difficult to control via DAQmx compared to NI-SCOPE. 
    The NI-SCOPE driver is a free download available to all of our customers and can be located here.
    Best of luck with your project.
    Sincerely,
    Minh Tran
    Applications Engineering
    National Instruments

  • MAX does not detect my PXI-5122 and PXI-6551 cards in a PXI-1045 chassis.

    I have been using a PC with MXI-3 to PXI-1045 chassis to develop LabView TestStand code.  Things are fine on my development PC.  [Software configuration report attached nireport_rich.txt].
    I have a 2nd PC set aside to test my deployment packages.  I installed a GPIB card and MXI-3 card in my deployment test PC, and loaded a bunch of hardware drivers.  [Report attached nireport_depPC_0006.txt]
    All the PXI cards are found just fine when my development PC is connected, but when I power up my deployment PC (with MXI-3 connected to the 1045 chassis) -- I can't import the development configuration [exported from development PC] because the deployment PC does not see the PXI-6551 DIO card in slot 6 [PXI6::10::INSTR] and the PXI-5122 card in slot 13 [PXI8::15::INSTR].
    I keep reviewing the hardware driver versions installed, and the only small difference that I see at this point is that the deployment PC has a slightly older version of NI-Switch.
    Anybody have any ideas of what I can try next?  I'm out of ideas.
    . . . . hmmm, can't seem to attach more than one file, so here's the software info on the deployment PC
    NI Software Information:
    CVI Run-Time 7.0.0.395
    NI-DAQ 7.3.0f1
    NI-DAQmx 7.3.1f0
    NI Script Editor 1.1
    NI-DMM 2.3.1
         Soft Front Panel 2.3.0
    NI-FGEN 2.2.1
         FGEN Soft Front Panel 2.2
    NI-488.2 Software 2.30
    IVI Compliance Package 2.2 2.2
    LabVIEW Run-Time 7.0
    Measurement & Automation Explorer 3.1.1.3003
    Measurement Studio 6.0
         For Visual Basic 
              ActiveX User Interface 7.0.0.344
              ActiveX 3D Graph 7.0.0.344
              ActiveX DataSocket 4.2.2.1
    NI-USI 1.0.2
    NI-HSDIO 1.2.1.3
    NI-HWS 1.2.2.0
    NI-PAL Software 1.8.2.0
    NI-SCOPE 2.7.0f5
         SCOPE Soft Front Panel 2.1.0
    NI Spy 2.2.0.12
    NI-SWITCH 2.30.49153
    NI-TClk 1.2
    TestStand 3.1
    NI-VISA 3.2
         visa32.dll 3.2.0.19
         NiVisaServer.exe 3.2.0.19
         NIvisaic.exe 3.2.0.19
    LabVIEW Run-Time 7.1

    Hello Maggie,
    Appreciate your assistance and reply.
    The pxisys.ini and pxiesys.ini files are modified by me with referring to
    1)PXI System Alliance PXI-2 SW spec,
    2)PXI-6 SW spec,
    and 3)pxisys.ini pxiesys.ini generated by MAX v5.3.0f0 with NI PXIe-1075 + NI PXIe-8133.
    The content in pxisys.ini/pxiesys.ini generated by MAX looks like simple. Consequently, I modified and checked it line by line according to actual hardware of PXES-2590+PXIe-3975. Then, MAX just list devices as described in the first post. I tried to find the root cause but in vain.
    Is this minor issue can be related any incorrect tag lines in pxisys.ini or pxiesys.ini I posted?
    Is any suggestion tests I can do to troubleshoot root cause?
    Looking forward your reply.
    Cheers,
    KL Tseng

  • Re-arming trigger time with pxi-5122

    Hi all!
    this is my first discussion in this forum so I'm not sure it's the right place to post it, because i'm using LabView but maybe it is an hardware problem.
    So... I have a problem to calculate the re-arm trigger time for the pxi 5122.
    From the data sheets I read that it should be about 3 us with the tdc off or 12 us if on.
    But I needed an accurate measure of the dead time following each record measured so i decided to find it by myself...
    Using an acquisition program I have previous written in LabView, I started single acquisitions of 10000 records and each record is composed of 128 samples; as signal I used square waves with different frequencies, of 10 volts peak-to-peak (my trigger was set on the first channel of 5122 with 1 volt of edge value).
    First acquisition: 50 kHz wave. Theoretically I need 0.2 s to capture 10000 records without loosing any signals from the square wave. Choosing an acquisition time for a single record of 15.3 us, I found that the time required was 0.199998 s, very similar to the expected one.
    Then choosing an acquisition time for a single record of 15.4 us, I found about 0.4 s.
    I can guess that in this second case one every two wave peaks goes lost so I required twice the time to capture 10000 records.
    Because a wave period is 20 us I have calculated a dead time of 20 - 15.3 = 4.7 us.
    It wasn't as the 3 us described for the 5122 but i wasn't impressed and i went on with my try.
    Second wave: 20 kHz. I need 0.5 s to capture 10000 records without loosing signals from the square waves.
    What i found was that in this case, choosing an acquisition time for a single record of 39.6 us I required 0,5 s to capture all the peaks, while with 39.7 us I required about 1 second, again twice the time.
    As the previous example I have calculated the dead time: 50 - 39.6 = 10.4 us.
    Very strange... the dead time I supposed being the rearming trigger (and so fixed) was different for the 2 cases.
    Trying with others waves lenghts, values were always different.
    This happen also fixing the frequency of the square wave and changing the number of samples per record.
    For example, with 128 samples per records as I said before I needed a measure time of about 15.3 us to collect all the consecutive peaks, while with 64 samples I needed 12,8 us and so on.
    So it seems to be a dependency between the dead time after a records ( the rearming trigger? now i'm not so sure if I can call so) and the sampling frequency of the pxi 5122.
    But I don't know why the DAQ behave in this way.
    Is it right? Rearm time should be fixed,shouldn't it?
    I know it required a bit of time to read my problem but i tried to be more accurate I could.
    Thank you in advance.
    Giacomo
    Solved!
    Go to Solution.

    Just as with full blown oscope, the cannot select a timing period between the scales shown on the front panel.  For example, the horizontal setting is labled 1us, 2us, 5us, etc.  You cannot select 2.5us.  Here is an excerpt from the PXI-5122 spec manual triggering section:
    Divide by
    n decimation available where 1<n<65,535
    For more information about Sample Clock and decimation, refer to the NI High-Speed Digitizers Help.
    What this means is that when you change from 15.3us to 15.4us, the scope changes timing ranges.  That is why it takes twice as long to acquire the samples.
    - tbob
    Inventor of the WORM Global

  • Poor data transmission form PXI 5122

    Hi everybody
    I am using a PXI 5122 in a chassis PXI 8176 embedded controller(Pentium3 512MBRam), and the transfer is poor. With 10MSamples/s I get an error after 3-4 seconds. I would need sample-rates of 50MS/s for about 5-10 seconds. I use LabView 8.2
    The error message is:
    Error occurred at:  niScope Multi Fetch WDT.vi:4
    <err>Driver Status:  (Hex 0xBFFA4018)
    The requested data has been overwritten in memory so it is no longer available for fetching.
    Status Code: -200004
    The transfer is far behind the theoretical limit. Any ideas how I could improve the transfer rate?
    Attachments:
    StreamingTestOnlyReading.vi ‏71 KB

    Haha, I can't even remember that topic. I bought several new devices since then with PXIe connection. That solved the problems

  • Make a bode diagram of the signal gained from the pxi 5122

    Hello,
    I have a question.
    I would like to make a bode diagram of a signal from the PXI 5122 scope. The only vi's i can find are with zero-pole-gain models, and i dont have a zero-pole-gain model. i just have a signal from the 5122 and i want to peform a bode diagram.
    any suggestions?
    Thanks in advance.
    Henry Lootens.
    [email protected]

    Use a Graph, x axis Frequency, y axis Magnitude, set the x scale mapping to Logarithmic.  Bundle the two arrays of data as frequency then magnitude before connecting to the Graph.

  • PXIe-5122 triggering problem

    I have some problem in triggering the signal in my scope. I use PXIe-512214-bit 100MS/s Digitizer. What I did is I route Board Clock to RTSI0 and then in niScope Configure Triger Digital.vi, I use RTSI0 as the trigger source. But it always reported error "Source terminal to be routed could not be found on the device"and Destination Terminal is: PXI_Trig0. When I route RTSI clock to RTSI0, program runs, but the scope does not show any signal. What should I do now? Do you have any suggestions? Thank you very much

    Hi, Tunde
    Thanks for your reply. I am only using PXIe-5122 for Impedance Analyzer Software. Right now the scope has some problem in getting the signal. It always shows "Insufficient Signal Level on Reference Signal Increase: FGEN Amplitude". What I did is to route Board clock to RSTI0 using niFgen Route Signal Out.vi and then in niScope Configure Trigger Digital.vi I use RTSI 0 as trigger source. But it always reported error "Source terminal to be routed could not be found on the device"and Destination Terminal is: PXI_Trig0. I also tried routing RTSI clock to RTSI0, program runs and again it shows "Insufficient Signal Level on Reference Signal Increase: FGEN Amplitude". I am right now quite confused about what could be the problem. Attached is the code. The change that I made is in Initialize Scope.vi and Initialize Function Generator.vi. Thanks!
    Attachments:
    Impedance Analyzer Software June 2012.vi ‏419 KB

Maybe you are looking for

  • ICloud storage for iTunes library

    Hello -- I am unclear on how he iCloud works with the iTunes library. Is all my media files saved there, including items bought from the iTunes store and  mp3 that  add to  itunes  that I buy elsewhere? Thanks fpe

  • How do I perform a partial reset on 6500A All-in-one

    Officejet 6500 E710n-z (2A98C5), Maac OS 10.8.2-- My printer doesn't always print after it goes to sleep. I have to turn it off and then turn it back on again. I was told at one time to perform a partial reset, but I have forgotten how to do that.  T

  • Possible to rotate iPhone video in iMovie?

    I handed my phone to a friend to take a short video of her daughter and on importing found the video was rotated. Is there a way of rotating the video to correct this in iMovie?  TIA

  • Newbie to Mac and iMovie

    Hi there, looking for some help if possible. Just bought a Mac and trying to understand iMovie. Previous experience with Adobe Premier. Does/did anyone ever have a problem where you add photos (use a 10mp camera) to a movie and then we you render the

  • Change cell colors used within a function

    While using various functions in a spreadsheet I use to track my bills on a monthly basis, the functions do a great job of highlighting all the cells included. The problem is.....I cannot see them well, some not at all, since I am color blind and the