Jump to content

Neil Pate

Members
  • Content Count

    656
  • Joined

  • Last visited

  • Days Won

    40

Everything posted by Neil Pate

  1. Eric that is very interesting indeed! I am going to see if I can get hold of some of these isolators.
  2. I am actually trying to move away from USB cameras to GigE as I have just had so much hassle with the USB ports. I have tried pretty much everything except that galvanic isolator mentioned earlier.
  3. Sorry, I did not mean to come across as hostile at all. I was just typing a quick reply before dashing out. I massively appreciate all the insight that is shared with me here.
  4. shoneill, the issue I have is so random though. The system will work fine for weeks on end and then the camera will rename itself in MAX twice in one day or just fall over and require a full power cycle.
  5. Thanks Eric, The problems I have with cameras are so strange. Also sometimes the cameras get assigned new names in MAX for apparently no reason. I will try one of these converters if I can get my hands on one.
  6. I am using USB cameras (several different vendors on different projects) and have noticed that sometimes my image acquisition fails as the camera has just disconnected (or failed in some manner). My camera is configured for Continuous Acquisition and I am using IMAQdx Get Image 2.vi. When the camera has failed (or is physically disconnected) I do not get any error out of that VI, just the last image is returned. I have tried various other techniques like looking at the buffer number etc but cannot seem to get anything to work reliably. Any ideas on what I am doing wrong or a strategy I can employ for figuring out if the camera has failed? Thanks n
  7. Just to comment, I have also been able to get @variables working correctly in a SQL query using the NI DB toolkit using the SQL Server Native Client 11.0 driver.
  8. When something works in the IDE but not in an exe (assuming nothing stupid e.g.e path differences) it very often is a race condition showing up. Never fun to do but can you chuck some delays into your launching code and/or the launched code to simulating running in the IDE which is usually slightly less responsive.
  9. OK turns out I was looking in the wrong place! You have to browse to just System (Not System.Net.Networkinformation) and there it is.. Also the .net API browser courtesy of Microsoft comes in handy https://docs.microsoft.com/en-gb/dotnet/api/system.net.networkinformation.networkinterface.getisnetworkavailable?view=netframework-4.7.1#System_Net_NetworkInformation_NetworkInterface_GetIsNetworkAvailable
  10. Can anybody help me figure out how to run this .net code in LabVIEW bool networkUp = System.Net.NetworkInformation.NetworkInterface.GetIsNetworkAvailable(); I always seem to fall at the first hurdle with .net, I usually cannot figure out what constructor to use (if any) or in this case even find the method in the GAC or by browsing. As as I understand this method is "global" and does not need any kind of constructor? Any ideas?
  11. It has been so long since I used 2009 (actually I may even have skipped that and gone 8.6 --> 2010), out of curiosity, in your opinion have there been any "must have" features that were introduced after this? When were DVRs introduced, I seem to recall using them in LV2010? Off the top of my head the only thing I can think of is the reworked Web Services.
  12. Thanks Stephen, I will stop messing around with it now. Instead I am figuring out how to tag decorations, what could possibly go wrong
  13. I am troubled by the size on disk of some of my .lvclass files. I have done the usual things like pruning up the mutation history, however there are still some things bugging me. What is NI.LVClass.FlattenedPrivateDataCTL and why is it so big? I have a class which just consists of a bunch of clusters (sure it gets a bit nested but nothing crazy) and this field is nearly 60k characters long What is NI.ClassItem.ConnectorPane" Type="Bin"> This field seems much bigger than I would expect, the data does not seem to match the name...There is one of these for each method VI and some of these can be 2k characters long. Any ideas?
  14. Slightly off topic, but the other day I opened a version of LV I have not used in ages, I think it was 8.5 (maybe it was 2009) and was blown away by the speed of the IDE.
  15. I am just surprised ShaunR is using a version of LabVIEW newer than 2009
  16. After making the switch to all "modules" launched dynamically about five years ago I really cannot imagine now not using my home grown "actor framework" for all projects, regardless of their size. There is just so much good stuff I would have to recode. I cannot speak for the actual Actor Framework though; I never really liked the architecture enough to invest the time in. However watching it from the wings for the last seven or eight year has not really made me think I made the wrong decision.
  17. Thanks for the suggestions; I have used BitMan in the past to do some image scaling. However in this case I am not sure it is going to help me as my background image is "static" i.e. pasted into the FP background.
  18. I have a customer logo, a PNG with a transparent background and I wish to programatically display it on a FP which also happens to have a picture (static) pasted into the background. I have tried to use a native 2D picture control and also a .net Picturebox but cannot get the logo displaying nicely with proper transparency. This is all a bit deja-vu for me as I struggled with a similar issue some years ago however none of those techniques seemed to do the trick now. All the forum posts seem to indicate this is quite a tricky thing to get right. Any ideas?
  19. Not too sure what is going on, will take a look when I get a moment (probably not before Sunday).
  20. Hi James, Thanks for your fantastic work here. Do you have any idea how (if) I can create an enum like this? The bit I am struggling with is upside down triangle decal on the right-hand side. I cannot seem to get it in the right layer that will allow the user to click there. I tried customising one of your flatline controls, and I can replace your small triangle with my desired one, but then as soon as I change the fill colour to anything other than transparent it covers the decal. Any tips?
  21. Bump, confirmed this LabVIEW "feature" is still around in LV2015. This is quite strange behaviour if you are not expecting it. I came across this bug when dealing with clones, all my refnums are unique, but when I search it matches the first clone in the array rather than my actual refnum. The workaround of casting still works fine.
  22. To goal is to recreate StarControl II Super-melee, implemented entirely in LabVIEW (except some drawing and other gfx trickery). Long way to go but gotta start somewhere.Video is of the work I did several years ago before two babies arrived. LabMelee 2017_11_11 21_59_15.mp4
  23. Thanks, I will give it a shot drawing on one of the Graph picture layers.
×
×
  • Create New...

Important Information

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