Simultaneous execution of time critical parts(one is the drive connected to serial port and the other is the DAQ) in a vi

We are developing a software for a cyclic spin test using Drive.
The drive software consists of a profiler part which should be running in a 50ms
interval.(every 50msec th operation should happen).
This Part uses a DAQ card.
To get some digital status we use serial link .
The status update can be every 250msec.
The problem is that the status read takes a minimum of 70msec to complete
(The serial protocol for the drive specifies some delay b/w operation).
We would like to have the status without affecting the 50msec operation.
How can we do this?
We run Labview 6.0 on Windows2000.

I`m not sure how the serial VIs affect the mutithreading of the LabVIEW environment, but setting LabVIEW to run multithreaded and running the two operations independent of each other (in two while loops without data-dependency between them) might do it. You will find the option for multithreading under "options". Bear in mind that a re-start of LabVIEW is necessary before the changes come into effect.
I would time-stamp the reply of the drive with the time of the request, not after receiving the data.
Hope this helps
Shane
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)

Similar Messages

  • Hello!!!I need to read some data from the serial port and processing these, at the same time I want to see the process that I am doing.

    I read the data without problems, and I see them using Waveform graph, the problem is that I want to see the real time stamps, but in the graph appears 2:00:00,000 and 01/01/04, so the date and the time is wrong !!
    Can I change this?
    I am thinking that the problem is that I have to adquire the data and the time stamps ( using Get date/time) and after, I have to represent both!!!
    Thanks!!!

    Hello,
    As you probably know a waveform is made of a beginning time (t0), a time difference between each value (dt) and an array of values (Y). Your problem is probably that you don't initialize t0. Use the Vi 'Waveform->Build a waveform' to initialize the time of the waveform.
    Hope this helps !
    Julien

  • How do I move data on time machine from one external hard drive to another

    How do I move data on time machine from one external hard drive to another?

    Although the documentation says you can copy Time Machine backups in the Finder, it's very slow and sometimes doesn't work at all.
    Launch Disk Utility, open the built-in help, and search for the term "Duplicate." Follow the instructions. Turn Time Machine OFF in its preference pane while copying the volume.

  • HT201250 I have 2 Lacie external drives connected to a Windows PC.  What is the best scenario for backing up files on both computers?  I would like to save all my files on one backup drive and have Time Machine backup that external drive to the other.

    I don't know if this is a good idea, because the external drive is going to be slower than using my local hard drive to open files from.  My IMac has 1tb and the 2 external drives have 1tb each.  The IMac is my computer and my Wife uses the Windows PC, so I have to make sure both of our files are backed up.  Thanks in advance for any advice regarding this issue.

    I'm in a similar situation including movies I've purchased from iTunes...
    Here's my setup:
    I have all my iTunes data (music, movies, etc.) as well as about 10 GB of photos stored on a nework storage device that uses RAID-5 with SATA disks. This is basically a little toaster-sized NAS machine with four hard drives in it (www.infrant.com). If one of these drives dies, I get alerted and can insert a new one without missing a beat since the data is stored redundantly across all drives. I can also just yank out any one of the four drives while the thing is running and my data is still safe (I tried this after I bought it as a test).
    That's how I prevent problems with a single disk... Redundancy
    Now onto "backups"...
    Nightly, my little RAID toaster automatically backs itself up to an attached 250GB USB drive. However, these backups are only of my critical data... documents, photos and home movies... I don't bother backing up my "Hollywood" movies since I can live without them in a disaster.
    ... I actually don't permanently store anything I care about on a laptop or a desktop. It all goes on the NAS box (Network Sttached Storage) and then my other computers use it as a network drive. It's attached via Gigbait to my main computer and via wireless to most everything else.
    My achilles heel is that I don't store anything outside of my house yet. If I was smart, I'd alternate two USB drives attached to my NAS box and always keep one of them somewhere else (Safe Deposit Box?).
    ...and that's just one way to do it.
    -Brian

  • Best way to acquire data from both serial port and D/A board in real time?

    In my experiment, I have 2 kinds of data: analog and digital. Now, I have to write a programme to acquire both data not only in real time but also in sychronicity. My colleague tried to write a program for this purpose. However, the digital part was failed. For example, the data length found from "data buffer" is correct in the first 10 seconds; however, the format became wrong later.
    Is it one program involved two different data acquisition methods? 

    Hi,
    You need to figure out when the serial port sample occured by some technique and then obtain the equivalent sample from the aquisition board, probably from a circular buffer. If you know the sample rate (pretty implicit really) you can 'cherry pick' the appropriate measurement from the buffer to be synchronus with the serial port measurement.

  • My 5 year old iMac's hard drive is at the point of failing.  I'm trying to save al files on it, but it wont allow backup via Time Machine to an external hard drive.  How can I keep from losing all the files and programs if the hard drive fails?

    I'm concerned that my iMac, purchased 5 years ago, is about the crash and I can't back up my files and programs to an external hard drive via Time Machine because the computer freezes after only a couple hundred MB and gets nowhere near the required amount.
    How can I save these files and programs if the computer hard drive fails or has to be replaced without the backup being able to be done? I need to do something quickly, but I'm not sure what I can or should be doing.

    Get an external hard drive, some good ones that I like are the OWC, http://www.macsales.com Mercury Elite Pro drives...they are very good and reasonably priced.
    Get the drive, connect via USB or FireWire, then use Disk Utility to format the new drive as Mac OS X Extended (Journaled), and then use Disk Utility to Restore the current drive to the new drive.  Restore actually clones the drive so you will have a bootable backup on the external drive.
    After you have formatted and named the external drive, click Restore in the main Disk Utility window, drag the name of the old hard drive to the Source box, and drag the name of the new external drive to the Destination box.  DU will make an exact clone of the internal drive on the external drive.
    That clone will be a complete backup of the operating system and all of your data.
    You can test it by restarting the iMac and hold the Option key.  That will give you a grey screen showing all bootable drives.  Just click the external drive, then click the upward pointing arrow under it and the iMac will boot from that drive.

  • Can I increase the capacity of Time Machine with an external hard drive connected to Time Capsule?

    Can I increase the capacity of Time Machine with an external hard drive connected to Time Capsule via the USB port?  My current Time Machine has a total capacity of 1TB.  I'd like to double or triple its memory.  I don't want to use the external hard drive in lieu of the Time Capsule hard drive.  I'd like to use it in addition to.  Just don't know if/how it's possible.
    This is another one of those questions that I've searched the web for answers, and have gotten tricky answers back.  So now I'm trying to introduce a clean slate to the mix.
    Thank you for your time!

    Well, what you mentioning is possible.  However, I don't know whether it's supported (as in, "easy to set up.").  Time Machine officially supports backing up to a locally attached drive, to a machine running a Time Machine server (i.e. running OS X Server software), and to a Time Capsule.  I don't know that it officially supports a drive attached to an AirPort or to a Time Capsule.  Though I know some people have gotten it to work.
    Best I can say is to try it.  Plug the drive into the Time Capsule, ensure it's shared on the network, and then try and set it as a backup target from a machine in the Time Machine backup panel (you'll need to ensure it's mounted first).  If it works, you're all set.

  • I filmed several takes of the same scene for a movie. I trimmed the best clips from each take and put them into the project screen. However, I can't figure out how to make it flow seamlessly as one scene. Can someone please help me??

    I filmed several takes of the same scene for a movie. I trimmed the best clips from each take and put them into the project screen. However, I can't figure out how to make it flow seamlessly as one scene. Can someone please help me??

    1-800-676-2775  apple support   tech support 1 800 275 2273
    If your computer is on one minute before it freezes, than you have one minute to secure your serial number.
    click the apple----->click about this Mac ------> click on version----> until you see the serial number.  You may have to do this a couple of times if it freezes before you have all the numbers.  A camera might help.
    Good Luck

  • I downloaded the new 6 software. Me and my boyfriend share the same iTunes account and now every time I text him I also get a copy of the text sent to my from my number. How do I get that to stop?

    I downloaded the new 6 software. Me and my boyfriend share the same iTunes account and now every time I text him I also get a copy of the text sent to my from my number. How do I get that to stop?

    Go to settings > messages > send & receive
    check or uncheck the correct phones numbers and/or email addresses

  • I got a new wireless connection for my mac and cannot figure out how to delete the last connection service I had. Everytime I shut the computer, the network goes back to the other one. I cannot find the file ANYWHERE

    got a new wireless connection for my mac and cannot figure out how to delete the last connection service I had. Everytime I shut the computer, the network goes back to the other one. I cannot find the file ANYWHERE

    Under Network Preferences, select the WiFi
    click on "Advanced..." button
    Select the network you want to delete from the list and click on "-"
    Click "Ok"
    Click "Apply"
    Well done ;-)
    You may also want to delete the wireless key from Keychain.
    Open Keychain, seach for the old wifi network name, slect it and click delete

  • How do I upgrade the iOs on my ipad1 to version5? I've tried through itunes many times, but I get a message that says that the download was interrupted and i should try again later. Can i download the iOS file to my PC and transfer it to the ipad?

    How do I upgrade the iOs on my ipad1 to version5? I've tried through itunes many times, but I get a message that says that the download was interrupted and i should try again later. Can i download the iOS file to my PC and transfer it to the ipad? How should I do that?

    Thank you!
    Disabling firewall and AV did the trick!
    Kudos.
    Alex

  • If i have Time Machine backed up on an external hard drive, do i just plug the drive into another macbook pro and all my stuff is in the new computer?  also, does it matter if the new computer is running Lion when the backed up info came from Snow Leopard

    If i have Time Machine backed up on an external hard drive, do i just plug the drive into another macbook pro and all my stuff is in the new computer?  Also, does it matter if the new computer is running Lion when the backed up info came from Snow Leopard 10.6.8?

    No and Yes
    Don't use TM for this purpose, clone your drive to an external, plug the external into another MBP and reboot from it. Please note that booting a machine that came with Lion may not be possible from a drive with Snow Leopard.

  • How do I delete my old iMessage email and change to my current one, that Im using when I buy apps and so on. The old one wont go away when I turn iMessage on and of again. pls help

    How do I delete my old iMessage email and change to my current one, that Im using when I buy apps and so on. The old one wont go away when I turn iMessage on and of again. pls help
    Anyone had the same?

    How do I delete my old iMessage email and change to my current one, that Im using when I buy apps and so on. The old one wont go away when I turn iMessage on and of again. pls help
    Anyone had the same?

  • I have CC on my computer I have one license. I have bought a mac and wants to transfer the license to my mac?

    I have CC on my computer I have one license. I have bought a mac and wants to transfer the license to my mac. How shall I do it?

    Hi myrstad,
    Please sign out of the existing machine you have the CC installed on, and download applications on the new machine again by signing into adobe.com
    If in case you still face issues, please contact support:
    https://helpx.adobe.com/contact
    Regards,
    Sheena. 

  • I accidentally ended up with two versions of Photoshop Elements in my cart and can't find a way to delete one.  Also, I am living in Peru and want to purchase the US version.  Will it still download?

    I accidentally ended up with two versions of Photoshop Elements in my cart and can't find a way to delete one.  Also, I am living in Peru and want to purchase the US version.  Will it still download?

    Karenl33987234 I am sorry that you are facing difficulty contacting our support team. You should be able to chat with a member of our support team at Contact Customer Care.  If this link does not work then I would recommend using a different web browser, smart phone, tablet, or computer to visit the page.
    I did review the account which you utilized to post to this public forum but I did not see any orders or Adobe software titles registered.  Please make sure to sign in with the Adobe ID/e-mail address tied to the order you are facing difficulties with.

Maybe you are looking for

  • Function module for select-options

    Hi Colleagues ! Is there any function module to read select-options fields in a window ? Thanks a lot and kind regards Peter

  • Oracle 8.0.6 download

    Hi, Does somebody know where I can still download an Oracle 8.0.6 cpio file for hpux11? In the past I could find it in download.oracle.com, but now otn is not available anymore. Thanks, DD

  • Scdpm 2012 r2 port requirement

      Dear all, We have some servers in DMZ need to backup those servers , can i know what are ports need to open for dpm agent install , backing up , restore ..etc I got to know from some forum , below ports need to open. Am I missing anything? 135/TCP

  • Pipeline structure

    can any one plz explain what is pipeline structure in XI..?? regards Narasimha

  • BPC : EVDRE reports

    Hello, I like to share this scenario with you all. The YTD parameter is enabled for consolidation application. There are data in the cube. I tried to build an EVDRE report. the reports brougt only YTD number. No periodic data. For example there are j