Jump to content

crossrulz

Members
  • Posts

    541
  • Joined

  • Last visited

  • Days Won

    23

Everything posted by crossrulz

  1. So what I am gathering here is that the Assert Floating-Point Numeric Type.vim does not work with units. Otherwise, it does look like the timestamp case for the Scaler To String.vim is the first one that would work with a numeric, even with units (just feeds into a Format Into String). I'm so glad I gave up on using units ~13 years ago... EDIT: Daren posted right when I was about to hit "Submit".
  2. Crosspost on the dark side: https://forums.ni.com/t5/LabVIEW/How-to-solve-this-kindly-help/m-p/4004765#M1144354
  3. When not doing TestStand, I tend to use something similar to a Queued Message Handler. Possible commands to a module/actor are the public interfaces in a library while the queue/event/etc are stored in a private Action Engine.
  4. So you just want the missing elements?
  5. You get that with any error. What I found is I had to make sure the installer was "Run As Administrator".
  6. That's too complicated. Just wire the 3 to the Length and leave the Index unwired. Delete From Array will default to deleting from the end.
  7. You are mixing definitions of "Hex String". It appears you need a raw/binary/flat data string. So replace the Number To Hexidecimal String with a Flatten Into String. The Number To Hex String converts into an ASCII text, which you do not want. Further, since you only want 4 hex character (ie 2 bytes), you need to add a U16 conversion bullet after the multiplication.
  8. There also appears to be A LOT of interaction between things. If I disable the Value Property Node, the User Event gets into the same realm as the Notifier and Queue. Removing the channels makes it even more the similar. Maybe the Queue Status in every single VI is doing something?
  9. You will likely need a write (to request the data) and a read (to get the data) for each slave.
  10. State Machines are your friends here. You can easily make a state for each of your steps. You can maintain your state list with a queue or you can have a good study of the JKI State Machine.
  11. 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.
  12. 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.
  13. I downloaded the DS disks last week and the speeds seemed good to me, considering the corporate IT mess I have to get through.
  14. 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.
  15. Yes, I still heavily use ini files. Admittedly, I am starting to transition my code to use XML.
  16. Here are your VIs saved in 2015. 2015.zip
  17. 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.
  18. 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.
  19. 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.
  20. 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.
  21. 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.
  22. 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).
  23. You could probably get away with a simple Arduino or Raspberry Pi or even an office level PC.
  24. 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.
×
×
  • Create New...

Important Information

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