IMAQ Vision data synchronization and niScope

Hello!

My task:

-Take photos with a camera (Photonfocus MV-D1024E-160) connected to a PCIe-1427 OR Framegrabber) at a speed about 300 fps in freerunning mode

-Measurement of signals with a digitizer PCI-5922 to kS 500 per second

-Store all the data on the disc

Now I must find the time window of the Signal digitizer exactly at the time the image was taken.

What your concept would do something like that. (I use the niScope and Vision)

I made a few first tests using the:

-Sync starts timed Structures VI

-Use the overall time of start/end of a loop timed as the timestamp

-There is also a line of State microsecond stored in each photo (I could use for the moment)

Last but not least:

-How you realize the DTX200

-I have tryes with securing the data of the image and the digitizer in separate binary files (PDM would be the best option?)

-Would you use queues?

I m happy for each indicator of concept! Just write if you need more detailed information!

Thank you

Tobi

Hi Suse

Thanks much for the advice. After much effort, I arrived at the following solution:

I m happy if you or someone else has any comments thereon (such things is quite advanced for me):

Two VI´s at the same time independent (see attachments)

(A) consumer/producer of image

(B) digitizer consumers/producers

In addition to data I also course start time of world of the loop timed for each data set (afterwords I understand Images signals digitizer using this timestamp)

(A) consumer/producer of image

Appendix A: after initialization of the acquisition of the image (upper left). "I have a producer (top) loop that generates an array of 8-bit image data and the Global timestamp of the timed loop). The loop of consumer (bottom) to remove the cluster and saves each image in a binary file with the timestamp of nanoseconds as file name. Like this I m in images of the camera stream on hard drive at about 150 frames per second at full resolution (1024 * 1024 pixels) and still more quickly at low resolution (with a return on investment)

(B) digitizer consumers/producers

Attachment B1: after initialization of the NOR-SCOPE, I extract (Points per fetch = 2000 for the moment) scanner data and build a cluster with the global start time (and world end time for the tests as well) to new (similar to A). I queue in the loop of the producer

Appendix B2: I Dequeue data in the loop of the consumer and the write (stream) to a PDM file

Stop all the loops after Acquisition and storage I use a notification utility.

Issues related to the:

-Where do you see the bottlenecks in this design (which could slow down?)

-What could be done more effectively?

-How accurate is the overall end timestamp (I want to know exactly which picture belongs to which signal digitizer). I didn t find much info on this Global Times (how are "produced" in LabView?)

-Other reviews, consult about it?

Thanks again!

Tobi

Tags: NI Software

