Jump to content

Grampa_of_Oliva_n_Eden

Members
  • Posts

    2,767
  • Joined

  • Last visited

  • Days Won

    17

Posts posted by Grampa_of_Oliva_n_Eden

  1. I use it when the app warrents it.

    Generally exposing an ODBC to the outside world, the DB auto logging and retrieval are the main motivators.

    Upgrades have been areal pain the ...

    I have DSC apps that started as BridgeVIEW and the labor involve in keeping it up to date is very costly. New version of DSC LOOK similar to the older versions but I get the impresion the developers of the newer versions had little knowlege of how the old stuff worked.

    The last time I actually chose to use DSC was when I had to do logging from PLC's since that is fully auto once set-up.

    DSC used to be great. Recently it feels like DSC is the red-headded step-child.

    Ben

  2. I recently chased a TCP issue under LV 8.6 and came away beliveing that 10Hz is about the best I can expect out of Windows.

    Since its OK on another NIC I would expect the other network traffic is getting in the way and tying up the TCP stack and not acking the packet.

    I found a lot of info posted by gamers trying to reduce Lag so searching on Lag and speed will get you some good hits.

    This link

    http://technet.microsoft.com/en-us/library/bb726981.aspx

    gives you the internals of the TCP stack under windows and if there anything that can be tweaked its in there. If you find something out please share so we can benefit.

    Ben

  3. You maybe able to hack a bit.

    Use extra plots (two ?) with one filled to plus and the other to negative.

    Only include values for the range where you want the fill.

    Or you could insert an image into the plot and use the picture control to fill what you want. There is a shipping example that is a graph based on a picture.

    So no ready built solution but there are possibilties.

    Ben

  4. An experiment. My previous subVI redone to be more like ShaunR's style:

    post-18176-0-52456800-1319724047_thumb.p

    That is close to my style as well (exception: I avoid wiring through the top/bottom of structures since it is not well defined if those tunnels are input or output) but the point I want to highlight now is the label allignments.

    It would be nice if the labels of source are to the left and outputs on the right.

    Ben

  5. I've talked to my local DSM, and to Nancy at NIWeek last year. Getting more people to take the advanced courses is the issue. Either that or Nancy just doesn't want to come to hot/humid or cold/rainy DC. :)

    I guess I should ping the DSM again.

    Oh, and the 2nd edition of "LabVIEW: Advanced Programming Techniques" is from 2006. Do you think they're working on a third edition??

    We teach most of the LV course for the DC area. You asemble the students and I'll get you the teacher (well not me but our training coordinator)

    Ben

  6. Well references and error wires could default to shift register terminals when wired into the loop? Much like arrays default to auto-indexing. This would also be useful for counteracting the auto-indexing of references and errors when exiting the loop.

    Love the idea but... the noob.

    Now they fumble around to wire a ref to the loop and get it wired through the tunnel to something. The VI is runnable.

    A noob that does itafte rhte change will have a broken VI because the SR on the output side are un-wired.

    I can handle it but it would complicate the noobs.

    My 2 cents,

    Ben

  7. I keep the auto-populate off in the projects I start and the dirty dot is alomost always due to changes that need saved.

    When I open project from others that do use the auto-populate, I often see the dirty dot and the message you reported.

    Now back to my non-autopopulate....

    I had an XControl that always triggered the dirty dot.

    A similar XControl in one of NI's toolkits (maybe sound and vibration) did similar.

    THat is all I can share.

    Ben

  8. Go ahead and finish Atlas Shrugged. Very long read but Ayn Rand's writings are deep and profound. I don't agree with everything she says but damn, I hang on every word she has written. She was a prophet. She will make you think like no other. :shifty: I loved Atlas Shrugged BTW.

    Same here. Her philosophy made me think (a good thing) but I would have loved to sit down and talk to her about some other things.

    I was driven to finish it as soon as possible. Customers were inviting me out to dinner and I was declining telling them I wanted to get back to reading "to find out what is going to happen tomorow".

    I have about a 10,000 page backlog of reading piled up but AS is gong to get another read.

    Ben

  9. Hello,

    I am acquiring readings from 10 Thermocouples and then display the data in a graph. The plot names are automatically created in the form "cDAQXModX" where "X" is the number of channel/thermocouple (see attached picture part B).

    I tried to use the property node to change the plot names (See part A) but after closing the .vi, the plot names change back to part B. Plus it feels that the data display on the graph slowed down.

    Is there an alternative method to change the plot names for all channels?

    If you are using a Waveform Data type then right click and CHECK "ignore attributes".

    Ben

  10. Kuod/rep points are of fixed value they are worth today what they were worth yesterday.

    THe DJIA is valued in dollars which does fluctuate. One way that I de-couple the DJIA from the dollar is to look at the dow/Gold ratio which "typically" runs between 10-8 (Goolge dow to Gold ratio it is a standrd approach and the history is really quite telling, you can see where the US switched from longe term bonds to short term).

    Event with the Fed reserves attempt to quensh the price of gold it is still holding its own (only thing that made monet last quarter) it is still holding strong. When mentioning the current pull-back of gold my wife (rather than freaking) replied "We just don't hve any more cash to but any right now!"

    Any wonder why she is my better half?

    Ben

  11. You can wire control references into a Register For Events node to create a dynamic event refnum that can be passed into a subVI. In general, though, it's best to leave a UI-related event structure in the VI it responds to.

    Well I never learned that leason so being the fool that I am I went off and started pushing evnts down into the sub-VI that handle each of the modes the app runs in. I will not multiply words but I will invite you to examine the images I uploaded to the Dark-side that can be found here.

    This approach lets me develop sub-VI that are clean and focused on only the events that apply to the current operating mode as shown here.

    If you really want to rad more about this approach see this thread on the Dark-side.

    Ben

    • Like 2
  12. Well, I do have to remember my purse. :)

    My car starts beeping at me if I leave the key in it when I get out. And it beeps wildly if I leave the car without turning it off. :oops: (tho, this isn't that difficult to forget to do when there is no engine noise)

    An entry from my "Dumbest things I ever did" list.

    While sitting in traffic for a construction site I noticed the car in fornt of me had a bad brake light. So since I ws just sitting ther I jumped out of the car to tell them... and of course soon discovered I had locked the keys in the car with the car running in the middle of traffic.

    Other entries in my "dumbest things" list include learning that (contrary to what I learned from cartoons) it is avery bad idea to try and pop the swollen blow dish I found on the beach. (Parrents put me in the back of the station wagon with the read window open and they drove fast).

    Ben

  13. What was that black thing the guy was holding in his hand when he got in the car?? :P

    My key stays in my purse and never comes out. One of the many things I love about my Prius.

    That sound stangly familiar to what my better-half says after looking her keys in the car (again).

    Ben

  14. You will need more help than I can give, personally so here are suggestions.

    Go to the Dark-Side and serach for TCP/IP and "nathand". Nathan has taken over threads on performance where I left off. Review all of his posts on the subject.

    A google search on TCP and speed should give you a lot of hits from gamers trying to minimize lag. It feels funny reading gaming posts at work but hey, there is knowlege in those posts.

    WireShark may be overwhelming if you don't know networking. WireShark has tutorials and ready built filters for TCP so it can start to get an idea of what is happening if you apply the TCP filter. The thing you will be looking for is the size of the TCP packets coming from your machine and the time-stamps.

    Again have fun and please report back. All of the corners of our networked world have not been fully explored and documented so all reports from adveturers like yourself are of great value.

    Take care,

    Ben

  15. Check the MTU (???) settings throughout (various IP stuff will adapt to smaller ssettings) and send packets that produce max packet sizes (Nagel algorithm could be involved).

    Set-up WireShark on another PC and ... tell us what you find.

    MS has a white paper somehwere talking about their implementations of the "TCP/IP" stack.

    Please let us know what you find.

    Ben

    PS: Do we know your agregate bandwidth?

×
×
  • Create New...

Important Information

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