Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation


About Matt_AM

  • Rank
    LAVA groupie

LabVIEW Information

  • Version
    LabVIEW 2015
  • Since

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. drjdpowell, I don't think I understand what you are saying. All I can think of is rebroadcasting the data vs broadcasting the user event to. To give some details, A is the "post office" handling user events between B and C. B has a helper loop reading XNET as an XY and C is the test's state machine. Since C is expecting the XNET type of XY, B would broadcast it's XY to A, then A would rebroadcast that XY to C. In this case A is just forwarding the user event from B to C without actually doing any work on it. joerghampel, I thought the EHL was the "top loop" that liste
  2. Hey fancy folk, I've been looking into the DQMH architecture a bit and I'm thinking about designing a test around it. Basic test background, I am have a motor driving another motor and I'll be reading and writing over CAN for both motors and reading an analog in. I have laid out the basic module diagram as far as who is requesting what and who needs to broadcast their data. I'm currently running into 2 issues that I'm someone can provide some insight on. First Issues - constant broadcast helper loop I will be have 3 read loops broadcasting their data to an "XY Mo
  3. Agreed completely. I understand that DD is basically allowing the child to redefine a method via overwrite or extend it via overwrite w/ calling the parent's method. Because of this, as you said, all the connector panes for the DD VI must be the exact same. So, if I want to be able to read multiple types of data from a class, DD won't work for a genera "read", hence my question. You are correct, this is basically what I am thinking. I think having a separate read type class that implements how the data is read, or its strategy, is how I can get around multiple read types.
  4. This is where my hiccup is, I am using the factory template for my power supply class since I know what my outputs and inputs are. I can use the DD to set/read my voltage, current, or output state since I know they will be double, double, and boolean respectively. I was thinking about using the factory pattern for an XNET Read class, but there are 3 basic methods to read from XNET - signal, frame, and XY. Theoretically, i could force all of these into an XY format. I am trying to figure out how I can use something like a dynamic dispatch to read anything from XNET without having to create
  5. @MikaelH Thanks for the links good sir, I appreciate it! @ThomasGutzler What do you mean by "Returning different data types from classes of the same instrument type is something you don't want."? I'm assuming you mean something like use the parent "Power Supply" object for my connector panes and define the child (such as TDK Lambda) during the initialization section of my test. This way the if I wanted to change the PS from TDK Lambda to say Sorenson, all I'd have to do is change the test's initialization section since all my connector panes are using the Power Supply parent clas
  6. Hey all, I want to start my first big design in LV with OOP by laying out and designing a motor class. I was wondering if there are any tools that I should look into to help me with the process. I've built a power supply class which is basically an abstract factory where all the children create the concrete classes. I am still trying to understand a lot of the different architectures/design patterns from the LV forums but am getting a better understanding each time I go through them again. My biggest issue I can see is having child classes return different data types without it
  7. Hey fancy folk, Problem/TL;DR: I've been having a problem getting all of my timing to sync up for a 4 station tower I'm running. I am using a part of my code to store a start and stop timestamp to analyze data coming from XNET via XY read to determine if a motor is assisting or not. When I first start a station, things are aligned, then after time, they drift (makes sense with clocks based on different crystals). I tried to set the master timebase to the same clock via PXI trig (for some reason my card wouldn't let me connect a clock to PXI star and I know PXI trig lines can
  • Create New...

Important Information

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