How I use 2 AI with 1 AO in the same program without hardware errors?

I have a machine with a Motor (velocity controled with PWM), a Strain Gauge, and a Encoder (inner the motor). This machine is controled with a LabVIEW 6.1 program in a computer with Intel Celeron 1.5Gb 360 Mb RAM and DAQ 6024E.
In my program I have two AI Adquisition Waveform blocks with AI different ranged Channel (the firts in my Strain Gauge ranged -9 to +9 V) and the second in my encoder ranged 0 to +5 V), and one AO Generate Waveform (the PWM signal ranged 0 to +5 V). When I put on the program, the motor Glitches an my computer turns slow. It´s cause me problems!
Whats the problem?

You would probably get more info on this in the DAQ Discussion Forums, but I can help you out a bit here. The VIs that you are using are very high level VIs so there is a lot going on behind the scenes that you do not see. More importantly, they are synchronous, meaning that you have to wait until they're finished to do anything else. This is probably why your computer is slowing down. The UI may even freeze until you have acquired all the points you requested. I would suggest using the more advanced DAQ VIs to control your system. There are many examples that ship with LabVIEW which demonstrate how to use these. They allow you to build an asynchronous acquisition system so that other tasks may operate while the DAQ board is acquiring data.
J.R. Allen

Similar Messages

  • How can i share documents with different users on the same mac?

    How can i share documents with different users on the same mac?

    Shared how? The other users can read the documents or you all can read and write the documents?
    The first is easy just place the documents in /Users/Shared anyone can access the files there and the other users will be able to read them.
    The second is a bit trickier.

  • How do I sink calendars with other users on the same computer

    How do I sink calender info with other users on the same computer?

    Hi there,
    First..I am new to this forum and find the information provided to be very helpful... I had followed the iTunes link above to enable sharing between users in the same computer but it appears to be working on partially. What setup am I looking for ?
    1. We have an iMac (Snow Leopard) with 1 Adult ID and 2 children IDs
    2. The iTunes music folder is stored in a Shared public folder where the Adult ID has read/write access and the 2 kids with read-only access (so that they don't accidently delete songs...:-)
    3. The iTunes on the Adult ID has the access to purchase songs. The kids have no acccess to buy songs
    4. All songs, podcasts to be visible to all users
    What has happened ?
    1. I am able to make the base of songs visible to all users
    2. However when a song is purchased by the adult account ..it is not visible to the kids account ..:-{
    3. The same thing occurs when a song is imported from a CD
    4. When a new playlist is created by the Adult account it is not visible to the kids account ..:-(
    How can I make changes made by the Adult be made visible to the kids without having the need to constant add music files or libraries for each kid..?
    Thanks in advance..

  • How can i run 2 i tunes accounts on the same computer without songs duplicating?

    my wife and I both have ipods, how do you run an account each on the same computer without files syncing on both ipods/ libraries?

    Using More than One iDevice on the Same Computer
    This applies mainly to couples who are adding another device and do not want their email, messages, etc. being duplicated on both devices. To begin read: How to use multiple iPhone, iPad, or iPod devices with one computer. You need to establish a separate Apple ID and password for whomever will use the new iDevice. See Apple - My Apple ID and Frequently asked questions about Apple ID. The easiest way is to do this on the computer using iTunes: iTunes- How to set up an Apple ID within iTunes.
    On the computer create a new user account for the person with the new iDevice. This will be the user account that person will always use. He/She will no longer use the other user account. This way that person will have a separate iTunes Library
    Start by transferring the new device(s) to a new account along with all your data.  Save any photo stream photos that you want to keep to your camera roll (unless they are already in the camera roll) by opening your Photos app, tap on Albums icon at the bottom. Now, tap on My Photo Stream album; tap Select; tap on the photos you want to select;, tap the share icon (box with upward facing arrow) in the lower left corner; then tap Save to Camera Roll.
    If you are syncing notes with iCloud that you want to keep then you need to open each of your notes and email them to yourself. Later you can copy and paste the text into new notes created in your new account.
    Tap on Settings > iCloud > Delete Account (only deletes it from this device, not from iCloud; the person keeping the current account will not be affected,) provide the password to turn off Find My Phone and choose Keep on My iDevice when prompted.  Sign in with a different Apple ID to create your new account. Choose Merge to upload your data.
    Once you are on separate accounts, you can each go to icloud.com and delete the other person's data from your account.
    Note: The essence of the above was created by user, randers4. I
    have made substantial changes to improve readability and syntax.

  • Can I use more than one USB 6008 in the same program?

    I am working on a project that may require up to six USB-6008 modules.  Before I purchase more I need to know if I can use all six at a time in the same Lab View program.  Can anyone help?
    Solved!
    Go to Solution.

    Hello Nick,
    LabVIEW is able to handel that number of DAQ tasks quite easily, however you must remember that USB has a maximum bandwidth. Therefore you would have to ensure that you have enough USB hubs on your PC. Typically there are between two to four USB slots per hub and each of these will have a maximum throughput rate which will divided between all devices attached to that hub. Therefore although you may have four USB DAQ devices attached to four USB ports if they are on the same hub you may notice greatly reduced rates of data transfer. What I would suggest rather than purchasing six or more USB 6008, why not purchase one PCI card which is able to handel many more inputs with a larger bandwidth.
    Regards
    Andrew George @ NI UK

  • I have an iphone 4 how can I delete all my junk mail at the same time without having to selct each maessage

    How do i delete or empty all the messages in my junk email at the same time without having to mark each message?

    Not certain, but this can fix myriad Mail problems...
    Safe Boot from the HD, (holding Shift key down at bootup),  it will try to repair your Disk Directory while the spinning radian is happening, so let it go, run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, then move this folder & file to the Desktop.
    Move this Folder to the Desktop...
    /Users/YourUserName/Library/Caches/Mail/
    Move this file to the Desktop...
    /Users/YourUserName/Library/Mail/Envelope Index
    Reboot.
    If that doesn't do it and you can afford to redo all your Rules, try these & reboot...
    /Users/YourUserName/Library/Mail/MessageRules.plist
    /Users/YourUserName/Library/Mail/MessageRules.plist.backup
    Note, in 10.5 & up /Users/YourUserName/Library/Caches/Mail/ may or may not exist.

  • How to use two different versions of Firefox at the same time on Snow Leopard?

    I recently upgraded to Firefox 4.0 on my 27" iMac running Snow Leopard 10.6.7.
    Previously, I was using Google's "Page Speed" along with Firebug in Firefox 3.6.15 to optimize images in my web pages, and to find other areas to optimize.
    Page Speed is not yet compatible with Firefox 4.0. I wrote to Google about this some time ago -- no answer yet.
    If I run Firefox 3.6.15 in order to use Page Speed, I run into a few problems afterward when I start using Firefox 4.0 again, since they both use the same "Firefox" folder in my "Application Support" folder.
    How can I set it up so that I can have two separate "Firefox" folders in my "Application Support" folder?
    Or is there an easier way to use two different versions of Firefox simultaneously, even if one has extensions and/or plug-ins installed which are not compatible with the other version?
    Thanks for a great browser!

    Please disregard my question. I just conducted more web search and learned how to use Firefox's profile manager in order to make a separate profile for Firefox 3.6.15.
    You can find instructions on this page:
    http://support.mozilla.com/en-US/kb/Managing%20profiles#os=mac&browser=fx35
    '''A small tip:'''
    If your Firefox app is named anything other than "Firefox" -- say for example "Firefox 3.6.15" -- when you follow the instructions at the above link, make sure you escape the blank space that is before the version number by adding a backward slash before it, when you type the command string in the Terminal. In other words, in that string, you should use this:
    Firefox\ 3.6.15
    I hope that helps someone.
    WW

  • How to press 2 keys with "keyPress" event" at the same time?

    Hi~~
    I 'm now developing a Java Application that need to press 2 key(keyEvent) at the same time, but it seem not to work after trying.
    So, I wonder how to make it work?
    Thank~~

    You can use a "modifier" (Control, Alt, Shift) key in combination with a regular key, but you can't combine regular keys unless you add some custom logic.
    Basically in the keyPressed event you need to store the previous key that was pressed and add some comparison logic to see if the two keys you are monitoring where pressed back to back.

  • My computer became corrupted, and I reinstalled windows, only to find my iphone will no longer sync with the same computer. How do I sync my phone and tones to the same computer without losing everything?

    This is my first time using this forum, and I apologize if my post isn't "normal" or if my question is too long. My old acer computer had become corrupted and I had to reinstall my copy of windows. When I tried to sync a new ringtone to my iphone, which was only ever synced to this same computer, I was prompted to delete everything I had so I could install one ringtone. That does not sound ideal, and I refuse to delete everything I've put on my phone and my data to sync to itunes. There has to be another way to show my phone that this is the same computer. So I do not have to go through the hassle of doing everything again. I could not find an answer in the forums, and hope you can help me. This is pretty close to being a deal breaker for me. I'm beyond frustrated with this policy.
    I don't believe it matters, but I'm running the latest version of itunes, as of today, and I have an iPhone 4 CDMA iOS 7.4.

    Thanks, Lawrence. I figured that was what I was going to have to do in the end. I have a few games with quite a few hours invested, and I worry that I'll lose the progress I have as they do not save to the cloud. I may have to bite the bullet, and just take the plunge to resolve this. I just want a way to easily transfer my "Home Computer" for my iPhone. My laptop is years old and in need of being replaced, and it's about time to upgrade my phone. These life events piling up are making me consider switching to a friendlier OS. I'm not using this as a threat. I just hope some apple high up will read this, and realize that we need alternatives. Life happens.
    Thank you both Paul and Lawrence. I clicked "This helped me" not knowing it would remove the option to choose "This fixed my problem" too. For anyone else reading this thread. Using the guide provided has done both. It has helped me and given me a fix to my current problem. Lawrence has also provided me with the last bit of information I feel is missing from wjosten's guide. That syncing will completely erase all of your data and reinstall it in one fell swoop. It's a great fix. Even if it isn't the exact one I wanted. Thank you again!

  • How to use airport express wired and wireless at the same time

    Hi,
    I currently have FiOS with Verizon, they ran a coax cable to the Verizon router. I didn't ask them to switch to CAT6 cable since I have an airport extreme base station and an airport express base station (both are the newest generation). I ran a CAT6 cable from the Verizon FiOS router to my AEBS (extreme) to make it the default wireless router. The Verizon router and extreme are in one room. Now, the Airport express is in my living. I'd like to extend the wireless network from the extreme. However, I can't seem to find a way to use both wired and wireless from the airport express at the same time. It's now either via wired, or wiresless. So is there a way to get both work?

    Can you tell us if you used Apple's instructions for a "roaming" network?
    http://support.apple.com/kb/HT4260
    Although the instructions picture a 2nd AirPort Extreme in the illustrations, the setup instructions would be exactly the same for an AirPort Express.

  • HT3819 How to use homesharing between different user accounts on the same iMac?

    I find plenty of articles about homesharing on iTunes between computers, but not between two different user accounts on the same iMac.  Any advice or direction to an existing artical is greatly appreciated.  I'm knew to the Mac and still have Windows on the brain.
    I am trying to share iTunes music and movie purchases between my user login and my wife's.
    Thanks

    Hello careymp1017,
    This can be achieved, but will not utilize HomeSharing. Further information and steps can be found in the following article.
    iTunes: How to share music between different accounts on a single computer
    http://support.apple.com/kb/HT1203
    Cheers,
    Allen

  • How to use Forms 5 and DevSuite 10g in the same machine

    Hello everybody,
    I have installed forms 5 and IDS 10g in one machine and both the versions of the forms were working simultaneously. Now I have un-installed both the versions of the forms and re-installed in the same machine. Installation was successful. but I am not able to connect to the database in forms 5. It shows TNS could not resolve service name. TNS is created in both the versions with same name as well as different name. The IDS is working fine. Please help.
    Thanks and regards
    Sukanta sarkar

    Sukanto,
    What error are you getting? One potential problem you will have with more than one version of Oracle Dev Suite installed is keeping the TNSNAMES.ORA synchronized. I've found the easiest solution to this problem is to add the TNS_ADMIN registry key to each Oracle Home so I can share a single copy of the TNSNAMES.ORA file. You can add this entry by starting the Window Registry editor (regedt32.exe or regedit.exe) and navigate to the following registry hive:
    HKEY_LOCAL_MACHINE => SOFTWARE => ORACLE => HOME? (where ? represents the number of the Oracle Home, eg., 0-9).
    In your example, Forms 5 should be in HOME0 and IDS 10g should be in HOME1. Open each home and add a new "String Value" and name it: TNS_ADMIN. After you have added the new String Value entry, edit the String Value and enter the path to the copy of your TNSNAMES.ORA that is working. Then do the same thing with HOME1 and exit the Registry. You should be able to connect to your database with Forms 5 and IDS 10g. Normally, changes to the registry do not require you to reboot your computer, but I have seen where this is necessary - though not very often.
    Note: Always ensure you have a BACKUP of the Windows Registry before you make any changes. If you uncomfortable modifying the Windows Regisitry, then I don't recommend you make this change.
    Hope this helps.
    Craig...

  • How can I run two independant LabView applications from the same computer, without taking a performance hit?

    I have two identical, but independant test stations, both feeding data back to a Data Acquisition Computer running LabView 6.1. Everything is duplicated at the computer as well, with two E-series multifunction I/O cards (one for each test station) and two instances of the same LabView program for acquiring and analysing the data. The DAQ computer has a Celeron processor w/ 850Mhz clock and 512MB memory, and is running on Windows NT.
    I have noticed that when I run both the applications simultaneously, I take a substantial performance hit in terms of processing speed (as opposed to running just one program). Why does this happen and how can I prevent it? (In t
    his particular case, it may be possible to combine both the tests into one program since they are identical, but independant, simultaneous control of two different LabView programs is a concept I need to prove out).
    Thanks in advance for any tips, hints and spoon feedings (!)....

    Depending on your application, you may or may not be able to improve things.
    Firstly, each task requires CPU time, so a certain performance difference is guaranteed. Making sure you have a "wait until ms" in every while loop helps in all but the most CPU intensive programs.
    Secondly, if you are
    1) streaming data to disk
    2) Acquiring lots of data over the PCI bus
    3) Sending lots of data o ver the network
    you can have bottlenecks elsewhere than in your program (limited Disk, PCI or Network bandwidth).
    Avoid also displaying data which doesn`t need to be displayed. An array indicator which only shows one element still needs a lot of processing time if the array itself is large.... Best is to set the indicator invisible if this is the case.
    I think
    it would be best if you could give some more information about the amount of data being acquired, processed and sent. Then maybe it will be more obvious where you can optimise things. If you are running W2000, try activating the task manager while the program(s) are sunning to see where the bottleneck is.
    Shane
    Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)

  • How to use AttributeHierarchyOptimizedState property with Primary Key of the Dimension?

    I'm reading the article about increasing SSAS performance. http://www.mssqltips.com/sqlservertip/2567/ssas--best-practices-and-performance-optimization--part-3-of-4/
    I would like to increase processing performance of Customer Dimension with CustomerID as the primary key. It is a good practice to set AttributeHierarchyOptimizedState to NotOptimized to CustomerID attribute. What are the implications to the query
    performance?
    Please advise.

    Hi,
       Since the CustomerID is the primary key (surrogate key) and the usual practice is to hide the surrogate keys in client tools. It is the best practice to set the AttributeHierarchyOptimizedState to NotOptimized to CustomerID attribute. As specified
    in the article SSAS will not create Bitmap indexes on top of that attribute and it saves a lot of processing time and decreases the cube size.
    Regards,
    Venkata Koppula

  • How to use a ipad with out putting in the linked apple id in it

    .

    You will never be able to use this iPad.
    This article explains:
    Find My iPhone Activation Lock - Apple Support

Maybe you are looking for

  • Show-stopper How can I determine tab hierachy from ids in wwpob_page$

    I have application components published as portlets that depending on the particular page/tab combination perform various functions. I am able to get the page_url from my report components published as portlets through p_page_url. The URL obviously k

  • Browser buttons for flash

    Is there a reliable way / workaround to get the browser buttons (meaning the back and forward arrows) to work on an all flash website ( I have Dreamweaver CS4 if that helps)? I'd been directed to SWFAddress a few months ago, but I couldn't get that w

  • SAP Query selection screen issues after ECC upgrade

    Hi all We have a custom query created and assigned to a custom transaction code, which after upgrade to ECC 6.0 we find that the selection screen layout is different from what was available in 4.6C system. All the fields required are available. Howev

  • Indic fonts not showing only in Google Chrome

    I have installed the infinality-bundle-fonts. Thus unicode characters show up well in Firefox and other applications. But (indic) fonts are still not shown in Google Chrome. Firefox | Chrome I have tried re-installing Google Chrome. # fc-match :lang=

  • How to change DTP Overall Status from Yellow to Red

    Dear all,   if I choose "set overall status automatically", how can I change DTP overall status when I want to stop the DTP running? Thanks.