How to Invert "Acquisition in Progress" - Signal (Pike F421B)

Hello everybody,
I am currently workin on a camshaft inspection machine using the Pike F421B. Before I was using the software AVT Smartview. Now my company wants to change to LabVIEW since we developed our own analysis program. During the process of image acquisition the camera outputs a "busy"-signal. My question is: Is it possible to somehow invert this signal. I was able to invert it in AVT Smartview but I can't seem to find the settings in LabVIEW. This signal is used to sequentially trigger LEDs so that the lighting and image acquisition is synchronized. The problem is the LED controller reacts to the falling edge of a trigger. That's why I need to somehow invert this signal without external wiring. I am currently using the "vision acquisition" VI. I would appreciate any solution. (Please also see picture).
Thank you.
Solved!
Go to Solution.
Attachments:
Camera settings.png ‏351 KB

I assume you mean the camera is outputting this signal via an I/O line, correct? You would likely need to use some register accesses to configure this. If you check the manual for your device it should list the registers you would need to configure and then you could use the IMAQdx Read/Write register VIs to access them.
Another option would be to use AVT's software and save the default settings of that I/O signal to be inverted into the camera's power-on defaults. Since this is an extended setting not touched by IMAQdx by default, it should retain this setting loaded even after IMAQdx overrides the settings with what you have saved from the express VI or MAX software.
Eric

