NI-4552 w/2 FFTs and 2 Analog channels?

I am trying to use the DSA library with VB6 to capture two FFTs (channels 0 and 1) while still capturing raw audio on channels 2 and 3. Is this possible? If so, can someone clarify the steps to do this, or point me toward one of the examples that shows something like this? Thank you for any input.

It is possible for NIDSA to return 2 FFT's (ACH0 and ACH1) and 2 Time domain data (ACH2 and ACH3).
I would first like to make sure you are using NIDSA 1.2 - Could you please confirm you're using this version of NIDSA ?
The reason for this question is that we've been adding new examples for VB users as well as a Software user manual that should help you getting started with your 4552
http://digital.ni.com/manuals.nsf/websearch/032430F78301D4A986256AC7004DFC52?OpenDocument&node=132100_US
Anyway, the steps to achieve what you're looking for :
- Initialize NIDSA
- Configure Mode as FFT_4_Channels
- Configure HW parameters (range, trigger, etc...)
- Route ACH"i" to analyzer"i" [i=0 to 3]
- Configure baseband FFT settings (span, averaging
mode) [Note : sampling frequency will be calculated from the span you define)
- Check if new measurement is available (in a loop)
- If new measurement is ready, Read Base_FFT0, Read Base_FFT1, Time2 and Time3
You have additional functions to set units and get useful information such as sampling frequency.
There is also a "Capture" mode you could use in order to save time records to file.
I attach an example in C that describes the basic steps to use NIDSA.
It's been developped using LabWindows/CVI and it should be quite easy to port it to VB and adapt it to your needs.
I hope this will help !
Gerald Albertini
Attachments:
4552_4_Chan.c ‏15 KB

