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?

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

    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.

  • 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.

  • Direct Streaming of data from onboard memory to Host memory in PXI 5122

    Hey All,
    I have a small query about PXI 5122. In Data Sheet its written that " The PXI-5122 also can stream data continuously from onboard memory to host memory for longer acquisitions and streaming to disk. "
    So do we have to write some code for streaming the data on hard disk or when drivers of this card is installed then some VI's will appear in control panel through which we can stream data on hard disk ??
    I hope you all understood what my query is. Please let me know for further details
    Thank you.
    Regards,
    Sarang Dhananjay Jaiswal
    Satyam Development Center, Banglore, INDIA

    hi sarang,
    u have to write some code for streaming the data on hard disk,
    for any applications using labview u need to do coding........
    here is a vi which will do streaming of data on to hard disk
    to know more about digitizers (C:\Program Files\National Instruments\LabVIEW 7.1\examples\instr\niScope\niScope EX Getting Started.vi)
    or in labview goto
    find examples \hardware input output \modular instruments\ NI-scope(high speed digitizers)
    regards
    ak
    Attachments:
    Stream data to Disk1.vi ‏172 KB

  • Can not select external input for sound

    can not select external input for sound

    Hey there RoosterMonkey,
    It sounds like you have Soundtrack Pro installed but you cannot select your external audio device as an input. I recommend the troubleshooting steps from the article named:
    Soundtrack Pro 3: Troubleshooting Basics
    http://support.apple.com/kb/ht3659
    Update to the latest software versions
    From the Apple () menu, choose Software Update and make sure that you have the most recent updates for your versions of Soundtrack Pro 3, QuickTime, Compressor, Pro Application Support, and other important system files. Installing the latest updates ensures that your software has the latest improvements and enhancements.
    Note: Be sure the application is in the Applications folder and is named Soundtrack Pro before running Software Update.
    Check compatibility and driver versions for third-party devices
    If you're using a third-party sound card, MIDI interface, storage system, control surface, or plug-in, check the support area on the manufacturer's website to be sure that you're using the latest version of the relevant driver or other software for your product. For information on troubleshooting possible issues with Audio Unit plug-ins, go to Soundtrack Pro 3: Troubleshooting Audio Unit plug-in issues.
    Try a different Multitrack Project or Audio File Project
    Sometimes project files can become damaged, causing unexpected behavior in Soundtrack Pro. To create a fresh project, choose File, then New and select Multitrack Project or Audio File. Test to see if the issue is resolved in the new project.
    Delete the User Preferences
    You can resolve many issues by restoring Soundtrack Pro to its original settings. This will not impact your project files. To reset your Soundtrack Pro user preference settings to their original state:
    Quit Soundtrack Pro if it is open.
    In the Finder, choose Go > Go to Folder from the menu bar.
    Type ~/Library/Preferences  in the "Go to the folder" field.
    Remove the "com.apple.soundtrackpro.plist" file from the Preferences folder.
    In the Finder, choose Go > Go to Folder from the menu.
    Type ~/Library/Application Support/Soundtrack Pro  in the "Go to the folder" field.
    Remove the "EffectsCache.plist" file from the Soundtrack Pro folder.
    In the Finder, choose Go > Go to Folder from the menu.
    Type ~/Library/Application Support/Soundtrack Pro/Layouts  in the "Go to folder" field.
    Remove the "Soundtrack Pro.saved.moduleLayout" file from the Layouts folder.
    In the Finder, choose Go > Go to Folder from the menu.
    Type ~/Library/Caches in the "Go to folder" field.
    Remove the "com.apple.audiounits.cache" from the Caches folder.
    Remove receipts and reinstall Soundtrack Pro 3 and Compressor
    Another approach you might consider is reinstalling Soundtrack Pro and Compressor. To do this effectively, you need to remove the applications and their receipts, then install Soundtrack Pro and use Software Update to install additional updates. Compressor gets installed automatically when you install Soundtrack Pro. You don't have to remove everything that was installed with Soundtrack Pro, so follow the steps below to completely reinstall a fresh copy of Soundtrack Pro. Note: Make sure that you have your installation discs handy before beginning.
    In Mac OS X v10.6 Snow Leopard or OS X Lion
    Open the Terminal application and enter the following commands one at a time and an administrator password when prompted. Note: The commands are case sensitive.
    sudo pkgutil --forget com.apple.pkg.Compressor
    sudo pkgutil --forget com.apple.pkg.Qmaster
    sudo pkgutil --forget com.apple.pkg.VideoOutSupport
    sudo pkgutil --forget com.apple.pkg.PSTSharedA
    sudo pkgutil --forget com.apple.pkg.AppleHDVCodec
    sudo pkgutil --forget com.apple.pkg.AppleIntermediateCodec
    sudo pkgutil --forget com.apple.pkg.DSPPublishing
    sudo pkgutil --forget com.apple.pkg.SoundtrackPro
    sudo pkgutil --forget com.apple.pkg.Uncompressed422
    Then, reinstall Soundtrack Pro and Compressor using the following steps:
    Open the Applications folder. Drag the Soundtrack Pro and Compressor applications to the Trash.
    Insert your Logic Studio or Final Cut Studio installation disc and install Soundtrack Pro.
    When finished installing, choose the Apple () menu, then Software Update to update your software to the latest version.
    Open Soundtrack Pro to verify that the issue has been resolved.
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • External Input is no longer detected in my System Sound Preferences?

    When I go to System Preferences>Sound> on my Powerbook, I no longer have the option to switch to an external input or external microphone.  It only lists the Internal Microphone. Why has the external option disappeared?

    If you used system cache cleaning software it can mess up Apple software.  Stop using such software.  Remove Mackeeper if present using these directions:
    https://discussions.apple.com/docs/DOC-3691
    If you started typing something in the search field of the System Preferences, it might be hiding.   Quit and reopen System Preferences to be sure it isn't hiding because it is searching for another panel.
    Lastly, if none of the above apply, go to your hard drive -> System -> Library -> PreferencesPanes folder and see if it is hiding there.  If it isn't, get your 10.5 installer disc that installed 10.5 on your Mac, and restore it with http://www.charlessoft.com/ 's Pacifist, and then run the 10.5.8 combo update to ensure the version matches the operating system.

  • How to pass external input to user-defined subclasses

    Hi all,
    [this might be a really trivial question] I would like to define a sub-
    class of JTable which get some external inputs: something similar to
    the following *not-working* example.
    *********************************************************************** import javax.swing.*;
    import javax.swing.table.*;
    public class RHJTable extends JTable
        public RHJTable(int rows, int columns, int externalinput)
            super(rows, columns);
        public Object getValueAt(int row, int column, int externalinput)
            return externalinput;
    What follows is the error message I get, which I assume it is due to
    my "externalinput":
    ??? Java exception occurred:
    java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
    at java.util.Vector.elementAt(Unknown Source)
    at javax.swing.table.DefaultTableColumnModel.getColumn(Unknown
    Source)
    at javax.swing.JTable.getCellRect(Unknown Source)
    at javax.swing.JTable.valueChanged(Unknown Source)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown
    Source)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown
    Source)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown
    Source)
    at javax.swing.DefaultListSelectionModel.changeSelection(Unknown
    Source)
    at javax.swing.DefaultListSelectionModel.changeSelection(Unknown
    Source)
    at
    javax.swing.DefaultListSelectionModel.removeSelectionIntervalImpl(Unkno
    wn Source)
    at
    javax.swing.DefaultListSelectionModel.removeSelectionInterval(Unknown
    Source)
    at javax.swing.JTable.checkLeadAnchor(Unknown Source)
    at javax.swing.JTable.tableChanged(Unknown Source)
    at javax.swing.JTable.setModel(Unknown Source)
    at javax.swing.JTable.<init>(Unknown Source)
    at javax.swing.JTable.<init>(Unknown Source)
    at javax.swing.JTable.<init>(Unknown Source)
    at RHJTable.<init>(RHJTable.java:12)
    Can anybody please suggest me the correct way of passing this external
    input?
    Thanks
    lor

    Thanks for this detail. Before getting into JTable
    etc...design suggestions, it would be helpful to know
    how the interaction between Java and MATLAB is
    supposed to proceed. OK: I'm developing a MATLAB GUI with an embedded JTable inside it: people write things in a user defined JTable (well, customized subclass of JTable).
    I would like to define this subclass not as MyJTable(int rows, int cols) but as MyJTable(int rows, int cols, int externalinput), but doing this gives me the aformentioned error.
    Simplest setting: MATLAB writes data to a file, and
    knowing the format of that file you are able to parse
    it in Java. I'm not using any kind of input or output file: simply, MATLAB calls a JTable subclass (i.e. I only have a .class file to work on).
    Problem arises when I would like to add some more input: I cannot say simply setValueAt(int externalinput) if the JTable can't get this input directly from MATLAB...
    I hope I did make myself a little bit more clear: solution must be trivial, but I'm spending a lot of time in it...
    Thank you very much for your interest.
    lor

  • Garageband not recognizing external inputs from minijack entrance

    Hello
    I need to connect a sound mixer to the Macbook via minijack audio entrance. Even I have changed the settings for audio input in System Preferences (from internal mic to external line) garageband is not recognizing any external input and internal microphoen is always active.
    Someone had the same problem?
    Thankx

    Change the input in Garageband > Preferences > Audio Midi.

  • 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.

  • 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

