Jump to content

crossrulz

Members
  • Posts

    533
  • Joined

  • Last visited

  • Days Won

    21

Posts posted by crossrulz

  1. 23 minutes ago, Neil Pate said:

    Yes I know. But this is LabVIEW which does not have null terminated strings. That is what makes this strange. 

    Yeah, but you are talking about pasting into other applications.  How are they interfacing with the clipboard?  We have no control over that.  You will see this same issue if you try to interact with a DLL that uses C-style strings (data will be cut off at the NULL character).

    I should also state that the NULL is copied over if you paste into another LabVIEW string control (yes, I just tested it).

  2. 11 hours ago, ShaunR said:

    I wouldn't put 99.999% of any code written today on a satellite-and that includes my own.

    Go back 20 years and I would swear by any code that was written would have zero bugs otherwise it would not have been published.

    The reliance today on "updates" and "beta" versions  is a detriment to all software. It's like psychologists creating models of human behaviour  and expecting it to model real life...with updates.

    Call me cynical but I think software robustness is a far-cry from what it used to be. But that's progress, right? 

    Code is also orders of magnitude more complicated now than back then due to more computational power being available and therefore more features are possible.  More code just increases the probability of bugs.

     

    About 15 years ago, I was peripherally involved on testing code for a $50k FPGA in a satellite.  The amount of testing that code went through was absolutely insane, including days of just Reed-Solomon test cases.

  3. 3 hours ago, pawhan11 said:

    - No significant new features and roadmaps, unknown future of the language. They killed NXG and announced it on forum post!...  Hope this new NI Conect will change my mind.

    What do you mean "no significant new features"?  2017: Malleable VIs, 2019: Maps and Sets, 2020: Interfaces

    I'll give you the rest though.  I have about as much hope in NI Connect as I did during NI's marketing event last year.  And NI's communication lately has been lacking at best.

    • Like 1
  4. Quote
    4 hours ago, Jordan Kuehn said:

    Yes. 
     

    edit// my apologies. I’m realizing now that I was combining that excellent event with the CLA event in my mind. Perhaps it could happen again in parallel?

     

    I think you are referring to the GLA Summit that happened in November.  VIWeek was in May.  Yes, everything changed last year...

  5. 1 hour ago, Jordan Kuehn said:

    Hmm. Well the stuff that made last year’s great was it was largely community driven with some NI involvement and almost no fluff or upward trending graphs without axis labels/scales...

    I'm left to assume you are referring to VI Week, which was put together in a week or two, completely by the community.

    • Like 2
  6. What I typically do in this situation is use a QMH that manages the hardware.  The control loop can send a message to the device loop using a queue.  The device loop then does whatever needs done and sends a reply back to the control loop.  If no messages are coming in (the queue has a time out), then the device loop can collect data.  What this does is isolate the device to a single loop and only it needs the object.

    The alternative is to use a Data Value Reference (DVR) to store the object.  The In Place Element Structure that acts as the boundary so two operations cannot happen at the same time.

  7. I always stored my SVN repositories on a network drive that was constantly being backed up (I think most IT setups do it nightly).  The issue with SVN is that you cannot do any commits or reversions if you cannot access the repository.  So if you don't have access to the server, SVN won't do much.  That is one of the good things with GIT: you have the remote and the local repository.  You can commit and revert locally all you want and then eventually push your updates to the remote repository when you can.

  8. I used to use Tortoise SVN.  It was extremely simple to use as it was right from Windows Explorer.  Due to company requirements, I have moved over to GitHub (enterprise server) with SourceTree as the interface.

    Both work well for me.  The only real problems when it comes to SCC and LabVIEW is when you have to merge.  If you avoid merging, you will rarely have issues.  Text languages also have issues when it comes to merging, it is just easier to manage text files than binary files.  I have yet to run into any other issues due to the SCC screwing up.

  9. At this point, I would probably go a slightly different route.  You could get an Arduino or Raspberry and program them to do the I2C communications for you.  In the RT system, you can just communicate the data through a serial port.  Another option I have been tempted to go with is to use a SC18IM700IPW, which is a I2C-UART chip.  Again, you just have to use a serial port to talk to it.  But this would be more hardware design than the other option.

    • Like 1
  10. LabVIEW Community Edition (NI has strictly stated we should not call it "CE") is a full release.  It is nowhere close to a beta nor a replacement for a beta.  That said, I still have not heard anything on the upcoming beta.  I will have to see if I can get a hold of somebody about this.

  11. 1 hour ago, Antoine Chalons said:

    Would it be possible to add support for maps / sets - as if they were arrays - ?

    I can really remember if they were added in LV 17 or 18 or 19....

    Sets and Maps were added in 2019.  But just to throw a wrench into your dreams, you can get some interesting combinations when it comes to sets and maps.  You could have a set of maps.  You could have a map with a set for a key.  I'm just saying, you would have to plan this out very carefully.

  12. 12 minutes ago, hooovahh said:

    It was but does give us some character development.  Showing the exhaustion on his face, and surrounded by dozens of people that might attack.  He kinda is like, nah I'm done I got other things to do.

    But  the real story:  Harrison Ford was sick and so the director just off-the-cuff said to just shoot the guy.  A big sword fight was originally planned, but instead we got one of the most iconic movie moments.

    • Like 1
×
×
  • Create New...

Important Information

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