Jump to content

RayR

Members
  • Posts

    41
  • Joined

  • Last visited

Everything posted by RayR

  1. Thanks Hooovahh, Yes, the localhost fix was an easy one. Both the local and remote PCs run Win-7. I shared the folder and when double clicking the Example.html it opened nicely and displayed the updated values as seen on the Example.vi n the local PC. The Android tablet or iPad is a different story. I have installed XAMPP and I seem to connect to their dashbard page (local) when attempting to connect to the local PC now running Apache. See image below. My question s: How do I point Apache to Example.html? Thanks, RayR
  2. I modified the 2nd version (pre-hooovahh) and got it working on a remote PC over the same network. My goal is to get something like this (or this code for now) working on an iPad or better an Android Tablet. When I try on an iPad, I get a message saying that it cannot open the page because it is a local file. Internet search did not provide solutions. The android tablet is worse, it just says "file not found". Has anyone tried to run the remote html code on a smart device (tablet, phone etc)? Thanks, RayR
  3. Thanks smithd, I like the approach in the link that you provided.
  4. I am unable to drag the controls from the Data Dashboard (latest version) to the panel. I tried double clicking, dragging, clicking like a madman, and so on, and it just does not want to go to the panel. Tried dragging after the cntrol was selected (highlighted in blue). Tried to drag it while it was being selected (brief grey mode). Tried dragging while it was unselected (white). I swear I tried everything imaginable. I am also surprised that there is no "button" in the controls selection. Do we need to use a shape and assign it as a button? Is there something better than the Data Dashboard? I am unimpressed with it. NI really didn't seem to get this one right (at all). The software crashes whenever I switch from the Data Dashboard to another app and return to it. I need to create a small application that will allow the user to start a process remotely. It should be really simple, but the Data Dashboard is not cooperating. Using: Samsung Tab S2 (latest version) Model: SM-T817W Kernel Version: 3.10.9-8493064 Android Version: 6.0.1 Is there other info that is needed? I can't share code because, well there isn't any. The only screen capture I could show at this time would be a blank white page. Thanks, RayR
  5. We tried an experiment.. It appears that all we need to do is to merge the lvproj before committing the code. If that is all, then it is not a major issue... For some unknown reason, I think there might be more to this.. If anyone has had bizzare experiences, do share.. I will provide an update as well..
  6. We have a multi-site, multi-developer project. The code uses LVOOP with LV2012 SP1. I am looking for suggestions, tools, etc to simplify checking in code (committing for SVN). At the moment, we have to use SVN and it is unlikely to change. A quote from Jim K in February 2011: "Jim Kring demo the JKI TortoiseSVN Tool for LabVIEW and talk about the next big thing: Distributed Version Controls Systems (DVCS) and the benefits they will bring to software engineering in LabVIEW." Did anything evolve from this? Does the JKI Tool support multi-user in the sense that it facilitates commiting code with SVN without having to resolve any conflicts. I am mostly concerned with mis-matches with the lvproj, but SVN should be able to handle that with Merge or Compare functions. Any comments on this topic? Euh... yes, I am aware that there are other Source Control than SVN, but that is way beyond the realm of my influence. Thanks, RayR
  7. Thanks Yair. Wow.. What a thread. I am digesting all that info and will post more details into that thread. It is easier to continue the conversation in the original thread. Cheers! RayR
  8. Maybe it's normal... Maybe it's because I wasn't looking at those references as closely before. Maybe I saw it because it was part of my search for a bug... Maybe it isn't normal.... Maybe I should post a thread and find out why the reference was "not valid in this application instance" ... maybe... just maybe.... I'll learn more stuff.. Maybe for sure... Okay, if you read past that junk above, here's what I observed. I know nothing, hence this thread. I have a wire which is a cluster of a whole bunch of objects. The objects are basically notifiers. The class contains a reference to the particular notifier. While debugging the code where all the notifier references simply "disappeared" (I know it does not simply disappear, but it did), I noticed something odd. It just caught my eye. What is strange and why I ask is because the refnum value is correct. 0x1450 0002 I should have taken a screen capture of the code, but then again, there was not much to see. So I will describe it. Picture 3 VI's. Ignore all the preceding ones and following ones for now. To the left, there is VI-1, middle VI-2, and to the right VI-3. Below are the outputs of VI-1 to VI-2 to VI-3. The strange thing is the fact that the refnum is "okay" at the output of VI-3. So, valid, not-valid, then valid again. << Am I simply observing something normal? >>
  9. When creating an accessor method, there is a choice: Create dynamic accessor Create static accessor What is the difference between the two and how does that influence our choice? Is it possible to change the type of accessor after having created the accessor? Or do we need to create a new one? RayR
  10. I may have figured it out. I decided to create a lvlib for the Test Engine and within the library will be Dynamic Processes to which the TestEngine.vi will belong. I am creating a typeDef that contains all the objects from the Project Explorer so that I can access them from within the TestEngine.vi. I needed a project like this to fully wrap my mind around LVOOP.
  11. I also have a question about the project and the organization of folders within the project. This is just the start of the project.. I'm refactoring code, so I hid that portion. Also anything that would identify this project has been hidden (erased from the image) to protect the innocent. The question on the project has to do with having the classes appear directly under "My Computer" within the Project Explorer. In one case, I placed the class inside a folder with the children classes. I do not usually put the lvclass inside a folder. However, I am also realizing that this is the first time that I have such relationships between classes.... For instance within the parent class "communications.lvclass", there are telnet, RS232, web-HTML and SNMP classes. How do they relate to the parent class within the Project Explorer, and inside the directory (folder) structure? Is there a recommended approach? Or rather a community accepted approach? I want to make sure the foundations are solid before I start building up this thing... Thanks guys!
  12. Hey Ben! I had a feeling you'd reply Wow! This is exactly what I was looking for. I did a proof of concept without using the OOP approach and it is somewhat similar to what Tomi suggested. However, the limitation of my design is that it did not support multiple engines... Well... that's not entirely true, but not the same type of engine that I now need. I would have been limited to matching modems with an awkward parallelism. That's where LVOOP comes to the rescue.. I didn't read all of Tomi's blog and thread, but from what I saw I immediately see the fit. This gives me an extra energy boost to get this project into a successful path. Thanks bro! I think we can put IO constraints. Whatever I develop will surely beat any performance that they have seen to date. So performance will not be an issue. Not boasting... just the fact that their existing code is not optimized.. The hardware will be in the same building / network.... well.... Hummm... Okay. For my mandate, the hardware will be in the same building / network as the test PC. However, they will likely (in the future) want to "borrow" this code and possibly use it for a remote system. However, it is not a design constraint at the moment. I should post (tomorrow) an image of the lvclass(es) that I proposed... I think what I have makes sense. Thanks Ben (how do you give kudos at this place?) Thanks Jason, I agree. I need to visit the link you provided and familiarize myself with HAL. This project will certainly push me into the LVOOP realm much deeper than I've ever been. That's where the fun is. Yes.. The architecture is tricky. That's why I decided to post this thread. Or am I over complicating it in my mind??? I think it is tricky.. Thanks guys! RayR
  13. I have a test environment that can consist of 4 different modems that are connected to 2 or 3 different radios. Each radio type supports a given set of frequency bands, bandwidths and modulation types. Not a matching set between radio types. Would frequencyBand, BW & modulation classes (child) be necessary or recommended? Let's call these modems A, B & C; and, radios R1 & R2. The 4th modem is integrated with the radio, so we'll call it DR3. The modems may or may not have the same command set, or the command may be slightly different. Regardless, I consider each modem as having different commands. Would this require a command class for each modem? Or rather a command class which is a child of each modem (maybe that is wording it better). The modem & radio combinations are usually tested in pair, but can be redundant. Radio / modem combos are tested in High/Low pairs. For instance, you could have the following combinations: Basic: A-R1-low with A-R1-high Mixed: B-R2-low with C-R1-high Mixed: C-R1-low with DR3-high Redundant Basic: A-R1-R1-low with A-R1-R1-high Redundant/Mixed: B-R2-R2-low with C-R1-R1-high and so on.. There are various tests that are run on these units, let's call them TestA, TestB, TestC, etc.. Each of the tests have sub-sections of test, giving: TestA-sub1, TestA-sub2, TestA-sub3. As a matter of fact, each sub-test is really considered a standalone test of a type of test (or a class of test in OO jargon) There are various instruments on different test racks. For instance, one rack may have all the instruments, whereas another may have some or no instruments. Some instruments can be from one or another manufacturer. For instance, the Spectrum Analyzer may be Agilent or Rhode & Schwarz or Anritsu. There are two traffic generators, with their own distinct configurations and set of commands. There are different RF attenuators, from a motorized vane to pin-diode. Communication to the modems can be done by telnet or serial port. Communication to the instruments can be done using GPIB, serial or Ethernet. In addition to the above, I would likely have a database class, a DynamicEvent class. I’m not sure about a serialNo class and a FileIO class.. Probably a FileIO class… And so on... I'm sure you're getting the idea. The goal is to make a universal test code which can support different infrastructure without having to have multiple code. I convinced them that LVOOP is the way to go with this.. I am going with the concept of a universal "test engine" that basically receives a list of instructions or states with parameters to accomplish the actual test. Where I am having difficulties is to create the appropriate LVclasses for this. I started by creating classes for Radios, Modems, Instruments, Tests, and Communication. I think I'm going in the right direction. For instance, in the Communications.lvclass, I have telnet.lvclass, which has IPaddress, telnetRef (will add telnetWrite & telnetRead). But for some strange reason, I sense I am missing something that I just can put my mind on it.. I think it is related to so many combinations. Especially dealing with the Redundant systems.. Or systems that have more than a pair of modems, such as the following scenario: Redundant/Mixed: (A)-A-R1-R1-low with DR3-DR3-high This means 1 modem attached to 2 radio on the low end and 2 modem/radio(combo) at the high end. And what happens if I want this to be flexible enough to have a new combination such as: A-R1-low with C-R2-high with DR3-low with B-R2-high (and possibly more, but unlikely) I want the architecture to be scalable to expect such an unexpected combination. I know the concept of superclass does not exist in LVOOP, but how would I handle that? Basically, I want to be able to run tests in parallel using the same engine. But I do not want to create an engine that has a fixed amount of UUTs that are run. As a matter of fact, I want the same engine to run the tests on the low side as well as the high side while not caring that it is high or low (other than the child that configures the frequencies appropriately based on how or high). Basically, I want to make sure I design the proper construct for such a solution using LVOOP. Thanks, R
  14. revisiting this fantastic site

×
×
  • Create New...

Important Information

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