Difficulty to read the instrument of series and acquisition of data simultaneously.

Greetings,

I have some trouble getting my VI read from my data acquisition and instrument of the series at the same time.  If I run the Subvi simultaneously (i.e. subANG runs in a window and subVEL is running in a second window) both return the correct values and behave as I expect.  However, if I call the Subvi in a society mother VI and try to run them both in the same loop structure subANG gets stuck and won't be reprobed with a signal change.

I also tried to use a stacked sequence or plate to separate the execution of subVEL and subANG, but I still get no response to subANG.

The point is is that, if I run Parent.VI in a single window and then creates a copy of subANG (call it '--copy' or other) and run it in a second window, Parent.VI behaves properly and will update the readings as they appear in '--copy '.

I enclose 3 files.

(1) subANG.VI - this bed an an inclinometer RS232 signal.  The signal is refreshed every 10ms or more.

(2) subVEL.VI - this bed raw tension of a channel on the acquisition of data, calculates the average then that converts into a pressure difference and finally a speed based on the pressure and temperature inputs.

(3) ParentVI.VI - they simply call and displays the Subvi

My guess is that it's a buffer problem, but I am confused.  Someone out there in Labview Earth knows why this might be happening?  Suggestions welcom.

It is not an instrument of series.  It is a UEI PowerDAq with their typical A/D and the cable.

I found away to make it work by placing subANG and subVEL in some time different loops side by side in ParentVI.

Tags: NI Software

