Jump to content

LAVA 1.0 Content

Members
  • Posts

    2,739
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by LAVA 1.0 Content

  1. QUOTE(tcplomp @ Feb 1 2008, 03:03 AM) Yes, in 90% of the cases, I agree. Strangely enough, I just posted a similar feature request at another forum There are cases where you have to test your vi as embedded into the final code, but don't want to run the entire thing to get to where you want to be... Now, you have to remember, this is the "Wish List" section... I'm sure this feature would be a sunnovogun to implement... But hey, we gatta keep them NI folks busy!.. Good suggestion!
  2. QUOTE(jdunham @ Feb 1 2008, 01:29 PM) Agreed. At least under VMS version 4 DEC did implement the entire stack as defined by the OSI-7-layer model. THe only reason I know this is that I had access to the VMS source code while I was working for them. Ben
  3. When you are using the Variant to data function with array, you have to set the type terminal with an array too (not necessarily 1D array). For an array of different type, you can start converting it into array of variant. Then you should be able to see your data into the variant indicator.
  4. I beleive it used to be possible to run DECnet over IP so I am inclined to think that IP supports this. But from what I understand about the Windows implementation fo the OSI 7-layer model, both TCP and IP are implemented together. All of the above is just my opinion and is possibly (probably) wrong. Ben
  5. In general, LabVIEW network communications is going to via TCP or UDP. There are higher level protocols such as Data Socket (DSTP) and HTTP that can be used if the device supports these. Tell us about your device or share the manual and someone might be able to help.
  6. QUOTE(PatNN @ Jan 31 2008, 09:28 PM) You can http://cnx.org/content/m12210/latest/' target="_blank">create a sub-vi from a section of a block diagram. The input and output connectors will be created for you.
  7. QUOTE(vronto31 @ Jan 31 2008, 06:43 PM) From the dark side... http://forums.ni.com/ni/board/message?boar...ssage.id=149876
  8. QUOTE(Natu @ Feb 1 2008, 06:48 AM) Why do you post your the same question only in two categories? There are much more... Just post your vi...
  9. Could be worse, compare NATI to AAPL or GOOG... @ 0.30 per, that's 78,201 'shares'.
  10. QUOTE(Michael_Aivaliotis @ Oct 15 2007, 02:23 PM) I feel your pain, Mike... I had a strange bug that I assumed was a race condition. The value would get set without being triggered.. I fixed something else, unrelated, and it worked fine. There was a discussion about this on the NI forum. But I must admit that I'm still a novice with these Callback Events..
  11. Hi Judson, Can the work be done remotely? Plus I work with two other LV experts (Architect + CLD - soon-Architect), one of which spends considerable time in the Toronto region. I have done work for remote clients as far as Iowa, USA. I am familiar with vision systems and have done IMAQ projects in the past. Regards, RayR
  12. QUOTE(crelf @ Jan 30 2008, 11:15 AM) I did the same but concentrated on fingers. This let me learn to solder with one hand but all derived from once being asked to try and "twidle my thumbs" such that the were counter-rotating. There is also a "mind-trick" that will make sthis much easier. The "trick" is to think of the two motions as one rather than as two independent operations. In the "twidle" example it can be thought of as 1) Move both thumbs down, 2) Cross thumbs at the bottom, 3) move both thumbs up, 4) cros thumbs at top, lather rinse repeat. Ben
  13. QUOTE(Gabi1 @ Jan 25 2008, 02:27 PM) The reference has to be strict to get at the history property. http://forums.ni.com/ni/board/message?board.id=170&message.id=297532#M297532' target="_blank">See this thread on the Dark-Side. That req may have to do with the the data type being numerics or WF data types. Ben
  14. QUOTE(Gabi1 @ Jan 25 2008, 02:27 PM) It's work for me. This is the definition NI give to this Property. QUOTE(Property: History data) Array of the history data of a chart. Wire an empty array to this property to clear the chart history.
  15. I can't open your code because I did not install LV 8.5 Yet. So I can't give you comment on your code. On the other hand, I just want to point it out that you may use event to read your data with the VISA Event function. (Instrument I/O\VISA\VISA Advance\Event Handling, in your function palette). Hope this can help.
  16. Thanks mballa, This is close.. but not quite what I'm looking for. Imagine what you posted, but no Cluster control. So no source of name. Where I see a recurring use (for instance) is the ouput of a number of math steps that end up in an Indicator. Let's say you remove the indicator and wire that to a Cluster. Next to this would be a string array that contains a list of labels. I want to... hum... maybe what you posted would work.. with a slight modification.. I was about to say.. "I want to assign the name of each element in the cluster a name from the label array". I will go visit the Open G vi's. You gave me an idea.. THANKS!!
  17. Thanks JDave! Yes... I've thought of using Variants.. Especially since the database is presented as a 2D Variant array.. Maybe I should just deal with Variants instead of converting and searching and so on. At one time, I was attracted to Variants and someone told me to stay away.. Somewhere on the NI forum.. But I like those examples you pointed to. What the heck.. Variants it is. Now since I came back to post additional info.. Here is another image of what I wanted to avoid. .. I'm aware of assigning the name with the constant wired to the type of the Variant To Data. I wanted to make something more universal.. I'd still like to learn that technique... as an aside to the original topic..
  18. I am looking for suggestions on how this coding approach can be improved. I want to programmatically build a cluster of arrays than can be later unbundled by name. The way the cluster is populated is by first reading a database Table and listing all the columns within that Table. The column contains elements of various types, that will be handled properly and not be part of this particular exercise. The challenge is that I have access to the column names (they are in the columns array). The column information contains the types for each column (let's not pay attention to this now). In the attached image, pretend that PARTNO(n) are different names of columns. Let's also pretend every element in the database table is of the same type. Instead of duplicating the code n-times for PARTNO's, I'd rather put the 2D Variant array (entire dataset) to a For Loop, where I can extract every element of each column and store them into their own arrays. So an array of PARTNO, another array of PARTNO 2, and so on. However, at the bundle into array, I want to wire it in such a way that I can unbundle by name later. So the databse cluster would contain the name of the column where the data originated from. That way, a sub-vi can access the element array by unbundling by name. Simple. Plus the idea is that this can be used for any database with any column names and the end result would be the same, a cluster of arrays that can be indexed by name of the column which it originated from. Hope the above s clear. Here is the picture.. Many Thanks! RayR
  19. QUOTE(Jake of All Trades @ Jan 23 2008, 11:32 AM) Implementing your idea as an XControl is a great suggestion IF you are familiar with XControls since all of the work that goes into making this work complete re-usable. In this case the "work" is not trivial. I do not concider myself qualified to explain how to implement this as an XControl since I am only now learning the details of implementing XControls. So I will set the idea of an XControl to the side and try to outline how you can get what you are after. Yes, the needle not rotating is concidered a bug and I will not old my breath waiting for NI to fix this bug since it is on the extreme edge of possible use cases. So the challenges in your request are two-fold Rotating and Over-laying. In http://forums.ni.com/ni/board/message?board.id=BreakPoint&thread.id=14&jump=true' target="_blank">this thread on the NI-Forums you will find many links to discusions of how to use the Pciture Control. In that thread you will find an example posted by Christian Altenbach that shows you how to rotate an image. If you combine his demo and use the Create Mask VI located on the Picture palette, you should be able to rotate your needle, mask the backround color, and then insert it into a a picture that already has your guage baqckground. I hope that helps, Ben
  20. QUOTE(LV Punk @ Jan 23 2008, 07:14 PM) It looks really good... But I get seasick if I change between tabs to often....
  21. QUOTE(tcplomp @ Jan 23 2008, 07:02 AM) Thanks Ton, Working on it using callback.. How do you genenrate a trigger from the Strictly Typed VI created by the Reg Event Callback? It's hard to describe what I'm trying to do. So with reference to attached image, pretend that the event "create report" is one of the state in the Event Structure and "VI Activation" is another event in the same structure. How do I get the bottom one to trigger only from the User Event (Word closing) from the one pictured above it? The reference in the top one is for the VI at the bottom. I realize VI Activation is probably not the event to choose.. Since the VI being referenced by the Strict Type does not allow to change the connector pane (ie add terminals), how do I trigger a LV event within the Event Structure.. This would be easier to explain with a mind-meld.. I can open word, close it and it triggers the event to execute the VI referenced... that works.. I need to get it to trigger the next step. Many Thanks RayR
  22. Just installed it at lunch. Basically eye candy, but fun... https://addons.mozilla.org/en-US/firefox/addon/4258
  23. I noticed in your orignal screen shot that you are using something called "encrypted open config data.vi". I recall this VI name from an example in "A Software Engineering Approach to LabVIEW". Try removing the encrypted read and write functions and use native LabVIEW open/read/write/close functions. If the speed is still to slow, consider using a binary file format rather than using an encrypted INI.
  24. Using LV to open and work with MS applications is no problem. I can create a new docuiment & save it.. I need to bring the Word application to the Front and keep it there until it (Word) is closed by an Operator. Upon closing the LV application needs to detect that it is closed and trigger an event (more actions). My questions are: 1. How do you bring the MS Word to the Front and keep it there. I'm using an Event Structure, and there are no events occurring after the document is completed... However, about mid-way through the document, the Front Panel (VI) goes to the Front.. I have set FP.IsFrontMost to FALSE before / after editing the MS Word document... It just doesn't want to stay at the front. 2. After the Operator looks at the report, he closes it. Closing the report must trigger an event. Is there an easier way than registering a User Event and then triggering on that? If this is the way to go, I would need help with User Events... Thanks, JLV
  25. QUOTE(zappa2 @ Jan 22 2008, 07:40 AM) Take a look to "Login dialog.vi" in the Ni Example Finder (Help/Find Example...). This VI does exacly what you want.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.