Maybe you are looking for

  • MY HARD DRIVES WONT MOUNT, HELP

    I recently bought the Lacie 250 gig fire 400 (I also have a 160 gig porche hard drive) and it worked for awhile. But a few weeks ago when I turned my computer on the hard drive would not mount. I took my computer to the mac store and the tech tested

  • How can I create 3D visuals using existing artwork?

    I have designed some packaging artwork using Illustrator which looks fine although I would like to see the artwork as it would look when made up. The artwork will be used for pouches, bags and boxes. Is there a way of creating a generic 3D pouch, bag

  • APEX_MAIL.SEND from a pl/sql function

    I have created a pl/sql function, in the database, in which I would like to use APEX_MAIL.SEND to send out emails. When I try to compile I get the following errors: Compilation failed,line 10 (08:44:32) PLS-00307: too many declarations of 'SEND' matc

  • Explain How delivery date is calculated using backward and forward schedul

    How can anyone please explain how delivery date is calculated using forward and backward scheduling I want to have it broken down into the following steps for eg for delivery date calculation following dates are used Material Availabilty Date Materia

  • How to type ð in AppleWorks?

    Lates AppleWorks 6.x + OS X 10.4.7. How to type ð in AppleWorks? ð = Latin small letter eth / UTF8: C3 B0 / Unicode: 00F0