Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by sam

  1. Hi Zofia, In short NI's implementation of EtherCAT functionality is not on par with other NI tools as I've experienced. I'll try to explain on this as best I can. NI only Supports CoE, CANOpen over EtherCAT. This is just fine as I (perhaps most devs ) has CAN/CANOpen experience. This is not an issue as I stated but I thought to add just so we know that we are talking only about CoE in following points below. NI's Server implementation is not ready for Non-NI hardware. It seems the server was solely designed with other NI-Slaves in mind. Connecti
  2. nice demo. Well done. I appreciate the works and your passion for your work. I know you are showing this as proof of concept and it is great work and progress so far. It maybe helpful to think of these points below while you are doing your LabVIEW RE. Simple subVIs with more connector pane wired. Dynamically called subVIs Classes/Objects more complex diagram functions. Loops,events,Qs,.Net Assemblies, etc. Much more complex projects. example 5k-10k subVI. Projects with Realtime components. also bug fix:
  3. I found gitExtensions to be very good too. http://gitextensions.github.io/. If you coming from HG, this maybe a good choice to try.
  4. sam


    Yes, I was very committed to HP48, wrote many programs and games back in the day, which can still be found. I still use it daily, but as emulator on my Android. here is how: green shift -> units (#6) hit next couple times to get to Angles menu (top row of buttons) choose your deg Angle enter number hit degree menu at top you can hit enter to make a duplicate to convert a unit to another purple shift -> desired unit. this takes the top stack and converts (replaces the stack) hence I like to
  5. I Tried looking at your code but there are some missing functions that I can not run it. Mainly You have used LabVIEW add-on toolkit that everyone may not be using.: somewhere you have used Mathscripts: Looking at the scripts : can you use PureG or even "Formula Node". There are some links to office toolkit. Lastly, have you looked at Python, and more importantly LabPython? what is it that MView offers over-beyond LabPython? I ask because I'm interested..
  6. My c¢: 1: On LabVIEW 2011, in the build : Advanced, turn off SSE2 2: On LabVIEW 2011, in the build : Advanced, Check "Use LabVIEW 8.6 file layout" 3: other combination of 1 & 2 The other thing I noted your second cpu is N270, which I believe is Netbook ATOM kind. it my handles Math and double/single operation differently. I can't see why it would change from 8.6 to LV11, but it may have something to do with SSE2 optimization. looking at Wikipedia both Celeron and Atom support it. just some ideas.
  7. just my 2¢: You can always do (translate) a recursive algorithm with a while loop. With above suggestion of clusters instead of Classes and while loop you should gain significant speeds. Never mind my post, I looked at the code after I posted. and I don't see a Recursive implementation.
  8. By just looking at your screen captures I can tell you are not passing correct data type to your dll. Of course posting source code can calp you more. You are defining your ADD function with aDD( char a, char b, uchar *c) but calling with aDD(int,int); 1: Char and Int are two very different data type. 2: Char would not be first choise for an ADD parameter, int or double; 3: char *, is also not a very good choice for return parameter. Hope this helps
  9. Well, I've done exactly what you are asking, so it can be done. About ten years ago I had to take out any references and use of IMAQ in one of our Imaging Software. There was heavy use of IMAQ and this is how I went about it. Step 1: I used another Imaging toolkit that had all the imaging functions that I needed This is what I ended up going with http://gromada.com/mcl/. If I had to redo the project I would use OpenCV now http://opencv.willowgarage.com/wiki/ Speaking on OpenCV there is already a toolkit that uses openCV called iVision http://www.hytekautomation.com/Products/IVision.html
  10. checkout NSIS, Very professional and feature packed. Cost: Free http://nsis.sourceforge.net/Main_Page
  11. To have Sqlite working for any platform you can use the precompiled libraries that SQlite website already provides: Windows: http://www.sqlite.org/sqlite-3_7_2.zip Linux: http://www.sqlite.org/sqlite3-3.7.2.bin.gz Mac OS X (x86): http://www.sqlite.org/sqlite3-3.7.2-osx.zip If you change the Source Code Of Sqlite to fit your product, then I don't think you can call it Sqlite , because you are changing the source. If you are using a C-Wrapper around it then you are introducing another level of redirection and extra code to maintain. A c-wrapper will force you to reduce the functiona
  12. I can't share the VIs I am using, but I will give you the core functionality of Sqlite VIs that Import-Dll creates. From these VIs you can see how to change the VIs created by Import DLL. Let me know if you have any questions. I have included the Sqlite3.dll, but you should've already have this Dll if you are interested in Importing it to LabVIEW :-) Sqlite.Tester.zip
  13. I don't know how much more clear I can be, but one of the VIs "That-You-Supply" has incorrect implementation the vi "That-You-Supply" if used will cause my application to misbehave. Because IF My application Steps are generated as a function and now my function generate empty steps. You can fix it your leave it alone.
  14. I have used Sqlite since 2004, my first implementation I used a wrapper dll around the Sqlite3.dll. But now you can use the DLL-Import feature of LabVIEW and import the Sqlite3.dll and have yourself a fully working toolkit. After import you have to replace a couple of Type-controls to Int32 and you will be done in less than an hour. I don't want to be mean but what are the difference between your toolkit and what Dll-Import makes. I can appreciate a Toolkit that simplifies working with LabVIEW data and Database so that the programmer does not have to use a single SQL statement.
  15. With Any reference you have to be careful to use a shift register to use the reference in a loop. because if the loop does not execute a tunnel-out will have a null (default data), but a shift register will carry the correct data out of the loop. To make my point see attached snippet
  16. Bug: The EnQueue VI should use SR for the Queue reference because if you have an empty array as your input the Output Queue reference will be null.
  17. We have Mechanical, Electrical, and Software positions posted. You can find more information by selecting the Ann Arbor site from this page: www.advancedphotonix.com/careers Please don't reply to me direct - You must follow the process through the website.
  18. Try flyspray, it's simple, easy on the eyes, and free. Open Source Their webpage is down right now. you can get it here http://sourceforge.net/projects/flyspray/ or see a demo here: http://bugs.splitbrain.org/
  19. 1,305 downloads

    Copyright © 2006, Sam Behashtei All rights reserved. Author: Sam Behashtei --see readme file for contact information Description: Data.vi V1.0.0 LabVIEW Versions 7.0,7.1 The purpose of the VI is to demonstrate how to save all your application’s parameter in one central INI file. Using this method will reduce errors and eases debugging. This Data VI has the following functionality 1: Can be used as a Central Data Repository for your Application. 2: It allows access to the Data via SET/GET method. 3: It uses semaphores to stop any race conditions and (concurrent SET access to data)
  20. Version 1.0.1


    Copyright © 2006, Sam Behashtei All rights reserved. Author: Sam Behashtei --see readme file for contact information Description:: In most modern application, in web based application, the user input Textbox, or (String-Control) have the ability to Auto-Complete the words being typed. This utility helps the programmer give the Auto-Complete behavior to a LabVIEW String. Version History: 1.0.1: The mechanism to store suggestion list has been changed. 1.0.0: Initial release of the code.
  21. QUOTE (Jim Kring @ Dec 31 2008, 02:20 PM) I bet internally the Dialog or Linking Algorithm is dropping the ending ( .svn-base). maybe searching for .vi and assuming the [ Path.Name.vi ] as the vi name. To clarify my problem is not how to fix this error, but how to prevent it from happening, I can fix the errors in any number of methods, some being the ones mentioned. The interesting point here is that I get this error on most of my project, but some of you here never seen it. therefore pointing to my style of programming ( Folder Structure maybe) :-) That inevitability causes Linki
  22. I am attaching this Picture to show VIs linked incorrectly. Notice how ".svn" is a parent folder for the VIs
  23. I am using LabVIEW 8.6, but I have seen it as well in LabVIEW 8.5. Jim, I think you are correct regarding auto-pop. feature leading to cross-linking. I will stop using auto-pop and see if cross-linking is reduced or gone. Also I don't think using "_svn" instead of ".svn" will fix this cross-linking. If I remember "_svn" was a hack to fix a bug with ASP.NET 1.0. I think ".svn" was a reserved word in ASP.NET. Also this hack no longer is necessarily for current ASP.NET Aristos, I always rename using LabVIEW file save as. I try to never rename in Explorer, exactly for fear of cross-lin
  • Create New...

Important Information

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