Search the Community
Showing results for tags 'imaqdx'.
Found 10 results
Timestamp of image
Francois Aujard posted a topic in Machine Vision and ImagingHello, I have a GiGe camera Basler. I have created a ring acquisition like the exemple IMAQdx with circular buffer. I load an image every 15ms and I add it in a Vi type FGV (cf. Stock Images.png). In the FGV vi, I create 2 tables. One is for the timestamps and the seconds is for the images. I use the timestamp table juste for keep the last 15s. If my test crash I save the images table. If I use the Vi to look at the timestamp of my image table, it is not the same timestamp as when I added the image in the table (cf. Save Images.png). Why? The propreties IMAQdxReceiveTimestampHigh and IMAQdxReceiveTimestampLow are not attached to the images? I hope you understand my English 🙂 (thank you deepl) François A.
I try to migrate from LV2014 to LV2020. If I try to open Allied Vision Manta_G 145B camera in NI-MAX i get Error 0xBFF6901D "unable to load xml file". IMAQdx Version is 20.6 (RT + Dev). Basler Cameras work fine. I have upgrated the firmware of the cam to the newest version, but it didn't help. I have also installed IMAQdx 21.0, but without success. A Manta-032B works without problems... Any help or workaround is most welcome. Is there any way to load the XML file manually?
IMAQdx session "Attribute updated" event
_Mike_ posted a topic in Machine Vision and ImagingHello! I am running a system with GigE camera with NI framegrabber in continuous acquisition mode - in which I change some attributes every now and then. So far I have been using following scheme to assert I am getting correct image after attribute change: change attribute read "Last buffer number" property -> n run IMAQdx get image.vi set to "buffer' and parameter n+2 (+2 being due to the fact that i assumed attribute change arrives to camere during running exposure that will be unaffected by attribute change - hence i needed to discard "next" buffer) Unfortunately I still every now and then acquired image that obviously was aquired with previous attributes (e.g. I've dramatically increased.decreased exposure rate, while acquired image was very similar to previously acquired one). Guessing that it may have something to do with buffers I have increased "magic number" from +2 to +3. It indeed helped, but after longer usage I have discovered, that it only reduced the frequency of the error. Hence I needed to design more "bulletproof" solution that will satisfy my timing requirements (stoping and starting acquisition is out of question as it takes more than 100ms what is unacceptable for me) I would like to: change attribute acquire information from camera that will allow me to fetch image acquired with changed attribute For such purpose I have discovered IMAQdx events - especially "Attribute updated" and "frameDone". Unfortunately, I could not find any detailed documentation about those functions. Therefore I would like to ask you for help to determine when 'Attribute updated" is triggered. Is it when: driver receives the command and pushes it to camera? (pretty useless for me as I cannot relate it to any particular exposure) camera confirms getting it (then assuming it arrives during an ongoing exposure, I'll discard "next' image and expect second next to be correct camera confirms applying it (then I assume that next image should be obtained with correct settings) camera confirms it managed to acquire a frame with new parameter (pretty unlikely scenario - but the i'd expect correct image to reside in "last" buffer) Could you help me determine which case is true? Also should I be concerned about the fact that there may be a frame "in transition" between camera and IMAQdx driver which will desynchronize my efforts here?
Imagining Source Camera
Shaun07 posted a topic in LabVIEW GeneralHello All, Did any one previously used Imaging source camera (DMK series)? If yes, then please give me a reply. I need one help regarding Camera Attributes. Thanks,
Camera Attributes & Auto Exposure
Shaun07 posted a topic in LabVIEW GeneralHello, Research purpose, I am using Imagining Source (DMK 33Ux249) camera to capture the laser beam. I am trying to write a code for auto exposure according to power level of laser beam. I used Vision acquistion for capturing live video image and tried to open the front panel of the vision acquistion. But, I couldn't figure out how to set the exposure level automatically. Basically whole task is, 1. Capturing live image 2. set the exposure time according to laser beam profile 3. Remember the exposure the time and set again according to next frame or beam profile. Is anybody previously work or have an idea to solve this issue please let me know. Thanks
How to get number of white pixels in an image
ASalcedo posted a topic in LabVIEW GeneralHi to all. I would like to get the number of white pixels in an image (so get the white area). I see histogram.vi but I do not know how to do that. Any help? Thanks a lot!
Control time trigger in line scan camera
ASalcedo posted a topic in LabVIEW GeneralI would like to know if there is a parameter in line scan camera which allow me to control time trigger along NI MAX or labview with imaqdx. I mean, I would like to triggering camera during 100ms which specific shutter and specific line/sec. And if I change shutter or line/sec the time trigger keep being the same (100ms) I don't know if this is possible with some parameter of line scan camera. Thanks a lot.
Change resolution image snaped by gigE camera
ASalcedo posted a topic in LabVIEW GeneralHello to all. First of all thanks a lot for reading this post and being able to help. I have noticed the next problem: My application has a camera, this camera takes images (snap mode) and application process them (detect some edges in the image). It works fine. But when I make the Display bigger my application takes longer to process images (and for me that is crucial). I think that this happens because my application in this case has to process a bigger image (bigger display = bigger image??) So maybe if My camera takes images with lower resolution I solve the problem. So how can I change image resolution captured by my gigE camera? In NI MAX or in Labview? Thanks a lot!
Problem NI MAX frame adquisition snap
ASalcedo posted a topic in LabVIEW GeneralHello to all. I am using NI MAX to get images from a camera (snao mode and hardware trigger). The camera is a basler 1300-30gm. The problem is the next: My camera snaps 4 images (1 image each 40ms). In pylon viewer (camera oficcial software) I can see the four images correctly. The problem is that when I am trying to see the 4 images in NI MAX sometime the camera can not take the 4th image... like there is no time to take the 4 image (or process it to visualize in NI MAX). So maybe there is a configuration parameter in NI MAX to solve this. Any ideas? How can I solve it? I set up package size to 8000. Maybe package size is the problem? Thanks a lot.
How to get minimun distance between first and last edges
ASalcedo posted a topic in LabVIEW GeneralHello to all. I have an image and a ROI. I would like to get the minimun distance between the first edge and the last edge in horizontal position. See image attached. If every edges found are in color yellow I would like to get the distance between edges in red (minimun distance from last edge to last edge in horizontal direction. I have tried to use "IMAQ Clamp Horizontal Min VI" but this VI does't the option "from first to last edge" and the only way to get what I want is to play with contrast but it is not work for some of my images. So is there any way to get what I want? Here is the image. From fist edge to last edge I mean from left to righ, the first edge found and last edge found. Thanks a lot.