Similar Questions

  • IMAQ Vision Image structure

    I currently grabbing an image, using my own equipment and windows messaging and do it in memory as a bitmap image.  How to copy this image in a structure Image IMAQ Vision.  I see other threads that the structure is the owner, but is it possible to copy the raw data in the structure of the Image.  The only way I can achieve this is to write in a BMP file, and then use the () imaqReadFile to read back in. It takes a lot of time, it would be much faster if I could copy from one location to another.

    You can use imaqArrayToImage(), but I've always found this difficult to use function.

    my favorite way is to create a new image of the right size using imaqCreateImage(), then get a pointer to the first pixel using imaqGetImageInfo() and fill pixels directly by copying the data in the buffer of the image. I already showed how to access pixels directly on this forum. You should pay attention to the size of your pixels and the format of the image (RGB, grey levels).

  • Problem with my Treo Windows Mobile 6.1 800w (Sprint) always connect to internet via Power Vision data services?

    I don't know if it's a good 'problem' or not (I don't see anything during my brief search), but Im wondering if anyone else has the same problems.

    I really like this phone compared to my previous 755 p, but I have two gripes in this regard.  First of all, there is no light that flashes when an alert or notification has taken place, or a call came, etc., as had the 755 p.  Why would this feature removed?  If the screen of the phone is off and vibrate (like how my phone is at work), you'd never know unless you have checked the phone or had put on alert constantly rehearsing and vibrate my office all day.  I can live with, I guess, but an update or application that could resolve this would be great.

    The real problem I have is with the phone always tries to connect to Sprint Power Vision Data services via #777 to synchronize my email accounts.  I have all the e-mail settings (Outlook and Gmail Pop) to manually check for new messages, and the UNCHECKED check box to enable the internet connection.  But every few minutes, or if a message appears asking to connect to the internet even if everything is set to manual.  It is so ANNOYING so now I just put it to stay connected.  The real problem is that it seems to be to kill the battery even more fast because its connected throughout the day.  Im trying to minimize consumption to save the battery life (turn down the backlight, disabled WiFi, screen turn off immediately when done using the TI, etc.), but I'm close to the point to get rid of the phone if I can't understand it.  Its a new phone and battery (Christmas gift) and I think that the battery should last more than a full day even with the light for no use.  I don't use the phone that much but it honestly be dead from 22:00 with only plain text messages and phone will use during the day.  I have probably of less than 200 minutes per month.

    I contacted the Palm support and worked with someone for a while, and it doesn't seem to be sure if it was supposed to be like that or if there was a problem.  In the end we left it as it was and he said I need to contact Sprint to see if they have something in their automatic configuration that makes the phone connect ALL THE TIME.  I still have to communicate with them, and I'd like to hear what others have to say.

    Don't make me get an iPhone lol.

    Thank you

    Ryan

    Well, I guess I figured out how to stop it from asking me to connect to the internet EVDO service every few minutes.

    It seems he was trying to do because of my two Pop email accounts I have set up.   On the enamel of the Options screen, it lists the e-mail accounts and there is an asterisk next to one of them.  If I leave the asterisk next to "Outlook E-mail" then it seems not repeatedly, try to connect to internet EVDO.  If I leave the asterisk next to one of Pop email accounts, he seems to want to connect to EVDO repeatedly.  I guess that the asterisk indicates the default or the main e-mail account of something, then he tried to update via internet services.  I guess that Outlook is configured to only update when a synchronization is performed, or something.  so if I browse the web with IE, I just manually disconnect after the browsing session and it is more requested to connect to EVDO when the asterisk is next to "Outlook email" in the list of accounts on the Options screen.

    Note, with some other applications and tweaks installed that I found on the forums, my battery life is now acceptable even with normal use.  still has 30% left before going to bed each night.

    Message is about: Treo 800w (Sprint)

  • iOS 10 takes a lot of time synchronization and backup iPad to iTunes

    Has anyone noticed that it takes unusually long to synchronize and back up their iPad to iTunes after that 10 updated iOS?

    What used to take three minutes, it's now at least 15 minutes. My iTunes is up to date.

    Thanks for ideas or confirmations of this accident.

    iPad 9.7 Pro, 256 GB

    I noticed the same problem with my iPhone 6. Synchronization and backup with iTunes takes about twice as long. All software are up to date.

  • How to transfer pictures from iphone to PC and keep the date, time and place

    How to transfer pictures from iphone to PC and keep the date, time and place

    Hello Grumpelfuerer,

    Thank you for using communities of Apple Support.

    If I understand your message that you want to import your photos from your iPhone 6 s, as well as for your Windows PC. I would like to save my photos on my computer as well. There are two ways to do this. You can use the iCloud photo library allowing to synchronize photos between your devices or import your photos to your PC using Windows Photo Gallery. This article will provide you with the steps that you can use for both options:

    Import photos and videos from your iPhone, iPad or iPod touch

    Best regards

  • iBooks - not published data synchronization with other devices

    using iBooks, iCloud, El Capitan, all upgrades are current - recently, I edited all the data of iBooks on the iMac.  Provides that these data be synchronized on my Air iPad or iPhone when I plugged in all night. Nothing happened. Still waiting.   They show only partial lists of the documents with the names of old documents, collections and categories. Tried to delete app full on the iPad then have iCloud restore, but iOS wouldn't let me do that.  Can not even remove documents to iBooks on the iPad... that they all indicate the symbol of the cloud, but the old name, etc.

    Hello

    Keep your books to date on your devices

    If you start reading a book on one device, you can pick up where you left off on another device. Collections, highlights, notes and bookmarks sync on all your devices. Follow the steps below to synchronize.

    On your Mac


    • Open the iBooks app.
    • Select iBooks > Preferences > General.
    • Select "Sync bookmarks, facts highlights and collections across devices.
      This setting is enabled by default.

    On your iPhone, iPad or iPod touch


    • Go to settings > iBooks.
    • Select the Collections of synchronization and synchronization of bookmarks and Notes.
      In iBooks 3.2 or earlier, select Synchronize Collections and synchronization of bookmarks.

    If you don't see all your information on all your devices, check your settings:

    • Make sure that you have turned on sync above settings on all of your devices.
    • Make sure you use the same Apple ID in the store, iBooks on all your devices.

    Above information may also be found here > iBooks of synchronization between your Mac and your iPhone, iPad or iPod touch - Apple Support

  • IMAQ Vision: IO file error

    Hello

    I get the error in the subject, trying to open a file that was acquired from a phone android via the command "adb shell screencap.  I have attached the criterion vi and the image.  I can't seem to find the solution to open this file without error happening on "imaq readfile.  I tried image different types on imaq create and also tried the other way to read that an image file named "imaq read info image and vision.

    I see that I can use the 'imaq getimageinfo' tool to get the parameter image correctly.  I can't get labview to open the image without error, given the tools available.  Help, please.

    P.S. I'm under labview 2013 sp1.

    Thanks in advance,

    David Jenkinson

    Confirmation: Your product-1074395993 code error code when executing "IMAQ ReadFile" during the reading of this png. I don't know what could be the problem with this PNG. To work around the problem, you can use 'Read the PNG file' of the 'Graphics Formats VIs"which doesn't have this problem.

  • IMAQ vision function reference

    Hi all

    I'm new to Lab Windows/CVI and uses the library imaq vision.

    Could someone tell me where I can find the reference of function IMAQ Vision? I found a function reference manual at first--> National Instruments--> Vision--> Documentation. But all the functions described in this document are starting by img * (). I was looking for functions starting with imaq * ().

    I'm sorry that it might be a stupid question, but any help would be appreciated.

    See you soon,.

    Thanks Alex,

    I found the document

  • queues the IMAQ image data type

    I'm trying to run multiple queues in the same loop entering IMAQdx images from several cameras, and then save to AVI. After reading the site nor a little, I discovered that the reason why I get only the last image of each bucket, repeated on all frames in the AVI file, is that the IMAQ image data type stores only the memory location for the image, not the image itself data. However, I don't see a better solution for the queues of the actual image data. What conversion could be the fastest / are in charge of the processor the lowest?

    For each image you must initial Image space.

    You can use something like this:

    You need to add initialization camera (s) and AVI. You must add the multicamera feature. Stop recording is missing.

    !!! Don't forget to throw lines and Images!

  • Can I synchronize and AI on USB-6009 with meter?

    Hi all

    I use USB-6009, LV 8.5 under windows XP. I want to generate signals synchronized with Amnesty International. I know that I can not use the sample as DO clock clock. But can I use the card counter to synchronize and AI? And can someone give some similar examples? Thank you!

    Best wishes

    Bo

    The unit will display whenever you call writing DAQmx. It is more complicated than that. And synchronization is practically based on the flow of data and when you want to generate the digital output from the analog input.

  • How can I save machine vision data calculated?

    Hello everyone,

    I developed a machine vision vbai file to detect the edge of a droplet and calculate the radius of the drop. However, I would like to save the data of droplets of RADIUS in a file so that I can follow the distributions of droplets at the time RADIUS and see it in excel for example.

    However, in the range of functions of industrial vision I see not all save data option and so I transferred the code in a labview VI hoping to get more options. When I opened this VI, I can't really find out where my calculated data are, and I can't also manage store data anyway.

    I'll post the Labview VI and VBAI files and hope someone can tell me how I can save the droplet radius size because I'm kinda a noob in programming Labview.

    Thanks in advance Schoonen Jan-Willem

    Hi René,.

    It worked, thank you very much!

  • How to download imaq vision

    I am a new user of labview and I wish to study this subject IMAQ vision. However, for the same thing, I have no idea as to how I can use it on LabView. Smoker I don't understand if I have to download additional software for IMAQ Vision work with LabView. Kindly advice me.

    Jean-Luc

    NOR-Vision and NOR-IMAQ are two different things. NOR-IMAQ is a set of drivers and software to acquire, view and save images of some devices. The supported devices are in the readme file. This software is free. NEITHER Vision is a software level. He did work with a wider variety of devices. It is not free.

    I think that it is best to call your local sales office OR that they would be better suited to help you, rather than this forum. We mainly answer technical questions here.

  • IMAQ Vision: (Hex 0xBFF60403) copy unauthorized IMAQ Vision.

    Hi all

    I have a Labview program developed a few years ago by one of my students who use some images from a camera to do some analysis.

    It's the environment that was used:

    Windows Xp professional version 2002 Service Pack 2

    LabVIEW 7.1
    LabVIEW Run-time Engine 6.1 - 7, 0 - 7.1.1
    NOR-Imaq 3.1.0
    IMAQ vision 7.1.1
    NI-Visa 3.1
    NOR-488. 2 2.40

    NOR-IMAQ 3.1

    Application Builder 7.1

    Now, the PC crashed and I tried to restore all the software and VI.

    I got these (3) types of errors when I lounched the VI:

    1074396157 error occurred at WindShow IMAQ
    Unauthorized copy of IMAQ Vision.

    1074396157 error occurred at WindSize IMAQ
    Unauthorized copy of IMAQ Vision.

    1074396157 error occurred at WindMove IMAQ
    Unauthorized copy of IMAQ Vision.

    Possible reasons:

    IMAQ Vision: (Hex 0xBFF60403) copy unauthorized IMAQ Vision.

    I read that it is possible to overcome these types of errors lounched visionXXrte.exe, but I don't have on my PC.

    What can I do?

    Thank you for your help

    Gino

    Hi all

    the problem has been resolved.

    It has been necessary run the NILM License Manager and activate the product of the Vision, which has been exceeded (I don't know why).

    So, thanks to all the world.

    Gino

  • Lost file "IMAQ Vision example Folder.vi"

    Hello world

    I was working with this file and I lost it. Now, I could not find or fix also I re - install all the modules of the vision, and many examples use this file to take the path of the image to work. Someone can help me trying to find the path and bring me the IMAQ Vision example Folder.vi

    Thank you for your cooperation,

    John

    Hi, thanks for your response, I did it and I don't know why, but did not work. I solve the problem using the IMAQ Vision AVI Folder.vi and change the block diagram and removal of some parts and then rename it as the vi that I lost. In this way, I solved the problem.

  • Error 1074395720 has occurred to IMAQ find circular Edge 3 IMAQ Vision: invalid KING.

    Hello

    I am writing a program to adapt to a circle of an image (from the avi), but when running the IMAQ find circular edge v3.vi I get the error message:

    "Error 1074395720 occurred at IMAQ find circular Edge 3.

    Possible reasons

    IMAQ Vision: Invalid KING. "

    I use the vi KING of construct IMAQ to set the return on investment and I am sure that the KING output is in a format suitable for the discovery of the IMAQ circular edge v3 vi.

    I joined my program (Labview 2011)

    Any thoughts?

    Thank you very much

    Rory

    Hi Rory,

    Welcome to the Forums of NOR.

    «IMAQ find circular Edge 3' expects a return on investment for type 'Ring'.» There are a number of functions in labVIEW for the conversion of the type of return on investment as "IMAQ convert the KING to ring. However, as the circular edge VI find JUST does not ring but bounding box and other details as well, there is a strange solution to this problem.

    Drop-down "IMAQ convert KING ring" and get the return on investment through. Drop-down and then "Convert ring to the KING" (Yes, really) and pass the output of who to "find the circular edge.

    It is circular, strange workaround, but it seems to force the type of return on investment to go to the ring and so works.

    Let me know if you have any other questions.

    Thank you very much

Maybe you are looking for

  • controls silver for previous versions?

    Is there anyway to get the new controls of money for previous versions of LabVIEW?

  • concatenate files

    My test will create tables that it progresses - which can be saved in Word / Excel. I generate a summary at the end of the test based on the results of the individual tables. The problem is that the summary should be at the beginning of the report (w

  • explamation point error in the Project Explorer near cRIO

    Thanks to anyone who can help me... I created a project for my cRIO 9074 with several modules and is works well on my desktop PC...However, I have to use, instead of the desktop PC computer, a laptop (two computers with Windows 7 platform) which has

  • A1 - 830 USB loading too weak to support its use?

    My Tablet goes dead when I play games while it is connected to my laptop to charge via usb, because apparently it is not getting enough energy to spare. When the Tablet is attached to the tht of transformator usb is plugged into a 220 outlet it seems

  • Update of security for Microsoft Visual C++ 2008 Service Pack 1 (KB2467174) do not install it!

    A security update for Microsoft Visual C++ 2008 Service Pack 1 (KB2467174) and Visual C++ 2005 Service Pack 1 (KB2467175) do not install it! Have tried and tried to get these to install... Help!  I get the error code 643.