Slow waveform reading time when digitizer is combined with serial port command

Hi All,
I'm using Digitizer PCI-5112 to capture and differenciate waveforms. The waveform measurement from NIScope will be used to determine the command to be sent to Newport ESP 300 motion controller.
When I run read.vi the digitizer will read the waveforms in a high speed as I wanted. For the same waveform, when I combined read.vi with command to ESP 300 (becomes control.vi) the waveform reading becomes very slow (approximately only 1 waveform per second). Is this happened because of hardware limitation of ESP 300 ? Is there anything wrong with my program to send the command to ESP 300? or Is there any other way so I can keep reading the waveform in a high speed? I realize may be this is because I put the waveform reading part and sending command part in the same loop. But I don't know any other way to do this. I would appreciate any clue or answer. Thank you very much.
Attachments:
control.vi ‏156 KB
read.vi ‏108 KB

Hi Dennis, Thank you for the response.
Sorry, I forgot to attach Positioning.vi at my previous message. This Positioning.vi is used to read the position of the axis. I think I get what you mean, I've tried to remove the while loop for the Positioning.vi but it didn't give any effect. Could you kindly check this positioning.vi for me? 
Actually this is my first time communicating Labview with motion controller. I got those functions from my colleague. Is there any example or library I can refer for the 'normally used' serial functions? (my connection is RS232) It would be very helpful for me.. Thanx 
Attachments:
Positioning.vi ‏18 KB

