-
Posts
908 -
Joined
-
Last visited
-
Days Won
53
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by Phillip Brooks
-
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 š¤¢
-
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.
-
I can CREATE a snippet, I just can't USE a snippet
Phillip Brooks replied to Phillip Brooks's topic in LAVA Lounge
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 -
I can CREATE a snippet, I just can't USE a snippet
Phillip Brooks replied to Phillip Brooks's topic in LAVA Lounge
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. -
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
-
-
<EOM>
- 1 reply
-
- 3
-
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
-
Do LLMs edit their posts to appear more human? š¤
-
-
Issues building applications in LabVIEW 2023 Q3
Phillip Brooks replied to Mads's topic in Development Environment (IDE)
You can also tell that my posts are not AI because I keep editing them š -
Issues building applications in LabVIEW 2023 Q3
Phillip Brooks replied to Mads's topic in Development Environment (IDE)
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. -
-
Can I ride the LV/TS train to retirement?
Phillip Brooks replied to Phillip Brooks's topic in LAVA Lounge
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... -
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?
-
My new motto No more comments in my LabVIEW code. No icon customization. All VIs named 'untitled<n>.vi'
-
TCP/IP communication using Labview
Phillip Brooks replied to dipanwita's topic in Remote Control, Monitoring and the Internet
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... -
-
Python Node doesn't tolerate warnings (LabVIEW 2021 SP1)
Phillip Brooks replied to X___'s topic in LabVIEW Bugs
I agree. The Python Node seems to promote the 'warning code' to an 'error code', even after executing the Python function name successfully. š¤ -
Python Node doesn't tolerate warnings (LabVIEW 2021 SP1)
Phillip Brooks replied to X___'s topic in LabVIEW Bugs
Same behavior in LabVIEW 2020 as well. -
Passing a reference via case structure cases
Phillip Brooks replied to bna08's topic in LabVIEW General
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 š -
Open an html file with google chrome under NI Linux
Phillip Brooks replied to CIPLEO's topic in LabVIEW General
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' -
10Gb Ethernet
Phillip Brooks replied to infinitenothing's topic in Remote Control, Monitoring and the Internet
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 -
I am taking a sabbatical from LabVIEW and NI R&D
Phillip Brooks replied to Aristos Queue's topic in LAVA Lounge
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