Custom confocal question with PCI 1409 based acquisition

We are using a PCI-1409 to acquire a high def and video rate image from a custom confocal system. We use the BNC breakout box to send in luminance, hsync and vsync from the PhotoMultiplierTube and our custom control box. 
Because of the way we scan using resonators, we have two corrections that we would like to make to the video stream and are unsure whether it can be done at the camera level, i.e., put code into the .icd file we made, or if it is something that needs to be completed in LabView. Any help would be greatly appreciated.
Distortion One: We acquire luminance information in both scanning directions. Our image is thus one where every other line is reversed. Is there a way to reverse every other line and register? Right now we double the effective width of the image and then have to crop the image two times, reverse one image stack and then interleave.
Distortion Two: The velocity of the scanning mirrors varies sinusoidally and thus there is some stretching that occurrs at the edges. How would one go about filtering the stream to correct for this? I assume that this is something that would have to be done in LabView as the pixel clock is fixed.
Attached is the .icd file we modified from defaults to achieve a stable image with the two distortions already mentioned.
-sb
Solved!
Go to Solution.
Attachments:
Area_Confocal.icd.txt ‏3 KB

Bruce,
Thanks for weighing in on the matter. I suspected as much although I was hoping that there might be a "line-reversal" option through the camera definition file...such an option is available for other video cards that we use.
For previewing and scanning specimens I would like to do real-time...is there an easy way to throw away the odd lines so that I get an image that does not have the pseudo interlacing issue? Then, when I wanted to capture data I could programmatically use another camera definition with the lines and width doubling and then just post-process later?
smb

