Specimen of Positioning System blower with Galil controller

Hi all

So to say the least I am super frustrated with my LabVIEW program right now. This project requires that I use only of LabVIEW and GalilTools software, so I can't use C or C++ or any other person. I wrote about what the code I need would look like in C/C++, but I'm having a lot of trouble to create a LabVIEW program that does the same thing. I have attached the VI I've written so far. I have also attached my operating scheme to help understanding outside of my intentions. Also attached an OpsManual dictates the structure of my interface planned and everything that it should do.
I know there is much to look at, but I'd be very happy to help. I've looked everywhere on the examples and the forums and youtube tutorials and I'm just really having trouble, and this particular stage takes too long.

The basis for this project is that it is a positioning system managed by 2 stepper motors with angular limits specified. All engine configurations is processed by the GalilTools software. The logic must be managed in LabVIEW. This requires the adoption of values in both directions between LabVIEW and the controller.

I'm doing some specific things are currently doing me wrong:
-the output messages back as program at each stage movements (LabVIEW not spend several channels to the same Terminal without other things in between, I have not yet found a way)

-Connect the wires of the reference and error programmatically (I understand this is how the program passes the values and it also affects the operation of the program, I'm not sure how to connect a mine and have my program still works as expected, also runs the question of having several wires to a terminal that LabVIEW won't)

-emergency stop button (I need this cable in so that it can stop the program at any time, similar to the demolition)

There are many other issues that will arise as I move forward, but those are the current, I worked on that. I'm fighting with which structures should be used. It's just not quite as intuitive for me like C/C++ has been.

Thanks in advance for any help provided.

A few thoughts for you to consider.

The Galil aspect

  • You do not need to download your Galil program every time, connect using Galiltools or GalilSuite and download and then use the BP command to burn the program in memory.
  • Put anything in #AUTO which must be executed each time the controller is running.
  • Operation most have a complementary _cmd operand that can be queried. IE: BGA will start movement on axis 1, MG _BGA returns 1 if still in motion, or 0 if the request is completed.

For the side of LabVIEW

  • Replace the case separated by a single event structure structures. Given any how do you now without delay in means of the loop that you run each of these cases as soon as your program can.
  • Get rid of all calls to Galil outside the structure of the event. If you wish to check the status or the movement of code, put it in the case of timeout or consider another loop that runs independently of your main loop.
  • Keep in mind the operation of the son, means anyone to load data only if two sons are in a structure or function they both must contain data before the structure or even runs. Other you can make threads where you need.

Tags: NI Software

