Jump to content

ShaunR

Members
  • Posts

    4,943
  • Joined

  • Days Won

    308

Everything posted by ShaunR

  1. I would use 2 queues since command-response are instrinsicly ordered. Place your command onto a queue. When a response is received, read an element from the command queue and add it, AND the response onto another (log) queue. Then all you need to do is read the log queue to display the message-response list.
  2. I'm not sure I ant to know what appendages you've embraced. ... Noodly or otherwise Although I'm willing to be converted if the "Halloween Missionaries" want to save me
  3. Ooooh. Yes! and that reminds me of "PERVERT" "REVERT". For those "dead end" moments when you've been owned by the spaghetti
  4. Rolf did some raw socket stuff a while ago that should be worth looking at.
  5. Learn to be a plumber. They earn more than us.
  6. The "number of rows/columns" property nodes will enable you to display different numbers of rows and cols.
  7. Array of clusters it is then
  8. What about 2 arrays One with the headers (channel names) and one with your data. Then you can set the fonts different for each array. < some time later after copious amount of caffeine > try this
  9. I always wanted to be somebody, but I should have been more specific

  10. IC (I think ) If you don't mind being platform dependent then you can use the windows SetCurrentDirectory function (LV example here). But your scripting thingy would still have to be running after they decided to save it. Other than that, I only think if saving a dummy VI after they have saved theirs (again your thingy needs to be running to monitor the memory list). But if your going the platform specific route I would suggest adding it to the places bar so they can always find it easily.
  11. The Dialog Express VI has a start path.
  12. No. But you do need "Windows". Here is a .NET example of what I mean.
  13. Glad I could help
  14. Not giving me much to go on here. What gives you the message? Is it windows/linux? It can't be in the error cluster because there is no "Memory Full" error code. If it is in the error cluster, what number (code) is it? Are you trying to dump the whole 100MB contents into an array? (What is the SQL statement?) How much memory do you have and when you get the error, how much is LabVIEW using (you can see it in task manager)?
  15. The main difference between the NI algorithm and most others is that it removes outliers. It calculates a "best fit" using the mean squared difference method and applies a score. If iterations is set to 0, it is finished and returns the line (as in your first image). If iterations are greater than "0" it removes an outlier and then re-calculates the MSD and re-calculates the score to see if the there is an improvement. It keeps iterating until it either reaches a certain score or until it reaches the iteration number So in your second case, if you set the iterations to >0, the final point will be eliminated and it will decide that the first two are the "best fit". You need to have more data points to use this function effectively - the more, the better.
  16. Have you tried the Drag/Drop Events?
  17. Making Measuremnet On An Image from the Vision Concepts Manual described it in detail. The images are broken on my browser. But it describes the NI method.
  18. it never returned when I did that. this works though. Looks like you need the comparison. for (i=1; i < sizeOfDim(x,0);i++)
  19. Nope, 0-2999. I've never been good with FNs
  20. It's been a long time since I used a FN., but I tried replicating your image (in 2009) and sizeofDim(x,1) evaluates to "0". My output array is identical to the input.
  21. Quite right. I stand chastised Pravin. Most fonts are fixed character widths. So if you can find the start and you know the width, you can "cut" each char out and analyse it in isolation.
  22. Microsoft have quite a nice definition of the pub/subs (including observer). the main differences seems to be how the clients obtain their updates and methods of registration. I'm more familiar with the content and topic (list) based since that's basically what "Dispatcher" and RSS are. But I've only used them in context with networking so events weren't applicable. I could see a use for observer invocation in something like LV web-services where you basically want to poll updates of remote devices. But it can be a bit prone to server over-loading if there are many observers.
  23. In LV2010 there is a checkbox on in the properties so you don't have to physically place the code in the diagram. That why I said there is no longer a code boundary (as if you had placed the code in the diagram) however it is still represented as a sub-vi.
×
×
  • Create New...

Important Information

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