Measuring Digital Output from 3 Hall Effect Sensors

I'm working on a project where I need to map the digital signal coming from 3 hall effect sensors, plugged into the first three channels of a NI 9402 installed in a NI cDAQ-9172 chassis (slot 5).  I've done plenty of analog signal measurements before but this is my first time trying to map a digital one.  I'm trying to measure the signal at the fastest possible rate (20MHz is what NI 9402 is capable of) and I cannot get the signal to record in any way that I could analyze it.  At this point all I'm looking for is a way to record the signal at 20MHz and look at a plot from the three sensors.  We're essentially just checking how quickly the signals are being sent to the sensors, so I need to be able to record it and zoom in to see all the 1's and 0's.
I'm also doing this in signal express which may or may not be the whole problem.  To me it seems like a simple task, so I assume I'm just missing something obvious.  I got 3 digital signals, I want to record them at 20Mhz and then be able to look at the plots afterwards. I don't even want to really analyze them yet, just want to be able to zoom in and see the high's and low's from each sensor.  The test I'm recording takes about 7-8 seconds.  So far when I try this it looks like it reads the signal in the preview screen but if I try to look at the data afterwards there's nothing there to see. If anyone could point me in a direction to look or has an idea it would be extremely helpful.  If more information is needed I can get it for the board.  Thanks.
-Tyler

Hi Tyler,
Are you pressing the Record button to log the data?
Josh B
Applications Engineer
National Instruments

