Jump to content

Phillip Brooks

Members
  • Posts

    908
  • Joined

  • Last visited

  • Days Won

    53

Everything posted by Phillip Brooks

  1. My colleagues drank the cool-aid and did most of the things you reccommend against. There is one other person who also supports LabVIEW but mostly stand-alone 'experimental' setups with NI DAQ hardware that doesn't integrate with Python. Their one page instruction sheet is mostly about setup, not how to use the workflow other than "rebase, sqaush and create a PR". Also an encyclopedia of screenshots for configuring PyCharm settings šŸ¤·ā€ā™€ļø I guess I just need to learn to drink cool-aid šŸ¤¢
  2. My development environment is fractured. All my LabVIEW code is in SVN. I need to use git to manage the Python modules that are called from LabVIEW. My group had a pretty simple process and I squeaked by. Now the modules are in a repository where all sorts of black/flake8 and pull request activity are making me crazy. I'm spending way too much time googling "how to" with git and end up breaking or losing my Python changes. Everyone tells me "Its easy if I use PyCharm" but now I just end up googling "how to git in PyCharm" instead (with worse results). My git expertise is almost zero and I use git from the command line under Windows.
  3. I remember something about a snippet storing the vi infon using image metadata and that hosts/portals often will strip image metadata because it is a vector for inserting viruses. LAVA seems to strip the metadata
  4. So I followed the link, and noticed that the snippet image includes a small icon when I hover over it. Click on that and I get a pop-up of just the image I can drag/drop that on my block diagram! Some snippets must be older and not work directly. If you go to here: https://forums.ni.com/t5/LabVIEW/How-can-I-get-a-UTC-timestamp/m-p/4061558/highlight/true#M1165825 and drag/drop the 2019 snippet, it works directly. If you try to use the image below that (2016) it just gives you the link. If you click on the image (not the pop-out) you get what looks like the pop-out but can't drag/drop that. Use the pop-out arrow of the 2016 snippet and you can drag/drop that. I imagine there is an NI thread somewhere that documents this, but at thins point I feel like I'm debugging a Python module compatability problem.
  5. Haven't used snippets in a while but tried to import something today. The link below explains how to allow me to drag/drop. Unfortunately my company uses named user licensing and when I start LV as my admin user, I can't get a license. Oof... https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000001DqWxCAK&l=en-US
  6. Create a cluster prototype of the data and use the 'From JSON Text' function.
  7. You seem to be using the JSON API Library from the LAVA group. This forum is for the JSONtext library by JDP Science. To answer your question, the pretty JSON function you used internally stores the item names in a variant attribute. When the function calls Get Variant Attribute, an array of keys is returned with the names sorted. LabVIEW does this, not the writers of the libary. https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/functions/get-variant-attribute.html
  8. Do LLMs edit their posts to appear more human? šŸ¤–
  9. You can also tell that my posts are not AI because I keep editing them šŸ˜…
  10. So a Google search shows this phrase on numerous pages at the top and bottom of the body text. Is this maybe some sort of tag or something to indicate that a third party is creating the new content (outsourcing of site maintenance?) Maybe some sort of a disclaimer that the data may not be accurate or complete; or maybe based on AI generated pages using pull request comments or requirements docs? I'm thinking AI because there is so much talk in general about identifying anything created by it.
  11. I've generally stayed at employers for 5-10 years. I don't chase the money or aspire to a management position; I look for positions where I can be a problem solver and be close to the product. I've now scrapped the third project where I'm working now where business an design plans (or failure to) have tossed my efforts in the trash bin. I'm now relegated to creating documentation for other people's unfinished work to send outside for manufacture. I can limp along, but I'm unhappy arriving at work every day and I'm not sure how long I can continue. Maybe I should open up a bicycle shop in the islands and drink from a coconut...
  12. I'm looking at 7-10 years before optimal retirement, barring any health issues. I currently support/maintain LabVIEW / TestStand solutions created by Contract Manufacturers. These are being slowly replaced by ODMs developing their own test solutions. Is there enough demand out in the world for someone like me to make it to retirement, or do I need to learn to test inside the world of Python / GRPC / Go? I don't mind learning new things, but the sheer size and complexity of the systems I see are depressing. Everyone seems to have thier specific editor, build envoronment, source control, format checker and Jira implementation that creates Docker containers that need signing to install on the product to run. WTF? A senior software engineer who doesn't understand LV/TS asked me to document how to deploy my solution and dismissed it because It doesn't create WHLs or get tested with approved checkers like black or flake8. Do I learn to work in their world, or follow in the footsteps of Cobol and Fortran programmers and ride LV/TS into the sunset?
  13. My new motto No more comments in my LabVIEW code. No icon customization. All VIs named 'untitled<n>.vi'
  14. I'm guessing that you are new to LabVIEW. It appears that you found your driver on the NI site (http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E962513CF06C2315E0440021287E6E02) and followed this link: You probably installed the driver, but then skipped down to the bottom and followed the link on how to use Ethernet to control your instrument. Those instructions are for the case where the instrument driver doesn't exist or failed to download. You missed the part in the middle (step 7) to look for and USE the driver. The driver I found looks very clean and should work as a starting point for you. You will need to learn the basics of LabVIEW. I would suggest that you start on the NI site for new user help. NI has dedicated resources to support new users. LAVA is a LabVIEW related site, but the name stands for LabVIEW Advanced Virtual Architects. Beginning questions are not likely to receive much help...
  15. "Iā€™m as mad as hell and Iā€™m not gonna take this anymore!"
  16. I agree. The Python Node seems to promote the 'warning code' to an 'error code', even after executing the Python function name successfully. šŸ¤”
  17. I use it everywhere. This is one of the things many LabVIEW programmers I've met have never encountered. They ask me "what the f&ck is that little thing?" and after I explain it to them it shows up in all their code šŸ™‚
  18. Just a guess, but it could be the shell that LabVIEW starts does not have the BROWSER environment variable set. https://superuser.com/questions/1524059/how-to-set-default-variable-for-a-single-command-with-env-variables Add BROWSER='chromium' to your system exec command line string: BROWSER='chromium' xdg-open 'https://startpage.com'
  19. Are you using the parallel streams option in iperf3? This will help saturate the link. https://documentation.meraki.com/General_Administration/Tools_and_Troubleshooting/Troubleshooting_Client_Speed_using_iPerf#Parallel_Streams_2
  20. I tried a few years ago to participate on Stackoverflow re: LabVIEW questions, but there was little or no ability to include graphics/images. Whenever I did (using off-site links etc...) moderators who knew nothing about LabVIEW would delete links or downvote my answer to oblivion stating I wasn't following the guidelines. I called them out and told them that they needed to understand the language and I got emails and messages threatening to delete or limit my account. I just stopped participating. Not a friendly environment; but I do find lots of solutions to my Python problems there
×
×
  • Create New...

Important Information

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