Will be performing tasks VISA with a data acquisition (Dev1) in a VI block tasks with the second DAQ (Dev2) VISA in a second VI?

Hi all

I have two functional screw a loop a set of read and write tasks with device 1 (NI USB-6008).  The second loop a set of writing with device 2 (another NI USB-6008) tasks.  2 VI has a massively slower than VI 1 time scale, which means that it must run in a separate loop.  Otherwise, VI 2 was created by copying and modifying 1 VI and variable names actions with him (though not, for example, global variables).  The two screws are meant to run at the same time on the same PC.

However, if VI 1 is running at the same time as VI 2, any read operations or in writing to 1 VI 1 device are executed - but the VISA read and write operations to a serial device work.  When VI 2, all VI 1 functions work fine.

Although I configured channels for tasks using the GUI DAQmx, I execute tasks using reading DAQmx write commands and have correctly defined the task 'create' and 'stop the task' live out the beginning and the end of my loop, respectively.

Does anyone have suggestions for what could be the cause?  My thoughts so far:

a. maybe it's some conflicts in the names of variables in memory between the two screws?

b. LabVIEW for some reason any cannot read and write two devices on two separate screws?

should c. I avoid to use DAQmx to configure these tasks (a sort of memory)?

I know I can make it work if I have all together in a single massive VI, but for my application, it is much easier and better to do them in two separate screws.

Thank you in advance for your help!

In case anyone wondered, I found the solution:

When I copied the original code for a new VI, it turns out that the structures of loop timed in the new VI had the same object name in the delivery structure of LabVIEW as timed in the original VI loop structures.  This prevents effectively regardless of the VI was executed the second execution of the timed loop.  (The serial number read/write suite to work because he was in a different timed loop.)

I found this error when I ran the VI in execution of highlight mode and noticed that the output of 'error' on the timed loop flashed.  When I plugged it on my error stream, I found error-808, which explains the above problem.

I have it set by right-clicking on the timed loop, change to a while loop, then change to a timed loop and plug the broken wires.  LabVIEW gave the new timed loop object a new name, and all was well in the universe.

Tags: NI Hardware

