Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by osvaldo

  1. Damn! You are right! When I create the new file I run 3 insert queries to set some default values in the tables. In the last of these queries the VI Finalize was missing and remained open! (damn copy and paste!) I was concentrating on closing the file when the problem occurred an hour before it was created! Thank you so much again! Osvaldo
  2. Thanks for getting back to me so quickly! 🙂 In fact I haven't checked ... I hadn't thought about the possibility that the last insert query might not have ended when the Close was executed. I do some tests and check for any errors. Thank you so much !
  3. Good evening everyone. I have a problem with SQLite file locks ... I created a datalogger in Labview that saves the data acquired from a customer's custom equipment in an SQLite database. I used Powell's library (an egregious library!) Although the capture is continuous, the data is not stored in a single SQLite file but on different files lasting about 1 hour each. At each time change the software closes the database currently in use (with SQLite Close) and create a new one. The database reference remains open all the time until it is closed at the next hour change.
  4. Thanks for the reply Hmm ... Yes ... In fact it would seem that way ... would require that only the class can instantiate DVR relative to a subclass B derivative of it. The only pattern that comes to mind is the abstract factory, but not I see a use case that requires the option in question ... On the Internet I found no example where this approach was used. Maybe I'll understand the meaning if I happen a situation that makes clear the need for this setting. At the moment I'm just studying the object model of LabVIEW trying to bring him back to what we already know. Thank you Osvaldo
  5. Goodmorning everyone! We program in LabVIEW for a long time (fifteen years), but only recently have I been able to devote to learning OOP techniques with LabVIEW. I state that I have little experience in general with the OOP having in fact only a theoretical knowledge of the concepts and patterns and few experiments made in Pascal ... (eh ... eh ... ) I come to you humbly ask for the meaning and use cases of the "Restrict references of descendant class type to member VIs of this class." In the tab on inheritance I could not connect this option with any of OOP concepts known to me. Thanks
  6. I do not know ... During the process of packaging, VIPM freezes and I have to stop killing the process ... Curiously, however, remains open window of the VI OpenG Builder ...
  7. Thanks jgcode... I have cross-posted even there, but I thought that perhaps some of you might have encountered the same problem ... However, I will follow your advice and try again even on the forums .. JKI Have a nice day Osvlado
  8. No one have experienced the same issue? No idea on how to fix this problem or where it can be located in the OpenG Builder code? Thanks. Osvaldo
  9. (cross-posted in http://forums.jki.net/topic/1324-recursive-vis-cannot-be-built-in-package/page__gopid__4548#entry4548) Hello to all, boys, I'm using VIPM ver 2011.0.1 (build 1692) dic 07/2011 Community Edition with OpenG Builder ver 3.0.1-2. I am trying to create a package to a library for LabVIEW 2011 that uses recursion native, but Package Builder gives me the same problem described by Kring to "Known Issue (Case 8006): VI Package build hangs in LabVIEW 2009 when recursive VIs included in package" and stated fixed from version 3.0 and later ... I think in my case the problem is that rec
  10. Ok! Thankyou! I use it like tag variables... I'm writing a library based on the idea of the NI CVT reference Library where the inner data storage based on Arrays where replaced on a number of dinamically created notifiers, one for each tag defined... My hope is that each reading/writing operation on notifiers is decoupled by each other, so that different loop can run in parallel so much as possible (the implementation of the original CVT reference library serialize all access on the AE that encapsulate the assary it self...) Ok... Ok... I could used the Shared Variables, but when the
  11. Hi Very interesting! So... speaking to the guy who writed the primitives... what about the Notifiers Primitives? I usually use them to send signal (like booleans to quits parallel While loops, o to send chuncks of data asynchronously to many consumers), but now I'm working on an library that will use them to broadcast data to parallel tasks (using named notifiers)... Any issues? On realtime targets? Thanks Bye! Osvaldo
  12. happy to be of help! Osvaldo p.s. where you came from?
  13. Hi mandya14, Sorry for bad English ... but not my mother tongue ... Let me understand... I guess you a while loop containing a VI (from your device driver toolkit) that returns the status of DIO and you set the value of this DIO directly into a boolean indicator through its terminal. On the other hand you have another while loop that contains an event structure with which you collect the event "value change" on the indicator whose value is set from the di DIO... I understand you correctly? If it is correct, your problem is that setting the value of an indicator in this way *does not* tri
  14. Hi mandya14, i think that is impossible for an indicator to send an event at an event structure... Even in my last project a find that a numeric double indicator does not trigger any value change event... In my application the event would be sent when the I/O loop change the value via the Value (trigger) property... Even a control with the Disable property set to 1 or 2 is not able to trigger events! To solve the problem, i change the indicator with a control and than I put an rectangular trasparent decoration to mask the control itself... Or make a tiny loop that trigger the event whenev
  15. Oh! This is an idea! I never thought of! Thanks! Osvaldo
  16. Thanks! Can you retrieve the Type Descriptor of these OLE Variant Types using the Variant To Flattened String function? I would like to directly convert a variant array in a given cluster type, as with the original LabView Variant to Data function do. I was unable to convert the array into a cluster directly using the Database Toolkit palette version function... it seems not to handle the aggregate types ... If it were possible to get the type with the type descriptor, I could dismantle the array and rebuild the cluster using the same technique used in OpenG toolkit ... Osvaldo
  17. Hi to all, I'm writing an application that use an MS Access database to store test report data... The queries to the database tables and colums are made using the NI Database toolkit. This library returns the data into 2D array of variants, so i've made a VI that try to convert this array (line by line aka record by record) into an 1D array of clusters representing one record each. To do this I'm using the "Variant to Data" node, passing the 1D array of variants as input and specifing the cluster as target type... Well... If I create the 1D array of variants assembling data from control
  18. What idea! Unfortunately, the method works only with files that Internet Explorer is able to show independently or as a plug-in... does not work with Excel spreadsheets, which instead are downlod and opened directly with Excel ... Among the activeX is also available ThumbCtl ... I tried it and I saw the preview that makes the files as shown in the File Explorer ... but excel is not made the preview ... only the icon! Thanks for your help ... 'm open to any suggestions! Hello Osvaldo
  19. Hi to you guy! I'm writing an application that collects data from a test machine and than creates a printed report based on an excel file template (xltx). I'm able to create the final excel file to print (i'm using the Office Report Toolkit to do that) or save. I let the user to select the template file on the fly, using the standard File Dialog Window and then run the VI that make the report... Now the problem I'm not able to solve... He had request to have a little preview of the file selected that help him to select the right template... He would have a dialog with a listbox populated
  20. has not set their status

  21. QUOTE (David Wisti @ Jan 6 2009, 05:17 PM) Hi to all, Ok... I never used this VI libraries because they use the Ethernet interface and I needed to use an RS232 serial link... If you use the Ethernet interface module, probably you can use this libraries in more efficient way than the OPC interface... In my latest work, I used Siemens S7 PLC with Ethernet interface module and I communicate via TCP/IP Fetch/Write protocol without the need for an OPC server or other driver software... RSLinx is the only secure way to interact with AllenBradley PLC if you use the serial link or you want to u
  22. QUOTE (maroctrading @ Dec 19 2008, 02:10 AM) Hi, in order to communicate with AllenBradley PLC, you have to install their OPC server named RSLinx and setup it for the CPU you want to communicate with. Then, in RSLinx you can configure the tags representing the internal PLC variable you want to read/write from you labview program. When the tags are defined, you can access them or via Datasocket (using the OPC protocol... see the labview on line manual or search on NI web site) or by binding the controls on your front panel to the desired tag: to do that, open the properties window of th
  23. Hi Mathew; I'm not well experienced with image processing, but in the past I would find some interesting things on this web site: http://homepages.inf.ed.ac.uk/rbf/CVonline/transf.htm A good compendium on algorithms and even some teoretical explanations. Osvaldo
  24. QUOTE (ned @ Aug 28 2008, 03:19 PM) Hi Ned, what about the Web Server shipped with the Internet Toolkit used instead of the G Web Server integrated into the LabView RunTime? If I well remember, this software was implemented in pure G and the CGI mechanism was achived using the dinamic call of CGI VIs via VI Server... considering some little issues on using it in compiled applications, why it should not run on RT targets? Osvaldo
  • Create New...

Important Information

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