Jump to content

Ton Plomp

Members
  • Posts

    1,991
  • Joined

  • Last visited

  • Days Won

    38

Everything posted by Ton Plomp

  1. Funny, this reminds me of a framework I used. I posted a blog about it on the old LAVA framework, if someone has it please post. In short it's this way. An active engine with several 'set methods' Set Data Set Start ... However I created an accessor VI for each of these methods. Then i wrapped all these methods inside one polymorphic VI. Ton
  2. Hi bob, here is a screenshot of what I meant (and works), you only see a small flikker of the window opening. Second you know a VI can call itself directly in LabVIEW 2009. (ignore if you use an older version): Ton
  3. <br><br>Can you set the panel to 'hidden'.<br><br>I think that LabVIEW does some book keeping, if no FP's for a given app instance are open, the app instance is closed.<br>A hidden FP is open but not shown, should od the trick.<br><br>Ton<br>
  4. I have one question, that always keeps me busy when reading this discussion: Ton (Oh and I'm pissed that the USA has the right to read my bank details, but we will get back at cha)
  5. This post is a thank-you to Norm. I owed him a beer/Value Signalling bashing. I created a VI that traverses a VI for a list of given properties (per default value (signalling)) and shows a tree with the VIs and instances where the given property is used. Double click to locate the given property: Ton Find Properties.llb
  6. Use a tool like Acronis true image, burn it on a cd, connect a cd-usb drive, a usb-harddisk and start imaging. A question, how did the customer reformat the drive with LabVIEW? Ton
  7. That's called security. I think it's a good thing LabVIEW is closed upon standard install. And th exported VIs is mentionend in the VIPM error message. Ton
  8. Figured this, the reason MarkBalla's Icon editor is showing up, is because it's the first time he reclaimed the ownership of his submission after the 1.0 crash. Ton
  9. Install the Code Capture Tool. You can either install the OGP file with VIPM or run the 'Install Code Capture Tool' VI inside the (extracted) zip file. File->Save for previous version. You don't average, and only plot the last result of the autocorrelation: Well the easiest is me to tell you. However the best is when you write some little tests to see what happens. You can make it yourself easy by enabling 'execution hightlighting' (the light-bulb on the block diagram) Good luck, Ton
  10. It's a feature. A nasty one, but it only halts VIs in the user thread. Ton
  11. There are several options here's one: Ton
  12. I don't have any experience with RT and third party DLL's but in LabVIEW 8.6 you can add a path to the actual DLL to load. What if you set there the path of the DLL allready on the target? Is it possible to just sent over the executable and the DLL's via FTP and see if it will run without normal deployment procedures? Ton PS One thing you learned is to create an image of the harddrive when you sent it in the field.
  13. I hadn't actually read your description well, your VI made things clear. Here's a video showing what I was describing (sorry for the sound): <object width="308" height="244"> <param name="movie" value="http://content.screencast.com/users/TonPlomp/folders/Jing/media/610a80a0-7b7d-4c05-9419-a06e644ebf2f/jingswfplayer.swf"></param>'>http://content.screencast.com/users/TonPlomp/folders/Jing/media/610a80a0-7b7d-4c05-9419-a06e644ebf2f/jingswfplayer.swf"></param> <param name="quality" value="high"></param> <param name="bgcolor" value="#FFFFFF"></param> <param name="flashVars" value="thumb=http://content.screencast.com/users/TonPlomp/folders/Jing/media/610a80a0-7b7d-4c05-9419-a06e644ebf2f/FirstFrame.jpg&containerwidth=308&containerheight=244&content=http://content.screencast.com/users/TonPlomp/folders/Jing/media/610a80a0-7b7d-4c05-9419-a06e644ebf2f/GaugeChange.swf"></param> <param name="allowFullScreen" value="true"></param> <param name="scale" value="showall"></param> <param name="allowScriptAccess" value="always"></param> <param name="base" value="http://content.screencast.com/users/TonPlomp/folders/Jing/media/610a80a0-7b7d-4c05-9419-a06e644ebf2f/"></param>'>http://content.screencast.com/users/TonPlomp/folders/Jing/media/610a80a0-7b7d-4c05-9419-a06e644ebf2f/"></param> <embed src="http://content.screencast.com/users/TonPlomp/folders/Jing/media/610a80a0-7b7d-4c05-9419-a06e644ebf2f/jingswfplayer.swf" quality="high" bgcolor="#FFFFFF" width="308" height="244" type="application/x-shockwave-flash" allowScriptAccess="always" flashVars="thumb=http://content.screencast.com/users/TonPlomp/folders/Jing/media/610a80a0-7b7d-4c05-9419-a06e644ebf2f/FirstFrame.jpg&containerwidth=308&containerheight=244&content=http://content.screencast.com/users/TonPlomp/folders/Jing/media/610a80a0-7b7d-4c05-9419-a06e644ebf2f/GaugeChange.swf" allowFullScreen="true" base="http://content.screencast.com/users/TonPlomp/folders/Jing/media/610a80a0-7b7d-4c05-9419-a06e644ebf2f/" scale="showall"></embed> </object> Here's a screenshot of what I was describing: I don't have enough confidence in that the user will do nothing during a specific time. Ton
  14. This is a tricky one. Ben's suggestion is OK, but has a little problem, the value will change after a mouse leave event. What you can do is add a notification and a user event. Every value change you sent the new value to the notification. In a second loop you read out the notification with this little construct inside a secondary loop (text only no LabVIEW at this PC: -Wait 25 ms -Get Notification, time-out 0 ms -Check time-out status -TimeOut == true -You had no new 'value change' events in the last 25 ms and you can trigger a user event to act on the actual value change Loop again. This makes sure that you only get a user event for that control when the value changing is dead for 25 ms, most of the time fast enough. Ton
  15. What if you don't close the old DB connection? Still a crash? If not you'll have to deal with the memory leak (2 bytes per 5 minutes.) Do you really need the global? It seems you have a 'get connection' that should be able to do the same as the global. Ton
  16. If you look at the Code Capture Tool, you will see that the OpenG VIs are packed inside a support folder where all the files are renamed, this renaming is important and I think this is what Michael means. On the other side you see that the Code Capture Tool has a dependencie to the oglib_appcontrol library. This is only valid for the OGP file where I use some VIs from the oglib_appcontrol library in the post-install wizard. Ton
  17. I am wondering how your code actually works since the snippet is embedded in a 'niVI' chunk preceded by the chunk size. The snippet is created in 'user.lib\_Code Capture Tool\CCT Class\Software\Methods\Private\Snippet\CCT_Snippet__CCT.vi' Here is a screenshot of the VI that creates the chunk: And I think this code should get the actual snippet (tested): Ton
  18. Hi Germi, the wikipedia page on annealing has a pseudocode set that can be easily made in LabVIEW, it also includes links to matlab and c++ code of anealing algorithms. It is better if you ask such a thing to include a link to information you allready gathered as wel as some code you allready have. Ton
  19. Apparently the trick is to use a tilde (~) after the :. (so says the wiki) Ton
  20. The LabVIEW Wiki is currently version 1.13. Could this be upgraded to version 1.14? I am especially interested in linking an image. I know we have an extension running for that but that doesn't allow external links and the extenstion became obsolete with version 1.14. Ton
  21. Instruction video: <br/> <object width="678" height="526"> <param name="movie" value="http://content.screencast.com/users/TonPlomp/folders/Jing/media/188896f1-f9e9-4e59-acbe-87e6e062e007/jingswfplayer.swf"></param>'>http://content.screencast.com/users/TonPlomp/folders/Jing/media/188896f1-f9e9-4e59-acbe-87e6e062e007/jingswfplayer.swf"></param> <param name="quality" value="high"></param> <param name="bgcolor" value="#FFFFFF"></param> <param name="flashVars" value="thumb=http://content.screencast.com/users/TonPlomp/folders/Jing/media/188896f1-f9e9-4e59-acbe-87e6e062e007/FirstFrame.jpg&containerwidth=678&containerheight=526&loaderstyle=jing&content=http://content.screencast.com/users/TonPlomp/folders/Jing/media/188896f1-f9e9-4e59-acbe-87e6e062e007/Variant_Tree.swf"></param> <param name="allowFullScreen" value="true"></param> <param name="scale" value="showall"></param> <param name="allowScriptAccess" value="always"></param> <param name="base" value="http://content.screencast.com/users/TonPlomp/folders/Jing/media/188896f1-f9e9-4e59-acbe-87e6e062e007/"></param>'>http://content.screencast.com/users/TonPlomp/folders/Jing/media/188896f1-f9e9-4e59-acbe-87e6e062e007/"></param> <embed src="http://content.screencast.com/users/TonPlomp/folders/Jing/media/188896f1-f9e9-4e59-acbe-87e6e062e007/jingswfplayer.swf" quality="high" bgcolor="#FFFFFF" width="678" height="526" type="application/x-shockwave-flash" allowScriptAccess="always" flashVars="thumb=http://content.screencast.com/users/TonPlomp/folders/Jing/media/188896f1-f9e9-4e59-acbe-87e6e062e007/FirstFrame.jpg&containerwidth=678&containerheight=526&loaderstyle=jing&content=http://content.screencast.com/users/TonPlomp/folders/Jing/media/188896f1-f9e9-4e59-acbe-87e6e062e007/Variant_Tree.swf" allowFullScreen="true" base="http://content.screencast.com/users/TonPlomp/folders/Jing/media/188896f1-f9e9-4e59-acbe-87e6e062e007/" scale="showall"></embed> </object>
  22. Only on small images (the one you used to calculate the file size for instance), bigger ones are placed inside a JAVA container. Oh and drag an drop directly from Firefox doesn't work, this will paste the URL into the BD. Ton
  23. I was reviewing this thread. And wanted to download the code from Jgcode, however when you click the image a nice web 2.0 hover java thingalingy comes up with the full-scale image. The window says 'Downloaded 2 times', but I cannot seem to download or drag and drop the image into LabVIEW 2009 to abuse the wonderfull snippet feature. Any chance to add a download button or let bigger images be directly in the HTML? EDIT: With IE I can right-click the image and select 'Download target' on Firefox the right-click acts just like a left-click. Ton
  24. Any reason to have all the data in memory? I think the memory crash arises when converting to string, just dump the data to disc as binary (like jgcode showed). Probably because the 0 ms timeout. <br><br>Yes, 450 seconds with wait, 310 without wait.<br><br>I would advise to use TDMS files, using text-based files is asking for problems. What if you data needs to be openend on a PC with a different decimal sign, what if you start to change the number of channels. Ton
  25. No, for several reasons, I hardly have the need for a large state machine and there are numerous caveats (as pointed out by Jim) I was aware there were some caveats with this technique, thanks for the insight. I hope you got them all. Ton
×
×
  • Create New...

Important Information

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