Similar Messages

  • Synchronous acquisition 4 analog signal and independently count TTL impulse

    Hello!
    I'm have NI DAQ board PXI-6115. I have problem:
    Need synchronous acquisition 4 analog signal and independently count TTL impulse. When value counter will, at example, 5000 acquisition must stop. I'm read program in LV 7.1 but have a problem.  In HELP write:"You can create only one counter input channel at a time with this VI because a task can contain only one counter input channel. To read from multiple counters simultaneously, use a separate task for each counter". I make two different task, but error not disappear.
    I don't know how escape this error?
    Program VI with Front panel screen-shot in attach archive.
    Message Edited by _Pavel_ on 05-23-2007 09:06 AM
    Attachments:
    Progr.zip ‏80 KB

    Hey Pavel,
    Thanks for contacting National Instruments support.  Your program, in it's current state, is attempting to generate a finite pule train and count edges on the same card.  Finite pulse generation is a two counter device, where one counter generates the pulse train and the other counter gates the generation, or goes high when the generation is to start and low when it is finishes.  So no matter which counter you select for the count edges task you will get the error you describe. 
    Is it possible to use the pulses that you are counting as an external clock?  If so then you could just generate 5000 pulses and you would only acquire 5000 samples. 
    I have attached a modified example from your code.
    Let me know what you think.  It only acquires 5000 samples as desired.
    Regards,
    Kenn North
    Senior Product Manager - Search, Product Data
    http://ni.com/search
    Attachments:
    Progr.vi ‏58 KB

  • How to acquire correctly three-phase signals (Problem with the gap between signals)

    Greetings
    I need to analyze three sinusoidal signals 120 degrees out of phase by nature including my version of LabVIEW 7.1 and the acquisition card I used is the Measurement Computing USB 1208FS. In principle the acquisition and display them individually does not represent any kind of inconvenience, the problem arises when I try to observe the three signals in the same waveform graph. At this point to run the test continuously (Continuously RUN) the signals lose their phase shift and this becomes variable along the process of signal acquisition occasionally taking its original phase shift (in Figure 2 shows how to vary the phase angle between the signals), just watch the same channel form using 3 distinct stages and the signal (in theory the same) is outdated fig 4. How can this problem be corrected? There is some appreciable time lag between data collection in the different channels that would alter the correct acquisition of the signals. You can correct varying the sampling frequency (rate) and the count?
      Pd = vi attachment used for the acquisition
    Thanks
    Attachments:
    figure 2.jpg ‏70 KB
    figure 4.jpg ‏72 KB
    3 channel.vi ‏388 KB

    Duplicate Post
    Cory K

  • I started playing Dragon Story on my iPad...how do i sync my progress From my iPad to my iPhone so I can play it on both devices?

    I started playing Dragon Story on my iPad...how do i sync my progress From my iPad to my iPhone so I can play it on both devices?

    bsgoodthing wrote:
    Can't find it on the computer in itunes. I have synced the two but the book still doesn't transfer.
    Turn on computer, open itunes, connecy ipad, click File>Transfer Purchases

  • How can you post comments during signal aquisition?

    How can you post comments during signal aquisition? For example, while acquiring your signal, you want to post a comment which the temperature reads at "30 seconds" from your relative start time (t=34 sec into recording)
    I have the LE package where events, alarms, etc cannot be used. Are there other ways that the user can mark an "event" during recording?

    Hey hkim,
    If you know how long it will be before you want a message to pop up you can simply include a sequence structure and in the first sequence have a wait time of your desired length and have the message pop up and display in the second sequence frame. 
    Hope This Helps,
    Doug B
    Applications Engineer
    National Instruments

  • How can I add a Progress bar to show the "render to JPG" progress?

    Hi everyone, I have a button which renders my component to
    JPG.
    How can I attach a progress bar to show the progress of the
    rendering?
    <mx:Button label="render" click="renderasJPEG ()"/>
    public function renderasJPEG( ):void
    convertToImage( component001, new JPEGEncoder( 100));
    private function convertToImage( object:IUICompon ent,
    encoder:IImageEncod er):void
    var base64string: String = ImageSnapshot. encodeImageAsBas
    e64(
    ImageSnapshot. captureImage( object, 72, encoder));
    var variables:URLVariab les = new URLVariables( );
    variables.encoded = base64string;
    variables.type = "jpeg";
    var request:URLRequest = new URLRequest(" script_saveasima
    ge.php");
    request.method = "POST";
    request.data = variables;
    navigateToURL( request, "_blank");
    Thanks in advance.

    Hi,
    I would have thrown a prompt to the user in the renderasJpeg
    function and removed it in last line of convertToImage function.
    Isn't this what you want?
    Hope this helps.

  • How can I use a progress bar in objective c mac

    How can I use a progress bar in objective c mac? I have a code that downloads a file and I want to be able to let the progress bar increase by 1. A bit further on the code (to download the file) it needs to increase again. And so on...
    My code
    -(IBAction) downloadButtonPressed:(id)sender;{
        //get the path to the image that we're going to download
        NSURL *url = [NSURL URLWithString:@"https://www.dropbox.com/s/l6o07m48npxknt4/Cluedo.zip?dl=1"];
        //get the path to documents folder where we're going to save our image
        NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
        NSString *DocumentsDirectory = [paths objectAtIndex:0];
        NSString *filePath = [DocumentsDirectory stringByAppendingPathComponent:@"Cluedo.zip"];
        //Download the file to memory
        NSData *data = [NSData dataWithContentsOfURL:url];
        NSError *error = nil;
        //Save it on the Documents directory
        [data writeToFile:filePath options:NSDataWritingAtomic error:&error];
        NSFileManager* fm = [NSFileManager defaultManager];
        NSString* zipPath = filePath;
        NSString* targetFolder = @"/Applications"; //this it the parent folder
        //where your zip's content
        //goes to (must exist)
        //create a new empty folder (unzipping will fail if any
        //of the payload files already exist at the target location)
        [fm createDirectoryAtPath:targetFolder withIntermediateDirectories:NO
                       attributes:nil error:NULL];
        //now create a unzip-task
        NSArray *arguments = [NSArray arrayWithObject:zipPath];
        NSTask *unzipTask = [[NSTask alloc] init];
        [unzipTask setLaunchPath:@"/usr/bin/unzip"];
        [unzipTask setCurrentDirectoryPath:targetFolder];
        [unzipTask setArguments:arguments];
        [unzipTask launch];
        //[unzipTask waitUntilExit]; //remove this to start the task concurrently

    Your code really isn't suitable for a progress bar, not a real one anyway. Your code will spend about 99.9% of its time in the method "dataWithContentsOfURL:url". That is not a method you want to use in the real world. It is only for demos or proof of concept exercises. All network operations should be asynchronous. That gives you the ability to gracefully recover when there is a failure and also to do fancy things like display a progress bar and tell the user when the download is complete.
    Once you get the asynchronous download logic working, then you can worry about the progress bar. The first thing you will need is the size of the file. Without that, all you can ever do is an indeterminate progress bar or spinner. If you have the size of the file, then you can keep track of how much of the file you have downloaded and update your progress bar with the percentage complete. Make sure to throttle it to no more than incrementing by 1% at a time. Otherwise, a large file or a file transferred in many small chunks, would waste too much time updating the progress bar for no change.

  • Hi, I followed the instructions to apply for the Made For iPhone Program. After submission of the necessary documents and information, I have not heard back from Apple. How to track the application progress? Can someone help?

    Hi, I followed the instructions from Apple MFI website, to apply for the Made For iPhone Program. After submission of the necessary documents and information, I have not heard back from Apple for couple weeks. How to track the application progress? Can someone help? < Edited by Host >
    Thank you.
    Best Regards,
    Gerald

    Hi Gerald
    This is a user-to-user forum, and your message will not be received by Apple. You will need to sign into your Developer/MFI account, and contact Apple that way. This can be done here.
    P.S Please do not post your e-mail address here.
    Taylor

  • I want to connect a FLIR camera to my iPad. How can I submit a PAL signal to my iPad?

    I want to connect a FLIR camera to my iPad. How can I submit a PAL signal to my iPad?

    Thanks, too bad. Now I have to get a different tablet, ****.

  • Does anyone know how to invert the selection of thumbnails in Reader / Acrobat?

    Please help me,
    Does anyone know how to invert the selection of thumbnails in Reader / Acrobat?

    Hello,
    Could you please suggest the Acrobat/ Reader version at your end? Please check if this article helps - Adobe Acrobat X Standard * Rearranging pages in a PDF
    It's for Acrobat standard but the steps are same
    ~Deepak

  • How can I show the progress of web page loading only in the right bottom of screen?

    When I downloaded the first Firefox upgrade that had no progress bar, I somehow found out how to stop the new progress bar (that shows all the progress in web addresses rather than a progressive bar) from jumping around in the bottom left or right of the screen. I had it only appearing in the bottom right of screen. Now a new version of Firefox has been downloaded and is once again jumping around from left to right depending what else is showing on the screen. Most annoying, how do I get it to always appear & remain in only the bottom right again.
    Thanks in anticipation, Katnko.

    Hi Cor-el, thanks for your help. Is there a help file anywhere for Status-r-Evar? I don't understand which way to set all the Options, as it is great having the green status bar showin once again, but I wouldn't mind keeping the name of the file that is progressing as well. Do you understand what I mean? Thanks, Katnko

  • [SOLVED] how to invert colors in all windows

    Hi. I've recently switched from lubuntu. In lubuntu I could invert the colors in all windows with customize look and feel configuration, but this does not happen in arch. Some applications don't invert their colors.
    Could someone be so kind and explain me how to invert the color in all windows.
    Last edited by johnx (2014-07-07 00:58:57)

    Are you using KDE, johnx? It sounds like you're using LXDE.
    In KDE, I don't think you can do it automatically for all windows without writing code. But you can do it on demand for individual windows or the desktop as a whole by enabling the Invert effect in Desktop Settings > Desktop effects > All effects. Then to invert a window, you use Ctrl+Meta-U. For the whole desktop, it's Ctrl-Meta-I. I use this all the time when working in Eclipse.
    Why not just use a different theme with the colors you want?

  • Living in apartment, here it has only wireless (no wired cable in the room). I've  an airport express (new ) so how can I do for extending signal (wireless) for using in myroom

    Living in an apartment, here it has only wireless (no wired cable in the room) signal using for the internet connection. I've  an airport express (new) ,so how can I do for extending signal (wireless) for using in myroom. because the wireless signal is so weak.

    Unfortunately, you won't be able to. In order to do so, you would have to configure both the AirPort Express and the other wireless router for a WDS. Since it will unlikely that the other router is another AirPort, nor will you have the ability to administer it, you won't be able to get this accomplished.

  • How do you monitor backup progress

    How can you monitor the progress of a backup? I use timemachine and an external drive  to do my backups on my 09 Macbook pro. I want to be able to see the amount of files transferred and time remaining or any other pertinent info. Not just a spinning wheel.

    I don't know, I use bootable clones myself and it shows me the progress of the backup and updating of files.
    However I can point you to this guy who is the local TM guru
    All about Time Machine
    If you want to learn more about all sorts of backups to diversify your restore options (TM can fail to restore properly), including bootable clones etc. then read my UT here on the subject.
    Most commonly used backup methods explained
    I personally don't use TimeMachine, preferring the more advanced bootable clone options.

  • How do i split the digital signal for PIP?

    My tv requires 2 separate A/V inputs to use PIP. How do I split the incoming signal without affecting the signal strength to STB? Everytime I connect a slpitter, the signal looses stregth and I can't HD out of my STB only digital, not HD. Is there a fix or solution for this problem?

    DcmFD wrote:
    My tv requires 2 separate A/V inputs to use PIP. How do I split the incoming signal without affecting the signal strength to STB? Everytime I connect a slpitter, the signal looses stregth and I can't HD out of my STB only digital, not HD. Is there a fix or solution for this problem?
    It is just the nature of beast in that when you add a 2:1 splitter, you will lose 3.5dbm of signal strength (more loss per leg the larger the splitter.. IIRC a 4:1 splitter a is 7 or 7.5 dbm loss.)
    How many splitters do you currently have from the ONT to that STB? Do you have any 4:1 splitters in the path that you could swap with a 3:1 or 2:1 (leaving no open legs)? 
    I will leave it to someone else to recommeand a MOCA amplifier, but that may be you only possible solution. It would have to be a MoCA amplifier, as the STB requires 1150Mhz to receive guide info, etc.. A traditional signal booster typically does not pass frequencies higher that 850-950Mhz. 

Maybe you are looking for

  • Error while opening Adapter Monitoring in Runtime Workbench

    Hi, I am unable to open Adapter Monitoring from Runtime Workbench -> Component Monitoring -> Adapter Monitoring When I tried to open, I am getting following message in the new window: "The page cannot be displayed" Please let me know where I can enab

  • Connect Notebook to TV

    How do you connect a Toshiba NB505-N500BL to a Toshiba 32TL515U LCD TV? Do I use a VGA to HDMI cable or a VGA to RCA cable ? Have been told to use a VGA to HDMI cable and plug into the HDMI port on TV. Could not find any detailed information in manua

  • Consolidate library only moving some files

    I tried consolidating an iTunes Library to a new folder on an external drive, but it is only copying over about 1/3 of the files that are in the iTunes Music folder on my internal drive. How can I correct this situation? Please help, this is urgent.

  • How to blur face

    I have a minute long video where I am following a person walking and filming his back. The person stops and when he turns around I want to blur out his face. How do I go about doing this. I have tried using the fast blur effect but it blurs the whole

  • Purchased apps requires payment again

    SHORT VERSION: I purchased apps from the app store After a restore, I need to pay again for those apps I purchased Why? Last year I bought for apps in the app store using my iPhone, I paid for them - one of them is WhatsApp also I downloaded some app