Similar Messages

  • Why my image acquisition pci 1409 board could not be detected by matlab image acquisition toolbox?

    i have a National Instruments PCI-1409 image acquisition board that works very well
    with the software provided by National Instruments, whereas it could
    not be detected by matlab image acquisition toolbox when the command
    "imaqhwinfo" was executed. I don't know why. the system is XP and
    DirectX9.
    any of your advice will be greatly appreciated.
    thanks
    yours sincerely
    Jing
    [email protected]

    Is your matlab image acquisition toolbox DirectX based? If so, NI frame grabber will not work for your matlab image acquisition toolbox because it does not provide WDM or VFW drivers.
    Irene He
    [email protected]
    www.hytekautomation.com

  • Any known issues with using JAI-CVM10, Rev. D in Random Trigger Mode w/ PCI-1409

    I am using a JAI-CVM10, Rev. D camera with a PCI-1409 framegrabber. I am having trouble getting it to work in random trigger mode. I used the example vi for JAI-CVM10, Rev. F and am able to get a picture using the internal trigger. However, I lose the video signal if my acquisition frequency is too low (3 images/sec) or I use an external trigger. Has anyone had this problem and does anyone have a solution?

    hi Nan:
    I have same problem with you.
    can you got clear Image? or you got solution.
    Could you tell me how to do.
    Thanks.
    Yang
    [email protected]

  • Sony xc hr50 and pci 1409, snap ok with max 4.0 but nothing with labview

    Good morning folks,
    I have a problem snaping or grabbing image through Labview 8.0 using the analog ccd camera xchr50 from sony.
    I installed the pci 1409 correctly and am able to configure the camera, and snap or grab image from it through MAX 4.0.
    But when it comes to try to snap or grab within my Labview interface, i just come up with an error message saying :
    error 1074397153 occured at imaq snap.vi
    ni imaq cannot detect recognizable video source
    I can't figure out why this error comes out and how to correct it although i can do the same acquisition through max and it goes perfectly well..
    I tried with another camera, same thing.
    Has someone ever had that kind of problem?

    Hello, Gegurissi
    There are a couple of sources available from NI pages for troubleshooting your XC-HR50.
    Using the Sony XC-HR50 Camera in Asynchronous Reset Mode With the IMAQ 1409
    http://zone.ni.com/devzone/conceptd.nsf/webmain/e4187ea9d216f71d86256c0f0068fb7d
    Using the Sony XC-HR50 Camera in Asynchronous Reset Mode With the IMAQ 1409
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3E24B56A4E034080020E74861&p_node=DZ52489&p_source=External
    Please take a look at the document and the sample program attached to the page.
    If you still have a problem, please let us know.
    S.Kazuma
    Application Engineer
    National Instruments Japan

  • How can you expect the customer to have a LOCAL/COUNTRY Based Credit Card every where we go??? Last week I was on holiday in HK,  and  from my Hotel I was able to use m VN Credit Card with my Apple ID and purchase online!  Why THIS WEEK, can't I use my HS

    Apple_ID_card_declined_for_this_country
    How can you expect the customer to have a LOCAL/COUNTRY Based Credit Card every where we go???
    Last week I was on holiday in HK,
    and
    from my Hotel I was able to use m VN Credit Card with my Apple ID and purchase online!
    Why THIS WEEK, can't I use my HSBC Platinum Credit Card from Vietnam,
    for my Singapore Apple ID account ,
    while working here in Vietnam???

    Unfortunately, this is a problem that is driven by the DRM Dictatorship.  Despite the proliferation of mobile devices and the fact that there are many of us who do a lot of international travel, content providers don't want you to have access to their products outside of your homeland.  The Balkanized mentality of the DRM Dictatorship is way out of touch with the modern world.
    At least Apple, to its credit, allows you to use your accounts outside of your homeland as long as you have the proper credentials for them.  Most other services use the more Draconian geolocation filtering which does require you to be physically present in your homeland.  For the most part, you are not allowed to leave home if you want access to your favorite entertainment!

  • How to store jpeg images with IMAQ PCI-1409 without vision or labview

    I have acquired an IMAQ PCI-1409 card and have it working just fine. However the card is being primarily used to aquire images for display purposes only. The only options with MAX are .tiff, .bmp and .png
    It would be nice to be able to store images as .jpeg which would be easier to share with other people.
    Is this possible or do I have to compress the images using another software?

    Hello,
    Thank you for contacting National Instruments.
    Unfortunately, as you mentioned, the only save options available in MAX are TIFF, BMP, and PNG. In order to save the image as a JPEG, you will need to use another software program. Microsoft Paint will allow you to save/convert any of these types to JPEG format. Other programs (Adobe Photoshop for example) allow you to customize the compression used, but Microsoft Paint does not.
    Best Regards,
    Jesse D.
    Applications Engineer
    National Instruments

  • A problem taking images with a PCI 1409

    Hello all, I've a CCD camera throug I try to acquire images by a PCI 1409 card. Im configuring the device throug MAX and seens to work fine, but when I'm using the snap block or minor level I cant see anything, the image turn black. I've search in other forums and I've found that the moving the range it can be fixed, but even changing this, the image does not change just take a solid gray escale color. I taked some screen prints.
    If someone can give a hand with this, I'll really appreciate it.
    Many thank,
    Andrés Felipe Gómez
    Attachments:
    max1.JPG ‏249 KB
    snap_LL.JPG ‏226 KB

    Hello, I did it, but i have the same problem I look in other forums about the conversion method but it doesnt works. I dont know what happend.
    Always a solid color (grayscale) image appear .
    Thanks for help.
    Mensaje editado por Anfego

  • Is the IMAQ PCI-1409 compatible with the JAI CV-M30 camera?

    Does the IMAQ PCI-1409 support the double speed and partial scan modes of the JAI CV-M30 camera?

    In theory the PCI-1409 should work with the JAI CV-M30; however, National Instruments has not tested that particular camera with our PCI-1409. Since the camera can output the pixel clock, if necessary you could put the PCI-1409 in External Lock mode to lock to the camera signals. You may also need to adjust some of the settings in MAX.
    If you need more direct assistance on this matter, please contact National Instruments technical support directly.
    Best regards,
    Dawna P.
    Applications Engineer
    National Instruments

  • Data acquisition and frequency generation togather with PCI-6251 and LV8.2

    Hi friends,
    I am a new user of Labview. I am using LB8.2 with PCI-6251 .
    I have to generate frequency and then measure the data and then for next frequency and so on.
    i know that for this i have to use looping and that is not a problem. The real problem for measurement is to identify whether the frequency is been generated. if yes then measurements starts otherwise it should wait until it started. then after finishing the measurements send a signal to generator for changing the frequency and amplitude.
    Now these two things {generation and measurement} togather are not working correctly for me. so i make 2 diff file, one for generation and other for measurements <by modifying the examples>. I can run both file togather and it works. But it need lots off effort and time. I have to measure from 10Hz to 1000Hz in 2Hz frequency step and i cannt leave in between .
    can anyone help me how to syncronize these two togather .
    Trying to attatch. both the files here ..
    main_v1.1.vi --> for Measuring
    Oscilloscope.vi --> for waveform generation
    Attachments:
    main_v1.1.vi ‏150 KB
    Oscilloscope.vi ‏37 KB

    Hay thnx dude..
    I found the example and now it works
    once again thanks a lot

  • Using a laptop for image acquisition in combination with PCI-1428/PCI-8252

    I am not too confident about PCMCIA framegrabbers so that I would like to use either a cameralink camera with the PCI-1428 or a Firewire one with PCI-8252.
    Are there any obstacles accommodating the PCI cards in an PCI Expansion box?

    You could do it, but why? Just get a firewire card for the laptop and go direct. You can get them with external power supplies to power the camera. It will work just the same and you won't have to lug around a big box with all your other equipment.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • Using FMS v4.5.5 with a browser-based audio player running on iPad/iPhone

    Hello,
    I’m seeking some clarity/guidance on using FMS v4.5.5 (Streaming Edition) with a browser-based audio player running on iPad/iPhone (i.e. under iOS).
    Background
    I have a Microsoft Windows 2008 R2 Web Server running IIS v7.5 and supporting a website built using ASP.NET and C#. Parts of the website allow a visitor to play a selection of audio clips from our bespoke MP3 library. Due to UK music licencing constraints, we must stream the clip to the client browser – we must not download either part or all of the source MP3 file(s). We therefore had a custom audio player built for us some time ago using Flash/AS3. This has and continues to work very well, and uses RTMP to stream the clips from FMS to the client browser.
    As our site has become more established the number of visitors has steadily grown. In the early days the number of visitors from the iOS platform was relatively small but, last month, it had risen to 40%! As Flash is not supported on the iOS platform, this growing group of visitors are unable to fully maximise the benefits offered by the website, which I am now trying to address.
    What I’m Trying To Do…
    From what I’ve researched and read, I believe that FMS v4.5.5 supports HLS and I need to use this (instead of RTMP) over HTTP between FMS and the iOS Safari client. I have been experimenting with an Open Source player (JPlayer) and a commercial player (JWplayer) and appear to have these playing a MP3 file as a “progressive download” (I think that’s the right term) as all I’m doing is specifying the file path (no HTTP prefix etc.), i.e. the audio is not really being streamed as I require. Unfortunately, I’ve not found / worked out how to configure my FMS to respond to a path request along the lines of:
    http://www.myserver.com/live/audio1.mp3
    Hopefully someone reading this who is much more expert on FMS, HLS, HDS, HTML5, etc. than me can point me in the right direction!
    What I’m confused about…
    1) Can all my MP3 assets stay as is and still be streamed to the iOS Safari client? To the best of my knowledge, the key properties of my MP3 files are CBR, 44,100Hz, 320Kbps.
    2) If not, can they be converted on-the-fly by FMS or do I need to create additional audio assets to support HLS etc.?
    3) If I have to manually create additional audio assets, how do I do that (I’ve seen references to tools from both Adobe and Apple but not actually found the kits)?
    4) Some of the Adobe documentation I’ve read implies that FMS support for HLS etc. is only available when FMS is used in conjunction with the bundled Apache web server. As stated earlier, my entire site runs on IIS so does that mean to achieve what I want I’ll have to run two web servers on my physical server – IIS for the website itself and Apache for RTMP/HLS/etc.?
    5) What changes do I need to make to my current FMS configuration to get HLS to work? I’m sure someone has been here already and can enlighten me with their experience and hopefully point me to some straight forward documentation to follow!
    6) Lastly, and really part of (5), once I’ve got FMS configured correctly, what would be the typical path to a given MP3 audio file that I would give the iOS Safari browser to make this all work.
    I appreciate this is rather a lengthy first post but hopefully the background puts my questions (and confusion!) in context. Bottom line is… I simply want to be able to stream audio clips only (no video) to iOS Safari browsers from FMS v4.5.5 running on a Win2K8R2 platform with IIS v7.5, and with no audio content being stored (even temporarily) on the iOS platform.
    My thanks and appreciation in advance to anyone who can help me achieve this.
    Steve Barker
    Business IT Solutions

    Hi Apurva,
    Thank you for your reply. Unfortunately I am not much further forward, despite having read more Adobe documentation (FMS v4.5 Configuration and Administration Guide, FMS v4.5 Developer’s Guide) and trying different configuration options.
    First to confirm a point you made when answering point 4 yesterday. Yes, in my current RTMP scenario I have several MP3 assets (let’s call them Audio1.mp3, Audio2.mp3, Audio3.mp3, etc.) that are made available to a bespoke Flash/AS3 player via the LIVE application. I understand that as I purchased the Streaming Edition of FMS v4.5, a Flash-based player is restricted to using the LIVE application. You go on to say that I “publish” these assets to the LIVE application. I set this up a while back but do not recall having to “publish” anything. All I recall doing was to ensure that all the assets (the .mp3 files) were in a single folder and that the folder was identified by the <Streams> tag in the following file (example shown):
    Flash Media Server 4.5\applications\live\Application.xml
                    <StreamManager>
                                    <VirtualDirectory>
                                                    <Streams>/;C:\MP3Library</Streams>
                                    </VirtualDirectory>
                    </StreamManager>
    To the best of my knowledge, I didn’t have to do anything else to make the current solution work. Having read more of the documentation I am still none the wiser as to what I need to do (step-by-step) to “publish” my converted MP3 assets (see next paragraph) to the LIVEPKGR application. Please could you explain these steps to me by way of an example.
    WRT your answer to point 1 yesterday, I wish to clarify the exact output I need to create when converting my MP3 assets. Am I expected to produce a Audio1.aac file, or a Audio1.mp4, file, or a Audio1.m4a file, etc.? Or am I meant to be using ffmpeg (either directly or indirectly) with a much more sophisticated command line that somehow generates stream-rated info/files as well? An example of how you would use ffmpeg to convert one of my MP3 assets would be very much appreciated.
    Lastly, the coexistence of IIS and Apache (ref your answer to point 2 yesterday). That all made sense but given all the testing/changes I’ve been making I thought it wise to start afresh! So I completely removed FMS from my dev server and re-installed Flash Media Streaming Server v4.5.5 with the bundled Apache v2.2 server. When presented with the dialogue “Would you like for Apache to listen on port 80. If not FMS will be using port 80 instead.” I answered NO. When presented with the dialogue regarding FMS server ports, I entered 1935 NOT 1935,80 (should I have done that as the preamble makes reference to HTTP webserver proxy and HTTP Dynamic Streaming origin services?). I then modified the Application.xml file as described above.
    To test the new set-up, I did the following. First, the test environment…
    DEV Server
    Windows Web Server 2008 R2 SP1
    IIS v7.5
    ASP.NET v4.0
    Flash Media Streaming Server v4.5.5
    Apache v2.2
    IE v9.0
    Adobe Flash Player 11 ActiveX v11.5.502.146
    TEST Client
    Apple iMac (Intel)
    Mac OS X v10.6.8
    Safari v5.1.7
    Adobe Flash Player 11 Plug-in v11.5.502.146
    On DEV Server… launched IE and loaded the home page of my website, which has two elements on it – one to load/run our bespoke Flash player, the other to run JPlayer (configured to use HTTP). I selected our bespoke Flash player and it played a MP3 audio file. I verified this in real-time via the FMS Admin Console on the server.
    On TEST Client… entered http://192.168.20.250:8134 into Safari – it comes up with the FMS install completed / test your server page. In the middle of the video display area a black box appears saying “10000 OK” – I clicked OK. I then clicked HDS Single Bitrate – the video plays (Not Using Hardware Acceleration is briefly displayed). There is NO activity logged in the FMS Admin Console back on the DEV server under “live”, “livepkgr” or “vod”. I assume this is because I’ve gone straight to the Apache Server via the port reference – is that correct? Next I tried the HLS Single Bitrate – same results.
    The HDS Single Bitrate logs the following in the Apache access_log file:
    "GET /hds-vod/sample1_1500kbps.f4v.f4m HTTP/1.1" 304 - "-" "Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549"
    The HLS Single Bitrate logs this:
    "GET /hds-vod/sample1_1500kbps.f4v.f4m HTTP/1.1" 304 - "-" "Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549"
    "GET /hls-vod/sample1_1500kbps.f4v.m3u8 HTTP/1.1" 304 - "-" "Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549"
    "GET /hls-vod/sample1_1500kbps.f4v.m3u8 HTTP/1.1" 200 816 "-" "Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549"
    "GET /hls-vod/sample1_1500kbps.f4vFrag1Num0.ts HTTP/1.1" 200 1143416 "-" "Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549"
    "GET /hls-vod/sample1_1500kbps.f4vFrag1Num1.ts HTTP/1.1" 200 873072 "-" "Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549"
    "GET /hls-vod/sample1_1500kbps.f4vFrag2Num2.ts HTTP/1.1" 200 1591984 "-" "Apple Mac OS X v10.6.8 CoreMedia v1.0.0.10K549"
    etc…
    At this point I’m stuck once again since I’m not clear how to construct the JPlayer HTTP reference. You have suggested:
    http://192.168.20.250:8134/hls-live/livepkgr/_definst_/livestream/livestream.m3u8
    That produces the following in the Apache error_log file:
    [error] [client 192.168.20.4] File does not exist: D:/Program Files/Adobe/Flash Media Server 4.5/webroot/hls-live
    If I change the JPlayer HTTP reference to:
    http://192.168.20.250:8134/hls-vod/sample1_1500kbps.f4v.m3u8
    the audio from the video plays.
    Also, if I look in the applications\livepkgr folder structure there is only \events (with sub-folder _definst_ and sub-sub-folder liveevent) – there are no _definst_ , livestream , streams folders etc. So besides me not quite understanding the logic/flow here, I seem to be missing a few folders/files too! I’d be very grateful for any light you can shed on all this. Plus an example of what my HTTP string should ultimately look like; for example:
    http://192.168.20.250:8134/hls-live/livepkgr/_definst_/livestream/Audio1.m3u8
    Apologies for such a long reply but I’ve been at this for over 10 hours today! I feel I’m getting closer but clearly there are still some gaps and configuration errors.
    Thanks again for your time, support, patience and understanding.
    Kind Regards, Steve

  • Absolute Noob question re: PCI card

    I've just been given an iBook G4 800Mhz. This is is my first Mac, after many years with PCs.
    I noticed that it does not have a PCI Card slot. I have a couple of things that are PCI card based, and I was wondering if there's any kind of adapter available that could be used to connect them to the iBook via FireWire or USB.
    Is this possible, or do I need to get another laptop that has the PCI card slot?
    TIA,
    Naraman

    John, I mean PCMCIA not PMCIA. I googled for PCMCIA cards, and there are such cards available. See http://www.pcmcia.org/pccard.htm
    Perhaps my question is framed incorrectly. My iBook does not have a PCMCIA Card slot. It has USB and FireWire ports. I want to know if I can add PCMCIA Card support through an external adapter which will connect through the USB or FireWire ports.
    Kumar

  • Generate Adobe Interactive Form with XML Schema-Based Interface

    Hi,
    I need to generate a adobe Interactive but with XML Schema-Based Interface, i have one example but with ABAP Dictionary-Based Interface.
    CALL FUNCTION 'FP_JOB_OPEN'
      CHANGING
        ie_outputparams       = fp_outputparams
    * EXCEPTIONS
    *   CANCEL                = 1
    *   USAGE_ERROR           = 2
    *   SYSTEM_ERROR          = 3
    *   INTERNAL_ERROR        = 4
    *   OTHERS                = 5
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
      EXPORTING
        i_name     = 'ZMMDM_CL'
      IMPORTING
        e_funcname = fm_name.
    But when i call the next function for print i need the docxml parameter and i don't know how to get it
    fm_name
    CALL FUNCTION fm_name
      EXPORTING
       /1BCDWB/DOCPARAMS        = fp_docparams
    *    /1bcdwb/docxml           =
    * IMPORTING
    *   /1BCDWB/FORMOUTPUT       =
    * EXCEPTIONS
    *   USAGE_ERROR              = 1
    *   SYSTEM_ERROR             = 2
    *   INTERNAL_ERROR           = 3
    *   OTHERS                   = 4

    1) this questions was asked many times before, you didn´t search for a second
    2) I am not aware of any standard solution
    3) custom solution: use XSLT transformation ID to get XML from the filled DDIC structure and use string operations to add the header and footer to create a valid XML.
    Regards Otto

  • Errors using IMAQ PCI-1409

    I'm getting an error when running a fairly basic VI to acquire a sequence from the PCI-1409 card. It is -1074397110 Exhausted resources (general). It's occurring in the 'generate pulse' bit. As far as resources go, the number of buffers in MAX is still the default 50 and I'm only trying to acquire a sequence of 2 frames at this point. Has anyone got any clues as to where I'm going wrong? If I use grab in MAX it works fine (get's 25fps).
    Attachments:
    1409capturetriggersub.vi ‏72 KB

    Ah, brilliant thank you! That's stopped that error occurring. However, I'm now getting "error -1074397150 in IMAQ Sequence.vi", " Wait timed out; acquisition not complete." I guess this is because my pulse doesn't seem to be being produced as I've got the line trig 0 (and it's associated ground) hooked up to a scope and nothing's happening so the sequence capture is timing out waiting for the pulse. Any ideas what else I'm doing wrong with the pulse to cause this?
    Thanks again!
    Attachments:
    1409capturetriggersub3.vi ‏75 KB

  • Writing a Compressed AVI File in NI LabWindows/CVI with the IMAQ Vision Acquisition

    I'm still facing some problems when I try to save pictures from a GigE Vision camera into a compressed avi-file in a LabWindows/CVI application on Windows7.
    The task is to grab images from the camera with 30 fps to monitor a process, evaluate the grabbed pictures to find certain characteristics of the monitored process and save them in an avi-file to have the possibility to load and evaluate them once again Offline if necessary.
    My questions: which compression filters can I get with the NI-Imaq Vision Acquisition and Vision Development Runtime 2012 SP1? Is a mpeg4 codec available to compress quickly and effective? Can I use a third party codec or only the ones delivered with NI-Vision?
    I posted the problem two times already, but there is little response up to now. Thanks

    The encoding algorithm, or codec, that's used for compression needs to present on your system. When I had done some research on this sometime back, I found that if your custom codec could align with the DirectShow architecture, then your codec would work with IMAQ AVI functions.The codecs that are available may vary from system to system, depending on what software is currently installed. Be sure to check out this article:
    Writing a Compressed AVI File with the IMAQ Vision Acquisition Software
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

Maybe you are looking for

  • My goals; what are my needs?

    Hello folks, I currently have a MacPro and in many ways I regret the decision. I am a grad student but also I composer/musician. I have Logic Pro and I mainly use it to sketch out ideas for new works. I only use it to create demos and never mastered

  • Sales analysis for selected reps

    Hi, I'm trying to find a way to use SAP's existing Sales Analysis reporting function to run a sales analysis report by a group of salesreps.  These salesreps are in a territory, so want to pull 1 sales analysis for this territory. For example, I have

  • Error when creating link to documents from material

    Hi all, while creating the purchase order the error message "Error when creating link to documents from material 61260224060" is displayed. why this error message is displayed.? Regards, GaneshRaja

  • DVD doesn't burn anymore

    I was burning a data DVD in Toast and I tried to abort the burn because I'd left off some files. I then tried again and the burn keeps failing. I made a disk image and trying burning that from Disk Utility and it failed as well with this error messag

  • My home button is not very responsive and I have to click it few times to get it to work. What do I need to do to get it fixed?

    My home button is not very responsive and I have to click it few times to get it to work. What do I need to do to get it fixed?