Similar Messages

  • Can digital and analog channels be simultaneously accessed

    Hi,
    Is it possible to simultaneously access digital and analog channels on
    a Multifunction DAQ (such as NI-4351) by issuing commands from parallel
    threads using LabWindows/CVI (5.5.1)?
    John.

    Hi JAH,
    I have no experiance with this product, so can not give you a definative answer.
    The best I can do is to suggest you try it, if it does not work then you most likely can not do what you want.
    Also what version of the driver are you using, I have checked the
    download page and version 2.1 only works for CVI 6 or higher and LV 7
    or higher.
    Regards
    JamesC
    NIUK AE

  • Need quick help, please!!! How do I scan the counter and analog channel in parallel, synchronized?

    Hi,
    I'm using LabView6.1 and a PCI6014 DAQ card.
    I have to scan simultaneously an analog channel and the counter on the card. My project requires me to measure in parallel a force (a voltage on an analog channel) in correspondence to a distance (measured with a counter) and I have to display a force-distance graph.
    So, can someone please tell me how can I program the counter and an analog channel to take 1000 measurements in parallel, and then, by reading the buffers to have two sets of corresponding measurements?
    I've tried some things and I've got only an error message, that says that there is no free DMA channel available (the error comes from configuring
    the analog channel). I attached one of these programs that gives this error, maybe somebody can tell me what I do wrong.
    If somebody could send me an example (in LabView6, I have no 7 :-( ), I would be grateful.
    Thank you,
    pixooxiq
    Attachments:
    Scan_Test_4.vi ‏177 KB

    Hi pixooxiq,
    unfortunately, your Card has only one DMA-Channel.
    If you want to use two Channels simutaneously, you have to tell one of them to use an Interrupt instead.
    This option can be set with the "Set DAQ Device Information.VI"
    Just see the Bitmap, I've attached.
    Perhaps, you now get Performance-problems, cause the IRQ does not directly write the Data but involves the CPU. In this case the only possibillity is to use an other card with more than 1 DMA-Channel...
    Regards
    Peter Weber
    NI Germany
    Attachments:
    Interrupt2.bmp ‏159 KB

  • Problem Receiving Digital and Analog Channels- 22LV610U

    I have a LCD/DVD combo TV model 22LV610U and had satellite tv for over a year and the tv worked great! After shutting off the satellite, I wanted to only receive the local channels via antenna. I bought a new RadioShack Indoor TV antenna ( to receive basic UHF, VHF and FM radio signals to HDTV and FM HD Radio signals)...
    After setting it up, I still only saw snow...I tried setting up the channels through the menu, and was not picking up any signals. I was also unable to view the "DTV Settings" options for Digital Signal...
    Do I need a different kind of antenna? I called Toshiba customer service and was told the HDTV antenna would not be compatible, however, ALL channels are now digital and must be received through this kind of antenna...
    Help, Im in a pickle Thanks!

    If you are using a STB, then you should connect it with an HDMI cable or component cable as you did.
    However, you do not need to autoprogram your TV if you are using an HDMI or component or composite or any other indirect connection. That is because the STB is acting as the tuner; it will automatically receive channel information as part of its on-screen graphics. All the HDMI connection is doing is delivering that video feed to your TV.
    Therefore, what you need to do is press the "input" button on your TV remote and select HDMI, or component, whatever you are using. Then you control the channels using your STB remote, not your TV remote, which changes the channels on your STB, not your TV. Again, your TV is only receiving the video from your STB, it's not directly changing the channel itself. It's like having a VCR and turning your TV to channel 3 in the old days; you just need to pick up the video.
    The reason why, when you tried hooking the TV up directly to the wall with coax is because most FiOS programming is encrypted digital. That is why the STB is needed to "unscramble" the channels and output them to your TV along with all of its on-screen graphics and program guide. Therefore, if you connect coax directly to the TV, the only channels you will receive are local channels (i.e. CBS, NBC, PBS), the ones that Verizon cannot by law encrypt. The reason why some of those channels are "16-2" or "17-214" is because digital broadcasting, as opposed to analog (think the digital transition last summer) uses "sub-channels," which are the -XXX. Verizon can assign whatever number they want to their encrypted programming (i.e. ESPN HD can be 214-1445) because the STB will read that channel and display it within it's own system as Ch. 570.

  • Applying of FFT and Octaves analysis to an analog input

    Is it posible to aply, in real time, with LabVIEW 5.0 an FFT and Octaves analysis to an analog input obtained with a Labpc 1200? If yes could you please give me a hinch? Thank you very much.

    There is basic FFT analysis built into the libraries that ship with LabVIEW Full Development System (FDS). However I would recommend considering the Sound & Vibration toolkit as an add on for LabVIEW. This contains more complete FFT analysis solutions (including averaged FFT analysers) and has a complete range of octave analysis (full and fractional analysis).
    The examples are very good and even if you haven't had much experience of using traditional boxed FFT/octave analysers you will quickly be in a position to have a good working application up and running.
    This brings me onto the question of the board that you are using. Depending on the type of signals that you are working with, you may find that there are a number of limitations to using the Lab-PC-1200.
    1. The board has only 12-bit ADCs which therefore gives a maximum dynamic range of approx 72dB. A 16-bit board would offer a wider dynamic range of 96dB while some of the dedicate signal/audio analyser boards on offer from NI have 24-bit ADCs and a dynamic range of 120dB.
    2. If you are analysing more than one channel and are looking at phase measurements (i.e. stereo if it is audio you are acquiring) you will be limited by the architecture of the Lab-PC-1200. This board uses a multiplexer to switch from one channel to another. This will automatically insert a phase error into the measurements that you take. An example of where this might be a problem would be if you were analysing the response from two audio speakers, or trying to analyse the performace of an object to vibration using multiple accelerometers. Dedicated boards on offer from NI (NI 44xx range) have simultaneous sampling inputs and these get around these phase problems.
    The analysis that you perform with such a board all takes places on the host computer i.e. your Windows PC. As such you comment "is it possible to apply, in real time..." will depend entirely on the specification of your PC. NI does offer a few boards that will allow FFT and octave analysis to be performed on the actual DAQ board itself (NI 45xx range of dynamic signal analysers).
    So in summary, consider the Sound & Vibration toolkit and also consider the limitations of the Lab-PC-1200. It may not be the best choose - but if you are stuck with the board, you can still develop a suitable LabVIEW application and if possible upgrade the hardware sometime in the future (the code should not need to change if you change the board).
    Jeremy

  • How do I configure 128 channels of DIO and 128 channels of Analog output with the availabili​ty of 3 pci slots

    I have only 3 slots of PCI or 4 slots of ISA bus, I want to configure with the minimum possible modules to attain 128 channels of DIO and 128 channels of analog output. This is inturn fed to the PCM (Pulse code Modulator). The cards will be placed in industrial PC.

    Associate Engineer-Marketing,
    Using just those 3 PCI slots you're not going to be able to get the 128 analog output channels. You will probably want to go either the MXI-3 (PCI bus extender) to a PXI chassis or E Series DAQ card to a SCXI chassis for such a high channel count system. Which analog output cards and which digital I/O cards you will want depends on your application. You will have to decide whether you will need static or dynamic analog output as well as whether you need clocked digital I/O or not. I highly recommend contacting our internal sales department at 1-800-433-3488. They are great at helping specify systems.
    Ames
    Applications Engineering
    National Instruments

  • I want to use two analog channels and one digital simultaneo​usly

    Hello and thanks in advance for reading this!
    What I am trying to do is generate two different signals from the output channels of my interface card (PCI6024E) and simultaneously use a digital line so that I can switch two tranzistors (one NPN, one PNP) which actually control the "flow" of the two signals. This means that both signals need to be "active" while the VI is running and at the same time whenever I want to choose the signal not in use I need to use the digital line so that I switch the tranzistors and I get the desired signal.
    I have already created a VI which activates a digital line and while I was trying to add with the NI-DAQmx Assistant the first digital output, I discovered that it c
    ould not be used simultaneously, because there was the error code -200324 saying that "Device not available in NI-DAQmx. It is possible that the device is being used by Traditional NI-DAQ or that the device is being reset."
    I did reset the device but as I get it when VI runs, it cannot have an active digital channel and an analog output channel at the same time (not to mention two analog channels). Correct me (And make my day if I am wrong but this seems to be the case. Thanks a lot for your time!

    Hey Shootist000,  Thanks for the replies.  First off, I am actually okay if we both have each other applications so I am not concerned about that. It is still unclear from what you have said as to whether I can in fact, use these two separte time machine backup to create two separate profiles on the new hard drive.  If that in fact can be done, then - will it create two copies of the apps we both have in the ROOT of the drive as well as placing all the ones we each have separately?
    And reading your second reply, makes me think that maybe the partition is the way to go to begin with and then down the road - after I am in the new iMac, I could reformat the iMac 27 with only one partion and restore my son's latest back prior to the reformat thus giving him full access to the 2 TB of the drive.
    If this is still making sense, does this mean :
    replace the 1TB with a 2TB - but have it partitione - 1.5 TB & 500 GB.
    Install(Restore using Time Machine) my latest back up prior to the  1.5 partition
    Install (Restore using Time Machine) my son's latest back up prior to the 500 gig partition
    Lastly, in order for us both to be using the partioned computer - I am assuming Switch user can no longer be used - so would we need to restart and select our respective partions in order to use the computer?   And if so, how would we each be able to be using time machine to back up - two separte external hard drives - with each one dedicated to only one partition? Or ? 
    Thanks so much.
    Ironically, I am only trying to do this so that I don't need to manually install all his apps, setting, games, blah blah for this temporary period.  :-)

  • Log an analog channel and counter period channel to hard disk simultaneously

    We are in a rush, and need to log one analog channel and one counter period measurement to disk simultaneoulsy using card controlled timing and set # of samples. Should be easy, but can't figure it out. Labview 6.1 we have & DAQ 6013E we just bought.

    Greetings,
    With regards to logging analog input data to file, I would suggest that you examine the examples available in the following location:
    Examples >> Hardware Input and Output >> DAQ >> Analog Input >> Stream to Disk
    Because you are interested in a finite number of samples, you should look at Acq N Scans to File (wdt).vi.
    With regards to logging period measurement data to file, I would suggest that you examine the following example:
    Examples >> Hardware Input and Output >> DAQ >> Counters >> DAQ-STC >> Measure Buffered Period (DAQ-STC).vi
    This example does not log to file, but it does demonstrate how to program a buffered period measurement. You will need to add the logging functionality to this VI as demonstrated in Analog Input >> Stre
    am to Disk.
    Good luck with your application.
    Spencer S.

  • I am using the PCI-6110E/​6111E with the NI-DAQ software version6.7​.Is there a way to record at the same time analog and digital channels?I​f,ye

    s can I have timestamps for each sample?I mean,is there a notion of time information on this board?Finally,is there a way to know ,in the double buffer's case,the number of samples in the halfbuffer which is not full if the acquisition stops by a trigger?.I am using the PCI-6110E/6111E with the NI-DAQ software version6.7.Is there a way to record at the same time analog and digital channels?If,yes can I have timestamps for each sample?I mean,is there a notion of time information on this board?Finally,is there a way to know ,in the double buffer's case,the number of samples in the halfbuffer which is not full if the acquisition
    stops by a trigger?.
    Thank you for your interest in advance

    s can I have timestamps for each sample?I mean,is there a notion of time information on this board?Finally,is there a way to know ,in the double buffer's case,the number of samples in the halfbuffer which is not full if the acquisition stops by a trigger?.PALE wrote:
    >
    > I am using the PCI-6110E/6111E with the NI-DAQ software version6.7.Is
    > there a way to record at the same time analog and digital
    > channels?If,yes can I have timestamps for each sample?I mean,is there
    > a notion of time information on this board?Finally,is there a way to
    > know ,in the double buffer's case,the number of samples in the
    > halfbuffer which is not full if the acquisition stops by a trigger?.
    Start by looking around the examples that ship with LabVIEW (if you are
    using LabVIEW).
    Also look around zone.ni.com for general data acquisition information &
    examples. A good site.
    Mark

  • Any cards support simultaneous dolby digital live and analog 2 channel output?

    I am searching for a sound card that can output both dolby digital li've and 2-channel analog at the same time. I'm not sure if any of the Creative Labs sound cards can do this.
    My Denon receiver outputs 5. in my main home theater room, but outputs only 2 channels to a separate room. I want to be able to play music in both rooms simultaneously. Unfortunately, the digital signal (which feeds the theater) is not converted to analog internally within the Denon receiver to output to the other room. The other room must receive an analog signal.
    That is why I am looking for a sound card that can output both at the same time.
    Does such a beast exist?

    My computer updated to Widnows 8.1, now my sound blaster does not work. Everything else works (DVD, CD, Speakers, etc.) but I have no sound.
    I'm not a tech person, a PC user and depend on my surround sound system.
    I'd appreciate any help possible.
    Thank you.

  • How can I detect an error on a single FP analog channel?

    Hello! I am new to the world of LabVIEW, maybe someone can help me. I need to detect if ONE of the analog channels in FP-AI-100 is in error state, such as reading out of range. I have no access to working FP modules and have no way of testing my code. Could someone tell me if what I am trying to do is possible? I modified an example Analog Input.vi and wondering if it will work. I changed the input to Read block to read only one channel, not the whole module and examining the error status bit. Will this status bit display error only for selected channel or for the whole module? I need to ignore all other channels.
    Thanks! Ellen.
    Attachments:
    Analog_Input_Error_Test.zip ‏12 KB

    Hi Ellen,
    I do not have LV 7.1 loaded so I can not look at your VI. Please post an image if you want me to look.
    In theory, checking the boolean should work in finding error cluster that have the boolean set.
    THe complication is this.
    I have seen that some of the error codes returned by FP reads will either have or not have their booleans set depending on which version of the FP code you are using.
    I saw in LV 6.1 that an "open RTD" (if memory serves me correctly) would return a true boolean if LV 6.1 was the latest version of LV loaded. After another engineer used LV 6.1 after he had loaded LV 7.0 the error boolean was no longer set!
    THe definition of boolean set or not set from one version to the next!
    So...
    I must advise that you test each
    type of error you want to support in your code with whatever version of code you plan to use to ensure the boolean will be set.
    Trying to help,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Best structure to measure voltage across 8 resistors in parallel via 8 separate analog channels

    Im setting up a simple circuit w/ 8 resistors in parallel. It will be connected to a PCI 6036E DAQ. I need to measure the voltage across each resistor, take x amount of samples, and then automatically move on to the next resistor and so on and also save the values to a file.  Im going to connect each resistor to a separate analog channel.  I have already setup a vi to read the voltage across one resistor and take X amount of samples, display the waveform, and also save the data to a file.  
    What would the best structure be to run this test?  I am thinking a Sequence structure, but it seems like people tend to avoid using that. Or would a case/while loop be better?
    From my understanding, the data will not pass out of a sequence structure until it is finished. this doesnt seem to be that big of a problem for me, as I only want the data at the end....
    thanks for the help!

    Use a for loop.  Put your code inside the loop, but delete the analog channel number.  Make an array constant and poplulate the array with each analog channel number.  If you wire the array to the loop (left side), you will see the terminal is a hollow box.  This means indexing.  The loop will operate on the first array element, then repeat with the second array element, and so on until all array elements have been processed.  Wire the hollow box to the point in your code where the analog channel number was deleted.  Now the loop will execute the same code using a different channel each time.  If you wire the output to the right edge of the for loop, you will again see the hollow box.  All of your measurements will be contained in an array at that hollow box.  Process the outputs as you like, maybe display the entire array, or index the array to get the individual elements, whatever.  The advantage of the for loop is that you have to write your code only once.  Everything is seen on one screen making it easier to read.  Sequence structures are not good programming practice because a lot of the code is hidden, and you have to go to different sequence frames to see the hidden code.  Also, why duplicate the code in each frame when the loop will do it all.  Good luck.
    - tbob
    Inventor of the WORM Global

  • Re: DAQ write+read analog channels

    Thank you Dan,
    The device used is NI_USB 6211 and the tests will be done by another person.
    So from your email I understood that is not recommended to use Hardware Timed Single Point.
     And just for my information: in your example what happened if I will try to read two adiacent analog channels (that means analog->multiple channels->single measurement)? It is possible? I'm asking because then we have a multiple point...right?
    Do you think this USB device will work at 5 KHz rate?
    Anyway it seems it must be used sometime even at 10 KHz.
    So I still waiting for a guaranted solution!

    unintentional dup post.  see here for discussion
    Jeff

  • Crosstalk among Analog channels

    The setup is this :
    1. Card is PCMCIA 6024E.
    2. Software is LV 7.1 and all reads are with DAQMx functions.
    3. 6 analog channels configured in differential mode ( AIN_0 to AIN_5)
    4. Connected to the card via BNC2110 connector.
    If I connect only one channel to a signal, it is reflected in all the other 5 channels at different levels.
    I do know that I can solve this problem by two means :
    A. Ground the unused channels to AIGND.
    B. Use alternate channels with one grounded channel in between two active channels.
    In my case since I need all 6 channels at times, so option B does'nt exist.
    Question is, can something be done in the software without resorting to option A.
    I have attached the snap shot of my problem. The straightline plot is the channel that has a signal on it and the other "followers" are free channels. At 15:49:43 I made the active channel zero and you can see all of them dropping to zero. Then I started another channel and all of them pick up !
    Kindly help solve this.
    Raghunathan
    LV2012 to Automate Hydraulic Test rigs.
    Attachments:
    FuelPump_06-04-05 _PM 03-50-08.jpg ‏86 KB

    SE_Hoard wrote:
    I would be interested in any solutions to your problem also. ... When I input a signal on CH0 it also appears on the other 7 channels. ....
    I was searching the tutorials and application notes on the NI site. Located this PDF which discusses the aspect of amplifier settling times in a multiplexed front end of a multi channel DAQ setup. Just read through the recommendations and see if they can help to reduce crosstalk in your case :
    http://zone.ni.com/devzone%5Cconceptd.nsf/webmain/B9B5D37A04C772B58625686500695C20/$File/AN045.pdf
    Raghunathan
    Raghunathan
    LV2012 to Automate Hydraulic Test rigs.

  • DAQ write+read analog channels

    Hi,
    I need some urgent help to solve a simple problem:
    My job is to write an analog channel to a DAQ device and then to read two analog channels from the same device.
    These should be done at the 5 KHz rate.
    For smaller rates I can do it using normal loops (or timed loops). But I don't know how to do it using DAQ features.
    Please give me an example.
    I have found something but I am not sure if it can be used in this way (see the attachment)
    Thank you!
    Solved!
    Go to Solution.
    Attachments:
    DAQ Test write analog+read analog.vi ‏49 KB

    Mcdan wrote:
    Quick correction to my last post... I did not notice that your original VI called DAQmx Start.  In this case I think it is preferred to call start before your loop rather than calling commit, since start will put the tasks in running state outside of the while loop.  In Jeff's proposed change, the tasks would need to transition from committed to running and then back to committed each iteration of the loop.  As originally written, the tasks will be in the running state before the while loop and remain there until they are cleared.
    Dan
    Dan- You missed the Autostart(T)-  and, ALL tasks go from committed to run and back to committed,( unless abnormally terminated by a explicit abort while running starting from a state other than committed,) the commit state is the least overhead for any task that is not continuous or regenerating.  The original post started the task from Verify state- and required DAQmx to reserve and commit the DAQ resources for each read or write and then (since it Started from verify) implictilly uncommit and un reserve the resouce after "running" in each loop iteration.  Sean N "Popped-the-hood" and gave difinitive advice on the DAQmx task state handeler in this post (warning ----wrap head with duct tape before reading) 
    Sorry to derail the thread but, accuracy counts too.  I can't let a user stay stuck behind an "8-ball" with misconceptions (nice avatar by the way)
    Jeff

Maybe you are looking for

  • Photoshop "save as" dialog not working on Parallels

    I have Photoshop CS5 running on a MacBook OS 10.8 under Parallels/Windows XP.  When I try to "Save as", the dialog box does not come up.  I have installed the latest update.  The other CS5 programs (e.g., Dreamweaver and Fireworks) do not have this p

  • HASHMAP IN STRUTS!!!!!!!

    I am working with hashmap in the file .java and it passage to the jsp page. The problem is that I don't know how they treat hashmaps in struts. I have fact this: <% pageContext.setAttribute("edadesSexo", dto.get("edades")); %> <logic:iterate id="dtoi

  • I can't choose Adobe Media Encoder when rendering to video in photoshop

    I am trying to export an animation in Photoshop CC. Under Render to Video, the dialog box does not allow me to choose "Adobe Media Encoder" (it is greyed out) Why is that? I have Adobe Media Encoder CS6 and CC. Thanks!

  • Is there any to recover CRM service ticket from BDOCs

    Dear SDN team, Some service tickets were deleted from our CRM system when I was re-processing BUS_TRANS_MSG type of BDOCs. Right now these BDOCs are kept in our CRM system in "Not Final" / "Intermediate State". The BDoc State Description is "After qR

  • Unable to install iTunes correctly after downloading

    Hello! I've a big problem with the new iTunes 9.0.1. Yesterday I downloaded and installed it. The programm said everything was successfully. Today I want to run the programm and my computer says: "This Acction is only valid for installed productions.