Time of camera and Piezo

Hello

I'm trying to control the movement of a piezo transducer and the acquisition of images from a camera with a precise timing. First of all, I'm driving the piezo of sinusoidal frequency, f. second way, I want to acquire images with my camera at a frequency of 2 * f. i.e. I want when my piezo voltage is the maximum and minimum values.

I'm relatively new to LabVIEW but I figured out how to control my image acquisition and piezo independently. However, I am running out of problems with synchronization when I try to do two things in unison.

For now, I use a loop and the 'Simulate Signal' function to generate my output voltage to my piezo. Then I have a second loop in parallel to drive my camera acquisition. I went to some effort to ensure that the two loops to begin to run at the same time by using "appointment". I have my current VI attached. It sort-of work, but I don't know there is a better and simpler way to do it. If for some reason, one of the loops is running a little out of time, the curls will fall out of sync after several iterations. I'm just saying as I go about the process of how bad do not use single loop? I've thought about it, but I don't know how to implement it? If I put the loop of image acquisition in the loop of piezo, is not the process of acquiring an image high when my piezo?

If someone could offer advice that would be great!

Thanks in advance,

Paul

Hi Paul,.

Here is my attachment in LabVIEW 2010.

Kind regards

Tags: NI Software

Similar Questions

  • Recent update asking for permission to put on my camera and audio without my knowledge, what then?

    Recent update asking for permission to put on my camera and audio without my knowledge, what then? Does this mean that Big Brother or anyone who can turn my Audio/video and see what I do?

    Firefox will always ask permission each time before the video/audio recording is turned on - then only you can activate it.

    the authorization is used for technologies such as webrtc: https://blog.mozilla.org/blog/2013/09/17/webrtc-now-available-across-mobile-and-desktop-with-new-firefox-for-android-compatibility/

  • How to trigger the camera and light pulsed with PCIe-1427

    Hello

    We recently bought an acquisition card NI PCIe-1024 and the NI Vision Builder.

    I am new to imaging applications and need support to get started.

    Application:

    We have a camera viewing a scene which is illuminated by a pulsed light source (e.g., a strobe).

    We want to use the PCIe-1427 as the master for the outbreak of the camera and strobe light.

    The first trigger (Ch 0) transmitting signals TTL to camera to 30 Hz (30 fps).

    The second trigger (Ch 1) send bursts of pulses to the strobe light to e.g. 10 kHz. This trigger must only send impulses all other images, so that we can save alternating light and dark images in order to perform background subtraction.

    I tried to set up the channels of the trigger and create virtual channels in the measurement and Applications Explorer, but apparently this is not possible.

    Since it is an application critical time, I'd appreciate an example vi that sets up the channels two trigger and download managers in the camera to get started on this application. Thank you.

    Software of NEITHER: LabVIEW version 10

    Materials: Device for the Acquisition of Image (IMAQ) PCIe-1427 driver Version: NOR-IMAQ 4.4 OS: Windows 7

    Thank you, Justin.

    I'll copy this request to the machine Vision Group as you suggested. I looked at the link sent you me and made progress (limited). I can see on an oscilloscope trigger signals, and the camera acquires images. However, I only managed to do work for pulse trains continuous, not a shots or bursts of pulses.

    No need to answer that. Thanks for your help.

    Peter

  • Having problems capturing the image with 2 cameras and the PCIe-1430

    I have problems of switching between my two cameras and breaking or capture images in Labview or MAX. I can switch between cameras and capture images very well so that in the Vision Development Module, but not in Labview or MAX. However, it does not work the first time I have capture an image of a port, but not after that.

    This the error I get LabVIEW:

    1074397150 error occurred at Snap.vi IMAQ

    Possible reasons:

    NOR-IMAQ: A timeout error has occurred while you wait for it
    specified event.  If you expect a picture, check that all the videos
    data are acquired during the period.  If waiting for a
    signal, check that the assertion of signal occurs within the time limit
    period.

    This error I get from MAX:

    The IMAQ error

    Error 0xBFF60022

    A timeout error occurred while you wait for the specified event.
    If you expect a picture, make sure all video data is acquired
    during the period. If you wait for a signal, check that the
    affirmation of signal occurs within the time limit.

    The following list is what I currently use:

    1 card PCIe-1430

    2 cameras JAI Pulnix CM-140MCL

    LabVIEW 9000 f3

    Vision Assistant build 20090611041452

    MAX 4.6

    NEITHER Vision 9.0

    IMAQ 4.3


  • Need help RE: Privacy Web - cam and IM FB conversations on laptop via wi - fi connection! My daughters (age16) & my safety that can put in danger! :'(

    Hello! :) I really need an expert on security on my web - cam and FB! #1: can someone just watch or hear/see me on my webcam for laptop via wi - fi connection? (Ive never used it(web-cam), so need to specific details: the privacy settings to this topic.) #2: can I document FB IM conversations and save them for later... also, can someone be invading my daughter and I on FB IM conversation for later use in court without my knowledge? Pls help someone! A lot of activity strange goin and im worried. Thank you for your time! :)

    Hi RobinaEves,

    Others may view or you hear on the Wi - Fi connection using web camera only if you allow them using any web camera software.

    You will need to check the settings available in the facebook chat to check there are all these settings available to save the chat history or contact support for facebook for more information.

    http://www.Facebook.com/help/

  • 2558 HP HC MONITOR DRIVERS for THE WEB CAM AND MIC AND the OTHER BUILD IN DEVICES CE WHO IS BUILT IN MS7 IS BAD, AND IT SHOWS the errors of devices

    It takes the right drivers for hp w2558hc monitor, is the web cam and microphone and other devices. Now what a windows MS7 is incorrect and when the pc doc runs it says it devive pilot problesm we tried to remove the drivers, that it doesn't always, the only way to solve this is unplu cable webcam, while the device driver goes.  It was working OK in vista and when hp gave me free ms7 upgrade, when the errors started. I still have the thing he had trouble even on vista because of the blue projection. MICROSOFT and HP has to happen to get together and put the correct drivers MS7 or update the old was the last time, she was last updated 2006.  They sstesm now I have is a 64-bit MS7, we tried everything. It works but it does not just because of the problem of driver and the only way to remedy to the webcam cable monitor unplu when not in service.  It gives you 3 errors and it organizations all the internal features of this monitor as a web cam, mic. any suggestions out there?

    CF. http://social.answers.microsoft.com/Forums/en-US/vistawu/thread/33d7bcee-b0ed-489b-a15d-c087c421cb55 ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • I'll try to find the distance between a smart camera and object?

    I am using smart camera or 1722, and I'm doing a VI that gives me the distance between the object and the camera of the aquised of the image with the grab module

    Can someone help me please?

    I'm new with labview and I don't have much time to make this project so please help

    You should pass on the IP Reset (on the camera), and then you will be able to make the assignment of intellectual property to a successful conclusion.

    Kind regards

  • I need to know the file current date/time number stamp and the version of "spoolsv.exe" in Vista Home Premium 32-bit with SP2.

    I need to know the file current date/time number stamp and the version of "spoolsv.exe" in Vista Home Premium 32-bit with SP2. My spooler file got corrupted and I need to know what that the stamp of date/time on the latest version of the file: spoolsv.exe. I did a search on my hard drive and found 8 copies of the file with 7 different dates. I need to know which copy in my file C:\windows\system32\. I suspect that the problem was caused by some kind of malware. I think that some of the different versions on my machine of the initial installation of the Vista, SP1 and SP2. 3 copies that would explain. I tried all the suggestions in this forum and several others. I tried sfc/scannow and it simply replaces the corrupted file by another. I understand how works this file and a simple copy will do the trick if I knew that the file to use. I know that I don't want to go back to the first version of 2006.  BTW... my symptoms are all my printers have disappeared, and when I try to 'add a new printer' I get an error message saying that my spooler service does not work. When I opened my services window it shows that indeed, he is arrested, but I will not start because the description column contains only the code garbled machine indicating that the file is corrupted, or it may contain a virus. I had been using F-Prot until this virus got by and now I use AVG. I scanned my machine with several cleaning packages and it is is more infected, but I worry that from this corrupt file grow something. I know that the problem is not with my printers or drivers, because everyone on my home network can print on all of my printers. None of the people I know are on Vista 32 bit. They are all running System 7 or XP. I have XP, except that a few years ago I suffered from the "Syndrome of Pepsi" on my laptop and when I bought a new HP, it came with Vista.

    Version 6.0.6002.18294

    Day 17/08/2010

    Duration 14:11

    Duration may vary in different time zones.

  • I have even vacation photos on two different cameras and a Smart Phone - how to combine in chronological order

    I just upgraded to 14 items in a very old version.

    Can someone help me get started with tips on how to combine in chronological order of the pictures taken on a vacation on two different cameras and a smart phone?

    I never figure out how to do this easily on the old version.

    margaretg13258847 wrote:

    I just upgraded to 14 items in a very old version.

    Can someone help me get started with tips on how to combine in chronological order of the pictures taken on a vacation on two different cameras and a smart phone?

    I never figure out how to do this easily on the old version.

    This is something I often do when I shall prepare a draft of an event with photos taken by different people.

    It cannot be done 'automatically' to get a good shot for all cameras.

    You can use the shortcut Ctrl J (Menu Edit > adjust date and time...)

    But before that, take the time to:

    -Choose the camera you think is the best time and enough shots to compare with the other cameras

    -assign a keyword to be able to quickly select all of the pictures from each camera

    -l' sort order of display the value "oldest first"

    When you're ready, find a picture made to at about the same time with the camera of reference and the other.

    Make a note of the date and time for the camera to 'reference' and the other.

    Calculate the difference. It may be easier to first treat only the dates, then make another correction for the moment.

    For example, you find that there is a difference of two days too late of the camera by report.

    You select the files by the camera from this session. They are in chronological order.

    Look at the date of the oldest shooting. Calculate the new correct date (you add two days)

    Shortcut Ctrl J.

    You select the third option (new start date) and the new start date. Validate.

    That's all. All dates of the camera by report have been corrected.

    You can start at the correct time (you can even correct hours first, then a third round for minutes).

    Same process for all devices.

  • Photoshop CC was supposed to be able to use without an internet connection if I worked online at least once a month...  I tried to work offline at home after working online for a while. The sign came and said ' no Internet connection /- and the options we

    Photoshop CC was supposed to be able to use without an internet connection if I worked online at least once a month...

    I tried to work offline at home after working online for a while. The sign came and wrote

    «No Internet connection / - and the options have been - try again or continue offline "and I could not work no prob. by choosing «continue in offline mode»

    However, I've used photoshop for a few hours yesterday and I brought my laptop home from my photographer friend to share the work of editing... and I couldn't open Photoshop.

    "The network is not connected TRYagain.

    It was the only option, does not allow me to continue offline...

    You have an idea why I couldn't?

    An Internet connection is required the first time you install and your creative Cloud of license applications.

    You can use the applications in offline mode, but must be online from time to time to validate your software licenses. Please see this link for more details: CC help | Creative cloud / Common Questions

  • problem with multi-cam and camera angles

    Hello

    I used 3 cameras for a project with free run time code,

    I imported the files of each camera, and I have them renamed with a suffix like cam1 and cam2 cam3

    in first pro, I put a different color of the label of each camera to have an own chronology

    and when I create a multi-cam with time code sequence, I have thousands of tracks (his pro as Prime Minister understand that each item I have a different cam)

    I tried a lot of things, but I can't find a way to group each cam on a track :/

    someone has an idea for me please?

    Thank you

    Premiere Pro treats each element as from a separate camera.  No way around that.

    When you photograph of muticam, do not start and stop the cameras.  Leave them running for the complete event.  Floors and ceilings are better than trying to synchronize dozens of clips.

  • Premiere Pro CC - waveform I can synchronize with * several * camera and audio clips a Pluraleyes the?

    Many of us use Pluraleyes to synchronize the DSLR and 2nd audio WAV files using waveforms. (No timecode.)

    The ability to synchronize in first Pro CC has been mentioned in several lists of feature, but I don't see the ability to synchronize a clip at a time.

    Y at - it no way to align several MOV and WAV files with different start / stop times and no other another match that of waveform and synchronize them automatically in first Pro CC in a sequence (or by creating multiple merged clips)? In other words, can I reproduce the Pluraleyes features in this new version of Premiere Pro?

    Currently, the best way to do it is by selecting all items in the project Panel, right-click on it and select Create multi camera source sequence.   Synchronization via audio, choose your audio settings (if you want audio in both clips, select all cameras), and then click ok.  Blocking is smart enough to make this batch and make several sequences of MC with only the clips that match each other.  Unfortunately merged clips, or timeline sync will do only one at a time.  If you want this behaviour in amalgamated sync of clip or timeline, please file a feature request: https://www.adobe.com/go/wish

  • Hearings in camera and microphone in the companies low-cost app?

    I am fairly new to ACC, and I don't know how the classes AudioPublisher and WebCamPublisher work regarding the intrinsic classes camera and a Microphone. I'm a 'green room' construction or component in Flex, a hearing and I would like to allow the user to choose a webcam and a microphone based on the array of names camera/mic, but I can't seem to get an output visualized by devices unless AudioPublisher and WebCamPublisher are actively publishing. Is this designed behavior? I don't want users to have to convey during testing of the input devices. Thank you very much in advance for any suggestions!

    Hello

    While ensuring well understood - as you try to get the result

    Since the Microphone, before publication, like, say a sound bar? ConnectNow

    (which uses the LCCS components) has this feature, it should be able to

    work...

    You call microphone.setLoopback in order to capture local

    sound? Here's what I see in ConnectNow (some original comments, mine):

    _mm is the MicrophoneManager, and _comboBox has Microphone.names in it...

    _mm.micIndex = _comboBox.selectedIndex;

    damned if I know why you should check it

    if(!_mm.inUse)

    {

    _mm.selectedMic.setLoopBack (true);  Loop back so that we can see activity

    }

    _mm.selectedMic.SoundTransform = new SoundTransform (0);  Turn off the sound!

    then, in a loop of the timer, we get this:

    private void updateActivity(p_evt:TimerEvent):void

    {

    inputMeter is a little fancy a progressbar

    inputMeter.setProgress((mm.selectedMic)?)

    _mm.selectedMic.activityLevel: 0, 100);

    }

    Hope that helps,

    Nigel

  • Mounting between 2 camera and keeping them synchronized

    I'm currently trying to edit a wedding video, using first Elements 4. I filmed the service with 2 cameras.

    I have a film camera on a track, with the audio that I want to use.

    Then I put the images of cam 2nd on another track, picking up different plans when necessary.

    I have synced initially the 2 camera images so the audio corresponding, but as I progress cut back and forth between the 2 way, 2 continues to go out of sync!

    When I return to the timeline to verify previous cups, they seem to made it moved and not liked together. Why?

    I'm I missing something? Is it possible to lock down the slopes, so if I edit or cut pieces off the video track 2 is not out of sync, all the time?

    I do it the right way?

    Example.jpg

    Thanks for any advice.

    I see two possibilities here...

    1) both cameras are not perfectly playback at the same speed - I had this problem at some point myself.  Two clips of 10 minutes do not wind up being exactly 10 minutes long. I managed to resynchronize their from time to time, but it was a pain.  My new cameras seem to be much more accurate.

    (2) in the process of strands of clipping out, maybe you are inadvertently moving them.  I did too.

    What I found works best is to let all the top clip in, but rather than delete the parts you don't want on the upper track, either disable or change the opacity to zero.  In this way the exact spacing is preserved (and easier to later if you change your mind).  I did it with three cameras, and it seems to work.

    Hope that helps!

    Bob

  • 6 s iPhone camera and flashlight does not work

    Help! My iPhone 6s camera and a flashlight do not work.

    I tried forcing him to leave the app, reboot, reset the phone using the home and power buttons, but nothing has worked. I just get a black screen. I can't use the camera front, no more.

    Other ways to solve the problems?

    Try below:

    Restore backup

    Restore like new

    http://support.Apple.com/en-us/HT201252

    If no joy, taking a go-bar genius with Apple for an assessment,

Maybe you are looking for