Jump to content

Neil Pate

Members
  • Posts

    1,185
  • Joined

  • Last visited

  • Days Won

    110

Posts posted by Neil Pate

  1. @Mahbod Morshediif you are new to software development then forget about things like OOP and HALs. Just start small and slowly add features. 

    Pick a single framework (DQMH is probably a good place to start) and go slowly.

    OOP is not the only way to write software, and in fact I would say it generally promises far more than it delivers. The implementation in LabVIEW also comes with its share of "interesting pain points". 

    My advice would be stick to well understood imperative concepts (i.e. just code it as you think, forget about trying to force things into an OO model).

  2. 13 minutes ago, crossrulz said:

    This will only affect you if you use custom fonts.  If using the default since Windows 7, you will see no change.  Neil was using fonts to match XP.

    Neil, and his current team, and all the previous teams he has coached.

    My problem is with the lack of choice.

  3. 3 hours ago, hooovahh said:

    This idea was implemented. 

    https://forums.ni.com/t5/LabVIEW-Idea-Exchange/Same-Height-of-Unbundle-by-Name-Terminal-Local-Variable/idi-p/1298608

    Opening existing code will create bends in wires where there weren't any before.

    Thanks @hooovahh. And I hate it. Changes to the editor experience should be opt-in. I cannot imagine the outrage if Visual Studio Code changed some editor setting and then did not make it configurable.

    To quote Poppy from Trolls ("I mean, how hard can that be"). You will know it if you have kids under 10.

  4. 1 hour ago, Elbek Keskinoglu said:

    @Niel Pate sorry for my misexplaining. I tried to mean that I am putting the experimental setup at the Front Panel inside of the Cluster. So when there are graphs and charts they will be transformed to the JSON format to be saved in a file.

    I think you need to share some code of what you are trying to do, as this still does not really make sense to me. When you say "experimental setup" I think you mean some kind of configuration controls on the FP of a VI, but I do not see how that related to some graphs and charts unless you look at the code also.

  5. 5 hours ago, Elbek Keskinoglu said:

    At first I wanted to do this through understanding the block diagram. But now, I am doing it by simply putting the block diagram to the input cluster and collect the graph and similar data in the json format.

    Sorry I do not follow the you. The block diagram is the code, it is not represented by a cluster that you can wire in to your json writing code. 

  6. 1 hour ago, TENET_JW said:

    Hello guys,

    Once upon a time, our company stocked up on NI controllers and systems.  Due to business reasons, we are getting out of the NI integration game.  Lots of goodies we're looking to sell, most of stock is brand new in box or barely been used.  Check these out:

    [FS] Several PXIe-8880 and PXIe-1082 units, w/ extra RAM

    [FS] cRIO-9035, cRIO-9065, cRIO-9034, cRIO-9032

    [FS] sbRIO-9606's brand new in box

    NI 9697 mezzanine card for sbRIO, $250USD

    [FS] NI-9239E (24-bit, 4ch, 50kS/s) $300USD per unit

    (The NI-9239E is just a NI-9239 without the enclosure, it functions exactly same as a $2000 NI-9239, see this video from Linkedin)

     

    Oh and if you're looking for NI parts and don't want to get ebay-scammed, here's the NI Trading Post forum.  Maybe it should have been a board in LAVA?  The group is on linkedin as well: https://www.linkedin.com/groups/14121153/

    Cheers,

    John

    Maybe you can make a channel on the Discord? https://discord.gg/fP3mmBty

  7. I seem to recall you do need to start with one of the controls that has 6 pictures. I played around with this years ago but cannot remember how I started. Will try and remember!

    Did you try the System style controls? They have 6 pictures and are editable (I think).

    Edit 2: Sorry I don't think I read your original post properly...

  8. That means you are not reading from the DAQ quick enough. You can set the DAQ to continuous acquisition, and then read a constant number of samples from the buffer (say 1/10th of your sampling rate) every iteration of your loop and this will give you a nice stable loop period. Of course this assumes your loop is not doing other stuff that will take up 100 ms worth of time.

  9. My understanding is that the class mutation history is present in case you try and deserialise from string. It is supposed to "auto-magically" work even if a previous version of the data is present.

    This is a terrible feature that I wish I could permanently turn off. I have had lots of weird bugs/crashes especially when I rename class private data to the same name as some other field that was previously in it.

    This feature also considerably bloats the .lvclass file size on disk.

    For those not aware, you can remove the mutation history like this

    image.png.8983dbfabdbe0be9d3f2c4ad0d2d450b.png

×
×
  • Create New...

Important Information

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