Camera works in MAX but not in LabVIEW

I've been struggling a lot with getting a DCC3240M camera from Thorlabs working in LabVIEW. The supplied software (Thorcam) works as it should. However, the LabVIEW SDK does not work as it should, it gives an error 155 "the operation is not supported".
Instead of the SDK I tried the DirectShow drivers and now the camera turns up in MAX and works as it should. It also shows up with IMAQdx Enumerate Cameras.vi and in the Vision Acquisition Express vi. BUT when I try to run either IMAQdx Open Camera.vi or the Express-vi it doesn't work. Open Camera gives a DirectShow error code 0x80040275 "No capture hardware is available, or the hardware is not responding." And when i try to select the camera in the express vi, a red icon appears and I can only select "Cancel":
It's really really annoying that the camera evidently works with the provided drivers, but I cannot use it in LabVIEW.
I would be grateful for any ideas of what is wrong. I am running 32-bit LabVIEW on 64-bit Win8.1.

Issue solved!
I thoroughly removed all drivers that came with the camera and then I installed the manufacturers drivers (IDS) instead of Thorlabs drivers. And now it works, the camera still shows up in MAX and doesn't work. But now the provided VIs work. So I'm happy. It only took me a week to figure it out.

Similar Messages

  • Why is my USB camera recognized in MAX but not in LabView?

    I am trying to use myRiO to acquire video using a Logitech HD Pro Webcam C920. 
    I am using LabView 2013 and have the NI-IMAQdx 4.2.0.3.0 software installed on the myRIO. 
    I have tried a couple sample programs: https://decibel.ni.com/content/docs/DOC-3587 and https://www.youtube.com/watch?v=L7tMeKshd38. 
    I plugged my Logitech camera into the myRIO USB port. In both cases, LabView failed to recognize my Logitech camera. However, in both cases, it was able to use the integrated Webcam in my laptop to acquire images. When I disabled the integrated camera, it did not find any camera. 
    Here is a screenshot of the error when I disabled the integrated camera:
    However, when I look at the MAX, the Logitech camera appears and is able to acquire images:
    David York

     
    yorkdav1 wrote:
    I am trying to use myRiO to acquire video using a Logitech HD Pro Webcam C920. 
    I am using LabView 2013 and have the NI-IMAQdx 4.2.0.3.0 software installed on the myRIO. 
    I have tried a couple sample programs: https://decibel.ni.com/content/docs/DOC-3587 and https://www.youtube.com/watch?v=L7tMeKshd38. 
    I plugged my Logitech camera into the myRIO USB port. In both cases, LabView failed to recognize my Logitech camera. However, in both cases, it was able to use the integrated Webcam in my laptop to acquire images. When I disabled the integrated camera, it did not find any camera. 
    Here is a screenshot of the error when I disabled the integrated camera:
    However, when I look at the MAX, the Logitech camera appears and is able to acquire images:
    David York
    David,
    Have you tried deleting your "session in" control & recreate it? I have come across situation a while back where the control did not get refreshed with latest values from Max and it gave me pretty much same errors as what you see (I believe it was due to a small name change of the resource which did not get refreshed in the session control).  I say that because you mentioned camera resource getting detected properly with Max & working. Doesn't hurt to give it a try...
    -BTC

  • Why does the counter work in MAX, but not Labview?

    Please help, I have been away from Labview for over 3 months, and I am quite rusty....
    Last year, I successfully configured NI9401 to measure period (seconds) by counting the rising edges of my sensor signal.  Since then, I have aquired a new PC, and loaded all my software into it, including the Labview VI's that successfully worked on the old computer.
    I can see the digital signal using MAX and the test panel for the NI9401, so, I know my wiring and my TTL signal is OK, but, when I try to run the attached VI, nothing happens except the error below..  How do I tell this VI to look for the signal on MOD3/CTR0 and channel 14?
    Thanks. I am sure it is a small adjustment...this worked fine a few months ago...not sure what is wrong now.
    Thanks,
    Dave
    Solved!
    Go to Solution.
    Attachments:
    continuously measure period buffered_singlechannel_forum_feb_23_2012.vi ‏20 KB

    OK, now.  Resolved the issue. The vi is fine, but, some shaky wires were identified...worked in MAX but not in the vi.  Now that the connections have been tightened up, it works for both.  Sorry for the inconvenience.
    Dave

  • Camera detected in MAX but not found in Labview

    Hello,
    I have a Thorlabs USB camera (DCC1645C). I have installed the drivers, and MAX is detecting the camera but when I try to open the camera with NI-IMAQdx, it doesnt appear. I have also tried to open the camera with NI-IMAQ but I wasn't able.
    If I try with Vision Express/Vision adquisition, the camera is displayed, I am able to select it and configure the camera adquisition, but when I execute the program there an error: "camera not found".
    It would be great some help.
    Thank you
    Solved!
    Go to Solution.

    Hi,
    What is your LabVIEW version, your Vision software versions and iMAQdx version?
    Since Thorlabs is using USB 2.0, you can read about the USB 2.0 section of this link: http://digital.ni.com/public.nsf/allkb/4331B4AA3AE95233862574C200539A2F 
    Check if you have the required iMAQdx driver and its compatibility with your other NI softwares: 
    http://digital.ni.com/public.nsf/allkb/DB928F6D5E9D6B97862579A7006B2850
    http://digital.ni.com/public.nsf/allkb/4A127014CA6E006B8625787A0066D329
    http://digital.ni.com/public.nsf/allkb/244E6DDF9A92A6CD8625730100629047
    NI IMAQ for USB Cameras:
    http://www.ni.com/example/30030/en/
    Thanks 
    Warmest regards,
    Lennard.C
    Learning new things everyday...

  • Device works using max but not with VI

    Hi All..
    I am able to control a kepco power supply with comminicating by MAX. But with VI (7.0) that has the same command structure it s not possible..Moreover, i dont get any error message either. Could you have a look the VI attached and make ur comments.
    thanks
    Attachments:
    sweeping current.vi ‏79 KB

    I have localized where there are something strange happening.
    I attach 2 VIs one of which works but not other one. The only difference is that  the working one writes data to Writing VI via buffer. When I change buffer to string it doesnt? It doesnt any make any sense to me.. What is wrong?
    Attachments:
    writing_data_not_works.vi ‏50 KB
    writing_data_working.vi ‏47 KB

  • 2 Lenovo ideatab A2107A, front facing camera works on one but not the other

    i just purchased two of the same lenovo ideatab A2107A from best buy and i noticed that when trying to take a picture on one i was able to zoom in and change to the front facing camera.  The other i can get into the camera, but i cannot zoom in nor can i switch to front facing camera (the icon is not even there).  the other camera works well, zoom, video and all, the other i cannot zoom and i cannot switch, any thoughts besides factory resetting?

    hi catfish197621,
    Welcome to the Lenovo Forums.
    You can try to:
    1. Download the latest updates Over The Air (OTA) to get the latest patches and bug fixes on the OS (go to settings > about tablet > check for system update).
    2. Download a camera app utility like Camera Zoom FX to see if you can zoom in and out and switch to the front facing camera.
    Hope this helps.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Device works fine with MAx but not with Labview visa serial

    I have a Monarch rpm sensor hooked up to Monarch tachometer , it gives error while coding in labview and works fine in Max if the sensor doesn't read 0. I have written simple RS-232 programs never had an error but this one is giving errors ..not ablt to fix it..please help
    Solved!
    Go to Solution.

    No device can actually measure a speed of zero.  It can only specify that the speed is less than some minimum, which depends on how long you are willing to wait for an answer.
    I do not know anything about your instrument, but I would guess that you are getting an error which is the equivalent of "The instrument has waited the maximum permissible amount of time and did not detect any measurable motion."  This is the instrument's way of saying that the speed may be zero, or very slow, or something is broken so that it cannot make a measurement but it cannot detect the problem.
    Look at the manual for you instrument to see how it responds to the zero speed condition.  This error may be normal.  If so, you need to capture the particular error code and handle it however you think is appropriate.
    Lynn 

  • FPGA target visible in MAX but not in LabVIEW

    Hey!
    I recently installed a RIO device. Before installing the hardware, i installed FPGA module & RIO 3.0 as directed. Now i can see the device in measurement & automation explorer, but its not in 'Add targets & devices' list. It says 'No devices found' in existing devices tab. I cant understand the problem. :/
    Solved!
    Go to Solution.

    That's interesting...seems like a similar post to this:
    http://forums.ni.com/ni/board/message?board.id=280&message.id=6481
    Try to follow the suggestions mentioned in there and post back if you still have issues.
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • Nikon D4s/WT-5: controlling camera works with iPad but not with iPhone 5s

    The iPad is too big to use in the planned project, the iPhone is small enough.
    The iPad and iPhone both connect to the ad hoc net created by the D4s/WT-5.
    With iPad I can view and control the camera using Safari browser, which shows the control window.
    With iPhone I get the same window, but it is inactive, the buttons are dead, no live view either.
    The Nikon Wireless Mobile Utility does not support then D4s.
    Advice ??

    See if any of the information contained in this support document helps you check to make sure it is configured correctly. Connect your iPhone, iPad, iPod touch, and Mac using Continuity

  • ISight Camera working with Skype but not iChat/Photobooth

    Hi there,
    may you can help?!
    My external FW-iSight is working on Skype and facetime - not on iChat or Photobooth.
    When I disconnect my new Apogee Ensemble the iSight is working.
    Isn't it possible to use more than one FireWire-port???
    Power-problem?
    How can I fix it without buying a new CinemaDisplay?
    Thanks for help
    nils

    nils wrote:
    Hi there,
    may you can help?!
    My external FW-iSight is working on Skype and facetime - not on iChat or Photobooth.
    When I disconnect my new Apogee Ensemble the iSight is working.
    Isn't it possible to use more than one FireWire-port???
    Power-problem?
    How can I fix it without buying a new CinemaDisplay?
    Thanks for help
    nils
    Welcome to Discussions, nils
    (1) External iSight can be difficult to use with other Firewire devices or certain AV software.
    More info: http://www.ralphjohns.co.uk/EZJim/EZJimpage6.html
    If you must use iSight with the hardware or software that is causing your conflict, perhaps adding a separate Firewire card for your external iSight will help you.
    (2) Searching Discussions shows that other users have also encountered problems with Apogee Ensemble:
      http://discussions.apple.com/thread.jspa?messageID=9877690
      http://discussions.apple.com/thread.jspa?threadID=605949
    My web search for "Apogee Ensemble known issues Mac OS X" returned several other items.
    Although none of the posts that I saw specifically addressed your external iSight issue, something in one of them may give you ideas if your problem is not otherwise resolved.
    (3) If you have not already done so, check Apogee's Ensemble FAQs for relevant info:
      http://tinyurl.com/2aetb5s
    For instance, if you have updated Ensemble's Firmware, the first FAQ might be of interest.
    (4) If all else fails, consider email support directly from Apogee:
      http://support.apogeedigital.com/index.php?option=com_forme&Itemid=186
    Mac Pro Quad Core (Early 2009) 2.93Ghz Mac OS X (10.6.5); MacBook Pro (13 inch, Mid 2009) 2.26GHz (10.6.5)
    LED Cinema Display; G4 PowerBook 1.67GHz (10.4.11); iBookSE 366MHz (10.3.9); External iSight; iPod4touch4.2.1

  • TS1538 I phone 3gs wont show up in Itunes, it worked in the store, the phone is recognised as a camera by the computer, but not in  itunes. itunes recogises my ipod. I have taken every step on the troubleshooting page even the unistall and reinstall i hav

    I phone 3gs wont show up in Itunes, it worked in the store, the phone is recognised as a camera by the computer, but not in  itunes. itunes recogises my ipod. I have taken every step on the troubleshooting page even the unistall and reinstall i have vista

    iOS: Device not recognized in iTunes for Windows

  • Serial communicat​ion works in hypertermi​nal but not in LabView

    Hello,
    I am trying to control an APP Automated Pressure Controller using LabView 6.1 via a serial connection.  I am able to control the system with Hyperterminal but not with LabView.  I set used the same setup (9600 baud, 1 stop bit, no parity, no flow control, etc) in LabView that worked in hyperterminal.
    According the the documentation from the Pressure Controller: "Every character that is sent to the controller is echoed back to your computer so you can check to see everything is working.  When a valid command is given, the controller will also send a carriage return (acsii 13) followed by a line feed (ascii 10) to signify the command was executed.  Before sending any commands, the program should clear any characters in the input buffer that may be there from previous responses."
    In hyperterminal, when I type in a command such as "OA", the Pressure Controller responds (without pressing enter or any other keys) and I can see the "OA" on the screen.  As soon as the Controller is done responding, the cursor moves down to the next line (which I assume is caused by the carriage return and line feed) and waits for the next command.
    I have tried to use the Serial Communication.vi with no success.  Does Hyperterminal add (or Labview omit) a special character or command that I am missing?  Do I need to do something special to clear the input buffer in LabView?
    Thanks for any help.
    Alex

    Hello,
    Try to run your application in other system (computer),
    frequently some PCs configurations are not recognized by LabVIEW serial
    routines. I do not know exactly the problem but is not the first time I know
    that kind of problem.
    Sometimes the problem comes from the serial property called
    Termination Character that enables receive buffered data once you have a
    Carrier Return or a Line Feed symbol (Hex 0D/0A) character into the buffer. Try
    to set it true and assign a 0A Hex Value.
    For sending information you need to finish all command
    message with an enter symbol concatenating both (Message + Hex 0D0A) using the
    special character in the string palette library. This action permits system to
    put out buffered data. 
    Good Look

  • Mac mini webcam works on facetime but not oovoo

    I am using a Rocketfish hd webcam and it is working on facetime but not on oovoo. Can someone provide a solution?

    P.S.
    If the third-party support info and help does not get it working for you, you can also use OS X Mavericks recovery or reinstall to repair your startup disk or reinstall OS X 10.9.
    Also Apple's http://support.apple.com/kb/HT2090
    (Over time, Apple has changed the built-in camera's name on newer Macs from "iSight" to "FaceTime" and then to "FaceTime HD."  Regardless of the name of your Mac's built-in camera, the same info and troubleshooting applies.)
    Message was edited by: EZ Jim
    Mac OSX 10.8.5

  • CS6 Plugin works on windows but not mac

    Hi,
    We have been developing a plugin for InDesign since CS3 and have recently ported it to CS6 (it was ported to all previous versions too, as they came out).
    I followed the porting guide etc. and on windows it compiles and runs just ok - the plugin works correctly.
    But when i compiled the same files on our mac machine and put the .indesignPlugin file in th plugins directory i can't see our plugin's context menu.
    I can see that it is in fact loaded on startup (when i remove it ID loads 325 extensions, when i put it back - 326), but still it dosen't seem to work...
    I initially thought that the versioning was off but our PluginVersion resource relies solemnly on SDKDef.h , i also tried putiing the file in CS5's plugin directory and got an error message that CS6 is required - so the version info is fine i guess.
    We are using xCode 3.2.5 (because we have to support Mac OS 10.5 and 10.4) to build on mac and i've never had problems before - it worked on CS4, CS5 and CS5.5.
    The changes i made when porting were minor and only in the code - so what has changed? and how come it works on windows but not on mac?
    Any input is greatly appreciated, i've already spent days trying to understand this.
    Thanks,
    Dan.

    Hi and thank you for replying.
    The resources do get compiled correctly (i assume this because we do get a .indesign file at the end - which means the ODFRC ran ok). they are linked correctly in the mac project (i saw a file that determines the version - it's linked the same way against my win and mac projects and the win version works fine so i guess that's ok too).
    the context menu is just another menu on the "menu bar" (don't know how to call it?) - i.e where the "file" and "edit" etc. menus are.
    I can't seem to understand how come this works fine under windows but not under mac - they are essentially the same projects linked against the same resources (the difference being iCode vs VC10 projects).
    can this be related to the fact we're using xCode 3.2.5?
    Thank you.

  • Specific extractor works in DEV but not in QUAL

    Hello Everybody
    I have new problem : I created a specific extractor ZCRM_SRV_PROCESS_I based on specific FM based on RSAX_BIW_GET_DATA_SIMPLE.
    This extractor have to retrieve specific fields of Service Order Item (linked document type BUS2000116)
    In DEV it works fine for loading INIT & DELTA
    In QUAL, loading INIT does not work but loading works for some records...
    Loading finish with following message :
      System Response
      Caller 09 contains an error message.
      Further analysis:
      The error occurred in Extractor .
      Refer to the error message.
    Job is cancelled in source system with small text :
    19.04.2011  14:51:05  Job started
    19.04.2011  14:51:05  Step 001 started (program SBIE0001, variant &0000000022545, user ID ALEREMOTE)
    19.04.2011  14:51:05  Asynchronous transmission of info IDoc 2 in task 0001 (0 parallel tasks)
    Do you know why it works in DEV but not in QUAL ?
    Thank you
    Cyril
    Edited by: cyril meslin on Apr 20, 2011 9:53 AM

    There is no problem of authorization. In RSA3 it's ok for some records but too long for full of records.
    In fact, my FM make a first select after to be determined init or delta mode :
    IF i_updmode = 'D'.
            SELECT i~guid h~object_id h~guid h~process_type
                     INTO TABLE st_zcrmt_bw_i       
                     FROM crmd_orderadm_h AS h
                     INNER JOIN crmd_orderadm_i AS i ON h~guid = i~header
                     WHERE h~object_id    IN lr_object_id
                       AND h~changed_at   >= lv_timestp
                       AND i~guid         IN lr_item_guid
                       AND ( i~product_kind <> 'X' OR  i~product_kind <> '' )
                       AND ( h~process_type = 'ZSOL'
                          OR h~process_type = 'ZSPE'
                          OR h~process_type = 'ZSVO'
                          OR h~process_type = 'ZSVT' ).
          ELSE.
            SELECT i~guid h~object_id h~guid h~process_type
                     INTO TABLE st_zcrmt_bw_i         "PACKAGE SIZE I_MAXSIZE
                     FROM crmd_orderadm_h AS h
                     INNER JOIN crmd_orderadm_i AS i ON h~guid = i~header
    *                 UP TO I_MAXSIZE ROWS
                     WHERE h~object_id    IN lr_object_id
                       AND i~guid         IN lr_item_guid
                       AND ( i~product_kind <> 'X' OR  i~product_kind <> '' )
                       AND ( h~process_type = 'ZSOL'
                          OR h~process_type = 'ZSPE'
                          OR h~process_type = 'ZSVO'
                          OR h~process_type = 'ZSVT' ).
          ENDIF.
    Then FM CRM_ORDER_READ is running for 500 records to retrieve header data :
    CALL FUNCTION 'CRM_ORDER_READ'
        EXPORTING
          iv_no_auth_check     = abap_true
          it_header_guid       = it_guids      "500 records
          it_requested_objects = lt_requested_objects
        IMPORTING
          et_orderadm_h        = lt_orderadm_h
          et_service_os        = lt_service_os.
    Then this FM is running for 10 records for item data (max 10 because FM CRM_ORDER_READ does not work for more records) :
    CALL FUNCTION 'CRM_ORDER_READ'
        EXPORTING
          iv_only_spec_items   = abap_true
          it_item_guid         = it_guids         "10 records
          it_requested_objects = lt_requested_objects
        IMPORTING
          et_orderadm_i        = lt_orderadm_i
          et_sales             = lt_sales
          et_appointment       = lt_appointment
          et_status            = lt_status
          et_text              = lt_text
          et_subject           = lt_subject
          et_doc_flow          = lt_doc_flow
          et_customer_i        = lt_customer_i
    Perhaps if I succeeded to improve SELECT & call of CRM_ORDER_READ, it would be better but I don't know how to do...

Maybe you are looking for