Jump to content

osvaldo

Members
  • Content Count

    43
  • Joined

  • Last visited

Everything posted by osvaldo

  1. 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
  2. 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
  3. 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 ...
  4. 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
  5. 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
  6. (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
  7. 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
  8. 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
  9. happy to be of help! Osvaldo p.s. where you came from?
  10. 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
  11. 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
  12. Oh! This is an idea! I never thought of! Thanks! Osvaldo
  13. 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
  14. 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
  15. 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
  16. 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
  17. has not set their status

  18. 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
  19. 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
  20. 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
  21. 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
  22. Hi Mike, To achieve this, you must set your application as the startup in the project. Open contextual menus using the right mouse button on the name that corresponds to your executable in Building Specification, and you will find an entry corresponding to Set as startup ... If setted, the application will restart automatically whenever the cRIO is switched on or reset! Osvaldo QUOTE (MeltingPlastic @ Apr 8 2008, 02:51 AM)
  23. I've used SuSE 10.x for developing with LabView 8.0 and works great, but some issue with the hardware driver dues to binary difference in version of system libraries... Some time I need to recompile drivers (like GPIB) and some time I can't properly install them... so I use it only for on developing environment (in my opinion is the best desktop environment under linux...) But the only version of Linux, for my experiance, that work with all binaries of LabView without require to recompile anything is the CentOS 4. This is a free distribution based on official code from RedHat without the tool
  24. QUOTE(malkowki @ Feb 13 2008, 12:21 PM) Ok... a bit more in detail... The VI get in input a string which is converted in an array of byte and than in a stream of byte by the outmost for loop. The inner for loop take a byte a time from the stream and convert it in a stream of bit using the "Rotate left with carry" function. The other code in the inner loop implements the function performed by the logic circuit shown from your first post: the bits in the accumulator are shifted and XOr-ed with he polynomial only when the MSB is "1"; this code is the software version of your diagram (note
×
×
  • Create New...

Important Information

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