Acquisition & saving with smart camera

I couldn't find an example about saving sequence images to hard disk with Ximea smart cameras. 
I have a RL50C smart camera. I want to acquire and save images to hdd. Since I don't have LabVIEW installed in this camera, I need to program it in a developing computer and then build aplication for runtime. I created a VI doing that with the webcam of my laptop.
I wonder how can I edit this VI to work with my smart camera.
Solved!
Go to Solution.
Attachments:
Save Sequence.png ‏15 KB

Hi there,
Correct me if I’m wrong, you are trying to log the file into the smart camera’s hard disk? If that is the case then a simple VI of acquiring and saving to disk (make sure the file format is supported) should work on the smart camera, like the ones below:
1. Community: IMAQdx Grab and Save Individual Files
2. Community: Snap and Save Frame From IMAQdx Grab
3. Community: IMAQdx: Save IMAQdx Sequence to AVI File
Add the smart camera on your project, and here is the trick…if the camera has WES7, is just like another laptop with an integrated camera. If the camera has a real time OS then threat the device as a generic RT target.
I hope this helps
Alejandro | Academic Program Engineer | National Instruments

Similar Messages

  • Vision Builder AI Vision Assistant issue with smart camera contrast

    I am using a NI 1776C smart camera with Vision Builder AI 2011.  The contrast is pictures in different from automated mode and running on the PC.  After using vision assisant to process an image (erode, color threshold, lookup), when I run this script from the pc I get a totally different contrast then when I save the script to the smart camera and run in auto mode.  Not sure why this is happnening.

    Did you change any of the camera settings in MAX when testing on the PC? Any change in lighting between the two? Would you post sample images please?
    Troubleshooting the Smart Camera in Measurements & Automation Explorer
    http://www.ni.com/tutorial/6881/en/

  • Problem with Nokia Camera and Smart Sequence

    Hi,
    I'm having a problem with Nokia Camera and the Smart Sequence mode.
    Basically, if you take a picture using nokia camera, and view it in your camera roll, it usually says, underneath the pic "open in nokia camera".
    Well, if I take a pic using the Smart Sequence mode, it just doesn't say "open in nokia camera" so, to use the functions of smart sequence (best shot, motion focus, etc), I have to open nokia camera, go to settings and tap the "Find photos and videos shot with nokia camera" option.
    Does anyone has the same problem? Anybody solved it?
    I already tried reinstalling nokia camera, but that didn't help.
    I'm running Nokia Black on my 925.
    Thanks everyone!

    Hi,
    I had the same problem with my 1020. It did get fixed with the last update to Nokia camera.
    However, IIRC, it didn't just happen right away. When browsing the camera roll I'm pretty sure that the "open with Nokia camera" text wasn't there.
    Slightly disappointed I opened the (Nokia) camera anyway and was going to test the smart sequence again. I noticed the only precious pic I'd taken using this actually appeared top left of the screen.
    I opened it and I had all the smart sequence editing options again - that we're missing previous. Made a new picture and saved it.
    Now when in camera roll the text shows below the image and all is good.
    This probably doesn't help much except that it didn't seem to fix automatically.
    I work @Nokia so I can ask around a bit to see if this is a known / common issue (not that I know any developers)

  • Saving a series of images (from a smart camera) into an AVI file

    Hello,
    I have a lab setup in which we view brain cell deflections in a well-plate after being pressurized with air for 50ms. I have a smart camera hooked up to an IMAQ PCI card to acquire images.
    I'm trying to save the series of images into an avi file, so that I can view the deflections in a slow video.
    The way I have it set up at the moment takes an image and saves it in an avi pre-existing (some random .avi that I didn't need) format. But here are some problems:
    1. I would like for the VI to create a NEW .avi, rather than saving it into a pre-existing one.
    2. Right now, each image simply overwrites the previous one in the avi file. So the resulting avi is a 00:00 length movie with a single image (the last frame that camera viewed).
    I have what I have programmed attached. Any help would be appreciated.
    Thank you,
    B.J. Kim
    University of Michigan
    Solved!
    Go to Solution.
    Attachments:
    forum.jpg ‏1438 KB

    Here is an updated version (attached). I kept trying to incorporate the examples you showed me, and I have made a little bit of a progress.
    It now saves a new avi file, and it's not a single image movie anymore. It's got as many images as I run the VI for. BUT, it only saves the very first image the camera takes and just loops it over and over again until I press stop. So the resulting avi shows a still image of the very first view of the camera for however long I ran the VI for.
    Any suggestions on how I can fix this?
    Thank you,
    B.J.
    Attachments:
    forum2.jpg ‏1190 KB

  • Why my videos recorded with the camera are not saved in the video app? It is saved like a photo.

    Like the title says, why when I record a video, it is saved like a photo and not like a video. I mean that if I go in video app, I can't see my video that I just recorded, I have to search in my photos, but this is a video. I don't understand.
    Thanks

    Pictures and videos you take on the pad are saved in the camera roll. That's just where they go.  If you select it, it should show with a play button to play the video.
    If you sync it back to your computer, edit it and change it, then save it as a video, it will sync back to the pad as a video.

  • Display image in Smart camera web interface

    Hi!
    I need some assistance with LV-RT. 
    What I have succeeded is to enalble the web server on NI 17XX camera and successfully displayed a VI with Image Display on it. I thikn I got the hang of it. 
    What I would like to know is there another way to display images on the camera web page. I really do not need the whole VI up there just an image and a string with serial number. One way I know would work is to write an image file to the system memory and then embed that image to the web page, but I am not sure that is the best solution as writing process takes time and it is not recommended to write too often to the program memory (am I right?).
    So, is there some way to assign some object to say a memory bank and display it (without having to install the runtime maybe) on the page?
    Thank you for your attention,
    Mart

    Hey Mart,
    Going back to your original question; are you looking to stream images to a web page from your smart camera or simple see what your camera is seeing when you go to a particular site? Take a look at the sample project below. It is sort of a work around, but it posts an image to a web service. Essentially it snaps an image, saves it, and then posts the saved image to a web service. You will have to change the file path for the image, then build and deploy the webservice from the project view. Also, it would be beneficial to take a look at the webservice build specifications. The webbing to view the snapped image from your local machine would then be viewable from your web browsers at the address : "http://localhost/Stream_Service/ShowImag"
    Let us know if you have trouble getting this example working. Also, perhaps another visit to what your end goal is would be helpful. What was it that you had working?
    Hope this helps
    -Ben
    Message Edited by BCho on 04-10-2009 02:27 PM
    Hope this helps.
    -Ben
    WaterlooLabs
    Attachments:
    SnapWebService.zip ‏14 KB

  • Smart camera 1742 selecting inspection by tcp/ip and labview

    Hello everybody!
    I´m working with two smart cameras NI1742 where i have some inspection for different products, i´m trying via tcp/ip and lab view 2010 select the inspection for each product. i have configured the tcp/ip connection and test it with the vision builder ethernet terminal, this part works very good, but i can´t do this with Labview where i show images from the smart cameras via shared variables.
    If someone know how can i do it? please, i will be thankful.
    this is my code but there is something that is wrong.
    thanks and regards
    Solved!
    Go to Solution.
    Attachments:
    USER1.vi ‏85 KB

    You are already using the VBAI API in LabVIEW to start the inspection. Why don't use the Open Inspection VI to select which inspection to run and then you don't need a product select state and TCP commands? You can use the Get Target Inspections VI to list the paths to the inspections on your target since they are saved in numbered folders and it won't be obvious what the path is, but once you get the path, it is very simple to just keep one session open to the target and use the API to open inspections, run them, even get images instead of using the variables (you can use Get Inspection Image for the Image or just keep using your shared variable since it sounds like that works fine.).
    There are two possibilities I can think of without more info on why your current setup doesn't work:
    1. When you start the inspection using the API, I don't think product select works, since it is expected that you just use the API to switch inspections. You can test this out by commenting out your VBAI API calls in LV. Start the inspection from the VBAI executable when connected to the target and the Product Select is in use. Run your VI that sends a TCP command to switch to the other inspection and see if it works (you can reconnect from VBAI and see if it's running the new inspection).
    2. There is an error with the TCP command...check the error out of your TCP VIs.
    Again, instead of trying to get your current model working, I would switch to using the API for running inspections and selecting the inspections. If you do use the API, you don't need to stop the current inspection, when changing inspections. The Open Inspection VI will stop any current inspection before loading the new inspection. It will wait until the current iteration is done before stopping the current inspection, and the clean up state of that inspection will be called as well.
    Hope this helps,
    Brad

  • Labview can not detect my smart camera ,1774c

    Hello.
    I have a 1774c camera and a computer with Labview2012 with Vision Acquisition Software and Real Time module installed as well.
    MAX detects my camera and allows me to grab video or snap pictures.
    But when I try to create a Labview vi and use a example to learn,but  no camera is found.
    Can anyone help me with this problem? If you need any more details just ask.
    Thanks in advance!
    Attachments:
    sos.jpg ‏13 KB

    I believe you have to create a target in your project for the smart camera.  To LabVIEW, it is a separate computing device so it needs its own target.  Inside that target, everything should work fine.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • NI-1752 Smart Camera - Timeout without external trigger

    I'm working with an NI 1752 Smart Camera, which is triggered by an Ethernet/IP step. It's loaded with VBAI 2014 and so is my PC.
    Whenever I upload (or reupload) VBAI 2014 to it, Image Acquisition works normally. But it seems like after stopping an inspection in Inspection Mode then changing back to Configuration Mode, Image Acquisition stops working and I get Timeout Error. The error messages states that the "camera didn't receive the trigger signal in the specified timeout period", which doesn't make sense because I'm not using the External Trigger functionality.
    Rebooting the camera does nothing to fix this. Sometimes it starts working again (I wouldn't be paying attention to what I was doing to make that happen), then stops. I tried testing it with all Acquisition Modes (Wait for next image, immediate, buffer) but that makes no difference. The network path from my PC to the Camera has plenty of bandwidth and no latency problems. I set the camera to initialize all steps upon startup, no difference.
    Has anyone else got this problem?
    Thanks,
    Hazim Salem

    Hi Brad,
    Thanks for your interest in this problem.
    I indeed get the same timeout error trying to take images with NI MAX. It gives me error 0xBFFF8004. I found this error in solved forum post, but the solution in that post didn't fix it.
    Also, starting out with an empty inspection and adding "Acquire Image" step doesn't work either.
    So far, I've managed to get the camera capturing images immediate after reboot in Configuration Mode, and also in the first time I switch to Inspection Mode. Switching back to Configuration Mode (this would be the second time), the image acquisition starts timing out. Switching back to Inspection Mode doesn't fix it. Only way to fix it is to reboot the camera.
    Here are some things about this smart camera that might have to do with this problem:
    The camera came preloaded with VBAI 2014. Running on that version, I've never experienced any problems whatsoever.
    We sent the camera to the customer to be installed on-site. The customer didn't have VBAI2014 (forgot to deliver it to them and they didn't ask), so I'm sure they installed VBAI 2013 on it.
    I noticed that re-installing software on the camera does not completely wipe it clean; I've re-installed VBAI 2014 on it 5 times yesterday, and the inspections I had on it are still there.
    Since that's the case, there could probably be some incompatible VBAI 2013 executables or settings that are affecting it.
    The actual problem of Camera timing out started when I configured the camera (in "Configure Target") to run my VBAI2014 inspection on-startup. Once that happened, even when I disabled that again, I started getting these timeout errors.
    Thinking abot that, I'm sure that by resetting the camera to factory default will solve this issue. I'm just curious if there's something wrong I did, or if there's a bug somewhere with software installation.

  • Documents with Smart Objects - Very slow to open and Save - CS6 Photoshop

    When opening and saving documents with smart objects photoshop freezes the adobe PS loader (circle dots) is replaced and the system loader (multi colored wheel of death) spins for 30 seconds or more.
    What I've tried so far based off looking at various posts.
    Photoshop Preferenes
    Save in Background off
    Maximise PSD and PSB file compatability never
    Cache Tile Size: 128k
    Advanced Graphic Processor Settings: Basic & Normal
    Layer Panel options: No Thumbnail
    Observations and workthroughs to date
    The file size and amount of smart objects effects the file expotentially i.e. The more smart objects you have the worse it gets
    These files worked perfectly in PS CS5
    It also happens on files natively created in PS CS6
    The CPU is maxing out at 100% while PS loads
    Closing or opening suitcase has no effect.
    System:
    iMac 27-inch, Mid 2011
    Processor  3.4 GHz Intel Core i7
    Memory  16 GB 1333 MHz DDR3
    Graphics  AMD Radeon HD 6970M 1024 MB
    Mac OS X Lion 10.7.5 (11G63)
    Suitcase 4
    Anyone got any ideas? This is making me go nuts!

    A solution!
    It turns out the problem in my case was in fact Suitcase. Previously, I'd tried turning it off, but that didn't fix the problem, so this time, I uninstalled it completely and the problem disappeared. I then began re-adding it (installed 15.0.1, upgraded it, etc.) and the problem resurfaced with the addition of the Photoshop-specific plugin. Deleting that plugin solved the problem. So it seems that "disabling" Suitcase by stopping the TypeCore doesn't seem to actually disable all of the tentacles it sticks into your system.
    You can find the plugin here: Applications / Adobe Photoshop CS6 / Plug-ins / Automate / ExtensisFontManagementPSCS6.plugin
    (After a restart, I also had to delete the font cache, as described here http://helpx.adobe.com/photoshop/kb/troubleshoot-fonts-photoshop-cs5.html but your mileage may vary.)
    Alternately, if you don't want to delete the plugin, disabling it from within Photoshop seems to work as well. To do that, go to File > Automate > Extensis, click Preferences..., then deselect Enable Suitcase Fusion 4 Auto-Activation.
    Fortunately, the plugin doesn't seem necessary at all to use the the core functionality of Suitcase (enabling and disabling fonts) in Photoshop. I didn't even know what these app-specific plugins did until researching this problem, and I still don't quite understand the point of them. I guess they allow you to let the apps for which they're installed do a little bit more of their own management (enable a font via Suitcase that isn't enabled system-wide), but that seems like more control than I need--if I'm enabling a font, I want all my software to be able to use it.
    Anyway, the problem seems to be completely solved on my system now, though I just did all this, so more testing over the next few days is required. I'll post here if any issues crop up. I'm interested in hearing if this solves it for anyone else as well.

  • Quality Loss when saving Jpeg from Camera Raw

    I am try to do some color correction on 400 wedding photos. I open like photos in Camera Raw then synchronize, make a few additional adjustments and then save the photos as psd files. When I save the files, the quality drops dramatically. I can see pixels and jagged edges (looks like steps) on anything curved. The photographer will not give me the RAW files, so I have to work with these high quality jpegs and I would prefer to use camera raw as it is nice and easy to fix many of the photos quickly. How can I save these files so as to not lose quality? Oh, I am on a Mac.
    --K

    Ramón,
    now I am quite baffled. For years ago I conducted respective tests and demonstrated, that repeated saving with the same "quality" does not introduce image deterrioration; others did the same tests and came to the same result.
    Now, to be sure, I did it again, and the result contradicts my earlier findings. Although the deterrioration is after five consecutive savings practically irrecognizabe without hugely amplifying it, it is there, and that is an issue of principle.
    While it is possible, that I and others made some error in those tests, the question is (for me) what causes the difference.
    I verified, that the encoding parameters are unchanged. Thus the difference must come from the calculation required to transform between the original pixel values and the encoded values by
    a. the conversion between RGB and YCbCr,
    b. the discrete cosine transform (a variation of Furier transform).
    However, any differences resulting from the calculation (iteration, rounding) should be eliminated by the subsequent lossy step, the "quantization" (which is an euphemism for "throwing away most of the data"). Even if there is a difference between the first and second savings, there should not be any between the fourth and fifth savings - but there is.
    One explanation could be, that the encoding and decoding functions work with different precision, though this sounds very outlandish.
    Anyway, darn.
    Re the encoding parameters: they *have to be* stored in the JPEG file, otherwise the data could not be decoded, except by that program, which knows the parameters. However, JPEG is not designed for human consumption but for computers (this fact makes testing a program, which reads or writes JPEG data a serious PITA). The metadata can be analyzed only by a hex editor, and one has to know the structure of that data.
    Re knowing, if the file has to be compressed or not: JPEG is *always* encoded. There are different variants of the encoding method, but there is no "unencoded" version.

  • Is there a way to import iMessage pictures to laptop without saving them to camera roll?

    I send all my pictures from my camera roll to iMessage as soon as I save them. I have over 1000 pictures on there. With out saving them to my camera roll again, is there a way to import them to my laptop? I can get my camera roll images onto my laptop, but not iMessage.I hope this makes sense.

    jemkat wrote:
    I send all my pictures from my camera roll to iMessage as soon as I save them. I have over 1000 pictures on there. With out saving them to my camera roll again, is there a way to import them to my laptop? I can get my camera roll images onto my laptop, but not iMessage.I hope this makes sense.
    Sorry, it doesn't make sense to me. Why would you want to send photos to iMessage that you have already saved to the camera roll and imported to your PC - just to send the same photos back to the PC again?

  • How to save a file with smart object?

    I have just created a file from LR2, by choosing 'open as smart object' in PS.
    I then added a cloning layer and did my cloning.
    When I wanted to save the file, instead of PS turning it in into a PSD with the same name, I now suddenly got the 'save as' pop up screen and '-2' as the recommended name. The original folder where the file came from was not shown.
    I don't know what that's all about, but I'd prefer it would just save the file as a PSD and automatically show the file alongside the NEF in LR2, like it does when I don't use the 'open as smart object' feature. Is this typical for working with smart objects opened straight from LR2?
    Any help will be greatly appreciated.
    Marsel

    Well, like this you open the file s a smart object, so if you want to now clone on a layer but want it to be a part of the smart object then you go to the layer panel and click on the smart object's icon there to edit the smart object and you hit save (command S) and it will save with that layer to your original.
    then when you click the tab or the window that has the original opened as smart object those changes will be reflected, but you will not see your cloned layer active as that is a part of the smart object and you have to open the smart object to get to it.
    What you say! Yes that is what I say that is what a smart object is, you are using the smart object as a part of another document( that is why you are being asked to save as, as this new documents you can now make changes which will not effect the original which is the smart object unless you rasterize it which will make it no longer a smart object.
    What good is a smart object, well there are many say you are using this document or image if you wish in say five projects and the image has been retouched and it is determined it should have some more work done to it all you have to do is retouch the smart object and all five projects are updated.
    You see smart.
    And of course you can d things to all five projects that can be different from one another on other layers without ever destroying the work you have done to the smart object.

  • Is possible to save a vector.pdf with smart object?

    Hi PS masters
    I am finishing a poster, fully created in shapes in illustrator. Due to customers request I was forced to do some color corrections so I decided to use my PhotoShop CS6.
    I imported vector files into my photoshop as smart objects, added some adjustments layer, few vector masks and I changed their layer style to get the finest result.
    When I finished my work in PS I tryed to save this as .pdf
    In my .psd there are shape layers, some groups and some adjustments layers with layer masks and changed Layer style to "color", one text layer and 3 smart objects imported from illustrator.
    I want to keep my image scaleable for bigger resolutions.
    ... So I was trying to save this file as Adobe PDF but I found that whole graphic in exported .pdf was converted to raster, besides the border, cut marks and that one text layer.
    I think that this is becuase of smart objects. (saving as .pdf without them works pretty good)
    Now finaly my question.  Is somehow possible to save this document from photoshop as vector.pdf? or is possible to import group of shapes from illustrator to photoshop as shapes in photoshop? no as smart objects.
    I am running out of time so I saved it as high res .Jpeg, but I want to know if this is somehow possible for future use or If I have to rather avoid that solution.
    Thank you very much for your reactions
    // I just thought if I can use InDesign for that. Will be included .pdf file as raster? or it will stay scaleable even with smart objects in it?

    I am sorry but I don't have vector files right now (I'm on another PC), but I can show you "old" version of a poster, where you can see parts of their structure

  • Using Lion, recent Movies with .mov extension will not play in Quicktime, but earlier ones taken with same camera (Kodak M530) will play fine.

    Using Lion, recent Movies with .mov extension will not play in Quicktime, but earlier ones taken with same camera (Kodak M530) will play fine. I have got VLC which runs them fine but cannot get movies saved in iPhoto to play in VLC...and of course its a real bugger to copy moves from iPhoto to another folder; in fact if anyone can tell me how to do that I will accept defeat!

    Hello Shad:
    Have you downloaded and installed Flip4Mac?
    http://www.microsoft.com/mac/otherproducts/otherproducts.aspx?pid=windowsmedia
    Barry

Maybe you are looking for