Similar Messages

  • Biased Hall effect sensor and NI 9201 module. How can I calculate the velocity of an object?

    For my final year project at university I have designed and built a drop tower for testing the energy dissipation performance of test pieces.
    In the system I specified having a biased Hall effect sensor (gear tooth sensor) to calculate the speed of the impactor by having a serrated target (ferritic) moving past it.
    The idea behind having a serrated target was to enable an average of several readings of time period to be taken, then to use this to divide the known length of the serrations to calculate speed.
    The problem I am having is when using the time period measuring block in LV it only wants to measure the period of the first wave, is there any way I could get LV to measure all four periods (there are four serrations) and average them?
    Here is an image of the target incase what I have said was a little confusing: http://tinypic.com/r/2a0b8ck/6
    Any help will be greatly appreciated!

    1. The NI 9201 has only analog inputs, so you have no other choices with that devices.  I did not look it up before my earlier response.  Something about the wording of your first post made me think you were measuring the period with a counter.
    2. I am not sure which "time period measuring block" you are using.  Please post your VI.  Before you post it, run it with your Hall sensor so that you have some data recorded.  Go to the Edit menu and choose Make Current Values Default."  Save the VI.  The indicators on your VI will then have your data saved.  Post that VI.
    3. I am assuming that you will get a signal which looks something like this, although not necessarily starting exactl at zero time or having exactly uniform spacing between the pulses.
    Using some simple logic you can determine the time of the transitions between high and low.  The differences between the times of successive transitions are your periods.  For the image above the falling edges (going from +1 to -1) occur at about 64, 192, 320, and 448.  The differences are 128 in each case.  For your impact data the differences are likely to not all be the same as yout target decelerates.
    After I see you VI, I can give some suggestions about how to proceed to calculate the differences.
    Lynn

  • How do you use a hall effect sensor to act as a trigger to start the aqusition of data ?

    On a 4 stroke engine, a hall effect sensor acts as a trigger to instigate the aquisition of data. Data is recorded from a pressure transducer on both the compression and exhaust cycle.

    Paul,
    Here is a great resource the help you get started:
    http://zone.ni.com/devzone/devzone.nsf/webcategories/327C75ED77E1B8E5862567E80051CF83
    Additionally, if you need more help, please supply information such as:
    1. What daq board are you using?
    2. What kind of signal does your hall effect sensor output?
    3. What have you tried?
    Best Regards and good luck!

  • Connecting Hall Effect Sensor as an encoder(fe​edback) for PCI 7356 Motion Controller

    Hi,
    We have Labview 2010 and the following hardwares for testing a specific motor (a brushless DC motor):
    NI PCI 7356 Motion Controller
    NI UMI 7774
    AKD Servo Drive P00606
    However, I met some difficulty when wiring the motor to the motor drive(and controller). In the manual, it says PCI 7356 needs encoder signals as the feedback. But our motor doesn't have a built-in encoder. It has three Hall Effect Sensors, which we plan to use as an encoder. If we feed the hall sensor signals as the encoder phase signals (Phase A, B) to the drive/controller, I wonder if Labview or PCI 7356 (after an appropriate configuration) can adjuct the phase (from 120 degree to 90). Does it work even without the adjustment?
    If the above doesn't work, can I feed only one Hall Effect sensor signal as Encoder Phase A and don't feed anything to Phase B (since I only need control the motor speed in one direction)? Will PCI 7356 or Labview recognize the signal and function accordingly?
    If it doesn't work as well, could I use motor's Back EMF as a feedback (this motor produces a decent sinusoidal back EMF)? If I can, how should I configure the hardware and wire the motor to controller accordingly? 
    If all three above don't work, could you suggest a way to solve this problem?
    Thanks so much for your help.
    Best,
    Chen

    Hey Chen,
    I have comfirmed that the PCI card will not be able to do feedback with the hall effect sensors. However, you could do that with our NI 951x modules if you run it in FPGA mode. You would need an extra IO module to set up the hall effect sensors with, but you could effectively customize your control and your feedback on the FPGA board immediately. 
    For your other post, I am not sure you can create a time constraint on the move, I believe that when you define a motion, you would need to define the number of steps or the position and not the time. If you are running the motor at a specific velocity for an amount of time, you would need to set that as the number of revolutions and not time.
    I hope this helps.
    Regards,
    A. Zaatari
    National Instruments
    Applications Engineer

  • How do I keep a digital output from SCC DO01 from fluctuating states?

    Background: Hooking an ohm-meter across a digital output from a SCC DO01 isolated optical switch shows that the resistance fluctuates and at times goes open circuit. It appears directly related to the LabView code where I'm writing to this digital line within a WHILE loop. The loop has a variety of other operations going on. These other operations, I believe, are causing this problem due to timing or something.
    How can I improve the reliability of this digital output? There must be some method of establishing priority within a WHILE loop.
    Really appreciate the help.
    Hunter

    Howdy, Justin
    Thanks for your reply.
    I've actually been connecting the meter across Vss and Vout. Actuating the digital output, I can see the state of the switch. Attached is the VI which involves this DO01, specifically, it's associated with the VFD RUN/STOP.
    Since I sent this question out, I've actually gotten some help from Andy Watchorn of NI. This switch holds state much better.
    All the best,
    Hunter
    Attachments:
    VFD_ControlVIs.zip ‏120 KB

  • Trouble specifying TTL for digital outputs from PCI-6221

    Hi!
    I'm trying to generate TTL output signals using a PCI-6221 daq board - within Labview, I'm using DaqMx to create two digital waveforms and then write these. When I plug in an oscilloscope, the shapes/frequencies of the signals are correct, but the lower value is 0V, and the higher value is 1V, rather than the TTL values. Is there a way to specify these voltage levels to TTL within the software? I see from NI help that "do.logicfamily" exists to specify TLL, but when I add a property node and connect it to the channels, I do not see Logic Family as an option under "digital output." Let me know if you have any ideas!
    Thank you,
    Emily

    Set your oscilloscope to use 1MOhm impedence.  Your problem is that the maximum current for those DIO is 24mA.  1V/50 Ohms = 20mA.  So you are current limiting the digital outputs.  If you need more current, then you need to add in some digital buffer chips that can output more current.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • No digital output from 6 year old Sound Blaster C

    Hey Everyone, I'm new to this board and have a question. I recently purchased a custom-built computer with an ASRock PCI Express motherboard with
    onboard speaker and mic inputs. I have Boston Acoustic BA735 digtal speakers. I can only get
    analog from the onboard sound. I removed and installed my 6 year old Sound Blaster Li've
    Value card (Model # M48309403265) from my old Gateway PC into my new one, and installed
    the Li'veDrvUni-Pack update for Windows XP. I can't get any digital or analog output from the
    card. I tried my mic on the onboard input, but kept getting pulses at regular intervals on
    my WAVforms or sonographs. I plugged the mic into my old Sound Blaster card and the pulses
    disappeared, so I know the mic is working. With all the info I've provided, is there a patch
    or update or anything for my old Sound Blaster Li've card to get digital output?
    I tried the Sound Blaster Li've 24 Bit card, but returned it because the same input for the
    speakers is the same for the mic. Also, there's no gameport on it.

    Yo, BadBoy! Phew! Man, you helped me out a bunch. I had to do some tinkerin' between the drivers from Gateway and the Li'veDrvUni-Pack. I had to install it without the windows drivers from Li'veDrv... and start clean. I'm now getting digital output and my mic is working on my old card. I can't get the Creative Surround Mixer from my old card's software, or from Li'veDrv.. but I can use Windows' Volume Control. If you want to see why sound is so important to me ya' can check out my site at http://www.ramseybotelho.com. Thanks again, Dude.

  • How to I connect Sourcing digital output from My Interface Board to NI USB 6501 channel configured as Digital input

    When I connect an input to DI channel of USB 6501 card  from my board which has sourcing Output t, iIn the Off state it is not pulled down properly. The volatge on the port in is 2.1V -2.5V based on the pull down resistor on my board. I suspect that  it acts as a voltage divider.
    The state on the card is still show as "HIGH "state, even my sourcing output driver has a pull down  resister.  when I use this interface board for PCI mseries devices it works fine. Do the pull down resister on my sourcing output is not worth. Is this because of pull up resister 4.7k inside USB card 6501.
    USB 6501 specifications shows the Digital input accepts both source and sink modes. By default the card is in sourcing digital input mode. How do we can convert this in Sinkind digital input mode.
    Could anyone Please give your suggestions to overcome this issue .
    Thanks you.

    You really should not have both a pull up and pull down on the same line.  Really weird things can happen.  If you insist on having a pull down on your board, then I highly recommend putting a digital buffer chip between the DAQ and your board.
    Some boards with DIO have a pull up, while others have pull down.  You just have to watch the specs.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • I have an optical sensor and two hall effect how can I data log?

    I have built a test rig which consists of a gyroscope.  The gyro is spun up by and electric motor.
    I need to measure the speed of rotation.  I’m using an optical sensor and two Hall
    Effect sensors.  I would like to record the
    output of these and I would like to build in some redundancy because there will
    be another bigger rig that will require more measurement.  E.g. vibration.
    I’m new to data logging so I’m not sure which hardware I
    should be getting.
    Thanks

    analog inputs are the most universal.  with software such as the functions included in the Sound and Vibration Measurement Suite, you can analyze the analog input channel which is connected to your hall effect and optical sensors for frequency and speed.  Vibration specific input cards will power accelerometers.  with the speed and angular position sensors (hall effect and optical) you can combine this information with your vibration sensors to determine the movement of the device with respect to position and speed.  These order analysis functions are part of the Sound and Vibration Measurement Suite. 
    What is more is that the Suite includes an assistant.  The assistant allows for the capture and datalogging of all analog and digital inputs as well as frequency and vibration analysis.  This is all configurable and does not require any LabVIEW programming.  If you decide you want LabVIEW programming, all the functions are there to support LabVIEW as well. 
    Here is the link:
    http://www.ni.com/soundandvibration/
    Preston Johnson
    Principal Sales Engineer
    Condition Monitoring Systems
    Vibration Analyst III - www.vibinst.org, www.mobiusinstitute.com
    National Instruments
    [email protected]
    www.ni.com/mcm
    www.ni.com/soundandvibration
    www.ni.com/biganalogdata
    512-683-5444

  • No digital video output from XVR-300 in Ultra-45

    I am switching from solaris 10/x86 to sparc. I have a new Ultra-45 with XVR-300 graphics adapter. It's running Solaris 10u4. The system was ordered as a standard configuration from the catalog.
    The XVR-300 graphics adapter currently produces no digital output. My Sun A1240P0 24" monitor reports no signal on the DVI input. That is, there is no digital output at power on (boot ROM), during Solaris boot (terminal), nor after Solaris finishes booting (X).
    The graphics adaptor uses a connector with two video outputs, and comes with a splitter cable with two DVI output connectors. I get no video output on either. The DVI cable I am using is the one that works when connected to the graphics adaptor on the old system.
    I added a VGA adapter plug to connector 1 of the splitter cable, and was able to get an analog signal to drive the display via the VGA input connector.
    The manuals for the Ultra-45 and for the XVR-300 make no mention of analog vs digital output. They both just say to connect the adapter to the monitor.
    Since I can get analog output from the SVR-300, the card is basically working. The DVI cable and the monitor's DVI input work with another system. The only variables are the digital output from the XVR-300 and the splitter cable. (The splitter cable's analog signals work.)
    How can I activate digital output and make it the default?

    try this page........
    http://docs.sun.com/source/819-6651-13/chap2.install.html#50589705_pgfId-1001195
    To Set the Sun XVR-300 Graphics Accelerator as the Default Monitor Console Display
    1. At the ok prompt, type:
    ok show-displays
    The following shows how to set the console device:
    a) /pci@1f,700000/SUNW,XVR-300@0
    b) /pci@1e,600000/pci@0/pci@8/SUNW,XVR-300@0
    q) NO SELECTION
    Enter Selection, q to quit:
    2. Select the graphics accelerator you want to be the default console display.
    In this example, you would select b for the Sun XVR-300 graphics accelerator.
    Enter Selection, q to quit: b
    /pci@1e,600000/pci@0/pci@8/SUNW,XVR-300@0 has been selected.
    Type ^Y ( Control-Y ) to insert it in the command line.
    e.g. ok nvalias mydev ^Y
         for creating devalias mydev for
    /pci@1e,600000/SUNW,XVR-300@5
    3. Create an alias name for the Sun XVR-300 graphics accelerator device.
    This example shows mydev as the alias device name.
    ok nvalias mydev
    Press Control-Y, then Return.
    4. Set the device you selected to be the console device.
    ok setenv output-device mydev
    5. Store the alias name that you have created.
    ok setenv use-nvramrc? true
    6. Reset the output-device environment:
    ok reset-all
    7. Connect your monitor cable to the Sun XVR-300 graphics accelerator on your system back panel.
    Man Pages
    The Sun XVR-300 graphics accelerator man pages describe how you can query and set frame buffer attributes such as screen resolutions and visual configurations.
    Use the fbconfig(1M) man page for configuring all Sun graphics accelerators.
    SUNWnfb_config(1M) contains Sun XVR-300 device-specific configuration information. To get a list of all graphics devices on your system, type:
    host% fbconfig -list
    This example shows a list of graphics devices displayed:
    Device-Filename Specific Config Program
    /dev/fbs/nfb0 SUNWnfb_config
    procedure icon To Display Man Pages
    single-step bulletUse the fbconfig -help option to display the attributes and parameters information of the man page.
    host% fbconfig -dev nfb0 -help
    single-step bulletTo access the fbconfig man page, type:
    host% man fbconfig
    single-step bulletTo access the Sun XVR-300 graphics accelerator man page, type:
    host% man SUNWnfb_config
    haroldkarl

  • Hall effect gaussmeter

    Hey everybody!
    I'm a total LabView newbie, so maybe my question
    is probably answered in about a dozen places.  All help is appreciated,
    and please feel free to point me to other threads/tutorials/examples.
    What i'm trying to do is simulate a gaussmeter via labview.I have a hall effect sensor from honeywell,model  ss496a1 and a daq(NI USB-6008).How exactly can i build my gaussmeter?I know i have to supply my sensor with a Vc and then measure Voutunder the presence of a magnetic field,but i cant because obviously i'm doing something wrong!Can anyone tell me the exact steps i have to go through?
    Many thanks in advance!
    Solved!
    Go to Solution.

    You can use the separate buttons.  To be sure that only one button is pressed at a time, you would need to use local variables or property nodes to reset the others.
    I customized the radio button to look more like your panel.  The radio button has the "one button at a time" functionality built in so you do not need to program it yourself.  You could make the frame invisible using the coloring tools.
    Lynn 
    Attachments:
    Gaussmeter.3.vi ‏87 KB
    Gaussmeter Scale.ctl ‏6 KB

  • Combine digital waveform from two devices

    Hi All,
    We are using Logic Analyser to generate digital output from DUT and Sourcemeter to measure the current of this output at regular intervals. I am able to obtain the graphs for both from their VIs. Is there a way I can combine these two graphs taking time as x-axis ?
    Regards,
    Kanu

    Hi Kanu,
    I don't see any reason why not but we would need to know more about your setup and if post your code that would be a great help.
    Joe Daily
    National Instruments
    Applications Engineer
    may the G be with you ....

  • Digital Output problem once again (WIN XP, Audigy

    I searched the forums with no luck, actually I searched the whole internet with no luck - so far.
    My problems in a nutcase:
    - I can't find the button for Digital Output (the one which enables it, Windows XP's sound mixer used to have that option with some ?windows build?, but I can't find it since I installed creative drivers, it's just gone...).
    - If I find the digital output on-button with your help, is it even possible hear music with add-ons trough digital-optical cable or should I buy some mono-cable? :O
    To be specific:
    I have the Creative Audigy 4 Bulk, which of course supports SPDIF Digital output. I bought expesi've optical cable that I could finally use my hifi 5. speakers with movies trought computer. I have new 700 euro amplifier, and it supports everything, so the problem isn't with that one, anyways, let's get touch with the real problem.
    What ever drivers I'm using, I can't find the digital output section anywhere. Creative drivers has one SPDIF-button, but it affects nowhere. So, I can't even get the Digital Sound on, because windows mixer has no button for that with my windows xp, weird. I also tried to install windows vista, and there wasn't either any options, where I could put the digital output on.
    Which drivers and which add-ons should I install to get that Digital Output to work.
    If I manage to find the button for digital output from some drivers, can I also listen music while it's connected via optical-digital cable, or am I just able to hear sound from dolby digital movies? Is it even possible to get everything work with my optical cable (music/games and movies at the same time).

    . Your card doesn't have optical output, only "coaxial" digital. You will need a stereo (or camcorder) cable with one mini jack on one end and 2 (or 3) RCA connectors on the other. The white RCA will be the one you need.
    The setting is on the "Creative AudioHQ" at the "Surround Mixer" selection. It is called "Digital Output Only". Or if you use the little icon on the taskbar, at the "Speakers" on "Speaker Selection" you have the same option (a check mark under the selection of speakers).
    2. If you read the FAQ, you will get surround sound (5.) ONLY from DVD-Video that are encoded in DolbyDigital or DTS and ONLY if you pass-trough the digital signal to the receiver to do the decoding. In ALL other cases you will get STEREO PCM signal.
    3. If your receiver is a decent one you should have an analog surround input (5. analog input). in that one you can plug the analog outputs from your card in order to have surround sound all the time (like in the games).
    Message Edited by SoNic2367 on <SPAN class=date_text>09-25-2006 <SPAN class=time_text>06:24 AM
    Message Edited by SoNic2367 on 09-25-2006 06:26 AM

  • Noise on optical output from Airport Express

    I have an almost new Airport Express (actually as an extension of my old AE) which I use for streaming music to my HiFi. At first I used the analogue output for my amplifier, without any problem. But now I have installed a HiFi D/A converter (Rega) and started using the optical output from my AE. It plays fine, but now and then (like 2-3 times per track) there is a noise appearing, like a pulse of 3-6 beats. Could be external noise, but it is only there when I play music. Anyone have any idea ??

    Hi, nice to know I am not the only one with this problem (did not log on for a while...)
    The problem is also that one doesn't really know which part to blame. I guess anywhere you go with your problem they would say it is something else. And the guys in the Apple store don't have knowledge at this level, they are just trained to sell.
    I am sorry to hear that you had to give up and return to the analogue input. Which means that you are using the D/A converter built into the Airport.
    Are you saying that you were using the digital output from your old Airport into your Rega DAC without any problem ? If you feel sure about that it must be the new type of Airport that has a problem.

  • Can I connect the digital output of flat screen to digital stereo output?

    can I connect the digital output of flat screen to digital stereo output? 

    Hello JRefugio,
    Welcome to the Sony Community.
    Are you referring to a Sony flat screen TV? What is the model number of the device to which you wish to connect the digital output from the flat screen? It is required to know the exact model number of the Sony product so that the appropriate information can be provided.
    Thank you for your post.

Maybe you are looking for