Jump to content

crossrulz

Members
  • Posts

    530
  • Joined

  • Last visited

  • Days Won

    21

Everything posted by crossrulz

  1. I did have word that NI was working on something for SSH in LabVIEW 2019. I have not seen anything mention of it in the beta forum (have not gotten it installed yet), so it probably got delayed.
  2. Scripting is a work in progress last I heard. OO is now a feature and NI is working on Traits. I think llbs are gone. lvlib I think got transformed into something else. I do not know of any replacement currently available for the PPLs. Benefits? "Programming Optional"! For me, I will consider NXG when packages (ie PPL replacement) are more fleshed out. Otherwise, I think all of the features I would need in my current position are implemented.
  3. I downloaded the DS disks last week and the speeds seemed good to me, considering the corporate IT mess I have to get through.
  4. 1. Help->Find Examples. Do a search for XML 2. Go look at packages in VIPM. NI has a Simple XML library that I used to figure some things out. Then JKI and MGI have their own XML packages you can have a look at.
  5. Yes, I still heavily use ini files. Admittedly, I am starting to transition my code to use XML.
  6. Here are your VIs saved in 2015. 2015.zip
  7. Right-click on the timer indicator and choose Display Format. Choose the Relative Time type and then the HH:MM:SS radio button. The indicator will now show your hours, minutes, and seconds.
  8. I still maintain that using parallel loops is greatly beneficial to you here. But if you insist on LVOOP, you should have a nice long look at the Actor Framework.
  9. I can't say I support the use of the Write DVR Value. The point of using a DVR is to protect critical sections of code (ie avoid race conditions). If you are just randomly writing a value to a DVR without doing the Read-Modify-Write protection, you might as well use a Global Variable and get better performance.
  10. You might want to monitor the communications with something like Wire Shark. You might find the instrument sent a command code and is waiting for you to confirm it.
  11. As long as you don't need the command codes, just look to the TCP Client and TCP Server examples already built into LabVIEW. Telnet only gets complicated (at all) when the command codes are used.
  12. I would stick with 32-bit. I have yet to see a reason to go 64-bit unless you are doing massive amounts of memory intensive processing (Vision immediately comes to mind).
  13. You could probably get away with a simple Arduino or Raspberry Pi or even an office level PC.
  14. My only TestStand roadblock so far (and has not been nearly as big of one as I expected) is the deployment license cost. Though, put that cost against a VST and it is a small drop in the bucket. (The VST is literally half of the cost of my current project's entire test rack.) As far as going away from TestStand, I have ran into a couple situations where I was told to use TestStand and I convinced the customer/management that the project really just needed a decent State Machine with a few other loops for logging and instrumentation. Sorry, no real ammo coming from me. But I am very curious about other people's reasons.
  15. Or for those looking for the Developer Suite: http://search.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/en/pg/1/sn/n1:2018_Spring,n8:142,ssnav:pdl/
  16. Sounds more like you need a NOT, not an OR. And what's wrong with using logic gates?
  17. DVRs were introduced in 2009. I skipped from 8.6 to 2011, but I do remember having tons of issues with 2009. But we all know that the best "must have" feature of any LabVIEW version was the new icons that showed the version starting with 2014! Other notables: Vivado compiler for LabVIEW FPGA (2014), Channels (2016), Malleable VIs (2017).
  18. Duplicate thread: ASCII into Hex
  19. Do as ensegre shows or just use a normal string constant and set the display style to "Hex". Then type in those hex values. I also highly recommend you set the Visible Items->Display Style to make it more obvious that you are looking at the hex values and not ASCII characters.
  20. How are we supposed to know? You still have not told us what you expect as an output with a specific input. As far as what is different between the two pieces of code you have there, you need to wire up an I32 constant to the top of the Type Cast, not a string. It will adapt.
  21. You need to be A LOT more specific. I have seen at least 5 different definitions of "hex". Do you have an example of your data coming in and what you expect out? Doing this with a VI whose controls and indicators have set default values is by far the best way.
  22. If you want to use Conditional Terminals, I would do something like this.
  23. I have been using the default with a few additional abstractions I wrote. And, yes, that does have a DLL call in the end, so won't work with RT. All of my applications lately are on PC, so no issues there. If going RT, I would look into the JKI XML and the GXML libraries. From my quick looking, those are completely written in LabVIEW.
  24. I am using the DOM parsing, especially since I need to interface with other places that generate XML and my structure can change based on several factors. So it is easier to maintain the 1 library. I do want to find some time to investigate the JKI XML toolkit to see if it will simplify some things, but I am swamped through at least July.
  25. I have been using ini files for all of my applications. But I recently ran into needing of a hierarchy for a few of my settings. So I am transitioning to XML. I am currently in the in-between stage of using both an ini and a XML file for my settings (a lot of libraries to update to change to full XML, but no time to do it). I have been using XML Notepad for editing my XML files, making them super easy to make. Ultra Edit also has some nice features to edit XML files, most notable for me has been the column editing. SQLite might be a bit overkill because I want to be able to update settings with a text editor. Otherwise, I would need to create a database editor for each and every application. That would not be good for my plugins. I am sure there are ways, but probably more complicated than it is worth.
×
×
  • Create New...

Important Information

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