Similar Questions

  • Windows 7 - date/clock will not automatically be synchronized with the internet time

    Windows 7 - date/clock will not automatically be synchronized with the internet time

    Please help me solve this problem...

    every time I can't manually change the date and time...

    If the time server internet will not synchronize the clock, select 'Change settings' and choose a different time server from the drop-down list.

  • Windows Vista Home Basic preinstalled on my Compaq laptop will not accept code provided with the computer installation.

    Windows Vista Home Basic preinstalled on my Compaq laptop will not accept code provided with the computer installation. HP can't help. Your say talking to HP and HP technicians say they are unable to help him. I'm now using valid XP. HP say that conflict with Vista. Can anyone help?

    original title: VISTA VS. XP

    Your technicians say talk to HP

    Sorry, this is not Microsoft.  This is a public forum from user to user hosted by Microsoft on its servers for the comfort of its clients, and we all here are volunteers.

    You say you use XP.  What is your question?  What do you mean 'conflicts with Vista?

    I suggest recovery discs you order from HP for your computer.  If HP is no longer the issue of stocks you can order such a third of Recovery - Disks.com.  There are several of these companies.  If you are going to use XP, you need to install XP from scratch and this means that you need XP drivers for your brand and model.  If HP has no XP drivers on your computer you must not try to use XP on it.

    Remember that Vista Starter, Home Basic, Home Premium and Ultimate out of Microsoft support on 10 April and there will be more updates, including critical security patches after that date.  Only Vista business and company will continue to receive updates.  You might consider this a good time to upgrade to Windows 7.  You must download and run the Windows Update Advisor once you restored Vista successfully.

  • Perform tasks when the application is not developed

    Hello

    I want to on the rise - and download data to a Web server in my application. Are there ways for example (similar to the concept of 'Service' in Android) to perform tasks in the background so that the user can make other things downloading (for example open other applications, etc.).

    Kind regards

    BB apps work normally when put in the background, true multitasking.

    You can have a UiApplication and call requestBackground to put in the background.
    Or you can create a system without user interface module that runs in the background as a service.

  • HP Deskjet F2210 printer will not print my documents with the exception of my e-mail highlighted

    HP Deskjet F2210 printer will not print my documents with the exception of my e-mail address highlighted who is on the document, it is not cartrages, as it will print one page black and multicolor of the internet. Help, please.

    If you found problems with print quality with the only printer without printing from the computer, then it is a hardware problem.

    You may need to contact HP (1800-474-6836) support. Looks like a print head may be bad or needs to be cleaned manually. I don't think that this printer has a detachable printhead to clean manually.

  • Files created with Illustrator CS2 12.0.0 version will be compatible and works with the latest version of Illustrator.  The files are registered as *.ai------.

    I have an older version of Illustrator and you want to upgrade.  My question is: files created with Illustrator CS2 12.0.0 version will be compatible and works with the latest version of Illustrator.  The files are recorded as * .ai?

    That should be no problem.

    Text will be redistributed without doubt if you want to change it.

  • iMac 27 "with the second monitor boots black with cursor

    I can't seem to find another discussion altogether as my problem starting special 'black screen ':

    New iMac 27 "retina 5K (end of 2015) running OS X El Capitan 10.11.3 with second monitor Samsung connected by Mini DP - DVI.  When starting, the two screens are displayed in black, but the cursor is available and can be moved.

    I have to make a hard stop and disconnect the second monitor to start at the login screen. Then I can reconnect the monitor and everything works.

    Any suggestions for a fix?

    So, I spent some time with Apple customer support. Several of the standard troubleshooting for problems of mystery, they came to the conclusion that there was an incompatibility of driver with the Samsung monitor at startup which is mucking things up, and I just have to accept starting with the second disconnected monitor then plug it in again after a successful login.

    Samsung does not write the monitor for Mac drivers (for some reason any), that's why the customer support figures that there is a hangup at startup. But why OS X recognize the monitor and run fine otherwise? Why only hang at boot time? And why my Mac Book Pro 2007 running the same version of El Capitan boot fine with the connected monitor? It has something to do with the Thunderbolt/mini-DP-to-DVI connection? I don't know, and I guess that Apple's Support is not either.

    I fell on a hack, which is as follows:

    1. start with the second monitor connected

    2. in the "black screen with cursor" hold the power button quite long to put the computer to sleep

    3 wake up the computer with the keyboard or trackpad or other

    4 and now the login screen will appear.

    5 log in as usual.

    6.

    I hope this helps someone. One day I'll get a more compatible monitor and it will not be a Samsung.

    They make nice dish, however.

  • The license to use Photoshop Lightroom 4 with the second computer or not?

    I bought the lightroom version 4. For use with my computer last year. Now I have to buy a newer computer. I'm not sure. The license to use this program with the second computer or not ? only 1 computer . gold


    Details of the program

    AUT YOMYAI,


    Purchase of the end-user

    Yes, you can install and activate LR on 2 computers.

    Mylenium

  • LabVIEW executable becomes insensitive, Windows reports the lack of resources in trying to perform tasks of the Explorer

    I have a test program that uses modules of NOR-9481 relay to switch the power part and pass a Keithley 2000 DMM to measure the voltage. This test must feed on and off the part x 3000 for 4 minutes and 4 minutes. I've implemented this drawing using a state machine design style. Timing is done in one minute increments by using the ' find Date/time in seconds ' function available with Labview 8.2. Every minute, a measurement is performed and the data is written to a text file.

    -Algorithm measurements:

    -Whatever it is, the instrument is initialized with a reset, between state machine loop

    Measurment - function configures Volts DC and relax, (relay switch), send the trigger and read in instrument when SRQ asserts itself

    -Switching algorithm:

    -DAQmx create task w/Auto cleanup (T)

    -DAQmx create TV - digital output

    -Channel - DO property node. Reverse lines = False

    -DAQmx generate 1 d digital data

    -DAQmx write data w / Auto start (T)

    I worked with the devices that we communicate with the bugs and they seem to work normally, but for the second time (yesterday, it was a mistake DAQmx) cycle 131 (17ish hours after the test), the program became unresponsive and windows will not open the Task Manager and windows Explorer reports "insufficient system resources" which tent to open a window. LabVIEW is not report an error...

    Currently, I suspect the while loop that controls the timing and am put a WaitTillNextmsMultiple function in the loop the value 500.

    I also wonder if the sequence DAQmx consumes memory and eventually consume all system resources.

    If anyone has a problem with the cameras that I use his knowledge or ideas please help. Thank you

    N8D11 wrote:

    I have a test program that uses modules of NOR-9481 relay to switch the power part and pass a Keithley 2000 DMM to measure the voltage. This test must feed on and off the part x 3000 for 4 minutes and 4 minutes. I've implemented this drawing using a state machine design style. Timing is done in one minute increments by using the ' find Date/time in seconds ' function available with Labview 8.2. Every minute, a measurement is performed and the data is written to a text file.

    -Algorithm measurements:

    -Whatever it is, the instrument is initialized with a reset, between state machine loop

    Measurment - function configures Volts DC and relax, (relay switch), send the trigger and read in instrument when SRQ asserts itself

    -Switching algorithm:

    -DAQmx create task w/Auto cleanup (T)

    -DAQmx create TV - digital output

    -Channel - DO property node. Reverse lines = False

    -DAQmx generate 1 d digital data

    -DAQmx write data w / Auto start (T)

    I worked with the devices that we communicate with the bugs and they seem to work normally, but for the second time (yesterday, it was a mistake DAQmx) cycle 131 (17ish hours after the test), the program became unresponsive and windows will not open the Task Manager and windows Explorer reports "insufficient system resources" which tent to open a window. LabVIEW is not report an error...

    Currently, I suspect the while loop that controls the timing and am put a WaitTillNextmsMultiple function in the loop the value 500.

    Also I wonder if the sequence DAQmx consumes memory and eventually consume all system resources.

    If anyone has a problem with the cameras that I use his knowledge or ideas please help. Thank you

    If the fat thing happens repeatedly... you answered your own question.

    LV won't destroy resources until it closes as part of his routine of cleaning.

    Create tasks and assign resources once when you start and reuse until finished, then destroy them.

    Ben

  • Increase the performance of MAC with the SSD upgrade

    I have a 21.5-inch iMac model 14.1 (end 2013) with 8 GB of memory and a 1 TB drive. On this, I use some applications in memory such as Adobe CS 5.5 and VMWare Fusion 8.1.1. I have Applecare on the machine until September 2017. I often find myself running out of memory. My goto solution would be to increase the memory and replace the hard drive with an SSD. I fear, however, that this cancels my Applecare. My research indicates that while that frowned upon, I can upgrade my memory and keep my Applecare as long as it is done by an authorized by Apple, but if I do the SSD I'm out of luck for the installed components. My thought is that I can get an external SSD and move the ' WIndows 10' VM (s), as well as expand and move the swapfiles for the SSD system.»

    My questions are am I right about the Applecare and warranty and I plan to use an external SSD to accelerate performance and ease the work of memory constraints?

    I have f

    I have a Macbook Air in 2010 and also a 2008 iMac - both with only 4 GB of memory (you have twice as much), both running El Capitan and the two with SSD - and perform very well. The 2008 iMac used to have a rotating disc which has recently failed, with the replacement of SSD, it is a remarkable transformation with the new SSD, it seems very quickly for me. Both have Photoshop CS4, which is not used much more, but they run this software very well, as well as MS Office 2011 and other programs such as Mail, Safari, Firefox, etc. (Firefox + Photoshop together put a noticeable load on machines, in fact, but while I sometimes hear the fans come on the Macbook Air, it maintains not up very well) No slowdown) You'll be in great shape with a SSD for your newer computer. These old machines that I use have Core 2 Duo CPUs, chips relatively slow, but they seem very quickly with the SSD.

    You will need to check with Apple directly on your AppleCare and so that would be affected. I don't know that anyone is not Apple should trust this question.

  • Performance is worse with the GPU acceleration that without

    I have a Windows 7 system fast, i7 980 X processor with a monitor @ 2560 x 1440 pixels. As a photographer, I'm processing of thousands of photos and my PC can not be fast enough, so I thought that I invest a little in a new graphics card. OK, I have not bought a Quadro, but with GTX 970 from Nvidia, I always feel a modern, fast, with a value of more than $ 400 map.

    My first experiences after the installation of the new graphics card are more then disappointing - a lot is worse, running without any GPU acceleration. Before, I could scroll an image to the image almost no imperceptible lag. With the GPU acceleration turned on, each image must be "rendered" first first you get a blurry picture of Pexelated / of complitely and flackers of color shortly, then after a while, it becomes more clear. So it seems that with GPU acceleration turned on, Lightroom 6 completely ignores the preview images pre-rendered - FACT IT MAKE any SENSE WHAT? Yes, all the sliders mode develop work faster, but the preview shown instantly image is a false low resolution and it always takes time for an image high resolution to display - as much time, as it should, making it with a CPU.

    For me, it would make sense that next image will be loaded into GPU memory by actually DURATION and rendering the previous image would be preserved in memory as well. Also miss me some detail for the GPU acceleration settings - if it remains at the current level, rudimentary, (for me) the best compromise would be to disable the GPU acceleration to scroll through the photos, but using just to develop sliders.

    I would want guus at Adobe to improve the product real, not just marketing slogans on the improvement of performance!

    kirillxxx wrote:

    . My suggestion is simple enough - if the guys at Adobe can not program properly, the easiest would be (to make an option) to disable the GPU acceleration for image swithiching and just take his profit for the developer sliders.

    You can not simply switch off to change the image. The image * should be loaded into the GPU, which is where the delay comes from. Even though you might think about what would happen: of course the image would change quickly, but then you would still wait before you can deal with.

    For now the acceleration GPU in LR is very it is childhood: things first generation, and we are all good enough beta testers.

    Some people are lucky: they love him and have no problem.

    Some people are out of luck: it causes nothing but problems.

    Some people like me are sitting on the fence: we have mixed experiences.

    I don't think you threw $400, at some point (I live in optimism) questions will be fixed and LR will work on your system. He just had to wait. Isn't is funny, but you only need to take a casual look at any photography forum to see that there are problems with GPU acceleration and now is not the time to buy the latest and greatest card.

    I've personally held off buying a new card to replace my aging one until I see that there is zero chance of all the problems of proof.

  • WMP will not play dvd - r with the video on this subject:

    Audio WMP plays well. But no video. My panasonic dvd player (about 4 years) there will be no more. A friend told me to go on a free website, www.filehippo. to download a "fix." Don't know what I ' d be downloaded, because I am NOT tech savvy. " I have download all 'old' versions as my friend says. I tried windows again, not good. Used the two bays of dvd in my lap.     I am at a loss, my ignorance, but I could sure use some SIMPLE instructions as to why and how to fix it.

    I tried the Windows Fixit tool, but no help.  ALSO, I frequently get a box of Windows ERROR when you try to load files from the web or e-mails down. It usually says: windows cannot open this file: unrecognized program. "Then it tells me to click for the solution, but don't know which software to use and I stop trying, cause the error message arrives for this too. sigh.

    I know it's probably a 'newbie' question, but your help would be appreciated. I think this question will come and the problem with windows is not not able to download is fairly common as well. Thanks for any help.   Sincerely, debbie in Florida.

    Hi, I think I've gotten help to solve my problem with playback of DVDs with different codes that WMP will accept. I downloaded a NEW multimedia player of BS to WWW.filehippo.com/download bsplayer/8842/who worked for the media BS player. I got help with THAT download to get, I got the SECOND version listed on the left column. Now works on computer, next step is to get the "firmware" for Panasonic download on my dvd player, and it will play as well. Thanks for the help, I finally learned enough searched all day Sunday (ugh) and then my friend helped me on the phone. Thank you all and hope that it helps you, too.     CODECS, which kne w?

  • Windows 7 will not be activated. With the help of a legitimate license key.

    Windows 7 will not activate... With the help of a legitimate license key.

    Have you tried to activate by phone?

    Activate Windows 7 manually:
    1. click on start and in the search for box type: slui.exe 4

    2. press enter on your keyboard

    3. Select your country.
    4. Select the telephone activation option and brace yourself for a real person.

    Please run the Microsoft Genuine Diagnostics Tool then copy and paste the results into an answer here for further analysis:
    http://go.Microsoft.com/fwlink/?LinkId=52012

    Releasing it's easy: with Windows | ActiveWin | Laptops | Microsoft MVP

  • Slow performance of Lightroom with the graphics acceleration enabled

    : Monitor 1440 p 21:9
    CPU: i7 - 5820 K 4.1 GHz
    GPU: GTX 980 Ti
    Memory: 16 GB DDR4 @ 2133 MHz

    When I activate the graphic acceleration in lightroom, things like spotting take literal seconds to respond to a click, but when I turn it off, it's faster than ever. Someone at - it experience of another problem with the installation of similar pc? I know that with screens at low resolution and low pc specifications, this graphic acceleration can hinder performance, but I suffer from these issues at all!

    I suspect that there are some problems with 6.6 and the line GTXxxx.

    Lightroom CC: GPU acceleration cannot be enabled.

    https://forums.Adobe.com/search.jspa?q=GPU+GTX&place=%2Fplaces%2F1383621&depth=all

  • Will be chip filters scale with the size of the image?

    I created the work to a very large size for a banner. It comes to many of the effects and dynamic filters. I would simply create a smaller version of the file to work with other projects as the original work of the opening size is very long and tax. I don't want to flatten the work because I may need to rearrange the elements of the specific project. When I size down using the size of the Image, with verified scale Styles, dynamic filters always do not fit with the rest of the file. For example, a Gaussian blur will further blur in the smaller file than in the larger file.

    Are my only 1 answers.) to wrap each dynamic object that has a dynamic filter inside another object dynamically to protect during resizing, or 2.) to manually set again the dynamic filter on each layer to match the new size? I'm hoping to more intelligently (ha).

    No, they won't.

    Unfortunately we do not have visibility on the parameters of all filters on the scale of them, nor a means to determine the limits of each filter to know if we can evolve beyond the limits of the filter.

    Yes, 1 and 2 are the most reasonable solutions.

Maybe you are looking for