Thorlabs Piezo controls - manually ActiveX control

Hello

I use T - Cube Piezos Thorlabs for Nanomax stage - TS, I control through LabVIEW. I managed to connect the piezo controls in the program and it works well, but I'm for the accomplishment of the piezo through a slider or an automated outside of the ActiveX control. But I ran in trouble, I can't control the piezos otherwise than through the activex container. Any ideas? Joined the .vi

UPDATE: no response from Thorlabs but I realized my mistake, the while loop was iterations too quickly so when the cursor is moved to the entry has been reset every time it loop. Put a minor delay (~0.01 s) and it works beautifully.

Tags: NI Software

Similar Questions

  • Conflict VISA and ActiveX

    I am creating a labview program that controls two different pieces of equipment.  One is a linear step Thorlabs which is an ActiveX device connected via a USB connection, and the other is a brushless motor controller connected via an RS-232 (with VISA) connection.  I have separate programs that work separately with each unit.  However, when I try to write a single vi which does both, the program fails.  Sometimes the connection to linear step fails, and I receive a message saying that the USB connection has been lost.  Sometimes, the program hangs and I have to restart Labview.  The two different connections could interfere with each other?  If it is possible, is it possible to check to confirm or refute this possibility?  And if so, is it possible to keep them from disturbing each other.  Both devices are from different companies, so I'm not likely to get any help from one of them.

    Thanks for any help that anyone can provide.

    BF

    It sounds good, but I suggest also using error in / error and take the active x is also connected with the error in/out and no parallel, as it is now.

    It takes a little more time but of course no conflicts should occur.

    sequence frames have the same function as the sequencing of wiring!

  • How to resize the activex control?

    I want to dynamically resize an ActiveX control in LV 7.0.  How can I do?

    I tried to manipulate the container manually, using the HWND parent, but although the ActiveX think than its resizing it na not really.  Looks like the window is to be rigged and then the image is cut off?

    Anyway, if there is a solution, I would greatly appreciate knowing.

    Thank you

    Adrian

    Don't know if this can help, but...

    Try right - click at the end of the container on the FP and select Create the property node >...

    If your ActiveX control is like mine which should give you the properties of the container.

    Ben

  • LabVIEW Touch Panel Module | ActiveX controls | Windows CE

    Hello

    I am trying to determine if it is possible to use with the LabVIEW Touch Panel Module ActiveX controls.

    There is no ActiveX container on the pallet in the Touch Panel Module and I can't find any mention of ActiveX controls in the manual of touch panel.  So, I'm gathering that ActiveX is NOT supported on LabVIEW Touch Panel running on Windows Embedded CE.

    Can anyone confirm if the ActiveX controls are supported on the LabVIEW Touch Panel Module?

    Thank you

    Steve

    Hi, unfortunately they are not (see this link). For more information, see the Manualand the listof the supported features.

  • How can I control the speed of the piezo BPC203 with Nanomax-TS 311D/M

    I use the BPC203 to control the movement of the nanomax 311D/M. Stadium I was able to change the position of the scene depending on the size of level by writing code in labview using the ActiveX control. I need the code to control the speed of the movement of the scene, for example, if the size of my step is 1 micron, I want to point to less possible speed Steplessly no (say 10 seconds to move this step size). I realized that the scanning speed could control the entrance to Piezo voltage it by speed and called "setslewrate" method to call node of the piezo and adjust the speed of scanning of loop closed as 0.75 (I assumed here units are: V/s not volt/milliseconds) and waited for the loop to go slowly with my scanning speed that I have not connected the hardware to the labview but the loop runs with processor speed not with the scanning speed. does it in fact possible to simulate the scan rates in Labview without hardware integration? Is there an another mentod for controlling the speed of Piezo? The answers are very welcomed. Please find a block diagram image FYI rasthaus...

    Hi Sara,.

    I have a few suggestions. The first is that you have a parallel loop that does the same thing as your initial loop, but change the channel so that it works with the direction of Z.

    Alternatively, you could create a new VI dealing with your direction of Z. Then, you can create void VI on your 2 vi. Then call your sub VI a VI main run one after the other. Here is a labview help link that shows you how to create sub screw: http://zone.ni.com/reference/en-XX/help/371361J-01/lvconcepts/creating_subvis/

  • With LabVIEW Piezo actuator control

    Hello

    I recently started learning LabVIEW and I have some questions about a program that I'm working on.  I need to be able to enter a ramp to a piezoelectric actuator signal and measure the signal resulting from the internal piezoelectric actuator probe.

    I use the following equipment:

    1. NI PCI-6110 data acquisition card

    2 NI BNC-2110 connection map

    3 P 845.60 Piezo actuator (http://www.physikinstrumente.com/en/products/prspecs.php?sortnr=101200)

    4th Signal conditioner 509 (http://www.physikinstrumente.com/en/products/prdetail.php?sortnr=602500)

    5 E 505 amplifier (http://www.physikinstrumente.com/en/products/prdetail.php?sortnr=602300)

    6 LabVIEW 8.0

    I modified a program that I found on a different thread (http://forums.ni.com/ni/board/message?board.id=170&message.id=137810&query.id=843435#M137810) to enter a ramp followed signal of a constant signal.  The user can designate the amplitude and time of the signal of the ramp, and the length of the constant signal.

    I've also attached a screenshot of the front panel, after the execution of the program.  The white trace on the waveform graph matches the entry and the red curve is the output of the sensor.  Graph Error plots simply the absolute value of the difference between the input and the output.

    My questions are:

    1. is there a way to reduce the error between the input and output?

    2. is there a way to display the chart of waveform in real-time?  Right now the graph shows the data after the program stops running.

    Thank you

    Joel

    Hi Joel,

    You can use PID controls to reduce the error.  You have the PID toolkit?  Go to the finder of the example and do a search for PID get some useful examples of VI that should help you to do what you need.  Since you're already calculation error you could do manual feedback where you multiply your mistake by a gain factor (you will have to do trial and error to find the right win factor for your system), then add it to your output.  It would be easier if you had the PID toolkit however.

  • Access platform Thorlabs APT with a joystick for motor control TDC001

    Hi I am trying to use a joystick 3 axes for control TDC001 XYZ configuration engine controllers from Active-X and APT Thorlabs platform in Labview. I already follow this link: http://www.thorlabs.com/images/TabImages/GuideToLabVIEWandAPT.pdf

    I'm able to control an axis in Labview platform APT now. Anyonw knows how can I access APT with my joystic 3 axes (either Labview or APT User Interface), so that I can use it to control the motors controllers?  Thank you!

    You try to learn programming manual from the (not-so-bad, actually) LabVIEW, you reference in your message?  If so, it would be wise to find a LabVIEW guru and get to teach you the basics of the LabVIEW programming, including the importance of data flows (and how to serialize your code using error line) and good programming Style LabVIEW ("Lesson #1 - all the diagrams should fit on a single screen of laptop , and if it's not then break down the task into sub - VI. ("" "" Lesson #2 - all sub - VI and VI is in need of an icon and a Description ').

    You don't say what the problem is that you are experiencing.  Could I guess that it involves the three-axis Joystick?  There are Joystick support in LabVIEW, but it's a little dark and a little outside the usual way of handling equipment.

    Give us a better idea of what questions you have.

    BS

    Tracyfu wrote:

    Hi I am trying to use a joystick 3 axes for control TDC001 XYZ configuration engine controllers from Active-X and APT Thorlabs platform in Labview. I already follow this link: http://www.thorlabs.com/images/TabImages/GuideToLabVIEWandAPT.pdf

    I'm able to control an axis in Labview platform APT now. Anyonw knows how can I access APT with my joystic 3 axes (either Labview or APT User Interface), so that I can use it to control the motors controllers?  Thank you!

  • My iPhone is stuck in headset mode.  It's the THIRD phone that has had this problem.  Why Apple won't be a manual control of the headphone plug in the software?

    Manual control for the headphone feature is required for the software.  I have had THREE phones to do exactly the same thing and I don't even use the headphones - I have a speakerphone bluetooth and headphones, so it is inexplicible why my phone would enter the headset mode and do not release the mode headphones - do not let me do a phone call that is not involving the speaker.  Apple insists on the fact that this problem is not common, but it happened to 100% of the phones that I have owned.

    doctortroyp wrote:

    Manual control for the headphone feature is required for the software.  I have had THREE phones to do exactly the same thing and I don't even use the headphones - I have a speakerphone bluetooth and headphones, so it is inexplicible why my phone would enter the headset mode and do not release the mode headphones - do not let me do a phone call that is not involving the speaker.  Apple insists on the fact that this problem is not common, but it happened to 100% of the phones that I have owned.

    It is not common in the vast majority of users.

    If you wish to have a such feature manual control available, http://www.apple.com/feedback/ will be a good resource for this comments.

    Otherwise, try to restore your iPhone as new and not a backup test to see if the problem is back by restoring your backup on each of these phones.

    Use iTunes on your Mac or PC to restore your iPhone, iPad or iPod settings - Apple Support

  • can't manual control zone schedule macbook air

    I have a Macbook Air with El Capitan 10.11.4 - I'm UNABLE to manually control zones. The time zone setting has "automatically detect zones" checked and it won't let me uncheck. " Anyone know how I can uncheck this? I operate in multiple time zones and have my Mac change on me is very confusing (just today a meeting was moving 5 hours - the exact time difference between the United Kingdom and new YORK, and here I am at 5 o'clock in the morning meeting).

    Thanks for the tips!

    When you say that you can't uncheck, do you mean because it is grayed out? If so, click on the padlock at the bottom of the window to activate the change.

    See you soon,.

    GB

  • Control ActiveX Mozilla & Plug in causes of support 1.0.0.4 my XP machine to get slow way. Is there a problem with it? I had to disable the Add On.

    With this active Add On, the system seems to be cycling in and out of repeated calls to "verify" something, I guess, adding an irritating delay for surfing the internet. I've seen no detrimental effect to the deactivation of this Add On to this day. It happens on some sites worse than others, but most is affected.

    Plug th Mozilla ActiveX Control is causing problems, and Mozilla have taken steps to block. Over the next few days a blocklist update should automatically be downloaded, which will result in this plugin automatically blocked.

  • Satellite P100 - 400 PSPA6A: How can I control the fan speed manually

    Good evening

    I would like to know how can I manually control the speed of the fan?
    I ask this question because my laptop rarely use the fan at a higher speed.

    Today, I listened to more than the normal fan, I have check the temperatures and the CPU was Core1:95ºC Core2:99ºC
    I'll clean the fan, but I want to know how can I manually control the fan (of course with the software: P)

    Kind regards.

    Hello

    I guess that the Toshiba Power Saver has been installed on your laptop and you use this software from Toshiba.

    If you are using Win XP and that the GST is installed, then you can check the configuration of basic settings and you might find the options to control CPU, CPU processing speed and method of cooling.

    If you are using Vista, then you should check the Vista Power Options:
    Check this thread how to manage Windows Vista power management features
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=38906&TSTART=0

    But in most cases, the cooling modules are controlled by fan that is stored in the BIOS table.

  • By Satellite L300-147-manual volume control does not

    The manual on the laptop volume control no longer works. If I try to adjust the volume (on the right of the headphone plug-ins) - I just keep scrolling. So, I can only watch DVDs on a really low level. I adjusted the volume under 'control panel' control to the maximum level.

    Any ideas to fix this please?

    Never heard talk about it but it makes sense with the installation of the Package of added value.

    It's really strange question, and it will be interesting to know if this helped. Please post the results.

  • VB6 activex control does not not in labview 8.5

    I am currently trying to get out of VB6 and Laview for some applications to test automated for secondary (rechargeable) batteries.

    We use Texas Instruments fuel gauges to my business and communication with them requires an EV2300 USB box.  I have the drivers installed for the box, and it works without problem in VB6.  I need to get Labview to talk to the box in the same way.

    I use 8.5 at the moment, and I thought that I had the good idea to use the BQ80xRW.dll file that is already installed on my machines to VB6 application.  The only problem is that I don't have the source code of the DLL, only the dll and ocx in my win32 directory files.  Here's what I did:

    (1) import the activeX control to palette (bq80xRW.dll)

    (2) place the bq80xRW on my VI activex control

    (3) place call nodes for the functions I want to test (GetFreeBoards--> OpenDevice--> ReadSMBWord)

    (4) to include nodes with appropriate controls (integers, strings, etc.)

    (5) run the VI

    I've included the VI I developed with this post.  Nword must, in my view, be on 16 while Cmd should be set to 1 c (to read the serial number of the part)

    When I run the program, while the USB module is connected, the GetFreeBoards node returns the following string:

    \\?\usb#vid_0451&pid_0035#5&1c93b2c6&0&2#{8eb0fa22-a67c-4a27-9913-df9ab307d886},

    If I run the program without the attached USB module, the string is empty.  Without spaces or characters at all.

    If the activeX control is something.  It's just not what I want it.  And since I don't have the source code of the dll, I don't know why.

    This big long string starting with \\?\usb is the name of the Board of Directors.  Get rid of the trailing comma and passing under the name of your Board of Directors in opendevice().

  • Compilation warnings TestStand ActiveX controls in WPF 2012

    Hi all

    I use the TestStand (ApplicationMgr, SequenceMgr, ExcutionMgr) ActiveX controls in my project written in WPF 2012.

    After that I put the controls on the form, there are a few referrences automatically included in my project. But when I compile, I had the following warnings in the output window:

    CSC: warning CS1762: a reference has been made to the embedded PIA 'c:\Windows\assembly\GAC_MSIL\NationalInstruments.TestStand.Interop.UI\5.1.0.226__ad9244eb3b825cd8\NationalInstruments.TestStand.Interop.UI.dll' because of an indirect reference to that assembly established by the Assembly "c:\Program Files (x 86) \National Instruments\TestStand 2013\API\DotNet\Assemblies\CurrentVersion\NationalInstruments.TestStand.Interop.UI.AxControls.dll". You want to change the property "Include the Interop Types" or another Assembly.
    CSC: warning CS1762: a reference has been made to the embedded PIA 'c:\Windows\assembly\GAC_MSIL\NationalInstruments.TestStand.Interop.UI.Support\5.1.0.226__ad9244eb3b825cd8\NationalInstruments.TestStand.Interop.UI.Support.dll' because of an indirect reference to that assembly established by the Assembly "c:\Program Files (x 86) \National Instruments\TestStand 2013\API\DotNet\Assemblies\CurrentVersion\NationalInstruments.TestStand.Interop.UI.AxControls.dll". You want to change the property "Include the Interop Types" or another Assembly.
    CSC: warning CS1762: a reference has been made to the embedded PIA 'c:\Windows\assembly\GAC_MSIL\NationalInstruments.TestStand.Interop.API\5.1.0.226__ad9244eb3b825cd8\NationalInstruments.TestStand.Interop.API.dll' because of an indirect reference to that assembly established by the Assembly "c:\Program Files (x 86) \National Instruments\TestStand 2013\API\DotNet\Assemblies\CurrentVersion\NationalInstruments.TestStand.Interop.UI.AxControls.dll". You want to change the property "Include the Interop Types" or another Assembly.
    CSC: warning CS1762: a reference has been made to the embedded PIA 'c:\Windows\assembly\GAC\stdole\7.0.3300.0__b03f5f7f11d50a3a\stdole.dll' because of an indirect reference to that assembly established by the Assembly "c:\Program Files (x 86) \National Instruments\TestStand 2013\API\DotNet\Assemblies\CurrentVersion\NationalInstruments.TestStand.Interop.UI.AxControls.dll". You want to change the property "Include the Interop Types" or another Assembly.

    When I change the property "Include the Interop Types", I rather the errors. Can anyone give some advice? What does the warning message? How do I get rid of the warnings or do I just ignore them?

    Thank you very much!

    Kind regards

    According to the text in the warnings, it looks like you had always incorporate true on some of the meetings.

    Try changing all those in warnings to not stir, and then the warnings will probably disappear.

    -Doug

  • ActiveX: Open a separate window of Windows Media Player 9 and control playback

    Hey all,.

    I'm trying to open a video in WMP4 automatically in Labview and control. There is an existing ActiveX container, but it remains on the front panel. I can control its playback, but can not pause and resume.

    I can also open the video in a window outside of LabView through Labview WMP9, but I was not able to control. Simply run it and then watch until it ends. It is the preferred operation, I need to understand.

    LabView version: 8.6

    ActiveX application: Windows Media Player 4

    OS: Windows XP

    My questions are:

    (a) how to pause and resume a video file, if you use the ActiveX with LabView container ensures

    (b) how could I access an instance outside WMP open through LabView playback controls (because I want to automate reading based on acquired signals)

    Note that the ActiveX refnum is WMP4 while the version on XP is WMP9.

    Thanks in advance for your help,

    Hasan

    I had trouble with your application. I don't know if it's
    my version of LabVIEW or something else. He will not play for me.

    I would like to direct you to the following thread:

    Windows Media Player ActiveX plays do not image, but the stand alone WMP application. Why?

    If all goes well
    This will help enough to do what you want. I was not able to get
    whether at work, but it seems that it is much discussed on the
    forums. Everyone has tried to do the same thing as you?

Maybe you are looking for

  • Size of flash SSD drive internal

    Hi all... Can someone tell me how to know the size of my SD0128F of SSD APPLE? Also, would you recommend replacing as capacity is concerned? Thanks in advance

  • Use of the photo library storage

    How do you remove library I do not sync, but appears in my iPhone? I checked my library of Photos, but was only 3.3 GB not only 18 GB

  • How to change the location of the @ how to make the Euro symbol and where is 'hash '?

    I am a proud new owner Portege M300. Now all I need? knowledge is: -keyboard looks liks the sign @ is above the 2. In fact, it's above the apostrophe, where the quote is true. I want to have the @ sign overcoming the 2 because that's what I'm used to

  • HP 15-p214np: my HP after downgrade windows 8.1 to 7 does not recognize the usb controllers

    Hello I recently dongraded my computer hp laptop 15-p214np for windows 8.1 7 and every time I try to plug in a usb flash drive or other usb device, nothing happening, no autoplay, nothing, simply because I didn't install the driver and the driver onl

  • data update rate

    Hi, I m, data acquisition by ethernet through the UDP data socket, now I want to show the exact upadate who im acquire data (10 or 20 Hz or maybe 50 Hz all noted my UDP socket receives data via ethernet). What is the process to do so. Please guide me