Modification of Global channels In NIMax while Labview Program running, not updating in Labview

Hello,
     Okay, here is my issue.  I have a program that reads data from a device using global channels in MAX.
Step 1:  I open MAX with the systemExecute.vi with the parameters to wait till program finishes.
Step 2:  I Modify a channel in Max, for example change the assigned daqMX Scale, or Min Max values.
Step 3:  Save channel in Max.
Step 4: Exit MAX with the file exit.
Step 5: The Labview program continues, and I re-read the available global channels and global scales in the Labview vi but the properties have not changed to match what I change in MAX.
If I stop the VI then start it again and read the global channels then the properties get updated.  How can I get the channel properties to update in Labview after changes are made in Max without stopping the labview vi and starting it again?

Many properties of the channel can only be modified when the task is not running.  Have you tried stopping the task in LV before modifying the parameters, and then re-starting the task?
Dan

Similar Messages

  • I can not create an Installer, After install the Vision Builder Demo and then uninstall it. I can not create a Labview installer anymore, it asks me for a Vision Builder Installer, even if My Labview program does not have nothing to do with it...

    I can not create an Installer on LabView, After install the Vision Builder Demo and then uninstall it. I can not create a Labview installer anymore, it asks me for a Vision Builder Installer, even if My Labview program does not have nothing to do with it...
    Solved!
    Go to Solution.

     Hi Shada this can happen if you are including additional installers to your installer for example DAQmx. When you are doing this the installer has to include other files like MAX (Measuremente and Automation Explorer). Probably when you installed Vision Builder it updated MAX, so when your installer is trying to Include MAX, its asking for the source where it was installed in your computer in this case Vision Builder.
     Here you can cache the information so its not asked again, or you can download a newer version fo DAQmx, so it will update MAX and change de dependecy.
     You can find more details about this issue in this KB:
    KnowledgeBase 3S88PJMY: Why Do I Get A "Missing Distribution" Error When Trying to Build an Installe...
    And for keeping a copy here is more info:
     How Do I Stop the Missing Distribution Notification Each Time I Build An Installer?
    Best Regards
    Benjamin C
    Senior Systems Engineer // CLA // CLED // CTD

  • Interaction between 2 labview programs running on two distinct computers

    hi
    i have two distinct computers and 2 labview programs running on each computer. in one computer labview program is prepared for data acquisition and saving acquired data. now i want to send these acquired data by cable to another computer to be processed. first i am searching for the best protocol for sending data between these two computers. it is important for me to diliver data near real time approximately in milisecond. and finally is there neccessary to have any special kind of software?
    best regards
    Message Edited by farashi on 01-30-2010 01:36 AM
    Solved!
    Go to Solution.

    Farashi-
    A real-time system doesn't mean an instantaneous system, or a fast system.  It actually means a deterministic system, or a system that you know exactly how long it will take to complete a process.  As was mentioned before, even Gigabit ethernet has latency, and that latency is not deterministic.
    If you want a real-time system over the network, here is a KB that has the software and hardware setup you would need to do.
    http://zone.ni.com/devzone/cda/tut/p/id/4720
    Mostly, to accomplish what you want to do, you won't be able to use windows, because there is non-determinism there.  You will get latency problems when windows decides to use the processor for something other then your application.  For the best real-time systems, look into the Compact FieldPoint of a Compact Rio system that you can deploy your code to.
    Scott Wiest
    Applications Engineering
    National Instruments
    National Instruments
    Applications Engineer

  • I am trying to translate the labview program to a real time labview programming....i wan to know what te the main isse that i need to focus on

    currently i am doing a lift monitoring system which made use of labview. Due to time constraint, i have decided to use the real time labview program. However i have no prior experience on the real time programmng, can i be enlighten on the main issue and what are the thing i ned to look out for. is thre any documentation that i can use?

    Derek,
    Programming for LabVIEW Real-Time is very similar to programming for LabVIEW for Windows. Many VIs do not need to be changed in order to run in LabVIEW Real-Time RT Engines. However, here are some issues to consider:
    1) Drivers
    2) File I/O
    3) Dialog Boxes
    4) Shared resources
    1) Drivers. If you application was written in LabVIEW for Windows, and then ported to run on an RT Engine on RT Series Hardware, you need to be sure that the drivers you are using are supported on your platform. See KB 28G97MZ8: http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/aad11f924e5b5fd086256a310053a094?OpenDocument
    2) File I/O: If you are running your programs on an RT Series DAQ Device, it has no storage device, so file I/O operations will crash. See KB 26FBO0KN:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/3c35f5e85476579d862569f50067462e?OpenDocument
    File I/O on RT PXI Controllers is supported in 8.3 filename format (no spaces in the filename allowed).
    3) When your application is deployed, (Operate>Download Application, Operate>Run, then File>Exit without closing RT Engine VIs), you VIs continue to run. However, the RT Engine runs headless with no keyboard, monitor (limited information displayed), or mouse, so any user interaction previously required by your VIs, such as Dialog boxes, will hang or crash your program. For user interaction with a deployed application, communicate to the Host PC using shared memory, VI Server, TCP/IP, DataSocket, or UDP. See ~\labview\examples\rt\rt communication.llb for examples.
    4) Even though your programs now run in a real-time operating system, you need to follow good real-time programming techniques. These include: using multithreading with critical tasks set to time critical priority. One time critical VI with no parallel loops. Avoid accessing or using shared resources in time crital VI (shared resources cause jitter). Shared resources include the memory manager (preallocate arrays used in time critical loops), global variables for interthread communcation (use RT Queues). For more information, visit the LabVIEW Real-Time Resource Library in the Developer Zone: http://zone.ni.com/devzone/devzone.nsf/webproducts/c25f8c664230613a862567df006abb06?opendocument

  • I just got v10.6, while trying to run the update, it's telling me that the file is corrupt and cannot be saved. What do I do?!

    I'm running Snow Leopard v 10.6 on a Macbook 4,1. I've got a 500 GB HD and 4GB of Ram. While trying to run the software update (to get me to 10.6.8, I think?) I keep getting an error message around 600 MB that says it's unable to be saved because the file might be corrupt and that it will try again when the software update is ran next time. Why am I getting this message? Is there a way to get the update (so I can eventually get to Lion), without going through the software update screen?
    I'm going crazy with this. I've tried 4 times now and still keep getting the same message.

    Try downloading the stand alone installer here:
    http://support.apple.com/kb/DL1399
    In Safari Preferences, General tab, set "Save downloaded files to: select destop, if it is not in thed rop down select other, then selcet Desktop from the left sidebar. After the download completes click on the installer package on your desktop and follow the prompts.
    Also if possible use an ethernet conection as it is less prone to interference, thus less prone to corruption, and usually faster.
    Hope this helps

  • Can Labview Programs run from the Windows System Tray?

    Does anyone know if Labview Runtime executables can be run in the Windows System tray? Any help would be appreciated.
    I'm creating a program that I want to run in the background, not visible on the desktop or taskbar.
    Thanks,
    Tom

    Requirements    Price: $29.95
     Application Software:
    LabVIEW 7.0+
     Toolkits Software:
     Additional Software:
     Language's:
    LabVIEW
    INVtray LabVIEW Toolkit allows the programmer to create a LabVIEW program that can be hidden from the task bar and accessed through the System Tray.  Comes with a sample VI that demonstrates all the features of the toolkit.

  • Continuous Labview program run with non-contin​uous DAQ connection

    I am using a wireless DAQ, NI 9191 chassis with 9205 module, to measure strain in a system. The DAQ is not being run on standard power so it will occasionally not be powered. The DAQ automatically reconnects to the computer when power is reestablished, but when the DAQ loses power the program encounters an error and stops the program.
    What I want to do is create a Labview program that will run continuously by ignoring the errors, recording data when the DAQ has power and recording an NA or zero when there is no power. 
    If anyone knows or has had this problem before let me know if there is a solution ASAP. 
    Thanks

    The program propably (hard to tell without any code to review) only stops because you have not wired the error putputs of your DAQ-vis. Wire them through to a case structure. In the "no error" case pass your aquired data to whatever postprocessing you deem appropriate (you said something about recording). Set the outgoing tunnel with the data to "use standard if not connected" (I don't have the english version of LV available, so this might be called slightly different). This way it will allways pass on zero when there's an error in your data aquisition.
    Regards
    Florian

  • LabVIEW program will not run on Windows 2000

    I need to run parts of a LabVIEW program on a PC which does not contain all the hardware required to run the full version. This used to work on Windows 95/98 but on Windows 2000 I get error message 'Capabilty not supported. VI was stopped at node 0x1BC of subvi "Out Port.vi"'. This program is very large and full of references of this type, is there an easy way around this problem?

    Hi,
    I might be barking up the wrong tree here, but Windows 2000 is built on top of the architecture of Windows NT. Win NT/2000 treats direct memory access differently to Win95/98.
    Have a look at the following link and see if that helps - unfortunately it involves re-writing (well, re-linking) the .vi's that are calling the out port.vi. The link is in reference to writing to the parallel port through direct memory access, but the .vi's are based on writing to any memory location.
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/c80752c53094c296862565f3007ac765?OpenDocument
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&HOID=506500000008000000110A0000&ECategory=LabVIEW.LabVIEW+General
    As you don't say wh
    at version of LV you're using, the following link might also prove useful (if you're using LV 6.0.2+)
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&HOID=506500000008000000102F0000&ECategory=LabVIEW.LabVIEW+General
    Hope that helps
    S.
    // it takes almost no time to rate an answer

  • Graph does not update in labview

    I am writing a vi and am having trouble with a graph. I am collecting some data every 5 seconds within a while loop. If I send my data outside the loop to an xy graph and turn on auto-indexing, I can get the graph I desire. However, the graph doesn't update. In fact, it waits until I abort the vi by pressing the stop button before it ever draws anything on the graph. I am new to Labview, so perhaps I am missing something simple. Any help would be appreciated. I would like my graph to update with every measurement I take (every 5 seconds). Thanks!

    > missing something simple. Any help would be appreciated. I would
    > like my graph to update with every measurement I take (every 5
    > seconds). Thanks!
    The problem isn't specific to graphs. Data leaves a loop when the loop
    completes, therefore your program states that you want to wait until the
    loop completes, then send that data to the graph.
    What you want is to place your graph terminal inside the loop. If you
    just send an individual point to a graph, that doesn't make a very
    interesting plot, so what you really want is to place the graph terminal
    inside the loop and plot all the data accumulated thus far. To do this,
    add a shift register to the loop and use an array builder to accumulate
    the data, plotting it as you go. You probably also want
    to popup up on
    the left shift register and create a constant to start the loop out empty.
    Greg McKaskle

  • Console error messages every time while trying to run Software Update

    Trying to check for updates and I get this message in console:
    com.apple.SecurityServer: Failed to authorize right 'system.install.app-store-software' by client '/System/Library/PrivateFrameworks/PackageKit.framework/Versions/A/Resources/in stalld' [774] for authorization created by '/System/Library/CoreServices/Software Update.app' [768]
    I have not had any updates in a while, so I am thinking because of this.
    Anyone see a problem.
    Thanks
    Running Lion 10.7.1

    From here:  (by bengliang )
    LONG STORY SHORT, delete all the files in /Users/<yourusername>/Library/Caches/com.apple.SoftwareUpdate/ and then retry Software Update and it should work!

  • Download the file in presentation server while the program runs in backgrou

    Hi,
    Usually we will never download the file in presentation server while the job is scheduled in back ground.
    But now i need to do that. I need to download the data in excel file and the same program is scheduling in background.
    Can any one suggest how can we do this?
    Thanks in Advance,
    Ravi

    Hi,
    There is an alternative provided by SAP. The program RFCEXEC has to be installed locally on the PC.
    In SAP R/3 we have to define a destination link to your local PC to the RFCEXEC program. And in the ABAP program we have to invoke the connection by calling the FM  RFC_REMOTE_FILE.
    I haven’t tried this before but a detailed documentation is available in this link.
    http://sapabap.iespana.es/sap/info/rfcexec/rfcexec_e.htm
    Reward if useful
    Regards
    Shiva

  • Problems while installing = Ipod does not update

    I recently tried upgrading my version of itunes but while it was downloading the program froze and I had to close it. After I unplugged my Nano I realized that all the songs on my ipod were erased, but still in my library. The simple solution seems to plug in the ipod and let it update again.
    The problem I encounter here is that the computer doesn't read the ipod or something and I cannot update.
    I have tried going to file->update ipod but it cannot be clicked on.
    I have also tried updating a new version of itunes but the program starts to download and then tells me that I already have a version of itunes on the computer, and the install fails.
    Help!! Is there a way for me to fix this problem without completely restoring my itunes and losing all my music files??

    I recently tried upgrading my version of itunes but while it was downloading the program froze and I had to close it. After I unplugged my Nano I realized that all the songs on my ipod were erased
    You should never update/upgrade iTUnes while the ipod is connected to it.
    Go here and follow all steps for removing iTUnes http://docs.info.apple.com/article.html?artnum=93976

  • Error message while trying to run combo update

    I get the following error message when trying to run the combo update.
    "You cannot install Mac OS X Update Combined on this volume. This volume does not meet the requirements for this update."
    I tried with both 10.5.7 and 10.5.8 and I get the same message.
    Any suggestions?

    1. Be sure you have downloaded the 10.5.8 Combo Installer.
    2. Verify that you have 10.5.x installed by opening About this Mac from the Apple menu. The installed version should be displayed.
    3. Do the following:
    Repairing the Hard Drive and Permissions
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger and Leopard.) After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer. Now restart normally.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.

  • How can I update cluster items from inside a while loop that does not contain the cluster?

    I have a VI that contains front panel clusters and two while loops. The main cluster contains items such as a doubles "distance" and "stepsize" and boolean "step" (a whole buch of this type stuff). The first loop contains an event structure to detect front panel changes and the second contains code and sub VIs to perform operations based on detected events.
    The operator can enter data into either double or click the boolean. If distance is changed the second loop does what is required to process the change. The same happens with stepsize. If step is clicked the ±stepsize value is added to distance and the result is processed. In each case the front panel should track the result of the input and subsequent processing.
    Because the clusters are outside the while loop, they are not updated unless I click 'highlight execution' which seems to allow updating each time the execution highlight is updated. There are other issues if I move the clusters into one of the loops.
    I've tried referencing the clusters and using local variables and nothing works. It looks like overkill to use shared variables for this.
    Any ideas would be greatly appreciated.
    Thanks,
    Frank    

    Hi Ben,
    Thank you for the response. I followed the link and tried reading everything you posted on AEs but I'm afraid that I didn't understand it all. It seems that each AE example had a single input and a single output (e.g. a double). Is this the case? 
    What I have is a couple of front panel clusters containing (approximately) 18 control doubles, 8 indicator doubles, 5 boolean radio button constructs and 26 boolean control discretes. I clusterized it to make it readable. In addition I'll eventually have a cluster of task references for hardware handles.
    All I want to do is update the front panel values like I would do in a C, VB or any other language. I've tried referencing the cluster and using the reference from inside the loops. I've tied using local variables. Neither works. I'm experimenting with globals but it seems that I have to construct the front panel in the gloabal and then I wouldn't know how to repoduce that on the front panel of the main VI.  Sometimes it seems that more time is spent getting around Labview constructs than benefitting from them.
    I hope the 'Add Attachment' function actuals puts a copy of the VI here and not a link to it.
    Thanks again for the suggestion,
    Frank 
    Attachments:
    Front Panel Reference.vi ‏33 KB

  • How to run labview program in debugging mode in windows 95 version

    Respected all,
    I am facing probelm while running probe.vi.
    I received this command "connection to acquisition board was not found" when i run labview program.
    I  am using labview 5.1, fieldpoint FP 1000, NI-DAQ 6.5, Field point explorer version 1.6, Measurement and Automation Explorer 1.0.1.
    I would kindly request you please help me how to run my program probe.vi in debugging mode in windows 95 version, so that i can locate where error occurs.
    Thanking You
    Yours faithfully
    M.Vijay

    Respected Norbert,
    Thank you very much to for your help.
    Norbert : Possible reasons are e.g. wrong IDs for measurement devices. If the error is connect to the FieldPoint, it is possible that it isn't configured correctly.
     I am using Field point explorer 1.6, The Field point instrument FP 1000 and RS-232 port is using. It is confirmed that the field point instrument is working properly by LED light indication test.
    Norbert: It sound like you are using DAQ devices (like PCI MIO 6952E) in the application. Are you sure that you select the correct device ID for this?
    I am asking you to know, If i using Labview and  Fieldpoint instrument FP 1000 to monitor my parameter interms of All, Channel 0, Channel 1, Channel 2, Channel 3, Channel 4, Channel 5, Channel 6, Channel 7 for my measurement.
    But now i need to solve the command connection to acquisition board was not found, The expert say this command is due to there was no AT-AO-10 Analog Output board was present in CPU.
    I do not find AT-AO-10 Analog Output board in my CPU, Previously the instrument was worked perfectly by other person who assembled everthing to measure temperature.
    The only aswer know send by previous person is if my task does not imply the use of a DAQ you probably have to locate where the DAQ driver is called and exclude it from the program. try to run the program in debugging mode so that you can locate where the error occurs.
    I do not know how to proceed his instruction. So i would kindly request you to please help me to solve my probelm.
    I also removed AT-AO-10 software from device manager >> Data Acquisition system >>  AT-AO-10 just now.
    I also find GPIB version 1.30, when i remove in add or remove program, it say that Error removing the GPIB.
    I am eagerly waiting for your help.
    Thanking You
    Yours faithfully
    M.vijay

Maybe you are looking for

  • Free goods ( scenarios )

    Hi all Q.  Free goods Can u giv free goods to a customer only if he order Material A & Material B , then only he will be able to get material C as free Thanks Pradeep

  • No infotype found in personnel action

    hello,         i hv created one action in PA(personnel administration). I wanted that action has to come in pa40 screen. so i changed the uger group in the parameter coloumn. but while saving i saw an error message. it did not allow me to save. it wa

  • Home Sync errors with Chrome files

    Recently a bunch of users in our office have been getting constant Home Sync errors, most commonly with Google Chrome files. File Sync opens and lists a number of errors syncing files including: Favicons History History Index 2012-02 History index 20

  • Catalog content missing after upgrade to 11.1.1.6.6

    We recently applied the patches to upgrade OBIEE from 11.1.1.6.0 to 11.1.1.6.6. But after the upgrade, all of the catalog contents went missing. I can still see My Folders and Shared Folders, but nothing under them. I still have all of the subject ar

  • Daily backup: how to detect non used libraries.

    Hi, We use a CL program with a list of SAVLIB commands to save all production librarires every day. The problem is that this CL has been mantained for several years and probably most of the saved libraries are not used anymore. I'm only responsible o