Signal from Graph to FFT

I have a singal which has been stored to a binary file. I want to take it out and run a FFT on it and see all the peaks on one graph. Is this possible, I have tried and all i get out is garbage, but maybe I'm doing somethign wrong(most probably). Thanks for the help.
Intern NSWCCD Carderock.

needtolearnfast wrote:
I have a singal which has been stored to a binary file. I want to take it out and run a FFT on it and see all the peaks on one graph. Is this possible, I have tried and all i get out is garbage, but maybe I'm doing somethign wrong(most probably). Thanks for the help.
If the binary have not been generated by Labview, your problem might have to do with the reversed byte order used in LV (BIG ENDIAN vs. LITTLE ENDIAN). you can search for 'ENDIAN' in this forum to find tips.
Or use the following code snippet:
Attachments:
Unbenannt.PNG ‏5 KB

Similar Messages

  • How can i display the signal out of a FFT block to a graph?

    What conversion is required in order to convert a the output of a FFT block to a waveform display? The signal input to the FFT block is a binary pattern signal!

    Hello St Augustine,
    Unfortunately, I cannot open these files that you have attached so I cannot tell you for certain where your problem lies. However, if you are using one of the FFT VIs from the Analzye>Waveform Measurements sub-palette, then you should be able to wire directly from the VI to a Waveform Graph. Make sure you are trying to wire to a Wavform Graph not a Waveform Chart. If you are using the FFT VIs on the Analyze>Signa Processing>Frequency Domain sub-palette, you should also be able to directly wire into a Waveform Graph, but please refer to the KnowledgeBase document linked below for more information about plotting complex numbers.
    http://digital.ni.com/public.nsf/websearch/C010A823CEA80D5386256938005A066E?OpenDocument
    Rega
    rds,
    Jyoti F
    National Instruments

  • How can I tell if signals from two devices are truly synchronised?

    Hi there,
    How does one check that signals from two devices (two separate devices in a single X-series chassis) that should be synchronised actually are?   I am using a PXIe6361 and PXIe4331 on a PXIe-1073, with Labview 2001 SP1 64-bit. All devices are using the Sample Clock from the 4331 device, and an AI Start Trigger, so they should be synchronised.
    I thought that writing the signal data to file and checking the time stamp for each column of data would be the most accurate, but I have been told that timestamps are software created and therefore don't reflect the actual time that the signals were acquired by the hardware.  When I do this, the timestamps vary by up to 150ms which is larger than I expected.
    If I set the x-axis of the waveform graphs (on the GUI) to "Time" then it appears that the first data sample is taken at different times for the two plots (one plot per device).
    If I set the x-axis of the waveform graphs (on the GUI) to "Ignore time stamp" (so that the x-axis just starts from 0 rather than a date-time) then the first data point occurs at "0" for both graphs. However, I'm not sure that this reflects the actual alignment of the signal.
    What is the best way to check if signals collected on different devices in the same chassis are actually synchronised?
    Thanks,
    Claire.

    Hi Lynn,
    Thanks for your help and for sending the demo.
    I understand the concept of how the signals will look if they're not synchronised and your demo shows that nicely. I guess I have been perplexed by someone else telling me that the timestamps in the output file (and following from that I assume timestamps on a waveform graph) do not give an indication of whether signals are synchronised. The reason they gave for this was that the timestamps are manufactured by the software, not the DAQ hardware.  They suggested that I put the setting "ignore waveform timestamps" on my waveform graphs, and then check that both signals come in at the same time (i.e. both start at zero), but I'm not convinced about this. 
    When I use an analog trigger, neither the timestamps in my output file or on the two waveform graphs are synchronised. If I don't use the trigger, then there is far less disparity in the timestamps in the output file. I've attached two output files here, and my VI.
    This is my first attempt to synchronise a voltage module and a strain gauge module on an X-series chassis, so I want to make sure that I'm achieving the best synchronisation that I can, and the difference in behaviour with and without the trigger worries me.
    Thanks,
    Claire.
    Attachments:
    without trigger.txt ‏5 KB
    with trigger.txt ‏6 KB
    Multi-Device Synch-Analog Input-Finite Acq-Analog Start_Claire_wDigitalin_12June2012 PTbridge.vi ‏196 KB

  • How to get the phase of signal from osilloscope?

    Hellow!
    Anyone can tell me how to get the phase of a signal from an osilloscope? thanks!

    If you can capture the whole waveform data you could try running it through an FFT to get the phase information of a complex signal. If it is a simple signal you would have to define phase information relative to what? If you have a dual channel scope you can calculate the phase difference between them. Please give a little more information as to what your trying to see.
    P.M.
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • How to read a continuous temperatur​e signal from a Pyrometer via RS-232

    I'm trying to read and graph a continuous signal from a Pyrofiber Lab pyrometer which is coming in through an RS-232 cable. As far as I can tell there are no device drivers for this instrument (or any other pyrometers). 
    If I have the pyrometer take single measurements I can get those into LabView using the Instrument I/O Assistant, but only as an ABC string reading " 'emmisivity value' 'temperature' 'corrected temperature'" and not as individual numbers or data that I can use/graph. If I have the pyrometer in High Speed Transmit mode (which is the mode I need it in), I can't read the signal at all. How can I get LabView to continuously read (and record or graph) the incoming signal? And is there some way to parse the signal when it comes in as a string with " 'time' 'emissivity' 'temperature' 'corrected temperature'"?
    I'm very new to LabView (and programming in general), so any hints on a good starting point would be appreciated. 
    Solved!
    Go to Solution.

    progers - There is not a specific solution, as there is not a device driver for this device (assuming you are also using a pyrometer).
    There are serial communication examples in LabVIEW, by going to Help >> Find Examples >> Hardware Input and Output >> Serial. 
    You will need the programmer's manual for the device to know what serial commands to use to talk to the device (see Dennis's post above).
    Best Regards,
    K. Anderson
    Applications Engineer
    National Instruments

  • Extraction of a portion from graph

    I have to extract a portion from Graph .
    I know the starting and ending point in x-axis and i have to know the y-axis values.
    I have used "extract a portion of signal " express VI  but am not getting the values correctly. 
    There is a picture with this, in which the portion in red box is the part i have to extract.
    @nk
    Solved!
    Go to Solution.
    Attachments:
    Untitled.jpg ‏57 KB

    Hi uday ,
    Thank you for a fast response .
    The VI in the above link shows how to extract a portion of graph with use of cursors. In my VI the user won't do anything . Everything should happen automatically.
    First of all.
    1.I have detected the peaks in my graph using a peak detector VI. This process have given me the position of peaks in terms of time (i.e x-axis units).
    2. I have added a constant offset time like 0.005 sec to each time value and then I provided that value as the starting point of extraction .
    3.The length till which the extraction should be done is also kept constant.
    4. I just need the amplitude vales of that particular part so that I can use them for my further calculations.
    For clear information I am adding  a picture of my graph in which the areas I have to extract is perfectly marked inside red box.
    @nk
    Attachments:
    Untitled.jpg ‏57 KB

  • Generate and acquire signals from Walkie Talkies

    Hello, i am a Portuguese Student and i have some problems in a Academic Project.
    The following project consists in two Walkie Talkies that are link to a USB 6009.
    One of the Walkie talkies are attached do AO0 and ground with the objective of generate a signal to the 6009 then the other Walkie talkie connected to Ai0 and GND have to acquire the same signal that i generate in the other one, this two signals have the main problem that needs to be represented in the same Chart or Graf.
    Please can anyone help me in this question and send me a (vi), i would greatly appreciate.
    something send me a post or email for [email protected]

    Hello Lynn,
    Sorry about the late response, but only today i have access again to the USB 6009 in the LAB.
    In below are the graph from the input signal, the first is the graph from the Walkie Talkie (receiver) when the button from the Walkie Talkie that send the signal are not press. What we see is only noise and others frequency's.
    In the other graph we can see a different graph this graph is from the  Walkie Talkie (receiver) but when the button from the Walkie Talkie that send the signal are press where we can see that is a different kind of signal and the receiver are ready to receive the signal and are receiving some signal from the other walkie talkie.
    First I need some help for this first steps
    1- But how can I generate a signal wave and send it from the other Walkie Talkie (transmitter), I used a Basic Function Generator
    2-How can I see in  the Walkie Talkie (receiver) if he receive the Signal that I generate in the transmitter, The graph changes of frequency and amplitude always that I press the button of the transmitter Walkie Talkie.
    3-How can I put the two signals in the same chart or graph, The main problem is like you said the USB 6009 is too low sending signals.
    Sorry my English, I appreciate any help
    Thanks 
    BTP
    Attachments:
    input data.png ‏33 KB
    input receber.png ‏37 KB

  • How to split left and right sound signal from SI READ Stereo?

    How to split left and right sound signal from SI READ Stereo?
    I want to display the left and right sound signal in two graph separately,what shall I do?
    That is how to split 2D arry to two 1D arry?

    Hello,
    Here's another trick...although the "Index Array" suggestion will work, you should investigate using the "Delete from Array" function...you can tell it to delete one of the columns (or rows), leaving one column (or row)...the function will output both the resulting array AND the deleted array, which happens to be the other row/column...this method might not be as intuitive, but it only makes one copy of data in memory, while the Index Array method makes two copies.
    I hope this suggestion helps. I only found out about this trick with "Delete from Array" the other day.
    Have a great weekend!
    Sincerely,
    Darren Nattinger
    Applications Engineer
    National Instruments
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Wireless signal from iMac to TV?

    I have a new 20" iMac G5 isight on the way and have a question. Has anyone tried to hook up the iMac (or other mac) wireless to your TV. There is products like this www.amazon.co.uk/exec/obidos/ASIN/B000068TYR
    ref=erra_acc_dp1/026-6032989-4654855 that will send a signal from your antenna to your TV wirelessly. I thought mabye in combination with a TV tuner like EZ there would be a way to get the signal from the mac to the TV. That way I dont have to drill a cabel-hole in my livingroom floor down to my office to enjoy FrontRow on my TV. Or is there any other solutions/suggestions?
    (And i dont think there will be an Airport Express A/V launched next week... though I wish!)

    You should be able to connect your ATV directly to your iMac using Internet sharing, but you can't use the same NIC that the iMac is using for its connection. If your iMac is connected to your router by wi-fi, you can share the Ethernet port with the ATV. If your iMac is connected to your router by Ethernet cable, you can share your iMac's AirPort with the ATV.

  • How to read and display a signal from my a miccrontroller (MCB1700) onto labview connected via a CAN port on a PXI machine

    How do you read and display a signal from my a miccrontroller (MCB1700) onto labview connected via a CAN port on a PXI machine?
    I tried using a DAQ Assistant but the CAN port is not included as one of the supported physical channels even though all its drivers are upto date.
    Please help..
    Thanks.
    Solved!
    Go to Solution.

    Attached herewith is a print screen of what is showing on MAX
    The CAN ports are on NI PXI-8461
    Hopefully that clarrifies something.
    Attachments:
    Untitled.png ‏212 KB
    Untitled.png ‏212 KB

  • How to read and display a signal from my PIC Microcontr​oller onto Labview?

    Hi,
    I am doing a project on a Pulse Oximeter and i am trying to read and display the signal from my PIC Microcontroller on Labview? How do i go about doing it? I am using the PIC16F877 and also making use of the USART?
    How do i implement and initialise the USART in PIC16? What are the steps to be taken, please guide me through the process? The link provides information regarding the USART connection, initialisting and stuff? Is it correct to use these codes in my program?Link: http://ww1.microchip.com/downloads/en/AppNotes/007​74a.pdf
    Also, i am using the RS232 serial interface to connect to the PC? The connector i am using is the DB9 Connector. Which template and VI can i use? Am i supposed to use the NI-DAQmx and VISA? Also, for my USART connection, i am using the MAX232 Driver which is applicable for my application as i am working with +5V. So far, i have been reading and trying out on Labview and the steps i have taken are:
    1) Open a New VI and used the Instrument I/O(Read & Display) template?
    2) How do i configure the Instrument I/O Assistant Express VI to read the info from my device connected to COM1?
    3) I was reading the Labview Manual, 'Getting Started with Labview' and i was following the steps under Page 55, Communicating with an Instrument. Am i on the right track?
    4) How do i check and make sure that the port settings of the I/O Assistant and my PIC Micro Match
    Please help me out and guide me through the process. I am student at a polytechnic and i am very new to Labview and the software is used as a development tool for the project. I have a deadline to meet and i hope i can get a response as fast as possible. Your help will be kindly and greatly appreciated. I hope to hear from you guys soon.You can e-mail me all your answers at [email protected]
    Thank You
    Best regards,
    Ashwin
    Ashwin Kumar Mansukhani
    Attachments:
    Getting Started with Labview.pdf ‏901 KB

    Hi Ashwin,
    It is a good idea to first be able to communicate with the microcontroller using some sort of serial communication software such as "HyperTerminal" or "Procomm", etc. Refer to MicroChip's recommendations on this.
    Once that works, then you are ready to use LabView.
    Here is a link which covers many aspects of serial communication. Link - click here
    You probably received a development kit. They usually have a readily available interface. It's been a long time since I played with the PIC, but I seem to remember that you need to program the serial communication driver (as well as at least a bootloader) to get the serial communication going. The driver contains the necessary protocols so that you PC can have a machine conversation with the target (PIC).
    It sounds like a fun & interesting project. Please avoid to have replies to your personal email. By having the answers posted to this thread, you will get much more support and advice.
    Have fun,
    JLV

  • How to read and display a signal from my PIC Microcontroller onto Labview

    Hi,
    I am doing a project on a Pulse Oximeter and i am trying to read and display the signal from my PIC Microcontroller on Labview? How do i go about doing it? I am using the PIC16F877 and also making use of the USART?
    How do i implement and initialise the USART in PIC16? What are the steps to be taken, please guide me through the process? The link provides information regarding the USART connection, initialisting and stuff? Is it correct to use these codes in my program?Link: http://ww1.microchip.com/downloads/en/AppNotes/00774a.pdf
    Also, i am using the RS232 serial interface to connect to the PC? The connector i am using is the DB9 Connector. Which template and VI can i use? Am i supposed to use the NI-DAQmx and VISA? Also, for my USART connection, i am using the MAX232 Driver which is applicable for my application as i am working with +5V. So far, i have been reading and trying out on Labview and the steps i have taken are:
    1) Open a New VI and used the Instrument I/O(Read & Display) template?
    2) How do i configure the Instrument I/O Assistant Express VI to read the info from my device connected to COM1?
    3) I was reading the Labview Manual, 'Getting Started with Labview' and i was following the steps under Page 55, Communicating with an Instrument. Am i on the right track?
    4) How do i check and make sure that the port settings of the I/O Assistant and my PIC Micro Match
    Please help me out and guide me through the process. I am student at a polytechnic and i am very new to Labview and the software is used as a development tool for the project. I have a deadline to meet and i hope i can get a response as fast as possible. Your help will be kindly and greatly appreciated. I hope to hear from you guys soon.You can e-mail me all your answers at [email protected]
    Thank You
    Best regards,
    Ashwin
    Ashwin Kumar Mansukhani
    Attachments:
    Getting Started with Labview.pdf ‏901 KB

    Hi Ashwin,
    I am not familiar with the PIC Microcontrollers, but I am assuming you mean that you have the microcontroller sending out serial data that you want to read on another computer with LabVIEW. Please let me know if this is incorrect.
    What type of data is coming out of the serial port? Is it ASCII, or binary? The reason I ask this is that the serial communication in LabVIEW is done through a protocol called VISA, which uses ASCII data to send and receive. You can later convert this data into whatever form you need, but this is what it is designed to read and write.
    You can check the settings such as baud rate and data bits in a configuration utility called Measurement and Automation Explorer, or MAX. When you open up the MAX interface, you can expand the Devices and Interfaces entry on the left, and then expand the Ports entry to see your serial port. When you highlight this port, select the Port Settings tab at the bottom of the window, and you can see what the current settings are, and change them if you need to. You can also set these parameters in LabVIEW using the VISA Configure Serial Port VI.
    You can also test communication in MAX by right clicking on the correct port and choosing Open VISA Session. Then choose the Basic I/O light blue tab, and then go to the Read tab. When you click execute, it should read in what is coming from the serial port. This will allow you to verify that the correct information is coming in before even trying to acquire the data in the LabVIEW environment.
    In LabVIEW, the best resource to use the Basic Serial Write and Read example program that ships with LabVIEW. By examining the block diagram of this program, you will be able to see the basic programming flow of serial communication in LabVIEW.
    I hope this information was helpful! Please let us know if there's anything else we can help with.
    john
    Applications Engineer

  • How to compare signals from two different .tdms files?

    i'm developing a lie detection system in labview.so inorder for that i need to compare the threshold physiological signals from the .tdms file with the signals i acquire continuelsy from the subject for each question asked.i use respiration monitor and heart beat monitor together with the sensorDAQ to acuire the physiological signals.so which are the function i should make use of?i have the following toolkits
    1. advanced signal processing toolkit
    2. adaptive filter toolkit
    3. digital filter design toolkit
    4. biomedical toolkit
    please give me advise on this.
    thank you.
    Solved!
    Go to Solution.

    Lie detector systems (polygraphs) generally work by looking at the physiological responses to the own subjects baseline, and do this in real-time.  You could use a file that represents the stored "baseline" for the subject, but the overall environment, circumstances, general state of the subject, etc. may not be similar enough to easily see subtle changes.
    From the stored file, you might determine a set of parameters or thresholds that indicate "normal, relaxed" for each signal.  You could read the file into your LabVIEW program, process each channel, and save these parameters.  Then when you have the new data, you can read the new data file in and process it in a similar way and then determine whether the parameters are outside the limits that you established for a "lie".
    You may get more responses to this question if posted in the Biomedical User Group
    Visit the NI Biomedical User Group at:
    www.ni.com/biomedusers

  • Extreme Base station can't extend signal from Mini desktop ?TCP/IP settings

    I have a Mac Mini connected to DSL via a lynksys 8 port workgroup switch. I had 6 rooms in my house connected to the router by ethernet wiring. Worked great for several years. Now 2 rooms cabling seems to have gone bad (mice or squirrels, maybe). To avoid rewiring the connection outlets or pulling wire again (Ugh!), we bought an extreme base station. It transmits the internet signal fine when connected to the ethernet network (roaming), but I cannot get it to allow clients to access the internet in WDS mode.
    The base station is in a central location where there is not an ethernet jack. It picks up the airport signal from the Mini (with extreme card and yes, I have the MAC address of the Mini chosen).
    Internet connection is "shared" on the Mini and the laptops have no trouble accessing internet within close range of the Mini. The laptops can't access the internet through the base station. I suspect it's how the TCP/IP is assigned. I have tried every possible combination in the Airport Admin Utility.
    In the WDS diagrams, it always shows 2 or more Base stations, never a Desktop and a Base. Are these incompatible?

    ...but can't figure out how for the Mini....
    When you select "Share your Internet connection with AirPort-equipped computers," click AirPort Options to give your network a name and password.
    Since they are the "same" network does it matter?
    If one has no encryption or is using weaker encryption it will be the weak link for others to access your entire network.
    Normally, if you want to seamlessly roam between the 2 wireless networks, ensure that they are using the same network name (SSID), same encryption type, same encryption level, and same encryption password. However any wireless device connecting to the Mac mini's network will be on a separate subnet.
    Now I've got to figure out how to get files off the Office Desktop from the laptops, should I set up afp for airport or ethernet?
    Enable Personal File Sharing on the Desktop.

  • Hp laserjet 1300 not receive signals from computer

    HP Laserjet 1300 seems not to receive signals from my computer. Please explain
    This question was solved.
    View Solution.

    Are you networked or USB cabled into from the printer into the computer?
    What OS are you using?
    If you are on windows 7 and networked in, then you need to check and make sure the that the IP address of the printer is listed as the same in the port settings.
    If you are on windows 7 and are using a USB cable, then you have to load the printer through the IN-OS driver. See the link below...
    Install the driver included in the Windows 7 operating system (OS)
    If you are using some other OS or driver, please let me know.
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as Accepted Solution

Maybe you are looking for

  • Wrong apple id for apps

    The Apple Id that I am using for the i-Tunes store is properly reflected in the phone as an email address.  When I try to update apps on the phone, I am prompted to enter a password.  I noticed on the login screen that the Apple ID has been truncated

  • In what order are msgs consumed with single sess & multiple async consumers

    Sun MQ will serialize delivery of messages when you have a single session and multiple asynchronous consumers created from that session. I am trying to find out what is the order in which the messages will be delivered by the session to the message l

  • Transcoding vob file to Adobe Premiere Elements

    Summary: Seek for the VOB files to Adobe Premiere Elements Workflow- Read on the article and you will learn how to import VOB videos to Premiere Elements with smooth editing. Q: VOB files will not make sound on Adobe Premiere Elements “I have some VO

  • Cany you link a combo box to a submit form button?

    This question pertains to Adobe Acrobat 9 Standard. On my form, I have a combo box that lists 5 names and a button that I want to use to submit the form via email.  Based on the combo box selection, I want the submit button (when pressed) to submit t

  • Variance in Production Order after settlement

    Hi All, We have few production orders in whihc has been settled, but now after settlement also there is a balance left in those production order. The Status of these production orders is DLV. I have reversed its previous settlement now again tried to