Measuring digital signals coming from the HSDIO (PXI-6542) with the DMM (PXI-4070)

Hello,
in attachment you can find the program I'm using for my measurement: I'm generating and acquiring digital signals with the PXI-6542 and at some trigger point of one of those digital signals I'd like to capture the measured values on a plot with the Digital MultiMeter (PXI-4070).
It does work if you configure the generation repeat mode as continuous, but if you do have a finite repetition (repeat count is 1) it doesn't react on the trigger, as if it can't find a trigger. On the other hand, if you have a finite repeat count of 30 or more it does react and triggers correctly again.
First I though it had something to do with autocalibration before the measurement takes place, but If you do a highlight execution (stepping through the program) it looks like it measures before the generation session is initialized.
Is there a way to measure correctly when the repeat count is only 1?
Thanks in advance,
Jürgen

Hey Jürgen.  I apologize that you haven't gotten an answer yet to your post.  I looked at your code and had some questions.  What is the source of your trigger to your DMM?  I see that you're exporting the data active event to PFI1, and your comments indicate that PFI1 and PFI2 are connected to give you a start trigger for your digital acquisition.  Exporting the data active event with a finite or continuous pulse should only give you a single edge per run, though - you wouldn't get a pulse each time.  Is your trigger coming from a data line?  I didn't see any line in your included data that would indicate a single pulse.
The other thing that I noticed is that you've got no timing dependency between your HSDIO code and your DMM code - they're in parallel with each other.  Thus you could get different results run-to-run, since it's not deterministic as to which parallel "thread" that LV will start on first.  LV may switch back and forth several times, but let's say that LV reaches the HSDIO Start command before reaching the DMM Start command - in that case, the HSDIO device may finish it's entire operation before the DMM ever starts looking for a trigger, and thus never get the trigger at all.  I'm not sure why this would explain why you're seeing the finite case work and the continuous case not, but I wanted to point it out because it could bite you down the road.
I hope some of this this helps get you going in the right direction.  I'd also suggest posting HW-centric questions in the appropriate form.  There are Digital forums and DMM forums that might help you reach people that will be more familiar with your particular hardware.
Chris

