Jump to content

Ton Plomp

Members
  • Posts

    1,991
  • Joined

  • Last visited

  • Days Won

    38

Everything posted by Ton Plomp

  1. OK, I get the point Louis could you describe what kind of failures you mention? But a more serious issue (which I think is very very serious) is that a convert to U* from a I* doesn't convert the value but typecasts it: This goes for U8,U16,U32,U64 It shows no coercion dots, this issue will be quite hard to deal with... Ton
  2. I don't agree, this issue (coercion dots) are more something for the advanced users, I agree that you should try to minimize them, but I don't take great effort to remove them. Ton
  3. I have some issues with using drag and drop on XControls. I even tracked it down to the point where I found out that events for XControls don't exist, so not only drag enter doesn't occur, even mouse enter isn't triggered... :headbang: I have read this topic but there drag and drop is applied on parts of the xcontrol. I have the feeling that I should register and unregister for the events in the Init and Uninit abilities but am not sure. Can someone prove me wrong on this subject? Ton
  4. VI analyzer? Here is some code is scratched, it uses for VI Analyzer, and allows you to browse to the coercion dots! Beware, you need VI Analyzer to run this! Ton Download File:post-2399-1161183893.zip
  5. Hi i2dx, It appears that a shared variable only holds the flattened data and not the type-def control... See here Ton
  6. Hi Kameran, use 'execution high lighting' and see what is wrong, then do a search on Data-Flow programming. Ton
  7. Hi i2dx, I think the silence has warned you already but it is not possible. When starting a task you already have to set its main properties and directions. So go with two tasks. Ton
  8. Yep we're lazy, but I found the criteria somewhat difficult to test. You had to carefully read all related posts to find out what the code was supposed to return and the different implementations all had there side effects in the output. So I found it quite hard to 'judge' the entries. And the judging scheme was maybe a little overkill. But I felt like I had to give something back (I know feedback is great) for these efforts! What do you mean by public vote? I assume CCC is the message on the homepage. Ton
  9. I have seen the same, but am not sure what i did to fix this. Best was to have nothing open but LV, and minimize the LV windows afte selectin edit palettes. It looked like the palettes where hidden behind VI windows... :headbang: Ton
  10. In LV 8.x you can right click on the scroll bar and select the visibility of the scroll bar! Ton
  11. I like love the program Spacemonger, which (IMHO) much better shows where data goes with something called treemaps: Version 1.4 is freeware, 2.0 is shareware, but has some interesting options. It can create a Pie-chart based on data type. This gives me the option to group LV files (lvclass/llb/vi/lvproj/..) into one wedge. [plug] This program has proven me of great use. when my HD was filled with measurements [/plug] What do you wanna do with this piece of code? Ton PS Sorry I point you at a non-LV program
  12. RT can handle only one card, the second card is for a deterministic timed network to have time sinchronized measurement (no tcp/ip it's NI proprietary) Ton
  13. It looks like you have to reinstall 8.2 and then use File>Save for previous Good luck, Ton
  14. The file is accepted into the Code Repository: Code Repository Any thought improvements over there! Ton
  15. File Name: Truncate Path Xcontrol File Submitter: tcplomp File Submitted: 8 Oct 2006 File Updated: 11 Oct 2006 File Category: XControls This XControl is originated from this discussion. It will truncate a path to fit inside a string: Besides basic funtionality it has the following properties: Truncated string (Read only property that will return the truncated string) Button Visible (Read/Write, this property will show/hide the browse button) Browse properties (Read/Write, this property will set/get the browse options) Methods: Truncate Path (this method uses the VIs to truncate a path to a string) For the developer it has the following advantages: Set the browse options with a dialog similar to the native browse options dialog Browse for a path Show/Hide browse button Known issues: No drag and drop Bounds of indicator/control include invisible browse button Acknowledgements: Uses code by Dave Thomson:Display Long Path.vi Click here to download this file
  16. Hi Dave, I have modified your code, and expanded the xcontrol i posted earlier. This Xcontrol is submitted to the code repository and waiting on approval. I have been thinking about multi-lineness, but am not sure how to implement it. I can think of the following items: original path: c:\dataandstuf\somemorestuff\somedeepstuf\Reeldeepstuff\foo.stuf Mullti-line 1 c:\dataandstu f\so...\foo.stuf Multi-line 2 c:\dataan...\ so...\foo.stuf Summarized: Only truncate at the end Truncate every line What do you think? Ton
  17. There is no Line.lvclass inside shapestest.vi only a linesegment and this one has a special probe! (see the properties of the lvclass Just like linesegment create a probe inside the polygon lvclass Hope thiss helps (haven't checked it) Ton
  18. Guess you didn't open the XControl? Don't worry I almost finished the item, only I think in placing it in the Code Repository Ton
  19. Hi Firime, If you are using a non-english OS, you should take the steps in this forum. Ton PS NI forums is better on this stuff
  20. Hi Syrus, I took the liberty in converting your VI into an Xcontrol, but cannont upload right now. Hopefully tonight (CET) If anyone is interested they can PM me. Ton Edit: Not tonight, but saturday Thoughts for future: remove the browse button if it is an indicator Have right click control over browse options.
  21. Well I think it is theoretically possible (correct me if I'm wrong) But what if you use a win32.dll call to close the window? I think this will trigger the event! (Win only offcourse and not pure G) Ton
  22. Hello All, I'm working on a X-control containing a class. The facade VI-shows a picture, looks really great. But... I'm dynamically registring for events, so I can choose for each xcontrol I can register for certain events. Now what happens is that IF a dynamic event is triggered the Display State (with the class) is reinitialized to it's default value, meaning my picture disappears. Does anyone else have seen this (It also happens when I don't use dynamic registring....) I'm resisting the urge to post code, since it's bad documented and quite complex (a class in an xcontrol)... Ton PS One question I should put my internal data off the xcontrol in the display state control right?
  23. Hello Xchus, the error you gave means that the data you want to read is no longer available. Looking at you code it means that processing the data (save data through post process data) and the countddown VI take more than 2 minutes. Could you time the loop rate (tip: ) If you want to measure only every two minutes, you could skip the countdown (I think this will generate the wait time) and set the timeout of the read DaqMX to 150 or so. Also set the #samples on the DaqMx timing VI to 2400 so it can keep 4 minutes of data Ton
  24. Yes it can, but I like the fact that LabView does. The less programs I use the better. I only turn on VSS when I make a new release (share and branch), import a library into a project (same share and branch) But I found a workaround, disable SCC. Restart the PC and then load the items. Could you be so kind to endanger your setup and check if the same error happens with subversion/turioseSVN Ton
×
×
  • Create New...

Important Information

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