Similar Questions

  • Fail to communicate with the controller of pump ISCO D series

    Hey everybody,

    I have an ISCO D pumps controller (which is connected to a syringe model 100DX ISCO pump) series I want to control using RS232 on Labview. I don't have their LabView Toolkit that Teledyne has mentioned in their technical Bulletin (TB06). In addition, I would like to automate my test, so using the Labview Toolkit will be not too useful.

    The problem I face is not being able to communicate with the controller via hyperterminal or LabVIEW.

    I ran their (mentioned in TB06) integrated series test and communicate as expected. I also tried to run their program remote pump (mentioned in technical Bulletin 19 of Teledyne - TB19) which seems to do what is expected as well.

    I tried to talk about using LabVIEW first using the vi that I joined, and I saw nothing on the buffer. So, I moved to hyperterminal.

    But when I try to send the command 'remote' listed in TB19, it doesn't seem to do anything. There is no answer on the hyperterminal.

    There is mention of a DASNET Protocol, and I found the .dll file that I also moved in my Windows System 32 folder. It did not work even after that too.

    I have attached TB06 and TB19. Let me know if you have other ideas how to do to test it.

    Please let me know if you need further information.

    Thank you

    Sandeep

    Hey everybody,

    After going through their best manual, I found the way to correctly send a frame. The manual at, www.isco.com/pcfiles/PartPDF/SL000004/UP00194U.pdf, section 7 specifically, it is intended.

    For the purposes of anyone who stumbles across this thread, here's an example.

    If you have your.

    Destination (the pump regulator) ID = 1

    the source of the (computer) message = 00

    and you try to send the message to DISTANCE that would turn the controller in "REMOTE" mode

    Then you would send '1R006REMOTE1B', where 1 is the ID of destination
    R is right to recognize the previous received message

    00 is the ID of the computer

    6 length of command

    "REMOTE" the command itself, must be uppercase

    Checksum 1 b (which changes with the command of course)

    And you can do the same thing in LabVIEW, you can enter '1R006REMOTE1B' in the VISA write while keeping everything else the same as the snapshot of the vi I sent previously.

    Dennis, actually do not have the CD itself, but I assumed, would nothing more than an executable since I downloaded the demo driver for LabVIEW (http://www.isco.com/products/appnotes.asp?PL=105 under utilities) pump. I am currently trying to locate the CD here at the lab, and I will update this thread if I find something useful.

    I guess that my problem has been resolved.

    Thanks for your input in this Dennis.

    Kind regards

    Sandeep

  • How to join a network domain with the controller rt PharLab running?

    I have a PXI system that I would like to be able to access anywhere in the corporate network. Currently, I'm access via the IP address, but want to use the host name instead. Unfortunately, I couldn't find a way to join the network with the controller running PharLab area.

    Any suggestions in this regard would be welcome.

    Respect,

    Česlav

    Hello Bob and Česlav,

    I think Česlav was looking for / ask something different. (please tell me if I'm wrong)

    He really wants to do its PXI RT "look-uppable" via its corporate network without necessarily be on the same subnet (and use the IP address).

    In light of the additional information you (Česlav) provide that I would say again that you contact your IT Department first to see how they prefer it.

    They will generally the method of choice to do this. (both for desktop computers with respect to other devices)

    Sometimes it comes down to add to "add your host name and IP address to a list of DNS.

    The page that you link to is a specific way of Windows, adding yourself to a domain.

    Note that add you to a domain should provide you with the ability to use host names.

    However, he also did other things, which may not be possible or even allowed for other types of devices.

    In most companies you don't even have your desktop admin rights necessary to add your own pc (following this way) to the area, as it may cause a lot of security issues and risks.

    Because I don't really know what the establishment IT is by your side I can't really (with certainty) comment on what you should be able to do (and is not).

  • Control of the double loop for a positioning system. - movement ocntrol

    I am currently a control of the double loop for a positioning system, I use the speedometer to read the speed and the encoder for position on the position of the platform.

    the problem I'm meeting now, is that I'm not sure weather the computer have the PID toolkit, because I can't find them under the control design and simulation module.  so I did a PID using the basic features of labview, related information in the attached documents.

    I'm not sure of the part of the dt, the labview has this kind of service as of the timing of simpling?

    do I have to install the labview real_time potion? I'm just using the labview 8.5

    Another issue is that, how I'm going to let the system remember the position instead of back to 0 whenever I restarted the program? If not is there any other way I can control the motor to move the position of the target that is initially set?

    the last question is that is it possible for me to generate a profile about the current and desired position? to set a maximum speed and acceleration.

    I do not have a motion controller, so I have not installed the module version and motion.

    can someone suggest me a way to do it?

    Hey, 14 I never used TDMS files. but maybe this will help. [zip file]

    and if it isn't, I found this (which you can probably read into its equivalent in English)

    http://digital.NI.com/public.nsf/allkb/099731B9B31936B08625745A0076A610

    [don't forget to Congrats]

  • Chronic problem with T, controller extensible Texas Instruments USB 3.0 - 0096 (Microsoft)

    Hello

    I have an Office Smart Touch of All - in - One HP Envy 23-d060qd; It's a very nice system and it is running Windows 8.1; connected to one of the two ports USB3.0 is a Seagate drive upward.

    I have a chronic problem that has quickly become very tedious.  At least once a day, for no apparent reason, the sysem disconnects the drive on which is pinned to the USB 3.0, reporting the 43 error when I run the Device Manager.  The system has an expandable controller of Texas Instruments USB 3.0-0096 (Microsoft) and it has a driver version 21/02/14: 6.3.9600.17031.

    I read that he knows the problem and that it has something to do with USB3.0.

    Can anyone help!

    Thank you very much

    Finally, problem got resolved when Microsoft released a updated driver

    Thank you

  • Issues with the controller of Siri

    I got the last Apple TV since Christmas, and lately, it seems that I might have a problem with the controller of Siri. When you place your finger to use the contact surface, for that one click-much like the glass mini is not defined in law if that makes sense.

    Does not really affect the operation but is off-putting. If you want to just to click and press down, basically click twice on it records only one. He did not have it to begin with and has not been abandoned or anything - is always in perfect condition. Don't know if anyone has similar problems or if I have an error with mine?

    Sounds like it is damaged or defective for me

  • 4540 proBook s product ID C9K7O: I need help with network controller driver installation.

    I had to install Windows 7 Premium 64-bit operating system and the network controller was not recognized and therefore, the drivers were not installed. That's what I see in Device Manager:

    PCI\VEN_168C & DEV_0032 & SUBSYS_1838103C & REV_01

    PCI\VEN_168C & DEV_0032 & SUBSYS_1838103C

    PCI\VEN_168C & DEV_0032 & CC_028000

    PCI\VEN_168C & DEV_0032 & CC_0280

    I got a driver to download from technical support, but that it does not recognize the controller either. Reference case # (deleted content)

    Dad.

    Have you tried this one?

    http://h20564.www2.HP.com/hpsc/SWD/public/detail?sp4ts.Oid=5229456 & swItemId = ob_128686_1 & swEnvOid = 4059

    REO

  • When we try to use our multipoint system 2010 with more than 2 users the mouse around the screen to move.

    Original title: problems using multipoint server 2010.

    When we try to use our multipoint system 2010 with more than 2 users mice become uncontrollable and move the screens themselves. How to fix this.

    Hi thomasgk,

    The issue of Windows Multipoint Server 2010, you have posted is better suited for the IT Pro TechNet public. Please ask your question in the TechNet forums for assistance.

    Hope the helps of information.

  • I get system off with the code 68072590 after 3 failed attempts

    I get system off with the code 68072590 after 3 failed attempts

    AM trying.

    77950516

    Use this code to go into the BIOS.

    Disable all passwords that are enabled.

    IF demand for CURRENT password using this code.

    REQUEST NEW password just press ENTER.

    If asked to hit just to CHECK password to enter.

    Save and exit.

    REO

    I must inform you that these services are not endorsed by HP, and that HP is not responsible for any damages that may occur to your system using these services. Please be aware that you do so at your own risk.

  • Error 'System restore running system' starts with a black cursor screen while trying to use the system restore

    Original title: unit hanging in the middle of the restoration of the system

    Message "System restore running system" starts with a black screen with cursor, but does not move forward.  Windows Vista question

    Have you tried F8 solutions and when I select the system restore it gives me the message above and goes to the black screen even ugly.

    How did I break the loop so I can start a new system restore?

    Hello

    Are you trying to restore your computer or you try to create a restore point?

    Step 1 or 2 can help you to restore your computer.

    Step 1: Try the steps in the section below, if you haven't tried it.

    Start the restore of the system from a command prompt
    http://Windows.Microsoft.com/en-us/Windows-Vista/Start-System-Restore-from-a-command-prompt

    Step 2: Try restoring the system from the recovery console.
    Reference: http://windows.microsoft.com/en-US/windows-vista/What-are-the-system-recovery-options-in-Windows-Vista

    Step 3: Also, look for error messages in the event viewer. If you find error messages after return the exact error message so that we can help you better.

    Measures to check the application event log:

    a. Click Start.
    (b) in the search box type eventvwr.msc, and then on enter.
    c. now, click Application in the event viewer (local).
    d. now, looking for event log on the right side of the event viewer window.
    http://Windows.Microsoft.com/en-us/Windows-Vista/open-Event-Viewer
    http://Windows.Microsoft.com/en-us/Windows-Vista/what-information-appears-in-event-logs-Event-Viewer

    Similar problem: http://answers.microsoft.com/en-us/windows/forum/windows_vista-windows_programs/system-restore-wizard-is-already-running/c797baf7-c069-4e3a-894a-e9644cc6df0b

  • Version of the operating system incompatible with Startup Repair tool

    I'm trying to reimage dell inspiron 1525. Operating system is Windows Vista. Error received halfway through restoration. Has been reduced to system recovery options. Startup Repair has chosen to be tell version of operating system incompatible with Startup Repair tool. Now I cannot do anything else.

    Hello
     
    1. you use the correct version of the Vista disc to run Startup Repair?

    2 you also all error messages /codes when you startup repair?
     
    I suggest to run the diagnostic tool memory WINRE mode and check if the memory (RAM) installed on the computer works fine.
     
    Follow the steps below to start the computer using the WINRE and run the memory diagnostic tool.
     
    a. Insert the Windows Vista installation disc.
    b. restart your computer.
    c. If prompted, press any key to start Windows from the installation disc.
     
    Note: If your computer is not configured to start from a CD or a DVD, see the documentation provided with your computer. You may need to change your computer's BIOS settings. For more information, see BIOS: frequently asked questions.
     
    d. choose your language settings, and then click Next.
    e. click on repair your computer.
    f. Select the operating system you want to repair, and then click Next.
    g. on the System Recovery Options menu, select the memory diagnostic tool.
     
    Once scanning is complete, check to see if the problem is resolved.
     
    Access the link below to learn more about Windows recovery options in Windows Vista.
     
     
     
    If you have several sticks of RAM installed on the computer, you can try to remove one of the RAM stick and check if it works very well. Also, you try to exchange the RAM sticks and check if one of the RAM is originally this issue and if it needs to be replaced.
     
    Note: If you are not aware of the evolution and swaping the stick of RAM on the computer, it is best to contact the computer manufacturer for help on this and you can do it at your own risk.
     
    You can also contact Dell support and check if you need to replace any hardware.
     
    Aziz Nadeem - Microsoft Support
  • Incompatible with the controller hard drive for Windows 10 update

    After 4 TEC, I was able to update Windows 10.  Now the report of compatibility for my computer says that my hard disk controller is not compatible with Windows 10.  I have Windows 7 and its been running pretty well with some minor problems.  When I go to search for drivers or windows updates, it seems to continue indefinitely and do nothing.  Not sure if that has anything to do with the controller, but I thought I would include this information.

    The latest technology suggested that I go to my local IT guy... funny, considering it's my computer at home.  What are my options?  Or someone has an idea how I could get the controller fixed my own?  Or should I consider 10 Windows a lost cause and wait until I get a new computer?  Thank you!

    Hello!  Thanks for the reply.  I've updated driver for the controller, and the next day was 10 Windows in my Windows Update.  I opened it to the top, and it worked!   Now have 10 Windows happily running on my computer.  Thanks for the information!

  • Integration of CISCO ISE with another controller wireless lan of the seller

    Hi all!

    I am currently working on an assignment and eager to integrate the identity service provider in the network. the only problem is that the deployed wireless network earlier of another provider I just need to know that either ISE has integration with the other controller feature wireless provider and can provide guest access control. The LDAP integration is also required.

    Waiting for help!

    Hello

    According to my knowledge Yes, Cisco ISE can be integrated with another controller wireless LAN of the seller, but limited. (Aruba, Rukus) and if you want to add the external identity group to your network, then LDAP integration is required.

  • How to do a system restore with windows 8. my mouse is not working but the keyboard works

    How to do a system restore with windows 8. my mouse does not work but the keyboard works.

    I've updated some drivers and now my mouse does not work

    Press the Windows key and press 'R '. Type "appwiz.cpl" without the quotes in the box run. Use the arrow keys to scroll down for updated drivers. When the driver is highlighted Press 'enter '. Use the arrow keys to select Yes in the uninstall confirmation dialog box. Restart the computer.

    You can run the restoration of the system from a command prompt if you are unable to uninstall the drivers. Press the Windows key and 'X', use the arrow keys to select the type of command (Admin) line "rstrui.exe" without the quotes. Use the arrow keys to navigate the windows system restore.

    Jim

  • system.callSystem with xcopy

    Hey guys,.

    I'm trying to copy a directory from one location to another using system.callSystem with the xcopy command. I tested the string that I use as a parameter directly in the command prompt and it works, so I know I'm feeding the function correctly. However, when I run it, nothing happens. Any ideas what could be going wrong? Is there something that I am missing?

    Here's the call:

    system.callSystem ("xcopy" ' + sourceDir + '-*. * "/ e" "+ targetDir + '"');

    This string, I'm animals is the equivalent of

    xcopy '\\SOURCE_NETWORK\SOURCE_DIRECTORY\*.*' / e '\\TARGET_NETWORK\TARGET_DIRECTORY '.

    I test your code in AE CC 2014 and failed too. Perhaps scripts have no direct xcopy permission. Try the next method.

    /*

    callStr = "xcopy" ' + sourceDir + ' \ *. "" ' * ' / e ' "+ targetDir + '" "';

    system.callSystem ("cmd.exe /c \""+callStr+"\"" ");

    */

    It works fine now. If the system.callSystem () do not correspond to cmd.exe in fact.  You must call the cmd.exe in this method.

    However, at least we can directly use "Explorer" to address the same goal. Just save the chain of command as a * cmd file. After you run the temp by call "Explorer" file, delete it.

    Here is the code:

    /*

    callStr = "xcopy" ' + sourceDir + ' \ *. "" ' * ' / e ' "+ targetDir + '" "';

    outFile = File("~/Desktop/tempCmd.cmd");

    outFile.open ("w");

    outFile.write (callStr);

    outFile.close ();

    system.callSystem ('explore' + outFile.fsName.toString ());

    outFile.remove ();

    */

    The difference of the two methods. The first method shows the string that you call in cmd interface, while the second method not.

    Moreover, it seems that relative path not working with xcopy, so make sure you convert the souceDir and targetDir absolute path.

Maybe you are looking for