Similar Messages

  • My daq 6008 wil not drop the 5V after the VI is stopped, i have a digital signal going from the error out on the daq in the while loop to the error in on the daq outside the while loop and a boolean going to the data of the daq outside

    my daq 6008 wil not drop the 5V on a digital output after the VI is stopped, i have a digital signal going from the error out on the daq in the while loop to the error in on the daq outside the while loop and a boolean going to the data of the daq outside, but i can t seemto get it to work

    i attached the block diagram so you can have a look
    Attachments:
    PID Temp control.docx ‏120 KB

  • There is no signal coming from the airport express

    There is no signal coming from my airport express. The light is always amber in color.  It would turn green but only for 1-2 seconds and then back to amber again for a long time.  I'm pretty sure there is a signal problem from the airport express.  What could be the solution in this problem?
    Thank you.

    Unfortunately, the solid amber light is likely a symptom that the Express has experienced an internal component failure.
    Try a Factory Default Reset as follows to see if you can unlock the device.
    Power down the Express for at least 15-20 minutes
    Hold in the reset button and keep holding it in for another 10-12 seconds while you plug the Express back in to power
    Release the reset button
    If you have a slow, blinking amber light after 40-45 seconds, the Express may be OK. If the light stays solid amber after a several tries on the default reset, I'm afraid that it will need to be replaced.

  • MBP late 2011 - Weird digital noise coming from the top left speaker zone

    Hello, it doesn't matter if the volume of the speakers is muted, doesn't matter if the volume is at maximum position or at the middle position, the noise will come whenever it wants, at the same very loud level. When the noise begins, the coloured disk appears, and the OS is freezing. Updating to the latest version of Lion didn't help. The hardware test, short or extended did not find anything wrong. Also resetting pram/nvram didn't help. Sometimes, and especially at startup, before the boot sound, the speakers can be heard popping/clicking. Even if it comes from the left speaker zone, i guess it's not from there, because this weird sound can be heard even through the hole of the network adapter, but any other sound when playing music comes only from the speaker, the LAN adapter hole is quiet (funny, isn't it?). This noise can be also described like the sound of an old printer... or almost like a Spectrum loading from tape...
    But there is no problem at all in Bootcamp using Windows 7. I still need to use OS X, can anyone help?
    Bellow You can hear the noise for Yourselves:
    http://www.zshare.net/video/990900695940b5e9/

    The noise sounds like this ?
    http://www32.zippyshare.com/v/94854400/file.html
    http://www22.zippyshare.com/v/13891679/file.html
    Does anyone knows what it's wrong  ???
    Someone please call 911
    STEVE !!!! Where are U STEVE ????

  • How can i use an ao card (pci 6723) to output data and to trigger an ai o acquire the data coming from the ao card?card (pci 6254) t

    Hello
    I am trying to perform AO (pci 6723) and to trigger my AO card (pci
    6254) to read the data coming from the AO card. I am using LV7,1,
    win2000.
    Is an RTSI cable necessary or I can connect the trigger signals externally ?
    I am using the LV example " multi function - synch ai-ao.vi" but i can't for some reason configure the trigger lines.
    thank you in advance for your time.
    Yiannis

    Hello Yiannis,
    If I understand you correctly, you want to synchronize your analog input and analog output that are started by a trigger on the analog input board. If you don't want to use the RTSI lines, your best bet is to export the AI Sample Clock and then read it in to the AO board. There is an example on ni.com called DAQmx - Synchronized AIAO Shared Clock. It appears to be having techincal issues so I have attached the example below. To export ai/sampleclock, use DAQmx Export Signal.vi after Get Terminal Name with Device Prefix.vi. Export Sample Clock to PFI3 (There are only connections between the sample clock and PCI3/4/8/9). Connect PFI3 on your AI board to PFI0 on your AO board (with a wire). Then change the source for the AO Timing.vi to Devx/PFI0. If you want to do triggering, stick the DAQmx Trigger.vi between the Timing property node and the DAQmx Start.vi on the AI task. I have shown how to do this in the modified version below. Please take a look at it and let me know if you have any questions. If you still get an error please take a screenshot of it and post to the forum. Have a great day!
    Sincerely,
    Marni S.
    Attachments:
    Synchronized_AIAO_Shared_Clock[Modified].vi ‏140 KB

  • My sound coming from the internet on my MacBook Air is not working!

    I bought this MacBook Air a month ago is the new one, everything was working well but suddenly the sound coming from the internet stop working.
    My computer sound is working perfectly is just when I want to watch a video or listed a song from youtube talk on skype isnt working at all.
    When I press the volume button i can hear it.
    Can someone tell me what can it be?

    Hopefully one of these steps should solve the problem.
    1. System Preference > Sound > Output > Internal Speakers
        Highlight  Internal Speakers / Headphones
        Make sure Mute is not enabled.
    2. Remove the headphone.
        If you see red light in the headphone port, plug the headphone
        in and out of the port 5 or 6 times to flip the microswitch inside.
        Sound output may be stuck in the digital mode.
    3. Reset SMC.     http://support.apple.com/kb/HT3964
        Choose the method for:
        "Resetting SMC on portables with a battery you should not remove on your own".
    4. Applications > Utilities > Audio MIDI Setup
        Audio Devices window
        Side Bar
        Click the Built-in Output.
        Under Mute any of the boxes checked? If so, uncheck it.

  • Red light coming from the headphone port

    does anybody know why there is a red light coming from the headphone port.
    This is after i reformatted 
    Thanks
    Moderator note; subject edited for relevancy

    This is perfectly normal. You can run an optical digital out this way. You need a mini-toslink adapter like this:
    http://en.wikipedia.org/wiki/Mini-TOSLINK
    Then you can set the digital out as default (instead of Speakers) to run audio to a surround sound reciever via optical fiber.

  • I recently migrated my MacBook from 10.5.8 to 10.6.8, using the Snow Leopard CD I purchased from Apple. Since then I have noticed a strange ozone smell coming from the MacBook in the area where the hinges are to open and close the unit. I was told by Appl

    I recently migrated my MacBook from 10.5.8 to 10.6.8, using the Snow Leopard CD I purchased from Apple. Since then I have noticed a strange ozone smell coming from the MacBook in the area where the hinges are to open and close the unit. I was told by Apple that it probably is not serious and is coming from the fans in the MacBook. It is true that the smell/odor is more intense when the fans are working. Apple said I should take the MacBook to an Apple Store to have the hardware checked out. Everything seems to be working correctly. I am backing up automatically wirelessly to a Time Capsule, which I had not done until recently, although I had purchased the Time Capsule in 2009. I have not noticed this odor before. Does anyone suspect something more serious that may be going on?

    You may be smelling it because with the new OS the processor is having to work harder causing it to get hotter then it would with the other OS.  I can't say there is nothing wrong, but what could be happening is just that, it's getting hotter so the fan is spinning faster and moving more air so you are getting more of the smell then you would before.  I would still continue to back it up, and take it to the Apple Store at a Genius Bar and have them look at it to make sure.  Was the computer ever in a smoky environment??

  • I put a case on my iPod touch 5 and now there is no sound coming from the speaker.  The head phones work though.  I called Apple Support and the 2 people I spoke with seemed baffled.  Has this happened to anyone and how do I resolve this?

    I put a Griffin case on my daughter's iPod Touch 5 and now there is no sound coming from the speaker.  There is sound when we use the headphones.  Is there a mute function that I may have switched on and if so how do I turn it off?
    It was a gift bought by her Godparents in January and I live in the islands so I can't just drive it back to the store to have them look @ it!
    Called Apple Support and spoke to 2 people who seemed baffled and who could only suggest I reset the device.  Who h has not helped.
    HELP!!!!!!!

    - Try cleaning out/blowing out the headphone jack. Try inserting/removing the plug a dozen times or so.
    Try the following to rule out a software problem
    - Reset the iPod. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup
    - Restore to factory settings/new iPod.
    - Make an appointment at the Genius Bar of an Apple store. Seems you have a bad headphone jack.
    Apple Retail Store - Genius Bar
    Apple will exchange your iPod for a refurbished one for this price. They do not fix yours.
    Apple - iPod Repair price                  
    A third-party place like the following will replace the jack for less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace the jack yourself
    iPod Touch Repair – iFixit

  • Mba sound: just bought my first mba and I have been using it in my house no problem...took it to my empty office today and I can hear a small vibration/sound coming from the upper left part of the keyboard...constant and rhythmical...ideas?

    mba sound: just bought my first mba and I have been using it in my house no problem...took it to my empty office today and I can hear a small vibration/sound coming from the upper left part of the keyboard...constant and rhythmical...ideas?

    Hi
    It's likely your fan,  It always runs on a MBA.  Mine is very quiet, others report some noise - here is one link.  There are lots of others.
    Hope this helps
    Cheers
    https://discussions.apple.com/thread/4381367?start=0&tstart=0

  • Every time I scroll, there's a clicking sound coming from the top left corner of my macbook

    Similar to the clicking sound of my hard drive, every time I scroll, or whenever there is any sort of animation on my screen, there's a similar clicking sound coming from the top left corner on my , around the area where the microphone is. I know the hard drive is at the bottom right corner, so is this a graphics card issue or am I overlooking the issue?

    It is better to take the MBP to the Apple store for evaluation.
    They have the diagnostic tools to make sure that there is no problem with the computer.

  • My macbook pro is probably only 2 months old and there is a buzzing/grinding noise coming from the left side of the laptop every time I open it.  It may buzz 5 times in a span of 30 seconds then not make the noise the remaining time that it is open.

    My macbook pro is probably only 2 months old and there is a buzzing/grinding noise coming from the left side of the laptop every time I open it.  It may buzz 5 times in a span of 30 seconds then not make the noise the remaining time that it is open.  I have read that it may have to do with my fan or HD.  I am under apple care for a good amount of time but am wondering if this is a mjor issue.  I would not be able to get to an apple care center in the near future due to being at school.  Should I be worried or will it last by the time I am home in 2 months.

    Sounds like the disk in your MBP is accessing data on wake up
    If you are still concerned you can take it into the Apple Store where they can hear it to be sure
    Allan

  • HT1551 My remote for my Apple TV just stopped working and I have tried putting in a new battery, re-pairing the remote, resetting the device by unplugging it, and I checked the infared coming from the remote is working. The light just blinks at me 3 times

    My remote for my Apple TV just stopped working and I have tried putting in a new battery, re-pairing the remote, resetting the device by unplugging it, and I checked the infared coming from the remote is working. The light just blinks at me 3 times what else can I try to fix it?

    Have you tried unpairing the remote? You do this by pointing your remote at the Apple TV and holding the MENU and Left buttons down together for 6 seconds.

  • No sound is coming from the speakers.

    I have a Mac Mini.   All of a sudden my speakers, which have been working for over a year quit. I and bought another set - same issue. I can hear the sound coming from the hard drive.  I've looked at the sound settings but I'm not quite that technical.  Can somebody help?

    If only it were that easy, but thanks!

  • Today,when i tried to listen music in my iphone 5 ,i noticed that my sound wasnt coming from the speakers but when i plugged earphone ,i listed the sound??

    today,when i tried to listen music in my iphone 5 ,i noticed that my sound wasnt coming from the speakers but when i plugged earphone ,i listened the sound?? i couldnt recognize the problem with my iphone?? really need help!!

    I am having the same problem. I have just tried this. Unplug iphone > open itunes > delete all music from itunes library > close itunes > re-open itunes > add music from original folder > plug in iphone > select songs > press sync > unplug iphone using eject button onscreen > checked phone .... still nothing in music folder on phone. On itunes the "On this iphone" tab the songs remain there but greyed out.

Maybe you are looking for