Similar Questions

  • Need help with TS to read the list of variables and/or LV

    Hello

    I use Labview adapter in Teststand to open WinIDEA and read the values of the variables. Basically LV lib files are used to read the value of the variable at run time, and returns the value of the variable. Contribution to this labview function i.e. variable name string and output type cluster.

    I need to read the list of variables and compare it to the value limits for each variable. I perhaps need to read at least 50 to 60 variables in one step if possible or a variable at a time in a loop. I want to add these variables in a txt file with the limits and read of Teststand as a string array and compare the result. In this way is easy to add or remove variables from the list and therefore their expected value. I tried to use the shipper of the property, but there need a stage name or local/global variable.

    Another way is to add the code in labview for comparison of variables value read, then I lose teststand power and flexibility.

    I am struggling to find the best way to achieve this. Any ideas?

    I would like it.  Basically, you have a file limit with 2 data tables.  A table contains your variables and the other your limits.  Then you wrap on a test of a string value.

    Let me know if you have any questions.

  • I have read the article of Signatures and successfully applied, but it only works on new messages, not sent messages or responses. How can I get it to work on everything?

    I read the article of Signatures in the help files and includes a signature HTML file, and it works fine but only on new messages. Nothing appears for forwarded messages or responses. How can I make it work on all types of outgoing mail?

    Tools-Account Settings - Composition and addressing
    On the middle of the screen

    If the Tools Menu bar does not appear, press the alt key to make it appear.

    You must set this option in each of your accounts, if you have more than one.

  • read the type of variable and the value of LabView

    With the help of the TS. Class sequence that I try to get the type of variable and the values of local variables, parameter, fileglobal and stationglobal. Unfortunately I'm not able to find the right function. Hope someone can help me.

    Kind regards

    Lars

    Hello

    Maybe this simple TestStand example will help you.

    The API calls for LabView are the same...

    Hope that helps

    Jürgen

  • CEP - read the binary file (png) and download with $.ajax

    Hi all

    I'm trying to create the POST request with extension PRC binary image

    I read the PNG file under

    fileContents var = window.cep.fs.readFile (fileData.files [f], cep.encoding.Base64);

    Then I need to create the object with that content converted to binary Blob data (?), but I always

    Error: InvalidCharacter

    Error: Exception of DOM 5

    Please notify

    found the solution

    Use the function base64DecToArr to mozilla foundation

    https://Gehrcke.de/files/perm/blog/2015/jsDecode/test.html

  • Remove the Dell recovery partition and create a data partition

    Hello world

    Two years ago, I bought a Dell Inspiron N5110. In addition to the existing windows partition, I wanted to add a partition Ubuntu as a partition of data (NTFS). Well, I added the Ubuntu partition, but because of the Dell recovery partition (14.65 GB, used 7,69, formatted to NTFS), I had no primary partition left to create a data partition. I did not had the time to solve this problem so far.

    Here you can see the different partitions. 4, 66GB there is the linux swap partition and the 18.63 is the linux partition. Of course, they are contained in an extended partition that is created during the installation of linux using GParted.

    Basically, what I would do, is to remove the recovery partition. I did not throw a look inside, but I read that as it contains bootstrap information, as well as win7 boot no more if I'm deleting it. The partition is marked as 'active' (in contrast to my main windows partition of C). I guess this is a classic problem, but I couldn't find a tutorial or a satisfactory answer on this forum (I apologize if this is the case). I assume that it is not enough to define steps to activate the recovery partition and assign to the partition c active (i.e. they don't going to critical data recovery to the c partition). Furthermore, I read that repartition your drive could affect the functioning of the emergency recovery partition, is this true?

    Thank you very much in advance for your help.

    Greetings,

    Harald

    Yes, sorry, I had a problem and the image has not been correctly incorporated into my message. Here it comes. Sandra means healthy, active, primary partition means that primary partition. However, you will notice that windows see the ubuntu partition is a stretch.

  • Change the name of files and folders in data warehouses

    Is it safe while a virtual machine is running to change the name of the VMDK files and folders in a data store?

    I discovered that a VMS VMDK files have a different name for the virtual machine itself, then someone changed the name of the virtual machine after you have created the records

    I had to do it a few times, will try to document the process that I follow.  If you have many warehouses of data, then make a note of what data store, the machine is in.  The next step is to unregister the virtual machine from vCenter / ESXi

    Then, you need to enable SSH on your ESXi host

    Use Putty or something similar for you connect to the ESXi host

    Run the following commands (in italics)

    cd vmfs/volumes / that is, if the data store that contains the virtual computer is named datastore1 then you would run cd/vmfs/volumes/datastore1

    Then run ls to verify that the virtual machine file is here

    Rename the folder by using mv

    Change to the folder with cd

    Rename the nvram, vmsd, vmx and running again is to say the mv

    MV oldname.nvram newname.nvram

    MV oldname.vmsd newname.vmsd

    MV oldname.vmx newname.vmx

    MV 1234.hlog - oldname newname - 1234.hlog

    Rename the vmdk with vmkfstools EI oldname.vmdk newname.vmdk

    Edit the vmx with vi newname.vmx

    Replace references to oldname to newname in this file

    Register the virtual machine with the ESXi server and it should be OK

    This link gives more details and other methods VMware KB: rename a virtual machine and VMware ESXi and ESX records

  • Bad drift with USB-6259 devices and acquisition of data PCI-6259

    We have both a USB-6259 and PCI-6259 installed on a single computer, linked to a SBC-68, with Matlab and Toolbox of data Acquisiution.

    For the purposes of test base, I wrote a script that generates a sinusoidal signal output based MATLAB, for a single DAC output.  I wired this single DAC output to two channels of ADC of entry.  For each sample output DAC, the script also takes a sample entry of ADC on each channel.

    --> Ideally, if everything works correctly, after you run the script, I see two channels of input ADC vector.  Tracing of each channel should give me a nice sine wave in Matlab.

    --> When I made trace data, here's what I get (see attachment).

    -->, I looked at the DAC output with an oscilloscope, and the DC offset is very close to 0 (this indicates to me that the part of output DAC works very well).

    Why is there this negative DC drift on two entries?

    Forgive my lack of knowledge - I know the difference between the DIFF and CSR connections, but I don't know where is the 'setting' for DIFF/CSR (what is a button/switch on the USB-6259 case?  Is it a software control in the code?)

  • Creating installation and acquisition of data-MX: Error Code

    Hello

    I found this question been asked several times in 2009 and 2007, but the answesr on the forum doesn't really help me - partially because they say: oh he just worked.

    I'm trying to craete my first Installer for a LabView project.

    It is simply an assistant DAQ for a card OR. I'm moving my a comptuer with LabView application than with the card = without labview and I prefer not to install labview on both.

    When I include DAQ - MX and the Run Time module I get this error code for the installer.

    Visit ni.com/ask support request page to learn more about the resolution of this problem. Use the following as a reference:

    CDK_Build_Invoke.VI.ProxyCaller > CDK_Build_Invoke.vi > CDK_Engine_Main.vi > IB_MSI.lvclass:Build.vi > IB_MSI.lvclass:Engine_AddProductsToDistribution.vi > NI_MDF.lvlib:MDFDistBuildList_Close.vi

    Loading information of product deployment
    Loading information of product deployment

    **************
    Error: Bad line of command or argument of function call. (Error code - 30)
    Type 'DefaultFull' product ' KB5Q5FJ4QW NOR security for the LabVIEW Run - Time Engine 8.2 update ' is not found in the source distribution. " Insert the correct source distribution, or select a different type of product.
    **************
    Error details:
    Error to the MDF API function: _MDFDistBuildList_Close
    Error in MDF:istributionBuildList::AddDependentProducts.
    Final report of the error
    **************

    Don't know what this means

    For this one

    Type 'DefaultFull' product ' KB5Q5FJ4QW NOR security for the LabVIEW Run - Time Engine 8.2 update ' is not found in the source distribution. " Insert the correct source distribution, or select a different type of product.

    I think it means that's not find the CD of where to get this Setup Wizard? Isn't it? Well it's never me invites to a medium where to find this file... so I'm stumped.

    We'd appreciate any help, I will answer the weekend too!

    Thank you!

    Also, I have

    Thank you.

    I have attached the single file in my project I am trying to install...

    Laughing out loud.


  • I can't read the FF27 mp3 files and I tried some help I can find.

    When I try to play an MP3 in FF27 I get a black screen that says:

    "The video cannot be read because the file is corrupted.

    The web console shows this:

    "Media resources http://tomwhelan.ca/commercial_2014.mp3 can't be decoded."

    Any ideas?

    It is on a XP machine which is fully updated.

    Thank you

    V

    From 26 of Firefox, Firefox on Windows XP will attempt to play media encoded MPEG as MP3s natively in the browser. This requires that the necessary components in your system, but they are perhaps not? To turn off the native player and return to the use of a plugin like Windows Media Player or QuickTime for this kind of media, you can make a change to the configuration under the covers. Here's how:

    (1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

    (2) in the search above the list box, type or paste media and make a pause so that the list is filtered

    (3) double-click the preference media.directshow.enabled from true to false.

    I don't know if this changes enter into force immediately or after you exit and then restart Firefox.

    Note to other readers: Windows XP uses DirectShow (DirectX). Windows Vista, 7, 8 and 8.1 uses Media Foundation to play natively coded MPEG media. It's a different setting.

  • How can I read the active (connected) Renault and send then to the entry on DAQ device name help?

    I have a property system for daqmx node but it won't let me change it to read when I right click on it. I try to have my program detect the name of data acquisition which is plugged into the PC and then send to the daq assistant so that it runs properly wiithout having me manually change the name of the device every time I change hardware.

    labview12110 wrote:
    Im just frustrated that the only function I have is to get a list of the things that I can't do anything with. MAX knows who is active can I call in some way?

    You do the programming.  What is LabVIEW.  MAX gives you all the tools to do what you want and much more just to do what you want to program.

    Joined a VI that does what you want.  I look at all your devices and returns the first not simulated.  Apparently this list already excludes devices not connected to the system.

  • VCO 5.5.1 cannot read the memorySize VcHostHardwareInfo attribute (and other attributes to oppose)

    Hello

    I created on vco 4.1, 4.2 and 5.1 workflows, each of them strive to find, so when I try to upgrade to 5.5 or 5.5.1 does not work.

    When try to read attributes like vchostsystemhardwareinfo memorysize, are equal to 0, this value is incorrect, this attribute must be the total amount of physical memory on the host in bytes.

    Other values that I can't read are vcdatastoreinfo.freeSpace.

    Can someone help me?

    I thank you very much.

    Try to turn off the inventory service Re: vCO 5.5.1 & vCenter 5.5.1 - accessible Datastore: false, only showing freespace and capacity, implemented wrong

  • Problem with the difficulty of opening the old tabs settings and save files when a new session is opened

    Hello
    Since 2 weeks I have a problem: I always set my settings to restore the previous session with all my tabs and I choose that Firefox asks me where I want to save my downloaded files. Now, every time I close Firefox and I open it again, it is not taken into account and 3 tabs are opened: Firefox, Google, and thanks to install Zotero! I spare it, but every time it opens these tabs and not man. Ditto for saving the files. It goes back automatically to open the start page and save my file in the downloads. Even if I spare, it's the same.
    I've desinstalled CCleaner (I thought it might be that), but nothing changes!
    Help, please. Thank you very much!
    Martha

    Here's what I'll try:

    • Reset Firefox - that should solve the problem, but it will change the settings like where files are downloaded and what tabs open at startup back to their default values.
    • Then change your download and back session restore preferences to how you like them.

    Here's how:

    1. Go to help > troubleshooting information.
    2. Click on the button 'Reset Firefox'.
    3. Firefox will close and reset. After Firefox is finished, it will display a window with the imported information. Click Finish.
    4. Firefox opens with all the default settings applied.
    5. Open the window of options - tools > Options > general
    6. In the general Panel set Firefox to open your tabs from last time and set Firefox to ask you where to save downloads.
    7. Click OK

    That should do it. Let me know if it worked.

    Thank you

    Michael

  • Retrieves the number of series and research based on the value

    Hello

    There is a column called SYSTEM_ID in the portal.entitlement_vw_tmp table. Data inside the SYSTEM_ID have serial number that is mentioned below.

    SYSTEM_ID
    COMPOSITE = 5EA2E70E8A71
    COMPOSITE = 2797D99D5982
    COMPOSITE = 1FB7FF951D38
    INTERNET = 172.20.102.1

    In the serial number above, it contains COMPOSITE = INTERNET AND = etc. I need to find the serial number while research that I need to extract only the serial number and the search

    Here's the query I use to search for, but its does not need your suggestion

    Select system_id in portal.entitlement_vw_tmp
    where SUBSTR (system_id, instr (system_id, '=') + 1) = "AAA7F14D6A19")

    That is, the serial number Serach after the '=' sign

    Thank you
    Sudhir
    with tab as
    (
    select 'COMPOSITE=5EA2E70E8A71' column_name from dual union
    select 'COMPOSITE=2797D99D5982' column_name from dual union
    select 'COMPOSITE=1FB7FF951D38' column_name from dual union
    select 'INTERNET=172.20.102.1' column_name from dual
    )
    select   replace(column_name,regexp_substr(column_name, '=.*(?)')) search_key,
                replace(regexp_substr(column_name, '=.*(?)'),'=') key_value
    from tab;
    
    SEARCH_KEY             KEY_VALUE
    ---------------------- ----------------------
    COMPOSITE              1FB7FF951D38
    COMPOSITE              2797D99D5982
    COMPOSITE              5EA2E70E8A71
    INTERNET               172.20.102.1          
    
    4 rows selected.
    
    select system_id from portal.entitlement_vw_tmp
    where replace(regexp_substr(column_name, '=.*(?)'),'=')  = 'AAA7F14D6A19';
    
  • There is absolutely no sound at all on my computer & all the drivers are installed and up to date!

    There is absolutely no sound at all on my computer, & all the drivers are installed, including updated! It is not a missing driver or driver problem not up-to-date. Windows and Microsoft troubleshooting, fix - it, & when in properties, all say that no matter what and everything to do with the sound on my pc is all working properly!  but still, it continues to hold no noise at all!  I tried literally everything allll day and can not solve this problem. :: (

    original title: no sound

    Hello

    1. did you of recent changes to the system before the show?

    2. what fix tool that you have tried to solve the problem?

    3. What are the troubleshooting steps you have tried to solve the problem?

    Method 1:

    Follow the link below, open the playback control Audio troubleshooterand if it helps.

    Open the troubleshooting of Audio playback

    http://Windows.Microsoft.com/en-us/Windows7/open-the-playing-audio-Troubleshooter

    Method 2:

    Follow the link below, perform the steps and check if it helps.

    No sound in Windows

    http://Windows.Microsoft.com/en-us/Windows/help/no-sound-in-Windows

    Tips for solving common audio problems

    http://Windows.Microsoft.com/en-us/Windows7/tips-for-fixing-common-sound-problems

    Method 3:

    Follow the link below, perform a clean boot and check if it helps.

    http://support.Microsoft.com/kb/929135

    Note: Once you are done with the boot, follow step 7 in the link to your computer in normal mode.

    Let us know if it helps.

Maybe you are looking for