Re: labview 7 SubPanel Container Question
Great!
Re: Taking Measurement from DAQmx Device
Hi Murali, Most of settings for a strain or temperature can be completed in MAX only. Still if any other settings you need to perform, you can set in the program. I feel combination of virtual channel in MAX performing remaining or desired settings through software may fulfil your requirement. Still if your problem is not solved, specify what exact settings you want to do. Best Regards, Nirmal Sharma India
Re: multible plots on xy-graph?
There are two ways to do it. You can bundle an array of X values with the array of Y values and then build an array of such clusters, OR you can bundle the X and Y values so that you have an array of XY clusters and bundle the whole array to get a cluster with that array and then build an array of the different clusters(puh...) You can find an example if you search for XY in the find example function; the XY graph.vi
Re: sir i want to synchronize 3 vi's using occurence fn but i am not getting how to use occurences
Hi Nirmal, I have noticed that you have been trying to help out. Let me offer some feedback, please. Normal globals are OK if you have a value that is written by one entity ONLY. Multiple readers are are just fine. More than one writter can quickly lead to race conditions so they are habitually avoided by many experienced developers. There is a common construct used in LV that is called by a number of different names i.e. LV2 global or Functional global. Do a search on this site for many discusions toughting the benifits of a functional global. I find that there are a number of benifits found in using these functional globals. The first that comes to mind is that these constructs have a diagram so you can control exactly how they operate. (This is something that frustrated me when I was first starting out w/LV. What do you mean I can't get at the diagram?!) Another benefit is that they take advantage of the nature of a non-reentrant VI in that only one entity can access a time thereby reducing the chances of race conditions. To do the same thing using normal globals, you have to build the global into an action engine or resort to using semaphores. Next, they allow for the encapsulation of code. This is very helpful when you have situation where some shared data structures needs to be read, modified, and then written back. Doing this type of operation using normal globals is a disaster waiting to happen. Next, LV2 globals can be served from one machine to another by using VI server techniques. Everything works the same as if the LV2 global was on the local machine. Next, large blocks of data can be manipulated in-place (i.e. the operation is performed on the data in a single buffer instead of being copied, modified and then written back). ALL of the top entries in the LabVIEW Zone Dictionary Challenge used a variation on this construct. So, If the situation indicates that there is a single writter and multiple reads, globals are fine. Otherwise a LV2 global should be concidered. Trying to help, Ben
Re: How to install labview on linux, is there a trial version
Hi Holger, I think NI will have to consider more support for Linux soon. It is becoming more more popular. .. no comments about MS-Windows...
Re: daq down counter example for pci-mio-16e-4 wanted
Hi Holger, I have to confess that I was puzzled re:your original post. Now that I have some more info I suggest you take a look at the VI that can be found at Data AcquisitionCounterIntermediate ConterDown Counter or divider Config.VI It looks like what you are asking for. Trying to help, Ben
Re: sir i have boolean variable i want if mouse is clicked on it...
You are correct! The orignal question was not exaclty clear on what should happen to clear the output boolean. My example simply toggles the state of the output boolean when the control boolean is held down for more than 2 seconds. Ben
Re: sir i have boolean variable i want if mouse is clicked on it...
Ben: I didn't go through your code, but once your LED goes on, it stays on, even if the next time you press the button it's for less than 2 seconds.
Re: unexpected error - why ?
Would an error message like the following help? Error 1193 occurred at ... Possible reason(s): LabVIEW: When a Boolean control has a latch mechanical action, you cannot use the Value property to read or write its value. This error message should get people unstuck. For the curious at heart, wondering why this is so, they could then go to help and find the following under Changing the Mechanical Action of a Boolean Object: Note: You cannot use any latch action for objects with a local variable because the first local variable to read a Boolean control with latch action would reset its value to the default. I know - a little late to help you, but those who follow will be a touch less frustrated. Roy Faltesek P.S. It was a redundant question - no need to answer. Our support department has made us fully aware of the problems poor error code returns and/or messages can cause, and this specific example was their poster child.