"Drive Distance" in Direct Mode

I have a pen plotter program that I've come back to.  It works virtually.  The Vi sends out: a Pen Up or Down number, an X axis number, and a Y axis number. These last two numbers are distances for lines that make up letters.  I don't know if I have an up to date LabVIEW add on for NXT Direct Mode Programming.
My vi might work if I could use a couple of "Drive Distance Motors"  in Direct Mode.  Do they exist?  Also,  What is the limit on how big a vi can be?  How many structures can one use ?  Is memory the only consideration?
Attachments:
PenPlot.vi ‏31 KB

You asked about the type of motor. I've used the three servo motors that come with the Lego NXT Mindstorm Education Set. I wrote the attached program for a Lego Pen Plotter I saw on YOUTUBE. I'll see if I can attach a picture. The name of the designer of the Pen Plotter is with my saved emails. I regret I cannot give you his name while I'm writing this. If you need it let me know.
Thanks for reading and responding to my message
N.D.
Attachments:
image.jpg ‏248 KB

Similar Messages

  • Question regarding NAT and directed-mode

    Hello,
    I have two WAE 574 devices and a CM 274 all running code level 4.3.1.6, The CM is behind a PIX firewall. There is no firewall between the branch and core WAE. The branch device is behind a NAT router. The CM and SSL ASA rea behind a PIX 515 firewall. The branch WAE is running inline mode and the core WAE is using WCCP redirection. Both the CM and SSL ASA are reverse NATted on the PIX firewall. The branch WAE has the primary interface unchecked on the CM and is using the NAT address.
    I am getting asymmetric route issues. This is because for some reason the NAT address of the branch WAE sends the SYN which is responded to but the ACK is coming from the unnatted private address. When I turn off directed mode I can see optimisation start for some sessions but not for the SSL
    ASA.
    Example
    Branch WAE Private 192.68.1.45
    Branch WAE Public 206.99.88.10
    CM private 192.168.20.9
    CM public 240.10.10.20
    PIX log
    an 15 2012 11:50:58: %PIX-6-106015: Deny TCP (no connection) from 192.68.1.45/46871 to 240.10.10.20/443 flags PSH ACK on interfe
    Although the PIX NATs the CM address, the core WAE is still still seeing it's private address.
    Do you have any idea what could be causing this ?
    Best regards
    Stephen
    Jan 15 2012 11:51:12: %PIX-5-106100: access-list DMZ_access_in denied tcp DMZ/192.168.20.9(443) -> outside/206.99.88.10(46871) hit-cnt 1 f]
    Jan 15 2012 11:51:31: %PIX-6-106015: Deny TCP (no connection) from 192.68.1.45/46871 to 240.10.10.20/443 flags PSH ACK on interfe
    Jan 15 2012 11:51:37: %PIX-6-106015: Deny TCP (no connection) from 192.68.1.45/46847 to 240.10.10.20/443 flags PSH ACK on interfe
    Jan 15 2012 11:52:08: %PIX-6-106015: Deny TCP (no connection) from 192.68.1.45/49634 to 240.10.10.20/443 flags PSH ACK on interfe
    Jan 15 2012 11:52:10: %PIX-5-106100: access-list outside_access_in permitted tcp outside/206.99.88.10(23183) -> DMZ/240.10.10.20(443) ]
    Jan 15 2012 11:52:10: %PIX-6-302013: Built inbound TCP connection 1475554768 for outside:206.99.88.10/23183 (206.99.88.10/23183) to DMZ:WAD)
    Jan 15 2012 11:52:10: %PIX-6-106015: Deny TCP (no connection) from 192.68.1.45/23183 to 240.10.10.20/443 flags ACK on interface e

    Hi Stephen,
    To troubleshoot this further, we would need to get a topology diagram of your network, as well as the configurations from all devices, so it would probably be better if you open a TAC service request.
    Regards
    Daniel

  • Scanning from 5520 to iPad in wireless direct mode ?

    I have a Photosmart 5520 printer and a 3G  iPad - without any other computer equipment or WiFi network or
    router in the house. The printing from the iPad to the 5520 in the Wireless direct mode works well.
    My question is if I can scan from the 5520 to the iPad ? Have looked in the HP ePrint app for directions
    or control buttons but can't find any. Is scanning from 5520 to iPad possible ?  Selecting  "scan to computer"
    on the 5520 control panel does not work.
    Looking for any helpful comments
    Thanks
    Johann
    This question was solved.
    View Solution.

    Hello Johan,
    The HP ePrint app is a different app than the one I have mentioned above.
    The HP Printer Control mobile app is a different one which also allow scanning.
    simply open the Apple App Store, search for HP Printer Control and install it.
    Through that app you will also be able to scan.
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Mounting a usb hard drive in single user mode

    I've gotten as far as connecting the hard drive at boot, but I don't know how to figure out which dev is the hard drive, and which arguments to use with the mount command. I can't do much when I login, and I'm trying to cp files from my hard drive to my external hard drive through single user mode.
    Any help is greatly appreciated. Thanks.

    Hi leung wai,
       I wouldn't mind knowing the answer myself. I think the problem with doing it in the manner you attempted is that the device tree hasn't been created yet so the mount command is certainly not going to work. I assume that the answer is to start up enough of the system to have the device tree created. Unfortunately, I don't know where in the startup process that occurs. You could try the following command after making the boot volume writable:
    /usr/libexec/registermach_bootstrapservers /etc/mach_init.d
    Then check to see if the /dev virtual filesystem has been created. Of course it wouldn't surprise me if that didn't also mount your disks. If not, try the following:
    /sbin/SystemStarter
    It should have been created after that because at that point almost the whole system has started.
    Gary
    ~~~~
       You've been telling me to relax all the way here, and
       now you're telling me just to be myself?
             -- The Return of the Secaucus Seven

  • Mount an external hard drive in single user mode

    Do any know how to mount an external hard drive in single user mode:
    I've issue the following command:
    /sbin/mount -uw /
    mkdir /Volumes/ex1
    /sbin/mount_hfs /dev/disk2s3 /Volumes/ex1
    (I've checked my external hard drive using df -k showing the device is disk2s3)
    Result:
    Permission denied

    Hi leung wai,
       I wouldn't mind knowing the answer myself. I think the problem with doing it in the manner you attempted is that the device tree hasn't been created yet so the mount command is certainly not going to work. I assume that the answer is to start up enough of the system to have the device tree created. Unfortunately, I don't know where in the startup process that occurs. You could try the following command after making the boot volume writable:
    /usr/libexec/registermach_bootstrapservers /etc/mach_init.d
    Then check to see if the /dev virtual filesystem has been created. Of course it wouldn't surprise me if that didn't also mount your disks. If not, try the following:
    /sbin/SystemStarter
    It should have been created after that because at that point almost the whole system has started.
    Gary
    ~~~~
       You've been telling me to relax all the way here, and
       now you're telling me just to be myself?
             -- The Return of the Secaucus Seven

  • Mount external Hard drive in Single user mode

    Do any know how to mount an external hard drive in single user mode:
    I've issue the following command:
    /sbin/mount -uw /
    mkdir /Volumes/ex1
    /sbin/mount_hfs /dev/disk2s3 /Volumes/ex1
    (I've checked my external hard drive using df -k showing the device is disk2s3)
    Result:
    Permission denied

    I seem to remember the "Permission denied" or "Device busy" coming up in some situations but not others when attempting to mount drives at this early stage in "single user" mode...
    It might be worth trying to run:<pre>sh /etc/rc</pre>This is actually present among the "Tiger" messages in "Single User" mode, as the procedure to continue booting but remaining in "single user" mode. Indeed, it seems to start up the usual "services" like starting disk arbitration (so you can eg. use 'diskutil' to repair permissions, or loading "NetInfo" so you don't need to work in '-raw' mode - in the past, people had posted complicated procedures for doing these things manually.
    After running the 'rc' script, try creating your mount point and and running 'mount_hfs' as usual...

  • How to get transacted session in direct mode with jmsra adapter

    Hi,
    I use MQ 4.4u1 release with GF in EMBEDDED mode. I configured several connection factories with NoTransaction/LocalTransaction/XATransaction support. In my app I get a connection factory from JNDI tree, create connection/session/producer and send several messages to queue. Everything works fine when I don't use transactions. But, when I want to send messages in one transaction, the connection always provided to me non-transacted session. The session created via
    Session session = connection.createSession(true, Session.SESSION_TRANSACTED);
    request. I check the session transacted state and acknowledge mode right after i get it:
    log.fine("Session: " + session + "; transacted: " + session.getTransacted() + "; ackMode: " + session.getAcknowledgeMode());
    The log shows me that the session is not transacted and ackMode is 0 (DUPS_OK_ACKNOWLEDGE). If I try to commit the session after messages were sent I get the correct exception:
    javax.jms.IllegalStateException: MQJMSRA_DS4001: commit():Illegal for a non-transacted Session:sessionId=3361979872663370240
    Does anyone know how to get transactional session in direct mode?
    Thanks, Denis.

    I mentioned LOCAL because I misread your post and thought you were suggesting that LOCAL mode behaved differently.
    If you want to send messages in a transaction from within a Servlet then I think you're expected to use a UserTransaction: Here's an example that worked for me:
            Connection connection = outboundConnectionFactory.createConnection();
            Session session = connection.createSession(true, Session.SESSION_TRANSACTED);
            userTransaction.begin();
            MessageProducer producer = session.createProducer(outboundQueue);
            int numberOfMessages = 10;
            for (int i = 0; i<numberOfMessages; i++) {
                Message message = session.createTextMessage("Hello world");
                producer.send(message);
            userTransaction.commit();
            connection.close();I obtained the UserTransaction with this resource declaration:
        @Resource(name = "java:comp/UserTransaction")
        private UserTransaction userTransaction;The EJB spec explicitly states that local transactions aren't supported in EJBs; I haven't found such an explicit statement for Servlets but suspect that JMSRA is taking the same approach.
    As for imq.jmsra.direct.disableCM property - this appears to disable connection pooling and from your post changes other behaviour as well. How did you find out about it (other than by examining the code)? As far as I can see this is not a documented feature and is not necessarily tested or supported.

  • Content is not Panning while softkeyboard appears in GPU and Direct Mode (Adobe Air SDK 4.0.0.1390)

    Hi,
    My content is not panning while softkeyboard appears in GPU and Direct Mode(I have placed my input textfield at the bottom of the screen) it is working fine with the CPU and AUTO Mode. I am using Air sdk v 4.0.0.1390. I have checked my manifest file also and have added '<softKeyboardBehavior>pan</softKeyboardBehavior>' still it is not panning my content while keyboard appears.
    Has anybody faced this problem earlier?
    (On Android i am getting this problem on iOS it is working fine)

    Could you please open a new bug report on this over at https://bugbase.adobe.com?  When adding the bug, please include some sample code or a sample application so we can quickly test this out internally.  If you'd like to keep this private, feel free to email the attachment to me directly ([email protected]). 
    Once added, please post back with the URL so that others effected can add their comments and votes.
    Thanks,
    Chris

  • Sun Java System Identity Manager 7.1 PasswordSync direct mode ERROR!

    Hello,i wanna use direct mode to config the Sun Java System Identity Manager PasswordSync to avoid the complex configuration of JMS, but I get the following error in logs:
    03/26/2008 10.52.34.062000 [2164] (../../../src/wps/passwordsync/lhpwic.cpp,591): EndpointURL: http://idmzone1.gmcc.net:8080/idm/servlet/rpcrouter2
    03/26/2008 10.52.34.062000 [2164] (../../../../src/wps/agent/connect/RAEncryptor.cpp,69): RAEncryptor::Decrypt3DES: input length (16) moded to 2
    03/26/2008 10.52.34.062000 [2164] (../../../src/wps/passwordsync/lhpwic.cpp,624): about to login...
    03/26/2008 10.52.34.109000 [2164] (../../../src/wps/passwordsync/lhpwic.cpp,628): Login failed error code : -1072896682. Disassembing client
    03/26/2008 10.52.34.109000 [2164] (../../../src/wps/passwordsync/lhpwic.cpp,648): Exit: GetClient
    03/26/2008 10.52.34.109000 [2164] (../../../src/wps/passwordsync/lhpwic.cpp,916): Error getting our soap, bailing out.
    It is really difficult to find the way to resolve this probblem..... PasswordSync direct mode works fine in 6.0 in my VM.. but error here in 7.1.
    Is there anyone can give me a suggestion? Thanks you very much!

    Tried Hot fix 81 also still giving me the error and re-rigisterd dotnet.dll
    Log File for Hot fix 81
    (../../../src/wps/passwordsync/lhpwic.cpp,559): Error reading dumpFileBase, no dump file generation on exception
    (../../../src/wps/passwordsync/lhpwic.cpp,567): Exit: ReadRegistrySettings
    (../../../src/wps/passwordsync/lhpwic.cpp,593): Soap client created
    (../../../src/wps/passwordsync/lhpwic.cpp,594): ClientTimeout: 18000
    (../../../src/wps/passwordsync/lhpwic.cpp,604): Proxy server not specified
    (../../../src/wps/passwordsync/lhpwic.cpp,608): EndpointURL: http://idm-dev:80/idm/servlet/rpcrouter2
    (../../../../src/wps/agent/connect/RAEncryptor.cpp,69): RAEncryptor::Decrypt3DES: input length (16) moded to 2
    (../../../src/wps/passwordsync/lhpwic.cpp,641): about to login...
    (../../../src/wps/passwordsync/lhpwic.cpp,645): Login failed error code : -2147467259. Disassembing client
    (../../../src/wps/passwordsync/lhpwic.cpp,665): Exit: GetClient
    (../../../src/wps/passwordsync/lhpwic.cpp,935): Error getting our soap, bailing out.
    even if i gave wrong username and password it giving me the same error
    Can someone help on this

  • Repeated Nvidia error on Vaio Z1 laptop: "Display driver NVIDIA Windows Kernel Mode Driver, Version 188.80 stopped responding and successfully recovered." Any thoughts?

    I keep having my screen go black and then Win 7 pro gives me this error:
    "Display driver NVIDIA Windows Kernel Mode Driver, Version 188.80 stopped responding and successfully recovered."
    everything is fine after that.
    happens 3 or 4 times a day.
    '''doesn't '''seem to be on graphics or flash heavy sites.
    driver is up to date and tried reloading driver.

    I keep having my screen go black and then Win 7 pro gives me this error:
    "Display driver NVIDIA Windows Kernel Mode Driver, Version 188.80 stopped responding and successfully recovered."
    everything is fine after that.
    happens 3 or 4 times a day.
    '''doesn't '''seem to be on graphics or flash heavy sites.
    driver is up to date and tried reloading driver.

  • Mounting flash drives in  solaris failsafe mode

    Hello all,
    Suppose our system has crashed and we cannot login in solaris normal mod. But we need the data.
    I have done the following exercises to take the back up of the file system.
    1:- logged in fail safe mode.
    2:- mounted the file system in to a mount point.
    3:- took the backup of the file system using cpio command as /a/man.back.
    4:- tried this command "mount -F pcfs /dev/c4t0d0p0:1 /a/flash" to mount the flash drive. But it failed.
    How can we mount the flash drive in fail safe mode?
    or, Is there any other way to take the backup of the file system to an external device to restore after re-installing the OS.
    I would greatly appreciate it, if you could help me to rectify this problem.
    Thank You
    Regards,
    Sajan.

    Thanks, macbig...no joy yet, but definitely a helpful link.
    I've confirmed via System Profiler on laptop #3 that my external USB drive is formatted as MS-DOS FAT32, so mount_msdos seems like the right utility to use. (The drive shows up there as /dev/disk1s1.) Meanwhile, "ls /dev/disk*" on the problem machine returns the following:
    /dev/disk0 /dev/disk0s1 /dev/disk0s2 /dev/disk1 /dev/disk1s1 /dev/disk1s2 /dev/disk1s3 /dev/disk2 /dev/disk2s1
    I've created /Volumes/rescue as a mount point and tried most of those devices with "/sbin/mount_msdos [device] /Volumes/rescue", with the following results:
    /dev/disk1:
    mount_msdos: Unsupported sector size (0)
    /dev/disk1s1:
    mount_msdos: Unsupported sector size (1)
    /dev/disk1s2:
    mount_msdos: /dev/disk1s2: Bad file descriptor
    /dev/disk1s3:
    mount_msdos: Unsupported sector size (0)
    /dev/disk2:
    mount_msdos: Unsupported sector size (64543)
    /dev/disk2s1:
    kextload: cannot resolve dependencies for kernel extension /System/Library/Extensions/msdosfs.kext
    error loading extension /System/Library/Extensions/msdosfs.kext
    mount_msdos: msdos filesystem is not available
    Based on this, I'm guessing that disk2s1 is the device I want. Unfortunately, when I try to poke around in /System/Library/Extensions, I'm getting I/O errors...gah. I have a bad feeling about this.

  • Mounting USB Drive in Single user mode

    My Intel Imac fails to boot up. fsck -y fails too ... can't think of any other way to get my data out ...
    I am left with the only option to copy my data into my usb drive in the terminal mode .
    But I am unable to mount my USB drive. I also need to know the mount point. can anyone provide me with help.

    The mountpoint can be anything you want. The tricky part is figuring out the device your drive is using. I don't know for sure (can't test it right now), but dmesg or one of the system logs might have that information in it if you boot to SUM with the external drive attached. The logs also might have a record of what device this drive used in the past when connected. It will likely use the same device every time.
    If not, you can guess. I have seen one of my external disks mount using the device disk1s2. If I were to attach that to my machine in SUM, I could then mount it like this:
    mount_hfs /dev/disk1s2 /Volumes/recover
    where the mount point /Volumes/recover is something I created (i.e. just a simple "mkdir /Volumes/recover"). This could be anything you want.

  • Direct mode crashes at app start in some Android 4 devices

    I've noticed that compiling an APK with <renderMode>direct</renderMode> in the app descriptor (or Processing Mode: "Direct" in AIR for Android settings in Flash Pro CS6), results in the app not working at all in some devices.
    In a Samsung Galaxy Tab 2 it works fine in Direct Mode, but in two tablets named NVSBL Dragon and Yarvik GoTab Zetta TAB466EUK, it doesn't. All of them have Android 4. After you press the app icon, the screen goes black for 5 seconds, then you get back to the desktop with no error message. This happens every time you press the app icon. I've tried with AIR 3.2 and 3.3 and it always does the same. If the app is in CPU or GPU mode, this doesn't happen.
    BTW, I know "Direct" mode is needed for Stage3D, but other than that, I don't really know what's this mode doing. Please, can someone really explain what's "Direct" mode? (so I can begin to understand why it doesn't work in some devices).

    dan at ctrlbreak dot net wrote:
    It would be somewhat acceptable if Air fell back to software rendering in this case instead of crashing all together. At least we'd have the option of getting better performance on supported devices in the future. My company is trying to decide if the latest Adobe technology is worth while. So far the choice is between an Air for Android App which would trigger a massive CS6 upgrade for a whole department, and making do with older Flash technology in a native webview.
    You don't actually need CS6 to use the latest version of Adobe AIR. You can even skip Flash Pro altogether (except maybe for assets) and use, for example, FDT, which has a free version.
    dan at ctrlbreak dot net wrote:
    Update: I was able to get logcat working using ADB from the command line. Unfortunately only one of the devices I'm currently testing is rooted, and able to do this.
    As far as I know, you don't need root to get ADB traces. I've been able to get traces from devices which weren't rooted.
    BTW, a developer contacted me and says the "Deferred" just means the fix wasn't ready for AIR 3.3 and it was deferred to the next version. Let's hope they fix it this time.
    Everybody which is having this bug, please vote in BugBase, since it's the thing that makes the AIR developer team care about fixing the bug. The more people the better:
    https://bugbase.adobe.com/index.cfm?event=bug&id=3207310
    And while you're at it, please vote this one as well
    https://bugbase.adobe.com/index.cfm?event=bug&id=3207310
    That's another bug which also happens only in Android 4, and involves crashes as well, this time when playing video.

  • How to run report RPTQTA00 direct mode  via FM SUBST_START_REPORT_IN_BATCH

    Hello Experts,
                            I am using SUBST_START_REPORT_IN_BATCH to generate absence quotas for the employees using report program RPTQTA00. But it is taking too much time. I want to use RPTQTA00 in direct  mode but I dont know what settings I need to do before using this method. Please guide me on this.
    Thanks in Advance
    Pratibha
    Edited by: pratibhas on Jan 27, 2011 1:57 PM

    Hi,
    I suggest you not to use the "E:\" directory letter, but the REPORTS_PATH instead.
    <p>
    from the Online Help
    </p>
    <p>
    On Windows, edit environment variables through the Registry Editor (Start > Run > Regedit).
    </p>
    <p>
    On UNIX, edit environment variables by revising and running the shell script that defines the initial default values (reports.sh). If you do this, be sure to keep a backup of the original, unaltered reports.sh file.
    </p>
    <p>
    Regards
    JeanYves
    </p>

  • Kernel Driver IST in User Mode?

    Hi,
    We are discussing about the diagram shown in the following URL:https://msdn.microsoft.com/en-us/library/jj659820.aspx
    In the past I posted similar question for Windows
    CE 6.0 (http://www.tech-archive.net/Archive/WindowsCE/microsoft.public.windowsce.platbuilder/2009-09/msg00242.html) and got a reply that IST of a Kernel mode driver is in Kernel mode but not in User mode.
    We will try to setup the hardware and see in which mode the Kernel driver IST runs.
    Meanwhile if anyone has any inputs please let us know.
    Best Regards,
    GSR

    Just a quick update
    We are creating a thread in Keypad driver which is running in Kernel Mode.
    Inside the Keypad thread we are printing the thread ID using GetCurrentThreadId API.
    Using remote tools process viewer under NK.exe process this thread is listed.
    That means our understanding is a thread created in Kernel mode driver is also running in Kernel mode.
    Let me know if you have any other ideas/thoughts.
    Regards,
    GSR

Maybe you are looking for

  • I Think i Have A Virus Help Me!

    Hey im using a 2011 model imac and when i go onto sites they load very slowly and sometimes only load half the page, on youtube the thumbnails of a few videos look like they have different coloured squares and when i click one it might play for a few

  • Suddenly no input

    I've a MacPro 2007, a X1900XT and a Dell U2140. All is fine as always, playing Spore...when there is no more video input and the monitor goes to sleep. Reboot, no change. Reboot, at last video signal is back. What was wrong? Message was edited by: Mi

  • AC10 - Auto risk analysis and auto mitigation

    Hi, I was wondering if it is possible to - run an automatic risk analysis at the end of an approval stage of the workflow, the same way it is possible to configure at the time of request sending? - automatically put a mitigating control in the reques

  • ApplicationUpdaterUI pop-up disappear

    Hi all! We've experience a strange issue with ApplicationUpdaterUI feature of Flex. We instantiate the object, set the configuration params and call to the initialize() method. All right, after this, we call to checkNow() method. After this, the pop-

  • Raw files to iPad

    Need to transfer raw files to ipad. How?!