Jump to content

Ton Plomp

Members
  • Posts

    1,991
  • Joined

  • Last visited

  • Days Won

    38

Everything posted by Ton Plomp

  1. This was narrowed as a bug inwindows XP/LabVIEW combination. Ton
  2. What about this little piece of code: The trick is to get the controls-data in a cluster where each element has the name of the specific control. You can use the OpenG Variant toolkit VIs to build the cluster. Ton
  3. One additional place to ask this is on Serverfault a Q&A site for system admins. This might have two advantages: There probably is someone with a definitive answer (Yes, it's available at ..../ No it's not available) They can probably write a good piece why it's nuts to use a hub Ton
  4. I was able to download this with firefox and keep the filename extension. Weird. Ton
  5. So if I understand you correctly you can make a build, but not an automatic one because you have to enter the password? If so you should be able to store the password in the LabVIEW cache. However I can understand that these caches are Application Instance aware so are useless since the build is done in a seperate instance. Ton
  6. Here's a VI that sometimes will show what I mean. Hit the 'Fire' event that fires a user event and a value signalling event (in that specific order) In those events I read the current iteration number of the while loop. If the events are in order the First Iteration should be smaller than SecondIteration Sometimes however that is not always the case. I cannot get a resolution like I expected (it seems like the resolution is 1 ms) so I uses a different timer than the Get Ms. Ton EventOrder.vi
  7. Matthew out of curiosity (we would need to do some work on OpenG package builder as well) could you run this code: Ton
  8. This is starting to be a nice discussion. A LabVIEW event structure is indeed listening to two event queues, one for dynamic events and one for static events. When there are events in both queues it picks the one with the earliest timestamp. However these can be duplicate (I am not sure but I guess the resolution of this timestamp is 15/16 ms on windows) and then LabVIEW just picks the one it likes best. Ton
  9. The source code for the library can be found here Ton
  10. You're welcom, but try to have some patience before cross-posting. Ton
  11. When I download that file it has the extension *.vip, however I know some proxies/web browser can alter the extension of some files. Just try to rename it to *.vip (it's not an OGP or ZIP file). Ton
  12. Here's a zip with the files in labview 7: dg4inv7.zip Ton PS on the NI forums is a special 'Upconvert thread'
  13. I am looking for one of my CR solution 'Align and distribute', I can however not find this... It was placed at http://lavag.org/files/file/133-align-distribute/ in April of this year. Ton
  14. The exact difference between the two timestamps is 786 out of 2^64 of a second (4,16334E-17). Ton
  15. I guess untill the memory of your computeris full. That will happen faster with an event structure than with a queue, the overhead of the event structure includes the actual timestamp when the event happens. Ton
  16. The source code for this tool is hosted at Sourceforge under Mercurial. Ton
  17. Looking for OpenG Code Reviewers: http://bit.ly/boluCr

  18. Thanks, and I see you are working/investigating the actual issue. Ton
  19. I dont know, but I assume that the driver you create is not exposing itself as a VISA program. I haven't done anything in this field the last decade so I can't help you any further for this specific issue. Ton
  20. The latest upgrade has removed the 'too short' message. Ton
  21. Is this implemented? If so we might need some more documentation how to do this (or a guideline). Ton
  22. Version 1.0.1

    2,207 downloads

    Polymorphic VI Editor v1.0.1 Copyright © 2012 Ton Plomp All rights reserved. Author: Ton Plomp LAVA Name: TCPlomp Contact Info: Contact via PM on lavag.org LabVIEW Versions: 2009 Dependencies: OpenG: oglib_array oglib_error oglib_file oglib_string JKI: jki_lib_state_machine Description: A GUI for easily editing polymorphic VIs and creating good-looking menu trees. Installation and instructions: A: Open the ZIP file and install the OGP file with OpenG builder B: run the 'Polymorphic Editor.vi' in the 'Build' folder Examples: Look in the LAVA discussion for this entry for some videos on this tool <object id="scPlayer" width="1027" height="517"> <param name="movie" value="http://content.screencast.com/users/TonPlomp/folders/Jing/media/389dc546-26c4-499f-8702-0ffea3faf50d/jingswfplayer.swf"></param>'>http://content.screencast.com/users/TonPlomp/folders/Jing/media/389dc546-26c4-499f-8702-0ffea3faf50d/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/389dc546-26c4-499f-8702-0ffea3faf50d/FirstFrame.jpg&containerwidth=1027&containerheight=517&content=http://content.screencast.com/users/TonPlomp/folders/Jing/media/389dc546-26c4-499f-8702-0ffea3faf50d/Polymorphic%20Editor.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/389dc546-26c4-499f-8702-0ffea3faf50d/"></param>'>http://content.screencast.com/users/TonPlomp/folders/Jing/media/389dc546-26c4-499f-8702-0ffea3faf50d/"></param> <embed src="http://content.screencast.com/users/TonPlomp/folders/Jing/media/389dc546-26c4-499f-8702-0ffea3faf50d/jingswfplayer.swf" quality="high" bgcolor="#FFFFFF" width="1027" height="517" type="application/x-shockwave-flash" allowScriptAccess="always" flashVars="thumb=http://content.screencast.com/users/TonPlomp/folders/Jing/media/389dc546-26c4-499f-8702-0ffea3faf50d/FirstFrame.jpg&containerwidth=1027&containerheight=517&content=http://content.screencast.com/users/TonPlomp/folders/Jing/media/389dc546-26c4-499f-8702-0ffea3faf50d/Polymorphic%20Editor.swf" allowFullScreen="true" base="http://content.screencast.com/users/TonPlomp/folders/Jing/media/389dc546-26c4-499f-8702-0ffea3faf50d/" scale="showall"></embed> </object> Known Issues: Acknowledgements: OpenG.org for showing the power of polymorphic VIs JKI for providing an easy to use State Machine framework Version History: v1.0.0: Initial release of the code. License: Copyright © 2010, TC Plomp All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. All advertising materials mentioning features or use of this software must display the following acknowledgement: This product includes software developed by the <organization>. 4. Neither the name of the <organization> nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY TC Plomp ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL TC PLOMP BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Distributed under the Creative Commons Attribution 3.0 (http://creativecommo.../about/licenses) See link for a full description of the license. Support: If you have any problems with this code or want to suggest features: please go to lavag.org and Navigate to LAVA > Resources > Code Repository (Certified) and search for the "Polymorphic VI Editor" support page. Distribution: This code was downloaded from the LAVA Code Repository found at lavag.org
  23. Name: Polymorphic VI Editor v1.0.1 LV2011 Submitter: Ton Plomp Submitted: 12 Jun 2010 File Updated: 27 Dec 2012 Category: LabVIEW IDE LabVIEW Version: 2011 License Type: BSD (Most common) Polymorphic VI Editor v1.0.1 Copyright © 2012 Ton Plomp All rights reserved. Author: Ton Plomp LAVA Name: TCPlomp Contact Info: Contact via PM on lavag.org LabVIEW Versions: 2009 Dependencies: OpenG: oglib_array oglib_error oglib_file oglib_string JKI: jki_lib_state_machine Description: A GUI for easily editing polymorphic VIs and creating good-looking menu trees. Installation and instructions: A: Open the ZIP file and install the OGP file with OpenG builder B: run the 'Polymorphic Editor.vi' in the 'Build' folder Examples: Look in the LAVA discussion for this entry for some videos on this tool <object id="scPlayer" width="1027" height="517"> <param name="movie" value="http://content.screencast.com/users/TonPlomp/folders/Jing/media/389dc546-26c4-499f-8702-0ffea3faf50d/jingswfplayer.swf"></param>'>http://content.screencast.com/users/TonPlomp/folders/Jing/media/389dc546-26c4-499f-8702-0ffea3faf50d/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/389dc546-26c4-499f-8702-0ffea3faf50d/FirstFrame.jpg&containerwidth=1027&containerheight=517&content=http://content.screencast.com/users/TonPlomp/folders/Jing/media/389dc546-26c4-499f-8702-0ffea3faf50d/Polymorphic%20Editor.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/389dc546-26c4-499f-8702-0ffea3faf50d/"></param>'>http://content.screencast.com/users/TonPlomp/folders/Jing/media/389dc546-26c4-499f-8702-0ffea3faf50d/"></param> <embed src="http://content.screencast.com/users/TonPlomp/folders/Jing/media/389dc546-26c4-499f-8702-0ffea3faf50d/jingswfplayer.swf" quality="high" bgcolor="#FFFFFF" width="1027" height="517" type="application/x-shockwave-flash" allowScriptAccess="always" flashVars="thumb=http://content.screencast.com/users/TonPlomp/folders/Jing/media/389dc546-26c4-499f-8702-0ffea3faf50d/FirstFrame.jpg&containerwidth=1027&containerheight=517&content=http://content.screencast.com/users/TonPlomp/folders/Jing/media/389dc546-26c4-499f-8702-0ffea3faf50d/Polymorphic%20Editor.swf" allowFullScreen="true" base="http://content.screencast.com/users/TonPlomp/folders/Jing/media/389dc546-26c4-499f-8702-0ffea3faf50d/" scale="showall"></embed> </object> Known Issues: Acknowledgements: OpenG.org for showing the power of polymorphic VIs JKI for providing an easy to use State Machine framework Version History: v1.0.0: Initial release of the code. License: Copyright © 2010, TC Plomp All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. All advertising materials mentioning features or use of this software must display the following acknowledgement: This product includes software developed by the <organization>. 4. Neither the name of the <organization> nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY TC Plomp ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL TC PLOMP BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Distributed under the Creative Commons Attribution 3.0 (http://creativecommo.../about/licenses) See link for a full description of the license. Support: If you have any problems with this code or want to suggest features: please go to lavag.org and Navigate to LAVA > Resources > Code Repository (Certified) and search for the "Polymorphic VI Editor" support page. Distribution: This code was downloaded from the LAVA Code Repository found at lavag.org Click here to download this file
×
×
  • Create New...

Important Information

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