Writing to the nodes property DAQmx channel does not refresh the channel values

Hi all

I have a riddle.  I created a task programmatically in LabVIEW and programmatically added several analog input channels to the task.  It's easy.

I wish that my user must be able to modify the individual channels within the task.  To this end, I created a set of screws that allow it to change the settings appropriate to the channel (for example, if it is a channel of thermocouple, it can change the type of thermocouple, CRC value, etc... If it is a strain gauge channel, it can change the coefficient of fish and so on).  These screws all works beautifully, like the VI where they live.

The specific question that I have is that writing to the channel property nodes refreshes not communication channels.  See the images below.  The first image is the code that needs to define new channels of communication:

Note that immediately after setting the property nodes, I read their values back, just to see what comes out back.

The second image is an image of the public Service immediately after the execution of this VI.  Note that the values read from the channel property nodes did not updated to match to the set of values, but instead kept their initial configuration values:

What I am doing wrong?  I fought this for a few days now and I'm stumped.

Thanks for your time!

Diane

Hi, Diane.  A week ago, I also had a problem changing the channel properties (not sure that our situtions are exactly comparable, but...).  My 'solution' to want to change the appearance of the task was to just throw the original task and recreate all the elements of the task from scratch.

I've not done enough 'experiments' to work when you can and cannot change, but am now much more cautious...

Bob Schor

Tags: NI Software

