Jump to content

infinitenothing

Members
  • Posts

    362
  • Joined

  • Last visited

  • Days Won

    15

Everything posted by infinitenothing

  1. It works with debug on too. If I try and probe, I see a memory increase and UI slowness.
  2. FYI, I just ran a quick experiment (see code below). Watching profiler and task manager, it appears the compiler is smart enough not to copy the string.
  3. So, in a case like channel wires, they implement their end typing with a right click dialog (see below) If you want it more automagical, you'll need a VIM with a type specialization structure (see second snip, requires lapdog) for specific types
  4. Linear algebra is very useful for control theory, simulation, and machine learning. I posted what I thought was a math problem a while back. I wasn't really sure what the domain was though.
  5. GigE=125MB/s. Out of curiousity is there a reason you don't want to use IMAQdx? I've never used activeX/dotNet for image acquisition.
  6. Can I submit range requests? Your group can do what IANA does for IP ports. Also, I use the "Custom Error Code" feature of the error ring which uses the <ERR> tag which removes the need to distribute the XML error file with the executable and allows for descriptions that can help you debug "There's no case for an input of %d"
  7. The original Sony rootkit was on a CD ROM How's that for provenance? I'm having a hard time seeing why usbkill is a concern. Why would an IT policy stop a motivated vandal?
  8. FYI, the usb drives use DVD-ROM drivers and are read only.
  9. I'm guessing they are going to handle that by having the option of an HTML UI. There was some hinting of LabVIEW to javascript in prior keynotes.
  10. Maybe draw a system diagram. Possibly some state diagrams if applicable. A queued state machine is probably a good choice for some of your loops.
  11. Check out the example here:C:\Program Files (x86)\National Instruments\LabVIEW 20xx\examples\DAQmx\Analog Output\Voltage - Continuous Output.vi
  12. I just saw this post. That's a VI snippet. You can drag it (might have to save it to disk first?) and drop it onto your block diagram. You'll get all the cases (both true and false). The "pen" false case just has the pink wire wired through (don't make any changes) and the "previous pen" false case looks like the image below As for getting the "mouse status", maybe try acquire input data.vi
  13. You can also use this NI function to get a list of enums strings from an enum: http://zone.ni.com/reference/en-XX/help/371361M-01/glang/get_numeric_information/
  14. I'm not sure but does convolution rotate the array so it wraps around? If so, there might be some issues with a nonsinusoid. In my case, when the waveforms are perfectly aligned it would be comparing the first signal's segment that looks like this: / to the second signals segment that looks like this: \ making for a bad match.
  15. Doing a replace on the endpoints making the readers to writers and vice versa (no rewiring) made no difference for me. It all works fine.
  16. Yeah, works fine once you figure out the right parts. Here's example code. You'll want to run one exe with the boolean true and the other with it set false.
  17. Huh, not sure why the snipping tool isn't working. I got a peek value as shown in the upper right of the graph but that peak doesn't seem to correspond with anything. I backsaved the projected the old fashioned way and attached it as a zip Find lag example with correlation.zip
  18. Thanks for the code. I made it into a subVI and used it as I think you wanted but the answer it's giving me is way off the expected 0.006 or the shift of 0.012 if I ignore T0
  19. While your writer names are unique in testingendpoints.vi, that's the wrong thing to make unique. They are all using the same default context. Check section two and Smithd's context suggestion. As for rt stream listener.vi, you'll only be able to have one app connect at a time. If you want multiple apps to connect, each needs their own reader name (endpoint1,endpoint2, etc)
  20. My problem is that correlation takes in two arrays where I have 4: X orig, Y orig, X shifted, Y shifted. I can't figure out how to get 4 into 2.
  21. Thanks for the code. I get what you mean now by integration. That's a neat idea. I graphed the input into the integrals and I noticed that XY were switched and the interpolation function was outputting something weird. I also tried deleting the first 3 xy pairs out of the first waveform and the alignment is really off though that might be a function of previous issue. Still, the ideas were useful and I might be able to take it from here.
×
×
  • Create New...

Important Information

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