SoftMotion Straight Line Move Read/Write Targ Pos functional​ity

I have been reading up/studying example code on the SoftMotion package from NI.
I downloaded the "NI Week 2008 SoftMotion Development Module 2.1 & Compact RIO 6 Axes Coordinated Motion Demo" code to review how I might implement some homing routine on stepper axes, and ran across some undocumented code.
I note that the Straight Linr Move Read/Write property of Targ Pos (Target Position) can take in either a scaler target or arrays of targets.  The detailed help for this node does not detail the difference in operation.
From what I can decipher it seems to be that the Array input is for when you have mapped multiple axes to a "coordinate" and the array input sets the target positions for the individual axes in the coordinate.
Is this true?
Ryan Vallieu
Automation System Architect
Solved!
Go to Solution.

Thanks for the clarification.
Ryan Vallieu
Automation System Architect

Similar Messages

  • Read, Write and other functionality on Acrobat reader file

    Hi,
    What are the functions that can be done on Acrobat file using C#.net Programming.
    Can we add E-Signature to Acrobat file through C# Programming? and do other operations.
    Can u suggest the links for sample program.
    I came to know with Adobe Reader we can't do operations on PDF document. we requires Adobe Acrobat Standard or Professional. is it true?
    Your suggestions requested

    Thanks for your reply.
    I have gone through some on example given in SDK.
    out of four "BasicIacCS", "BasicIacOCXCS", "FillFormCS", "JSObjectControlCS" in SDK samples,  only "BasicIacOCXCS" is working.
    remaining projects throws error "Retrieving the COM class factory for component with CLSID"
    I have only installed Acrobat Reader, do we require full Adobe Version?

  • Move straight Line on an image view.

    I have drawn a straight line on an UIImageView using CAShapeLayer but I m unable to move it. 
    How to move it on an UIImageView?

    I have drawn a straight line on an UIImageView using CAShapeLayer but I m unable to move it. 
    How to move it on an UIImageView?

  • Not allowed to move (only copy) files within Shared Folder (yes, permissions are set to Read/Write)

    I have moved my media (Music, Movies, Pictures) to the Users/Shared folder.  As I'm doing some cleanup in these folders, I am trying to move several folders/files at once, all within the same Shared folder.  I have confirmed that the permissions settings under "Get Info" are set to "Read/Write" and I have verified and repaired permissions with Disk Utility.  However, every move I try to do is a copy.  I have tried the Command-Drag method, but I'm still left with the green plus sign indicating a copy.
    On smaller files/folders, this wouldn't matter so much as I would copy, then just delete the original.  But I'm dealing with many, many gigs of music and my HD doesn't have space for holding copies, even if the originals will be deleted.
    Very frustrating to have to spend so much time to figure out what would seem to be a very basic file management feature.
    I've searched and read and searched some more, but I'm stuck.  Thanks to any who can help. 

    Do have file sharing and remote login checked
    When on Betty's computer, Sign into Bob's computer with Bob's username & Bob's Password, instead of Betty's.
    BINGO!!!!  Problem solved.  Many thanks!!!

  • I am moving from PC to Mac.  My PC has two internal drives and I have a 3Tb external.  What is best way to move the data from the internal drives to Mac and the best way to make the external drive read write without losing data

    I am moving from PC to Mac.  My PC has two internal drives and I have a 3Tb external.  What is best way to move the data from the internal drives to Mac and the best way to make the external drive read write without losing data

    Paragon even has non-destriuctive conversion utility if you do want to change drive.
    Hard to imagine using 3TB that isn't NTFS. Mac uses GPT for default partition type as well as HFS+
    www.paragon-software.com
    Some general Apple Help www.apple.com/support/
    Also,
    Mac OS X Help
    http://www.apple.com/support/macbasics/
    Isolating Issues in Mac OS
    http://support.apple.com/kb/TS1388
    https://www.apple.com/support/osx/
    https://www.apple.com/support/quickassist/
    http://www.apple.com/support/mac101/help/
    http://www.apple.com/support/mac101/tour/
    Get Help with your Product
    http://docs.info.apple.com/article.html?artnum=304725
    Apple Mac App Store
    https://discussions.apple.com/community/mac_app_store/using_mac_apple_store
    How to Buy Mac OS X Mountain Lion/Lion
    http://www.apple.com/osx/how-to-upgrade/
    TimeMachine 101
    https://support.apple.com/kb/HT1427
    http://www.apple.com/support/timemachine
    Mac OS X Community
    https://discussions.apple.com/community/mac_os

  • AVG says your server messed up my Verizon Yahoo email. The line that reads delete, move, not spam, more...does not load. I can see my email, I just cannot open

    I just spent over 5 hours in computer share with AVG. They said your server messed up my email account. I can get to my email account, but the line that reads "delete, move, not spam, more" never loads...therefore, I cannot delete email or anything else. My email account is at verizon yahoo. I need access to my email for various reasons, one of them being I pay many bills online and my email account is where I get certification that the payment went through!! My email will work through IE, though. I do not want to utilize IE to see my email...I use Firefox for everything and it would be a pain in the butt to have to switch to IE to access my email. Not to mention, I loathe IE--it's like using WEBTV! It's soooooo slow.... [email address removed, please do not post sensitive information in a public forum] is my email...

    Did the support person have you do the usual:
    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server.
    Alternately, you also can clear Firefox's cache completely using:
    "3-bar" menu button (or Tools menu) > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now"
    If you have a large hard drive, this might take a few minutes.
    (2) Remove your Yahoo.com cookies (save any pending work first). While viewing a page on the site, try either:
    * right-click and choose View Page Info > Security > "View Cookies"
    * Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
    In the dialog that opens, you can remove the site's cookies individually.
    Then try reloading the page. Any improvement?
    In case one of your extensions is involved, could you test the page in Firefox's Safe Mode? That's a standard diagnostic tool to deactivate extensions and some advanced features of Firefox. More info: [[Troubleshoot Firefox issues using Safe Mode]].
    You can restart Firefox in Safe Mode using either:
    * "3-bar" menu button > "?" button > Restart with Add-ons Disabled
    * Help menu > Restart with Add-ons Disabled
    Not all add-ons are disabled: Flash and other plugins still run
    After Firefox shuts down, a small dialog should appear. Click "Start in Safe Mode" (''not'' Reset).
    Any difference?

  • Newbe - straight line with different curves at each end

    I'm generally not using Illustrator as I'm sure you can tell. I need several curly brackets, but none will really do as they will cover varioius lengths and should be the same size. It looks like the easiest way will simply be to create one putting two straight lines together, but I cannot even determine how to get a curved end at one end of the line - yet alone a second different curve on the other end. Thanks. Rick

    shiesl,
    For the curly bracket shape you may consider quarter circles at the ends, and a pair at the middle, all with the same radius.
    You may:
    1) Create a circle with the Ellipse Tool and cut it into quarters at the Anchor Points; you may then use all the bits or just one or two of them with copies,
    2) Place the first quarter with the inner end where you want the first straight part to start (on one side of the intended straight part),
    3) Place the second quarter (corresponding to a 180 degrees rotation) oppositely (on the other side of the intended straight part) where you want the firrst straight part to end,
    4) With the Direct Selection Tool select both inner ends and Object>Path>Join, now you have one half curly bracket,
    5) Object>Transform>Reflect, Align the two halves, and Join them at the midlle.
    For different lengths, you may Direct Select the two Anchor Points at either end and move them away from the middle (you may use arrow, Object>Transform>Move, or other ways).
    If you just want roundings at the ends, you may simplify the suggestion here, just having the second one on the same side in 3) and finish with 4).

  • Asynchronous read & write by using Asynchronous api provided in nio-java 7

    HI,
    I am trying to write a small program to implement **asynchronous read & write by using Asynchronous api provided in nio in java 1.7** in windows machine.
    i tried the following code to write a small string to a file asynchronously.file is getting created but the contents are not dispalying.
         static long startTime = System.currentTimeMillis();
         static long endTime;
         static long execTime;
         public static void main(String[] args) {
              String path = "C:\\AsynchWrite.txt";
              Path file = Paths.get(path);
              final AsynchronousFileChannel channel;
              long pos = 1;
              try {
                   OpenOption[] options = { StandardOpenOption.CREATE,
                             StandardOpenOption.WRITE, StandardOpenOption.SYNC };
                   channel = AsynchronousFileChannel.open(file, options);
                   ByteBuffer buffer = ByteBuffer.allocate(1000);
                   String writeThis = "Testing by writing a line";
                   byte[] src = writeThis.getBytes();
                   buffer.put(src);
                   channel.write(buffer, pos, null,
                             new CompletionHandler<Integer, Object>() {
                                  @Override
                                  public void completed(Integer result, Object attachment) {
                                       System.out.println("completed successfully");
                                       System.out.println("start time :" + startTime);
                                       endTime = System.currentTimeMillis();
                                       System.out.println("end time : " + endTime);
                                       execTime = endTime - startTime;
                                       System.out.println("Execution Time :" + execTime);
                                       System.out.println("Execution Time(ms) :"
                                                 + execTime);
                                       try {
                                            channel.force(true);
                                            channel.close();
                                       } catch (IOException e) {
                                            // TODO Auto-generated catch block
                                            e.printStackTrace();
                                  @Override
                                  public void failed(Throwable exc, Object attachment) {
                                       // TODO Auto-generated method stub
                                       System.out.println("failed!!");
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         }Please help me out
    Thanks in advance,
    Ravi

    It looks like you are missing buffer.flip() after your put as otherwise the buffer position will be at 25 (not 0 as you expect).

  • How do you draw freehand lines like in Paint,I can only draw straight lines

    Hi,
    Im tryin to develop a page where people can practice writing foreign characters using a mouse, I can currently only get straight lines from my code and was wondering what i would have to do for my lines to follow the movements of the user? As this would be more helpful!
    (is it some sort of FOR loop with a repaint() method occuring at a regular interval??)
    Yours Thankfully
    Raj

    was wondering what i would have to do for my lines to follow the movements of the userKeep track of the mouse x and y coordinates starting with mousePressed, continuing with every detected mouseMoved and terminating on mouseReleased. As a new set of coordinates is formed, redraw and repaint!
    ;o)
    V.V.

  • Depreciation key - Straight line method

    Hi,
    I have an asset with ord deprecition start date on 1.7.07. After the financial year close on 31.3.2008, we have change the ord. depn start date to 1.3.2007. Now, the adjustment is being admortised to the asset useful life (3 years) instead of catch up on the next posting run. Asset is having depn key NBV/remaining useful life with catch up method.
    My accountant do not want to perform any write-up nor unplanned for this asset. We suspect something might be wrong at the depn key setting.
    How to create a depn to enable the adjustment posted on the next run with straight line depn NBV/remaining useful life.
    Can anyone tell me what is the parameter to be set for each of the following,
    Base method
    period control
    multilevel
    changeover
    Thanks,
    CL

    .

  • Straight line through all the page

    Hi everybody!
    How can I make a straight and thin line through all the page, under my logo?
    I need the line to go from one to the other side of the page without interruption.
    I created an image in Photoshop: I drew my logo and the line under it. I gave to the line the same width of the DW default window (1099 px).
    Then I import the image as a .png with transparency, because it has to overlap every element in my web page.
    I put it out of the main container and gave it a "relative" position, but then, both live view and browser preview are different: the line moves left or right, I can't control its position...
    What is the easier and best way to create this graphic layout?
    Thank you.

    This is my screen.
    Now the logo and the line are part of the same .png image. But I can't give it the right fixed position on the page.
    I try to follow your instructions...
    Sorry if I can't explain very well, but I'm new with this program (and sorry for my english too)!

  • Straight line again

         if (mousecounter == 0)
              slope = (newx-oldx)/(newy-oldy);
              slope2 = (newy-oldy)/(newx-oldx);
              ++mousecounter;
    oldx = oldx+ slope;
    oldy = oldy + slope2;I need desperate help.......... I need to be able to take the old coordinates (oldx. oldy) and move them in straight line to (newx, newy). The problem is, its a mouse click, and it will need to be able to move forward, backward, side to side, etc in a straight line...... Suggestions?

    Taken from: http://catb.org/esr/faqs/smart-questions.html
    If You Can't Get An Answer
    "If you can't get an answer, please don't take it personally that we don't feel we can help you. Sometimes the members of the asked group may simply not know the answer. No response is not the same as being ignored, though admittedly it's hard to spot the difference from outside.
    In general, simply re-posting your question is a bad idea. This will be seen as pointlessly annoying. Have patience: the person with your answer may be in a different time-zone and asleep. Or it may be that your question wasn't well-formed to begin with."

  • Straight line

              if (mousecounter == 0)
              slope = (newx-oldx)/(newy-oldy);
              slope2 = (newy-oldy)/(newx-oldx);
              ++mousecounter;
    oldx = oldx+ slope;
    oldy = oldy + slope2;I need desperate.......... I need to be able to take the old coordinates (oldx. oldy) and move them in straight line to (newx, newy). The problem is, its a mouse click, and it will need to be able to move forward, backward, side to side, etc in a straight line...... Suggestions?

    Did you figure out your other problem (with getting x or y always 0)?
    Anyway, your slope should be the same for changing both x and y coordinates. Why do you have two slopes? You can't add slopes to x or y coordinates--that makes no sense.
    You have an object at (oldx, oldy).
    The user clicks on (newx, newy).
    The line between the points is:
    (y-oldy)/(x-oldx) = (newy - oldy)/(newx - oldx)Or (expressing y in terms of x):
    y = (((newy - oldy)/(newx - oldx))*(x - oldx)) + oldyOr:
    y = (((newy - oldy)/(newx - oldx))*(x)) + (oldy - ((newy - oldy)/(newx - oldx))*oldx)If you pick an x, you can calculate the matching y on that line. To move in n steps:
    x = oldx;
    x_n = oldx + (((newx - oldx)/n) * oldx);Put those x values in the equation for y, and you will get the corresponding y. Of course, you could just do the same as you did for x:
    y = oldy;
    y_n = oldy + (((newy - oldy)/n) * oldy);

  • I can't draw straight lines for fill-in-the-blank on my tests and worksheets. The "draw it yourself choice makes big fat lines and takes a lot of manipulation. Do I have to draw them myself with a pen and a ruler?

    I can't draw straight lines for fill-in-the-blank on tests and worksheets. The draw-it-yourself ooption gives me thick lines and is time-consuming. So, after all these years, do I have to go back to using a ruler and a pen?

    In Pages v5.0.1, the straight lines are already drawn for you in the Shape Tool. Before we go there, select Menu > View > Show Ruler.
    When you click on Shape in the Pages toolbar, the top left line is straight. Click it. It will drop into your document in a 45 degree angle. Grab the lower left selection grip and drag it up and to the right to position the horizontal line in the length of your choice. Use the Format: Style tab to manage the stroke weight. You can also choose Menu > Edit > Duplicate Selection (command+D) as a productivity tool.
    If you move from the Format: Style tab to the Arrange tab, you can compare the start and end points with where you want the line positioned on the ruler. Once you have it positioned, notice the Lock button, also on the Format: Arrange tab.

  • VISA to read/write COM1

    Dear all,
    This is a simple example to test VISA to read/write my COM1,
    I have Labview 8.6 and even downloaded and installed the VISA441 again.
    But it doesn’t read anything from COM1.
    The error message is “timeout expired before operation
    completed.”
    I appreciate for your help.
    Raymond
    Attachments:
    my visa write read.vi ‏8 KB

    What are you communicating with?  Are you sure you have the right kind of cable between the two.  Between 2 PC's, you would need null modem cable.  Between a PC and another device, you might need a straight through or null modem cable, you would have to check the manual for the device.  Are you sure you have the correct communication settings?  Usually you would need a small delay between the write command and the read command to give time for the other device to read the command and turn around and send back a response.
    Do you know what the return message is supposed to look like?  Does it need a termination character such as a line feed or CR/LF?  How are you running this VI?  It is set up as a one shot VI.  Are you using the Run Continuously button to run it?  I hope not.
    You should really look at the examples in the Example Finder such as Basic Serial  Write and Read.

Maybe you are looking for

  • Java Web Start application doesn't run in Tomcat

    I successfully did a Java Web Start example for me to learn then I tried another one where I encountered an error: This is what Tomcat 6.0.18 says. The deploy is successful but when I try to run the web start application with this htmlcode <A href="h

  • Storage Location wise stock report

    Can any one let me learn, How to get storage location wise & selected date wise stock report in standard SAP

  • "error while generating PDF" in WAD

    Hi All, I created Web Template BI7. In the requirement I have to export the report in PDF. I used Button group. When I have run the template and click to the PDF switch I am getting the export dialog after I click to 'ok' I am getting the error “erro

  • Will an unlocked UK iPhone 5 work on 4G when it is released in the future?

    I am planning on pre-ordering an unlocked iPhone 5 from the Apple website, and am going to be ordering a sim-only deal shortly. My question is whether, when Everything Everywhere (Orange and T-mobile) roll out their 4G LTE coverage and start selling

  • MetaData Services (MDS) Question

    I have extended a View Object (VO) and created a substitution for it. As I understand it, the substitution is stored in the MDS. If a Controller (CO) references the VO, will the substitution be picked up? Does the CO need to be extended in this case?