Similar Messages

  • How do I select Multiple Pdfs at one time when I am combining files?

    How do I select Multiple Pdfs at one time when I am combining files?
    I can only select one pdf at a time.

    Hi,
    Please use either Firefox or Chrome to selelct multiple files.
    Thank you.
    Hisami

  • IPhone 4s reboots many times when trying to sync with iTunes

    iPhone 4s reboots many times when trying to sync with iTunes.
    Since IOS 8, my iPhone 4s reboots many times when trying to sync with iTunes on my Mac. It will start running the backup and reboot, it will reboot many times when updating packages. It can take 12 hours to finish a sync with the mac. The phone gets hot during this. I keep deleting more and more pictures and apps, hoping that maybe it doesn't have enough space, but iTunes shows I have 4.9 Gbytes free, which I think should be enough.  I am on IOS 8.0.2, I thought maybe I would try to upgrade to the latest IOS today, but I am worried that I will end up with a non working phone.
    Is anyone else having these problems?
    Ed

    Well thats Od... I have never experienced that problem.. Maybe you should try to backup your phone and then wipe it by going to Settings<General<Reset

  • Time out function in VISA configure serial port vi

    I have some doubts regarding the time out functionality of "VISA configure serial port vi":
    1) I have set the time out value as 10s while initializing the port using this vi. Does this mean that for any Rx operation happening on the serial port, it will wait for 10s for the data to be received?
    2) Is this waiting functionality also valid on "bytes at port" vi which I am using before reading the port data?
    Because in my application, the control at serial port is actually not waiting for 10s and is coming out before the desired time out (10s). Do I need to set this time out anywhere else apart from initialization at "VISA configure serial port vi"??
    Can anyone please tell the steps to set this timeout for the serial port?
    Thanks in advance!

    1. A read will return when the first of the following is satisfied:
       a. The number of bytes at byte count has been received.
       b. The termination character (if enabled) has been received.
       c. An error is detected.
       d. The timeout time has elapsed.
    I am not sure what happens if handshaking is enabled and the other device pauses communication.
    2. No. Bytes at port returns immediately. This is a status check and it would not make sense for a timeout to apply.
    Without seeing your code and the data the remote device is sending, we can only guess. My first guess would be that you have termination characters enabled (default) and a termination character appears in your data.
    Lynn

  • Hello. I have a problem with OEL 6.5 and ocfs2. When I mount ocfs2 with mount -a command all ocfs2 partitions mount and work, but when I reboot no ocfs2 partitions auto mount. No error messages in log. I use DAS FC and iSCSI FC.

    Hello.
    I have a problem with OEL 6.5 and ocfs2.
    When I mount ocfs2 with mount -a command all ocfs2 partitions mount and work, but when I reboot no ocfs2 partitions auto mount. No error messages in log. I use DAS FC and iSCSI FC.
    fstab:
    UUID=32130a0b-2e15-4067-9e65-62b7b3e53c72 /some/4 ocfs2 _netdev,defaults 0 0
    #UUID=af522894-c51e-45d6-bce8-c0206322d7ab /some/9 ocfs2 _netdev,defaults 0 0
    UUID=1126b3d2-09aa-4be0-8826-0b2a590ab995 /some/3 ocfs2 _netdev,defaults 0 0
    #UUID=9ea9113d-edcf-47ca-9c64-c0d4e18149c1 /some/8 ocfs2 _netdev,defaults 0 0
    UUID=a368f830-0808-4832-b294-d2d1bf909813 /some/5 ocfs2 _netdev,defaults 0 0
    UUID=ee816860-5a95-493c-8559-9d528e557a6d /some/6 ocfs2 _netdev,defaults 0 0
    UUID=3f87634f-7dbf-46ba-a84c-e8606b40acfe /some/7 ocfs2 _netdev,defaults 0 0
    UUID=5def16d7-1f58-4691-9d46-f3fa72b74890 /some/1 ocfs2 _netdev,defaults 0 0
    UUID=0e682b5a-8d75-40d1-8983-fa39dd5a0e54 /some/2 ocfs2 _netdev,defaults 0 0

    What is the output of:
    # chkconfig --list o2cb
    # chkconfig --list ocfs2
    # cat /etc/ocfs2/cluster.conf

  • Error when posting AR Invoice with serial

    Hi experts, just want to ask what is the problem when posting AR Invoice with serial number. The error is "Internal error (-5002) occurred [الرسالة 131-183]"
    Here's my code :
                                If Not oSerial Is Nothing Then
                                    oSerial.DefaultView.RowFilter = "product_reference_code = '" & oDrView("product_reference_code") & "' " 'AND site_reference = '" & oDrView("site_reference") & "' "
                                    For Each oDrSerial As DataRowView In oSerial.DefaultView
                                        Try
                                            .Lines.SerialNumbers.Quantity = 1
                                            .Lines.SerialNumbers.InternalSerialNumber = oDrSerial("serial_no")
                                            .Lines.SerialNumbers.Add()
                                        Catch ex As Exception
                                        End Try
                                    Next
                                End If

    Hi Bryan,
    Have you try to debug it , which line is causing problem.
    With serial numbers you don't have to set the qty.
    other fields that need to be set are :
    for (int count = 0 ; count < totalcount; count ++)
         if (count > 0)
              .Lines.SerialNumbers.Add();
         .Lines.SerialNumbers.SystemSerialNumber = SysSerialNum;
         .Lines.SerialNumbers.ManufacturingSerialNumber = ManufacturingNum;
         .Lines.SerialNumbers.InternalSerialNumber = internalserialnumber;
         Count++ ;
    Hope it will help.
    Regards

  • Slow waveform refresh time on timeline (PrPro CS CC & CC2014 & CC2014 8.1)

    I LOVE so many things about this new release. The one persistent, "always dealing with" issue I have is I have to wait for the audio waveform to refresh most times when I zoom in and out or even just scroll back and forth on the timeline. This is a huge slowdown/impediment issue for me.
    ( i copy text from here : Audio waveform refreshes display slowly on timeline (PrPro CS6) ) <--no solution
    example in video : adobe cc2014 - YouTube
    In my workplace all my colleagues have a similar problem, and no solution!
    Spec:
    CPU: AMD 8350, Intel Core i7-4820K, Intel Core i5-4690K
    Videocard: GeForce GTX 580, GeForce GTX760
    RAM: 16Gb, 32Gb
    HDD: SSD
    OS : WIN7 and Win8 and Win8.1
    and so on, I want to say that it's not because we forgot to install latest drivers, turn off bitcoin mining  or similar, we work with premiere more than 8 years and this is Totally unacceptable!
    so... what is real solution for this? New patch?
    Sorry for bad english! Thanks!

    Harm Millaard wrote:
    Since all their posts at the CreativeCow are completely lacking any useful information, it seems that OE (Operator Error) is the common denominator. OE in terms of using outdated drivers, lacking hardware, incorrect setup, background processes, improper configuration, and name all the other OE's one can think of.
    There are many issues which are in CS6 and they are not Operator Error. My computer exceeds the minimum requirements of Premiere Pro and still have the same issue. On the other hand I have reinstalled several times but can't get Encore DVD menus, and also the title templates is buggy because I can't access the wedding templates. Supporting the application will not yield any further development to correct these issues. The bottom line was that CS6 was a rushed release since Adobe are giving themselves less time to develop the next version as compared to what they used to do. In less than 9 months they will be releasing 6.5 with fixes to all these issues and we will be forced to pay for the upgrade again becuase there will be no support for 6?? I think Harm get the upgrade for free so that you can continue to support Adobe, even if the software is messed up you will simply turn a blind eye. You should test this on an average system most users use not on your monster!!

  • Firefox becomes really slow then eventually unresponsive when loading a page with many hires images. Unsual high memory usage up to 2gigs just for firefox. Was never a problem with v3.6.

    When loading a page with many hires images, Firefox becomes really slow and scrolling becomes jumpy then eventually becomes completely unresponsive. Unusual high memory usage of up to 2gigs just for firefox when loading these pages. This was never a problem with v3.6.

    I encountered the same type of problem. Firefox running terribly slowly and slowing down my entire machine (Core i5 with 256GB SSD). Searching the forums, I found a couple of things about troubleshooting performance issues, one of which was to use '''hardware acceleration''', that is on by default. It was turned on on my PC, '''so I tried deactivating it, and it worked!'''
    So doing the exact opposite as Mozilla support said solved the problem. It is really a pain now to work with Firefox. I'm using it because I have no choice, but I'd recommend IE and Chrome over Firefox... Whatever, the market will decide once Firefox has become to crappy...

  • HT1222 my ipod reads error when trying to sync with itunes

    my ipod reads error when trying to sync to my itunes

    Hello, TheHelper1964.
    Thank you for the question.  There could be multiple causes to the errors that you are receiving.  I have included a couple articles that will help you troubleshoot this issue. 
    iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert
    http://support.apple.com/kb/TS2690
    iOS: Troubleshooting backup issues in iTunes
    http://support.apple.com/kb/TS2529
    If you are uncomfortable processing some of these steps, you can also reach out to us at http://expresslane.apple.com. 
    Hope this helps,
    Jason H. 

  • Slow stream start times/ or server not found with FMIS upgrade

    I recently upgraded from FMS 2 - FMIS 3.5.  Over our internal network videos stream like a dream!  However, accessing them from outside our own network means that they take about 20 seconds to load, or sometimes just get a message saying the server isn't found.
    This wasn't a problem with the FMS2 and there have been no changes to firewall settings or anything like that since the old server was up and running without problems.  I have the new server set to use exaclty the same ports, but wonder if there are some other settings which could be causing this?
    Networking isn't really my area of expertise, and I have no idea where to start looking to improve things.  Can anyone offer some suggestions as to why this would be happening?  Would appreciate any help.  Thanks

    That 20 second period makes me suspect and issue with port bindings. It's typical for the Flashplayer to take about 20 seconds for the attempt on port 1935 to time out and try port 80.
    In your fms.ini, what do you have the adaptor.hostport set to? Also, is there anything else running on the server that might occupy port 80... perhaps an HTTP server? If so, what's the environment? IIS, apache, windows, Linux, etc?
    Also, in your event logs, do you see any errors from FMS suggesting that it can't attach to a specific port? In windows, this will show up in your event viewer... not sure about Linux.
    You might try connecting to the server with a port defined in the url...
    rtmp://mydomain.com:1935/application/instance
    and
    rtmp://mydomain.com:80/application/instance
    If you find that either fail consistently, it would suggest that either a port is occupied by another application, or FMS isn't binding to all of the configured ports or IP addresses for some reason.

  • Stoping VI inbetween when program seeking data from serial port.

    I have an application in which I need to read data from two serial port one after other.
    One read will read 14 byte and other 08 bytes(Just info).
    Now in between if user need to stop the VI then how to stop it?
    Kudos are always welcome if you got solution to some extent.
    I need my difficulties because they are necessary to enjoy my success.
    --Ranjeet

    A state machine could do this easily.  Just have a state to check for the stop (or any other events).
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Split valuation combination with serial number

    Dear all,
    Suppose the  material with serial number is having the split valuation types E.g. C1(New), C2 (Reconditioned), C3 (Reconditioning reqd) is to undergo refurbishment activity. The C1 Conditioned material was already issued to the cost center (Say Serial no.s 1 to 4) .After some period, these four materials are to be refurbished. Now for doing the refurbishment, i have to move these materials into the store.
    1.Which movement type can be used to move into the store.
    2.Which valuation type should be used while moving into the store. (We would have given the valuation type C1 (New) while issued into the costcenter at the begining).
    3.Can we move these materials with the same serial number with the valuation type C3. (After some usage, definitely the condition of the material would have changed).
    Plz reply,
    Regards,
    Suresh.

    Dear Seenuvasan,
    The material is not having Batch management activation. Also it is not asking any Batch data while doing MIGO.
    Any other setting related to S.No+ Batch + Split valuation to be checked?
    Regards,
    Suresh.

  • Ipod too slow when reading video files via DVD player with USB port.

    Hi all, this is my first message in this forum.
    I've got a DVD player that has a USB port and reads all types of disks. When I use my IPOD 80 GB the files I read are somehow frozen and don't run properly (lack of sync between audio and video, etc). I've got version 1.2.1 and use it in disk mode otherwise the player doesn’t see it. Meanwhile a friend of mine uses it's 60 Gb IPO on the same player, version 1.0 and it doesn't need to go to disk mode, and the player reads perfect from it. Is this a problem of the ipod software version?
    Both ipods are in Fat32 format, but in his ipod the partition is set to active. I can't change mine to that, because windows is seeing my IPOD as a removable device, and my friend’s IPOD as a disk.
    Hope I haven't been too confusing, and I welcome any help anyone can give.
    Thanks.

    Sorry, but I don't even know
    what it is you are trying to do. Are you attaching
    the iPod to a stand alone DVD player? Are you trying
    to export stuff out of the iPod into the DVD player?
    Patrick
    Hi, I'm attaching the iPod to a stand alone DVD player, that has a usb input port. And then read video files from it.

  • Latest Reader Hangs when opening any pdf with 'tools' selected

    Any pdf will hang when opened in the latest Acrobat Reader (Either from file or open Acrobar Reader first.)
    However if I first open Reader and turn off the tools (Tools top right) I can then open any pdf without problems.
    Users who want to have the tools bar open are querying this.
    Can anyone help.
    Windows 7 64 bit systems.

    Try disabling Protected Mode [Edit | Preferences | Security (Enhanced)].

  • What matter with a pdf  with Reader Extensions when it's open with Acrobat profesional?

    Hi all
    I'm trying to learn about the functionality of LC using Tour de LiveCycle. It is an exceptional documentation!
    I'm taked the 2 examples about reader extensions functionnality:
    PurchaseOrderExtended.pdf and PurchaseOrder.pdf
    I've open PurchaseOrder.pdf with acrobat profesional and...I could insert comments, save as, signed the pdf...
    Opening it with  Acrobat Reader this is not possible
    Then
    If the company decide to produce a PDF with the "1, 2, 3" funcionalities of reader extensions but not enabling the "4 and 5" funcionalities.....
    Someone that opens this PDF with acrobat profesional has the "1,2,3,4 and 5" functionalities available
    Then
    The  functionality strategy of the company based on the pdf it's not operative!
    Where is the mistake?
    TIA

    There are two possible philosophies for Reader Extensions:
    1) That it is a scheme to limit the the actions that one can take on a PDF; think of this as a sort of a security profile operation
    2) To provide PDF-based access to capabilities on the PDF without having to buy the full Acrobat Standard/Pro.
    Reader Extensions is much more model 2 than model 1.  The goal is to allow people to save filled-in forms, sign pdf or comment on the pdf without having to have the full Acrobat std/pro licensed for their desktop.  So two other things derive from this:
    a) That people who have the full Acrobat version should be able to do anything to the file that they desire
    b) But also that they should be aware of actions that they might take on the PDF that would change the file so substantially that it would lose its rights and the ability of downstream Reader users to act on the file.
    This (2, and then a and b) is the basic philosophy of Reader Extensions and Acrobat.

Maybe you are looking for