All Activity
- Past hour
- Today
-
srjeon joined the community
-
I’m working on a LabVIEW application that retrieves measurement logs from Firebase. The Firebase API returns data as a nested JSON object where each entry has an auto-generated key. Each entry contains fields such as DATE, TIME, RESULT, TEMP, etc. My goal is to parse this JSON into a 2D string array so that each Firebase record becomes one row in a LabVIEW table indicator. I’m using the JSONtext library, but I’m having difficulty iterating through the nested keys and reliably building each row. My main issues so far: The top-level object contains dynamic child names (-Obew83hY0lgN7ac7JK0, -ObewEcv8G0LtSRTx92G, etc.), so I cannot index them directly. When I extract values using Get JSON Object Keys + Unflatten from JSON, the order of keys is not guaranteed, so my 2D table rows become misaligned. Attempts to build rows inside a loop give me only a 1D array unless I carefully manage the auto-indexing tunnels. Here is a minimal reproducible example of the Firebase response:Has anyone done this before or can provide an example of how to reliably transform Firebase JSON data into a LabVIEW table? {"data": { "-Obew83hY0lgN7ac7JK0":{"DATE":"20251015","RESULT":"NG","TEMP":"20.2\\r\\n","TEMP_MAX":0,"TEMP_MIN":0,"TIME":"21:54:09 "}, "-ObewEcv8G0LtSRTx92G":{"DATE":"20251015","RESULT":"OK","TEMP":"","TEMP_MAX":0,"TEMP_MIN":0,"TIME":"21:54:29 "}, "-OeUEMm0u55cSRyy4OhH":{"DATE":"20251119","RESULT":"OK","TEMP":"","TEMP_MAX":0,"TEMP_MIN":0,"TIME":"21:09:57 "}, "-OeUEO-CYBUUw_gtiab9":{"DATE":"20251119","RESULT":"OK","TEMP":"","TEMP_MAX":0,"TEMP_MIN":0,"TIME":"21:10:02 "} }}
-
hwkim418 joined the community
- Yesterday
-
MCListbox >> It seem that the row still exist when the cell heigh is zero
Mads replied to Kiven Jia's topic in User Interface
Generate a worst case list and update it at the (truly) necessary rate, with panel updates deferred while you are doing your required changes (if more than one property change is needed). If it runs fine, you saved yourself a premature optimization...If it does not look good, reevaluate if the update rate and list size is really required... -
asddj_j joined the community
-
Hi Team, I'm trying to hide a line of text by setting its height to 0, but when I do, the text is still visible on the control. Is there a better way to solve this problem? The reason I don't want to update the item Names is that I think it might be inefficient. Thanks and looking forward to your best practices.
-
perceptron joined the community
- Last week
-
tianshzgy4286 joined the community
-
carl8965 joined the community
-
NidonkOA joined the community
-
Andy_0123 joined the community
-
lbc898 started following TLB - Top-Level Baseline
-
robinqjx joined the community
-
hooovahh started following need help for calling xnode:message
-
I've never done something like that before, but maybe seeing some code would help. I suspect you are in the wrong application context, and some how getting access to the XNode but in the running instance, instead of the editing VI. XNodes are only updated in the edit time environment.
-
I need to refresh all xnode calls within a specified range. I plan to traverse the xnodes, obtain their references, convert them to xnode references, and then call the message method interface. However, the execution throws an error code 1073, stating that the message invoke node can only be used in edit mode. So how exactly should I send a message to a specific xnode ?
-
msn joined the community
- Earlier
-
Steganography Version 1.0.0 is now released. Enjoy.
-
Cannot make 10Gige Camera perform more than 1Gige
Thang Nguyen replied to Thang Nguyen's topic in Machine Vision and Imaging
I figured out the issue. I need to set the packet size at acquisition attribute of IMAX. The default value is 1040. It need to set to 8000. -
smiga started following Cannot make 10Gige Camera perform more than 1Gige
-
Hexium (Austin, TX) is hiring an Electrical & Controls Engineer with strong LabVIEW/NI experience. You’ll design and automate R&D test systems for hardware involving lasers, plasma physics, vacuum equipment, power electronics, and precision diagnostics. Work includes: LabVIEW (DAQmx, Real-Time preferred) NI PXI / CompactDAQ / cRIO Instrument control (VISA/GPIB/SCPI/serial) Building and wiring test stands Integrating sensors, power supplies, optics, RF, and high-voltage modules Automating measurements and safety interlocks If your background is LabVIEW test engineering, NI hardware, or instrumentation automation, this role fits squarely in your wheelhouse; apply today: https://job-boards.greenhouse.io/hexium/jobs/4055267009
-
As Shaun mentioned, it is preferred to use a secure connection. The link you provided above has API documentation that includes a certificate that you can use: Authorization | HomeWizard Energy API Documentation
-
Thank you. Setting verify server to false did it. Why Home wizard made there API V2 this way, is not to me. There API version 1 was not HTTPS, but they made new version 2 with HTTPS. Anyhow if you want to read my electricity meter you need a token first, what is send by the Home wizard P1 meter device after pressing the button on the HW P1 device. See https://api-documentation.homewizard.com/docs/getting-started P1 meter labview.vi
-
After discussing with NI engineer, I found out LabVIEW can only support 10Gige Camera. So we bought device and set it up. The system include IDS GV-79L0WP-M and Broadcom NetXtreame 10Gige card. The problem we have is the NI MAX cannot acquire more than 1Gbps data speed. I checked all setup like jumbo packet, speed. But any time the speed increase, the network reach 100% and disconnect. I wonder if you have any advice on how to solve this problem. Thank you in advance!
-
Should never do this. Anyone can sit between you and the server and decode all your traffic. The proper way is to add the certificate (public key) to a trusted list after manually verifying and checking it. What's the point of using HTTPS if you are going to ignore the security?
-
You can get some of the way like that but there are a couple of bits per byte that have to be concatenated. So at some stage you have to convert to bits. The speed of the encoding for-loops with shift was a surprise to me though. Yup. It was purely for relative performances and will not be included in the release proper. For this sort of thing I would rather deal with relative performance (removes differences between systems that they are bench-marked on). The in-built Performance>Profile Performance and Memory is better for identifying which individual components contribute what; so I would use that if someone found a better solution.
-
--insecure is a curl argument. You don't need to include that in the headers. You can do the equivalent of --insecure by setting verify server to False when creating the HTTP session.
-
I had a brief look at the code when you first posted it and thought perhaps it could benefit by working more on U8 arrays directly instead of the boolean arrays, but sticking to U8 all the way would not be practical either, so after some minor test runs I left that trail... PS: One thing I did find was that the imgs folder is placed incorrectly in relation to the Example, making the default path to image incorrect. 🕵️♂️ The benchmark code, if it is going to be included in the release, might also look more logical if it was timing the individual steganography sub-components but with the contribution from other functions currently so small (relative to the current encode/decode functions at least) it has not much to say in practice.
-
I followed the https://forums.ni.com/t5/LabVIEW/Not-able-to-connect-to-a-web-server/m-p/4057121/highlight/true#M1164115 example and made my changes My vi always gives error: LabVIEW: (Hex 0x58BF3) LabVIEW could not verify the authenticity of the server. I have no idee if the --insecure option is at the right place. P1 meter labview.vi
-
You can add the Header to your session handle prior to making the endpoint query. An example can be found here: Re: Not able to connect to a web server - NI Community
-
I don't do Discord. I don't even do Ni.com. Feedback isn't really necessary. I only knocked it up because I went down a rabbit hole and wasn't impressed with the existing LabVIEW solutions. I thought I'd throw it in here to see if someone could improve it. My solution is optimised but there may have been a better alternative solution or maybe someone had a nice JPEG one (LSB doesn't survive JPEG compression). You might get a mention in the readme just for responding
-
You might have more success posting this on the Discord. Most of the conversations happen there these days.
-
Nothing? No improvements. No bugs? Not even the superfluous length parameter or the example images in the wrong location? I'll give it one more week then release the version 1.0.0
-
Darren started following Windows 11 Audio Drivers
-
I don't know what drivers are used under the hood, but I've recently used G-Audio to interface to the mic/speakers for a LabVIEW application I was working on.
- 1 reply
-
- 1
-
-
Sort (search) Array of cluster by one cluster element
Ajayvignesh replied to Bobillier's topic in LabVIEW General
Thanks for reminding me @dadreamer Malleable VI's are out of my sight for a while.
