Scanning mirror using Thorlabs TDC001 apt-dc servo controller

Hello. I need help with configuring a Labview code controlling a Thorlabs TDC001 apt-dc servo controller. I just need direction on which commands to use to input the parameters of the distance and repetition rate of the stage that the controller is linked to. Attached are two separate codes that myself and a colleague created for the stage. If someome can look at this and offer some helpful tips, that would be appreciated. I am now learning how to use Labview correctly.
Attachments:
example.vi ‏11 KB
attachments.zip ‏24 KB

Hi opticsdude,
I would recommend taking a look at motion examples in the NI Example Finder (you can find this by going to Help>Find Examples in LV).
You can also take a look at the NI Motion Help here. There is also a good article on motion control in general here with lots of related links that you might find useful.

Similar Messages

  • Control Thorlabs TDC001 without using Activex

    Hi ! I'm using thorlabs CR1/M-7 rotating stages with TDC001 contoller , and I'm trying write a simple application in labview to control my device. I have found 'USBRawControl.vi' from NI website, but I have an issue with USB communication. Does anyone here,have written a similar labview vi's to control a stages using USB communications protocols?  I'm also using the VISA- test panel in NI MAX but it still doesn't work. Regards, Paul
    Attachments:
    APT_Communications_Protocol_Rev_9.pdf ‏3226 KB
    USBRawControl.vi ‏152 KB

    Dear pawelek,
    You might be interested in Pyrame. It is a open source framework we actively develop at the CNRS for test benches. It supports Thorlabs APT controllers. As of version 2.1 it supports the LTS300 and LNR50 stages (the latter through a BSC2 controller). Supporting more stages involves just a few lines of code, so If you need something else just contact us.
    Pyrame allows you to code your control modules in Python, C, C++, Lua or Bash. From your module you can then interact with Pyrame's modules, such as that of Thorlabs APT (cmd_th_apt).
    There's also a module that lets you define forbidden zones of a 3 axis space and it calculates automatically the path between origin and destination to avoid those zones (cmd_paths).
    Here is our website with the full documentation and source code.
    http://llr.in2p3.fr/sites/pyrame/
    Don't hesitate to contact us for further information.
    Truly yours,
    Miguel Rubio-Roy
    Computer research engineer at CNRS

  • Vi control of Thorlabs TDC001 motor control,need to generate a ref # for ActiveX

    I am trying to create a custom program for control of a Thorlabs TDC001 motor controller.   The stand alone Thorlabs software works,  I also created a Active X window using the Thorlabs software in Labview.  I would like to create an automated look with specific directions for the motor.   I think my problem is not being able to generate a valid device reference ID at the start of the process to pass to each of the subroutines.  Is there a subVI for this?

    Hey LIBS,
    Unfortunately, I am not familiar with the Thorlabs motor controller or its software's ActiveX interface. When you created the ActiveX window in LabVIEW, were you able to control your motor? Since the control of you motor is all done through ActiveX, the only way to get a device reference would be through the ActiveX interface. You will want to check the properties and methods associated with your Thorlabs ActiveX control to see if there is such a device reference available.
    Hope this helps.
    -Ben
    WaterlooLabs

  • I would appreciate it if someone could advise me as to the optimum resolution, dimensions and dpi for actual photographic slides that I am scanning for use in a Keynote Presentation, that will be projected in a large auditorium.  I realize that most proje

    I would appreciate it if someone could advise me as to the optimum resolution, dimensions and dpi for actual photographic slides that I am scanning for use in a Keynote Presentation, that will be projected in a large auditorium. I realize that most projectors in auditoriums that I will be using have 1024 x 1200 pixels, and possibly 1600 x 1200. There is no reference to this issue in the Keynote Tutorial supplied by Apple, and I have never found a definitive answer to this issue online (although there may be one).
                Here’s my question: When scanning my photographic slides, what setting, from 72 dpi to 300 dpi, would result in the best image quality and use up the most efficient amount of space? 
                Here’s what two different photo slide scanning service suppliers have told me: 
    Supplier No. 1 tells me that they can scan slides to a size of 1544 x 1024 pixels, at 72 dpi, which will be 763 KB, and they refer to this as low resolution (a JPEG). However, I noticed when I looked at these scanned slides, the size of the slides varied, with a maximum of 1.8 MB. This supplier says that the dpi doesn’t matter when it comes to the quality of the final digital image, that it is the dimensions that matter.  They say that if they scanned a slide to a higher resolution (2048 x 3072), they would still scan it at 72 dpi.
    Supplier No. 2: They tell me that in order to have a high quality image made from a photographic slide (starting with a 35 mm slide, in all cases), I need to have a “1280 pixel dimension slide, a JPEG, at 300 dpi, that is 8 MB per image.” However, this supplier also offers, on its list of services, a “Standard Resolution JPEG (4MB file/image – 3088 x 2048), as well as a “High Resolution JPEG (8 MB file/image – 3088x2048).
    I will be presenting my Keynotes with my MacBook Pro, and will not have a chance to try out the presentations in advance, since the lecture location is far from my home, so that is not an option. 
    I do not want to use up more memory than necessary on my laptop.  I also want to have the best quality image. 
    One more question: When scanning images myself, on my own scanner, for my Keynote presentations, would I be better off scanning them as JPEGs or TIFFs? I have been told that a TIFF is better because it is less compressed. 
    Any enlightenment on this subject would be appreciated.
    Thank you.

    When it comes to Keynote, I try and start with a presentation that's 1680 x 1050 preset or something in that range.  Most projectors that you'll get at a conference won't project much higher than that and if they run at a lower resolution, it's better to have the device downsize your Keynote.  Anything is better than having the projector try and upsize your presentation... you work hard to make it look good, and it's mangled by some tired Epson projector.
    As far as slides go, scan them in at 150 dpi or better, and make them at least the dimensions of your presentation.  Keynote is really only wanting 72dpi, but I do them at 150, just in case I need to print out the presentation as a handout later, and having the pix at 150 dpi gives me a little help with their quality on a printer.
    You'd probably have to drop in the 150 versions again if you output the Keynote to .pdf or Word or something, but at least you have the option.
    And Gary's right (above) go ahead and scan them as TIFFs.  Sooner or later you'll want to do something else with these slides (like make something for an iPad or the like) and having them as TIFFs keeps your presentation looking good.
    Finally, and this is a big one, get to the location for your presentation ahead of time if you can, and plug the laptop in and see what you get.  There's always connection problems. Don't let the AV bonehead tell you everything will work just fine ('... I don't have any adapters for a Mac...') .  See it for yourself... you're the one that's standing up there.  Unless it's your boss, then you better be really sure it works.

  • How do I edit a scanned document using Adobe services?

    how do I edit a scanned document using Adobe services?

    To edit a document you will need Acrobat Pro.

  • How to scan barcode using flex?

    We are developing a mobile app.
    Our requrement is to scan barcode using mobile camera.
    Any one can give me idea how to do it?
    Do I need to connect to any third party app? If so How.
    Or flex have capabilites to read barcode?
    I have seen this example using web cam
    http://www.renaun.com/flex2/BarcodeReader/BarcodeReader.html
    I am not sure that will it work in mobile app?

    This is a Flex question. Please try posting on the Flex forums for better response http://forums.adobe.com/community/flex/flex_general_discussion

  • I have just bought an apleTV. I can't find the mirroring button on my toolbar, however I can mirror using Itunes, I have searched in systempreferences - Displays but it won't show me the Device. I have already tried restarting all. What am I doing wrong?

    I have just bought an appleTV. I can't find the mirroring button on my toolbar, however I can mirror using Itunes, I have searched in systempreferences -> Displays but it won't show me the Device. I have already tried restarting the router, appleTv and Imac. What am I doing wrong?

    A supported Mac
    AirPlay Mirroring in OS X takes advantage of the hardware capabilities of recent Macs to deliver high frame rates while maintaining optimal system performance. The following Mac models support AirPlay Mirroring::
    iMac (Mid 2011 or newer)
    Mac mini (Mid 2011 or newer)
    MacBook Air (Mid 2011 or newer)
    MacBook Pro (Early 2011 or newer)
    Mac Pro (Late 2013)
    Which Mac do I have?
    How to identify your MacBook Air
    How to identify MacBook Pro models
    How to identify iMac models
    How to identify Mac mini models

  • Has anyone used the Parker Bayside BDS I-Drive servo controller via serial

    I need to send 3 pairs of speed and position setpoints from Labview over a serial connection to a Parker Bayside BDS I-Drive servo controller. They actually use the USS protocol from the Siemens drives. Has anyone already done this? And maybe could provide some pointers to a novice?
    PS this a repost of a question I left in the Machine Vision forum by mistake.

    Hi DRP,
    I regularly look at both the Vision and Motion boards, so I showed your post to a buddy of mine who does a lot of serial communication.   From a programming standpoint, this application looks like its just LabVIEW code to control serial outputs, which (depending on your expertise) might make the project significantly easier.  Either way, Craig should be able to help you out on your original thread.
    Good luck with your program,
    Robert

  • I have scanned photos using an Epson V500 scanner set to jpeg format using the least compression (highest quality) setting. When I try to import the scanned jpegs into iPhoto I get an error  message saying "The file is an unrecognized format."  But if I

    I have scanned photos using an Epson V500 scanner set to scan using jpeg format at the highest quality (least compression) setting.  When I try to import the scanned jpegs into iPhoto, I get an error message from iPhoto saying "The file is an unrecognized format."  But if I reduce the quality setting on the Epson scanner to just slightly below highest quality, the images import into iPhoto just fine.  Why won't iPhoto accept jpegs scanned at the highest quality setting?  Wondering?

    What scanner format settings dis you use?  Are these color photos? If they are B/W did you scan as grayscale images?  That could be the problem.  
    Are you able to open them with Preview?  If so do a Save As, select full quality and save as a jpeg with a new file name.  See if that file will import and work as intended. 
    OT

  • Is there a way to tell if an audio device is connected using A2DP or apt-X?

    I just bought a Creative ZiiSound D5 speaker system, which supports the apt-X codec. If I pair it with my Macbook Pro, is it possible to tell whether it's using A2DP vs. apt-X? I can't seem to find this information in the Bluetooth prefpane, or in System Profiler.
    Another question is, does the Macbook Pro (mine is a MacBookPro5,5, and I'm running 10.6.5) is even support apt-X? I've seen some mention that the recent Mac Minis and iMacs support apt-X, but I haven't seen anything about the Macbook Pro. Is there a way to find out? Information seems hard to come by.

    Update: I've learned that the A2DP profile can actually use many different codecs, and apt-X is just one of them. Others include SBC, MPEG-1, MPEG-2, MPEG-4, and AAC.
    http://en.wikipedia.org/wiki/Bluetoothprofile#Advanced_Audio_Distribution_Profile.28A2DP.29
    So I guess the question is not A2DP vs. apt-X. Instead it should be, how do I know which codec is being used? And does my computer support apt-X?

  • I want to scan documents using my Deskjet F4180

    I am trying to scan documents using my HP Deskjet F4180 but I don't see it on my laptop

    Hi,
    You can scan from HP Scan software or from the printer as shown (page #56 of the manual):
    To scan to a computer
    1. Place your original with the side you want to copy or scan face down on the left front corner of the glass.
    TIP: For quality copies, ensure that the scanner glass is clean and that there are no foreign materials adhering to it. For more information, see Clean the glass.
    2. Press Scan.
    If the original is a document, the HP All-in-One scans it automatically. If the original is a photo, a preview image of the scan appears on your computer, where you can edit it. Any edits that you make apply to the current scan session only.
    The HP Photosmart Software has many tools that you can use to edit your scanned image. You can improve the overall image quality by adjusting the brightness, sharpness, color tone, or saturation. You can also crop, rotate, or resize the image.
    3. Make any edits to the preview image, and then click Accept when you are finished.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How do I transfer pictures from internal storage to scan disc using file manager

    How do I transfer pictures from internal storage to scan disc using file manager

        Hi Eddielee,
    Never fear help is here my friend! Pictures are priceless. I know the importance of making sure these memories are saved. Let's get this fixed. To move files between internal and external storage (ScanDisk Card):
      • Open the applications menu.
      • Scroll to and tap Files to open the file manager
      • Tap Internal phone storage
      • Scroll to the folder or file location to your desired file
      • Tap and hold the file, then choose Copy or Move
      • Press the back key and Tap the SD card
      • Scroll to the folder or file location where you want to place your desired file
      • Tap Paste here
      • Your file has been placed into your other storage location
    Hope this helps!
    Thanks,
    Pamelaf_vzw
    Twitter @vzwsupport

  • I want to use my ipad as a midi controller on my MacBook pro via USB no with wiFi connection, is this possible ?

    hi guys, i am new to garageband.
    i have the Ipad 4th generation and just installed garageband on my mackbook pro, i see that i can use my ipad as a midi controller via WiFi but there is a delay, my question is: Can i use my ipad as a midi controller via the USB connection, that will eliminate de lag or delay.
    thanks

    Keynote Remote, but you will need wifi. You can set up an ad-hoc wifi network from your Macbook itself ("Create Network" from the Wifi menu), which the iPad can connect to.
    https://itunes.apple.com/us/app/keynote-remote/id300719251?mt=8
    Matt

  • NXT-G block for HiTechnic Servo Controller

    I'm trying to track down an NXT-G block for the HiTechnic Servo Controller. My son just purchased the controller at LEGO Ed but hasn't found a block for it. After a lot of searching, we did find a block for the HiTechnic DC Motor Controller ( http://joule.ni.com/nidu/cds/view/p/id/1129/lang/en ) and was hopeful that a similar block for the servo controller would be available somewhere. He has spent quite a few years working with RoboLab and NXT-G with LEGO robots and felt that the combination of the NXT, servo controller, and NXT-G 2.0 control and data logging would be perfect for his project.
    Cheers!
    -Glenn

    Ok, I made a Sub VI with it, and put together a simple program. When I try to download it to my NXT, it gives me the error "Cannot open a VI because it is password protected."
    Any idea on how to fix this?
    Attachments:
    Speed_Sub.vi ‏186 KB
    speed_test.vi ‏17 KB

  • Can I use LabVIEW to program a Galil controller​, such as the DMC 740?

    Can I use LabVIEW to program a Galil controller, such as the DMC 740?  need a driver.

    vmagui,
    I don't know a Galil DMC-740. Do you mean the Galil DMC-1740? In this case you are talking about an ISA bus board and it might be hard to find a PC that provides ISA bus slots and enough power to run an up to date LabVIEW version.
    In general LabVIEW is an open platform, so if Galil provides a LabVIEW library or at least a well documented DLL you should be able to use their boards in LabVIEW. You should contact Galil for this information.
    If you are really talking about an ISA board you should consider an upgrade to a newer bus technology like PCI. NI also provides a whole range of high quality motion control products that are at least comparable to Galil boards (http://www.ni.com/motion). A good LabVIEW integration for these devices is self-evident and they integrate easily with other NI products like multifunction data acquisition boards, machine vision products and bus interfaces.
    Kind regards,
    Jochen Klier
    National Instruments
    Message Edited by Jochen on 07-22-2008 04:37 PM

Maybe you are looking for

  • How can I make Icloud my default calendar in Outlook

    I moved to ICloud and if I get an invite and accept it then it automatically defaults to my standard Outlook calendar. Is there a way of maaking the ICloud calendar my deafult calendar ?

  • System preferences shot after Security Update 2006-008 - no sound any more

    All sorts of strange problems after running the 2006-008 security update, yet only affecting one my two MacMini: System Preferences completely "shot", with the Date&Time item/icon looking very odd. The little flag for language/keyboard setting and da

  • Nokia 5800 - poor wi-fi performance?

    I own both 5800 and E51. Both wi-fi chips are set to Tx 100 mW. I notice that E51 detects more networks, connect to more networks than 5800. I compared the signal strength between the two phones. E51's signal is always 20-30% higher than 5800's. I mu

  • Photoshop Extended CS6 won't launch

    this error message keeps coming up: The procedure entry point GetLogicalProcessorInformation could not be located in the dynamic link library KERNEL32.dll. What do i do so i can use my photoshop.

  • My firefox crashes directly after clicking the firefox-button

    '''1'''. firefox suspended directly after invoke the program '''2.''' I changed the "compatibility-mode" to "Windows 98/Windows Me" '''3'''. firefox crashes directly after clicking the firefox-button -> it opens "Morzilla Crash-Detector"