Jump to content

Neil Pate

Members
  • Content Count

    639
  • Joined

  • Last visited

  • Days Won

    38

Posts posted by Neil Pate


  1. The difference in the Value output type can be caused by the mechanical switching mechanism that is configured on the boolean.

    I don't have LabVIEW on the PC I am on now and I can never remember their names properly, but only the top row of the mechanical switching mechanism will give you green boolean value.


  2. There is no need for the timed loop as the DAQ itself has a timing source. Just use a regular loop and ask the DAQ for a certain number of samples. This will accurately fix the loop rate.

    Also, to get up and running just try using a regular queue. Although you need to be a bit more careful on RT there is no good reason they will not work unless you really need to get every last ounce of performance from the system. I have never been a fan of shared variables, too much "magic" going on behind the scenes for my liking.


  3. 7 hours ago, ShaunR said:

    When I wrote Passa Mak I went through all this. It replaces Captions and Tip Strips and anything else that has a text property on-the-fly but  the inevitable support required to allow people to use languages like Japanese or Chinese was just rediculous-so I didn't.

    The real problem was filenames, though. How did you resolve that?

    I did not try and translate any filenames. Only strings, numerics and booleans.  


  4. 11 hours ago, ShaunR said:

    You can get it to display Japanese under certain conditions (ini setting and Force Uncode Text on the control) but it is permanently "stuck" so you end up with spaces between chars for ascii. 

    I have blocked out those painful memories...I did eventually get something working which is robust, but if I recall it was pretty ropey until it worked properly (lots of weirdness...).


  5. 1 hour ago, ShaunR said:

    If you want to display Japanese, you cannot on an English version of Windows - you just get question marks.

    Not true at all. I have an application I developed that includes on the fly translation to pretty much any predefined language using UTF8 string lookup files. It works fine on my English language Windows (developed on Win 7, works fine on Win 10).

    Obviously you need to have the correct language packs installed in order to get the fonts.

    Picture is a snippet from one of the translation files.

    Capture.PNG


  6. I had a real struggle with some USB3.0 cameras and a Windows 10 PC. They were Basler cameras, and even Windows device manager sometimes did not pick them up. They would regularly just "not appear" in MAX. Never managed to solve the problem to my satisfaction and pretty much decided to not use USB hardware.


  7. Now that I think about it, I also cache the This VI ref in another VI which I use as sort of an actor debugger to allow me to open the FPs and BDs of any running actors including clones (not AF actors, my own home rolled framework). I poll all the refs multiple times per second to get status about the clone name and running status, and have never seen any weird crashes which I have attributed to that. 


  8.  

    Just set the default value of the control.

    Does this work at runtime in an exe? I never thought to try this, thanks for the suggestion.

    The problem is I need to set the default value as soon as the browse button is pressed, not before. There is no event exposed that will trigger when the browse button is clicked.

×
×
  • Create New...

Important Information

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