Similar Questions

  • Inclination property does not refresh

    Hi all

    I have this problem with cc animate on PC, win 7 (it's also happens in older versions of flash)

    Basically if I select a chart and Flip Horizontal (Fig 1), the Committee "transform" show me "180" in the property "skew" (photo 2).

    180_1.JPG

    180_2.JPG

    But if I deselect (photo 3) and select it again (photo 4), the "skew" property does not show me any value. But I know that the value must be "180".

    180_3.JPG

    180_4.JPG

    In order to 'see' the good value, I need to manually select the offset box, and it seems good value (PHOTO 5).

    180_5.jpg

    If I try to select the object 10 times, only 2 times he gave me the value, all other attempts gave me a 0.0 or nothing

    It is very annoying, because I often work on files created by me, so I can not go on each item and check manually IF is returned or not.

    I'm working on different pc and it happened also in older versions, so I know not isn't an installation problem.

    Can anyone help me understand why this has happened? and or solution for this?

    Thank you

    Luca

    Hi Luca,

    Thanks for the detailed report. Will review and update you as soon as we get a fix. It seems that this only occurs if you select an object, if any other object/form is already selected for example, does not produce when you move the selection of an object to another. You can use this workaround until it's resolved.

    Thank you!
    Mohan

  • FIrefox does not refresh after you download the update

    FIrefox sends an update message to 38.something. I downloaded and restarted a dozen times, but I am still on 37.0.1. I even restarted the computer. Why does not refresh updates?

    Hello lastdollar, Please download and install firefox, follow these steps:

    1. download a copy of the latest http://www.mozilla.org/en-US/firefox/all.html firefox (dmg full package - all languages)

    2. Trash , install the current application of Firefox to do a cleaning.

    3. install the version you downloaded.

    Do not select to delete your personal data, your profile data is stored in the Firefox profile folder, so you will not lose your bookmarks or other personal data.

    See also: How to download and install Firefox on Mac

    Thank you

  • Bridge does not refresh the thumbnails after changes in ACR.

    Bridge does not refresh the thumbnails after changes in ACR. Cultures made in ACR do not show more. I think it started after new ACR update. I have the last bridge and ACR and Photoshop.

    I thought about it. I have reset the settings of the bridge by pressing Command-Option-shift and then started bridge on my Mac. I lost my sight, I got but should display what I want to see again. But it solved the problem of the bridge not updated after modified ACR.

  • Hello. My Creative cloud subscribe does not refresh. I had students sign up, but a few days ago it stopped because there is no money on my card. Today, I sent student anouther subscribe with anouther card, I saw that the money went to adobe but subscr

    My Creative cloud subscribe does not refresh. I had students sign up, but a few days ago it stopped because there is no money on my card to prolongate it. Today, I sent student anouther subscribe with anouther card, I saw that the money went to "adobe", but subscription is not activated yet. I can't work, what can I do? Thank you. Sorry for my English.

    Since this is an open forum, not Adobe support... you must contact Adobe personnel to help

    Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">

    Don't forget to stay signed with your Adobe ID before accessing the link below

    Creative cloud support (all creative cloud customer service problems)

    http://helpx.Adobe.com/x-productkb/global/service-CCM.html

  • CC does not refresh on my Win7 machine. I tried several times and it closes after update download and try to install. Downloaed new application from Adobe, downloaded, tried to install it and received the error 50. Help!

    CC does not refresh on my Win7 machine. I tried several times and it closes after update download and try to install. Downloaded new application from Adobe, downloaded and tried to install received error 50. Help!

    Hello

    as strange as it may seem I'm afraid it is a challenge for Creative tool Adobe cleaning of cloud.

    Sometimes - for some reason-CC "unwilling" work. In this case you should CC completely remove and reinstall by using Adobe Creative cloud cleaning tool. (A try to uninstall by own resources is not enough!)

    I quote:... helps resolve installation problems for Adobe Creative Cloud and Adobe Creative Suite (CS3 - CS6) applications. The tool removes the records facility for preliminary facilities of Cloud applications or Creative Suite creative. It does not affect existing installations of earlier versions of Creative Suite or creative Cloud applications.

    Please use: l http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.htm and follow the prescribed sequence of operations

    Sometimes, the "opm.db" file is the culprit. In this case, you must remove it.

    If necessary and for questions and so "open" Please use the cat, plus I had the best experiences.

    Hans-Günter

  • Update a property bindable class does not cause control to update

    I'm having a problem with data binding. When I update a property in a class that has bound it controls, these controls are not refreshing their display value with the new value of the property automatically and I don't know how to force them to do so.

    Here's how I implemented ActionScript class:


    [Bindable] private var __dataSource:String;

    The get/set accessor is declared as follows:


    [Bindable] public function get dataSource (): String {}
    Return __dataSource;
    }

    public function set {dataSource(dataSource:String):void}
    data source = __dataSource;
    }

    So, I have an application mxml with the following variable to this ActionScript class declaration:

    [Bindable] private var __reportDefinition:ReportDefinition;

    The text in the mxml control is defined as follows:

    < mx:TextInput id = text = "{__reportDefinition.dataSource"txtReportTitle"}" styleName = "textInputStyle" width = "259" / > "


    OK, back to the ActionScript class, I have a function that executes the following line:

    __dataSource = "SomeValue";

    After this line, the text entry is not refreshed. I checked the text input control relates to the correct instance of the object of action script.

    Any tips? Thank you



    You run into the question https://bugs.adobe.com/jira/browse/SDK-14778

    The workaround described in the question, but I encourage you to vote in favour, while it has more chances of is fixed in the next version of Flex.

    Thank you
    Gaurav Jain
    Flex SDK Team

  • My itunes on windows 10 does not refresh to allow me to use my new iphone 7

    My iTunes on windows 10 does not refresh to allow me to use my new iPhone 7, I have loaded down the update several times but he gets halfway through the installation of the update then say there is a problem and UN-installs

    Follow the instructions by If you can't install or update iTunes for Windows - Apple Support

  • my weather gadgets does not refresh

    Hello. my weather gadgets updates no more, they will be only forecast.  other gadgets work OK.  This happened 7 days ago and I don't know all changes I made that might have affected them.  I'd appreciate any help.  Thank you bob

    Hi Bobby,.

    Welcome to the Microsoft Community and thanks for posting the question.

    According to the description, the weather gadgets does not refresh.

    This problem can be solved by reinstalling the Windows Gadget platform.

    Perform the steps suggested by udunwannano from the link below and see if it helps.

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-desktop/Windows-7-weather-gadget-not-updating-after/87135565-1faa-4939-9998-41f2a846ee7a

    Hope this information helps.

    Meet us if you encounter any issues with the Gadgets do not update or any other issue of Windows, and we would be happy to help you.

    Good day!

  • My gmail does not refresh when I connect to my account.

    Original title: gmail is my sign into account but will not regenerate

    my gmail does not refresh when I connect to my account. I know I have mail in my Inbox because it is there on my phone.

    If your gmail email address is your user name Microsoft Account, it is not actually going to receive incoming emails by default.  For example, you can go to www.outlook.com and sign in with your Microsoft Account (your gmail address), but there is no email because the email is really going in the Google Web site.  There is one step more that it takes to get your gmail emails flowing through them so you options for how do.

    1. Configure your Microsoft account to 'pull' your gmail emails
      This method sets the upward so that the Microsoft Account connects to Gmail, downloads email and then displays them on your computer Windows 8.  You make this unique facility of inside Outlook.com.  I've written about how to do it on my blog here (I wrote it for a different purpose, but the steps are identical).

      If you perform this step, you can also delete your Google account from your phone and setup of your phone to synchronize with Outlook.com instead.  You will always get and send emails with your Gmail address, it uses just Outlook as server.

      or

    2. Add your Gmail for Windows 8 Mail App separately
      This option is easier to install, but I do not personally (just because of how Gmail behaves a little different). But there is no problem with him.  I've written about how to do it also with a video demonstration: Use Gmail in Windows 8.

      If you use this option, go to your Mail application settings and uncheck the "E-mail" to your Microsoft Account (the first listed email account) so that you do not have two accounts showing in your email application.

    I would like to know if you have any questions or problems.

  • CS5 Master Collection does not refresh after reinstall

    Hi people of

    My CS5 Mastersuite does not refresh. The development of updated does not start yet. Does anyone else have this problem?

    Try to update the product manual download available for the products.

    Link to download updates: https://www.adobe.com/downloads/updates/

  • Visible property node tab Page work does not correctly

    I do a vi in which we have a tab with 6 pages control and to move from one page to the next there is control of ring with option for each page to page 1 (page 1 is the default value), at the same time only a single page is visible, so that we can move only through the control of the present ring on page 1 and return to page 1 of all the other pages there is button "return" on all other 5 pages, everything works well for 5 pages, but when after going to page 6 and then if I press return button instead of going back to page 1 program crashes and one more thing I've noticed is after that judgment of the program on page 6 becomes the default page (which is page 1) I know not why it is past.

    I enclose the snippet of code that runs when I press go button "back".

    one more thing I get here is when I checked the program through the execution of the step, the last property node (page6) that runs first, after that it goes to the first node in property, then he goes in order, this also I want how is what is happening.

    It would do the same thing as your code?

  • Screw LabVIEW compatibility helps with NI DAQmx device does not

    I use an old application written in Labview 7.1. Please see the attachment.

    now I use the same software with NI 6221 (supported DAQmx) _so I installed NI DAQmx compatibility live.

    I use the unit as DEV1-by default.

    I can't select any channel to browse...

    Please help me

    Please see attachment

    Thanks in advance

    RENN

    If you right-click on the control and select "I/o name of filtering", say the DAQ or DAQmx channel name? If she says no DAQmx and data acquisition, you have a traditional DAQ channel control and you will not get a list of channels available since you actually use DAQmx. I suspect this is just a limitation of compatibility screw and you will need to enter the list of channels manually until you make a clean break and use DAQmx features.

  • Run VI Invoke node: VI works, EXE does not work?

    It is LV2009 without patches or updates. I call buffer.vi of static reference with a collection of nodes to invoke to run a VI. I don't have a very good reason for it, but don't want this code on the block diagram. I can't wait to put a lot of effort in this since I can just drag the code on the main scheme and I am sure it will work, but I do not understand why it gives me error 1000: VI not in a State compatible with this operation?

    In the EXE file, when I check the status of the execution of the buffer.vi until I say it runs, sometimes bad. Same code in VI, sometimes slow. I also tried to replace the static VI reference with a reference open VI by using the name of the buffer and received the same error message. I have the buffer VI included in the compilation under always included.

    So I was building an example of project because I didn't post all, boredom was the example ON what EXE has no error. WTF. Then I realized that I had another call from node in the boot sequence. OOPS. I put that in there thinking that the only way it would be mistake was if the VI was running before he called, in this case I wanted an abortion there. It turns out also-error (1044 locked VI) when running in an EXE file, even if this particular node using says he works with the runtime. SO, he tried to abort a VI that was not working. The initial error, 1000, just said not compatible with call node state, did not say that one.

    Yes, sorry for the trouble and thanks for the help. Maybe someday I'll understand the problem that I was led to this, guess who is the fact that I can't debug EXEs. Kind of, I think it has something to do with an XControl I always use it because they always appear as corrupted files just before that the debugger fails. Anyway, thanks again, I'll plug that into the real system and see what else does not work.

  • DAQmx task does not

    Problem Description :Hardware: PXI-8184 (chassis PXI-1042), PXI-6221 (slot 2 in chassis)Software: LV RT 8.5.1, DAQmx 8.7.1 (see MAX.jpg)Problem: Task does not function within program (CounterRead.jpg). I can run the task within MAX (MAX.jpg) while the program is running and I can see the counts. All other tasks work fine. I have eliminated everything else in myprogram except this task and it still doesn't function and I get no errors. Also tried putting the task directly in the main program to no avail. I've tried different types for the task (raw, Counter Dbl 1Samp, etc).Thanks.
    
    NI Software :  LabVIEW Real-Time  version 8.5.1NI Hardware :  PXI Controllers, Chassis, and MXI device PXI-8184Driver Version :  8.7.1OS :  Windows XP
    

    It was a mistake to boot! An event of default would erase the name of task... it's the same for another sub - VI for other tasks so I'm not that. But it works now that I've totally simplified the Subvi. Two other people have worked on it in front of me (newbees) so I have a lot of cleaning up to do.

    Thanks for all the answers and sorry it was something so simple. It took me a while to get back into the swing of debugging stuff RT.

Maybe you are looking for