All Activity
- Today
-
minju joined the community
- Yesterday
-
Nyar1358 joined the community
- Last week
-
N0tL__ joined the community
-
gPic97 joined the community
-
zevvy joined the community
-
Student889 joined the community
-
Jason99 joined the community
-
You do it right yes, but just use the method you used at the bottom. It is more simple and just as "in-place" as the top-method. If the number of rows were huge and you mainly needed to save memory it might make sense to convert and replace one element at a time instead (avoiding a full copy of the column to be converted, which you still have in your two solutions (verified quickly using ArrayMemInfo...)), but that would be a different code.
-
subhasam joined the community
-
nunutv changed their profile photo
-
I have a 2D array and I would like to replace the eleventh column with the lowercase of the fifth column. I understand that it is recommended to use Array Split / Replace Subarrays and my question is, am I using it correctly? And is there any other way? Thanks in advance. Question.vi
- Earlier
-
Yes this could be the same issue. In my case, however, the issue is with SQLite Library (JDP Common Utilities installs normally). Strangely, the reported package URL works in the browser. Only VIPM is not able to download the file. That said, I just tested it again and now it works for version 1.16.0 but not for 1.15.0. Again, there is no issue downloading the file with the reported URL: http://download.ni.com/evaluation/labview/lvtn/vipm/packages/drjdpowell_lib_sqlite_labview/drjdpowell_lib_sqlite_labview-1.15.0.114.vip
-
I think this is teh same issue as this: https://forums.ni.com/t5/JDP-Science-Tools/Cannot-Install-JDP-Science-Common-Utilities/m-p/4418396#M205 The SQLite package requires JDP Common Utilities, and that package seems to have a problem. Workaround is to download it and have VIPM install it directly, rather than try and get it from the Tools Network servers (it's a server issue, not a problem with the package itself). I'll attach it here as well. Try installing this and then retry installing SQLite. jdp_science_lib_common_utilities-1.4.1.18.vip
-
LogMAN started following Unable to download certain packages through VIPM
-
Cross-post: Unable to download certain packages through VIPM - VI Package Manager (VIPM) - VIPM Community Does anyone else have trouble downloading certain packages through VIPM? For example, I'm unable to download SQLite Library 1.16.0 because "VIPM could not download the package ... from the remote server." I checked the error details and was able to locate the package on the server: https://download.ni.com/#evaluation/labview/lvtn/vipm/packages/drjdpowell_lib_sqlite_labview/ I tried different versions of VIPM, including 2019 and 2025.1 (build 2772) with no avail. Other packages do not appear to be affected. Can someone confirm? I'm able to download the package directly from the server with no issues so the problem is with VIPM.
-
LabVIEW 2025 installation on Ubuntu
Bryan replied to Sam Dexter's topic in LabVIEW Community Edition
If I recall, I believe that I made the exact same mistake whenever I tried installing Community Edition on a Linux Distro for the first time. -
LabVIEW 2025 installation on Ubuntu
Sam Dexter replied to Sam Dexter's topic in LabVIEW Community Edition
Thank you guys. Yes, sorry, it works. I just kept trying to install ni-labview-2025-pro while I downloaded the community edition. My bad. -
ZSL started following How to implement fractional decimation with 32SPC?
-
Hello there, I have a problem that I can't solve on my own, and I hope to find the answer here from you. Now, I need to upgrade a product's functionality, which requires using LabVIEW's built-in fractional decimator or interpolator sub-VIs, but they only support a maximum of 16 parallel channels, whereas I need 32 SPC. https://preview.redd.it/how-to-implement-fractional-decimation-with-32spc-v0-32cn8uozfsle1.png?width=1533&format=png&auto=webp&s=fa46059a51b97eb14ab914ad698c8a15d2ed74c8 I have a project called "IP Test" that uses 16 SPC fractional decimator, and it runs on the PXIe-7915. https://preview.redd.it/how-to-implement-fractional-decimation-with-32spc-v0-ucua5z9vgsle1.jpg?width=3024&format=pjpg&auto=webp&s=8460e92df12f5d7588f77d84e41a2e2557360afb Here is the main interface. After running the program and triggering with the decimat.rate, you can see the IQ waveform. https://preview.redd.it/how-to-implement-fractional-decimation-with-32spc-v0-0tw4vjifhsle1.jpg?width=4032&format=pjpg&auto=webp&s=b609d0b6dbf0fe61975a4ab9c09f2230375295c2 In the following FPGA Main.vi program, I set the I channel to a DC value of 0.5 and the Q channel to 0. After passing through the frequency shift module, the output is connected to the data in interface of the 16 (or 😎 SPC fractional decimator. https://preview.redd.it/how-to-implement-fractional-decimation-with-32spc-v0-y1aaxz46jsle1.png?width=1647&format=png&auto=webp&s=b522436e22917b2f89d46869c57708f044119a3d FPGA Main.vi In my understanding, this program sends 16 IQ data points (16 SPC) in parallel to the fractional decimator during each cycle. It can be seen that the frequency shift module supports 32 SPC, but the fractional decimator does not. This is the problem I need to solve. https://preview.redd.it/how-to-implement-fractional-decimation-with-32spc-v0-kwncautwmsle1.jpg?width=4032&format=pjpg&auto=webp&s=f9f716e38a8076846291b4176757c7f74c08ec45 https://preview.redd.it/how-to-implement-fractional-decimation-with-32spc-v0-fn0pnaeblsle1.png?width=1841&format=png&auto=webp&s=683f0970ec9f65f87e0c957771c6b347095a5ee8 frequency shift I’m thinking if I can use two 16 SPC fractional decimators, where in one cycle, the first 16 data points are sent to the first fractional decimator, and the next 16 data points are sent to the second fractional decimator. This way, 32 IQ data points (32 SPC) can be processed in one cycle. However, I’m not sure how to program this, so I hope someone can help me, or if you guys have other ideas. Any help appreciated. Best regards.
-
LogMAN started following LabVIEW 2025 installation on Ubuntu
-
LabVIEW 2025 installation on Ubuntu
LogMAN replied to Sam Dexter's topic in LabVIEW Community Edition
Just installed it on my Ubuntu 22.04 machine, no problem. Did you actually install LabVIEW according to the instructions @Bryan posted? Your logs only show the package feed being added to apt. Make sure to follow the instructions from step 5 onwards. In particular, "sudo apt install ni-labview-2025-community". -
LabVIEW 2025 installation on Ubuntu
Sam Dexter replied to Sam Dexter's topic in LabVIEW Community Edition
Yes, followed it to a letter. There is no natinst in usr/local. -
Vuelos Baratos changed their profile photo
-
LabVIEW 2025 installation on Ubuntu
Bryan replied to Sam Dexter's topic in LabVIEW Community Edition
I'm assuming you've rebooted and everything, correct? Is there anything in /usr/local/natinst? It's possible that it isn't showing up in the window manager menus. I have 2021 community edition installed on Linux Mint 21 and see the "labview" executable (links to "labviewcommunity"): user@linuxmint21:/usr/local/natinst/LabVIEW-2021-64$ ls AppLibs examples labview manuals ProjectTemplates README.txt user.lib www cintools help labviewcommunity menus readme resource vi.lib etc instr.lib linux project README.html templates VIObjCache The newer versions of LabVIEW (pre 2023Q1) install as package feeds according to this page on NI's website. -
Wonder if anyone can tell me where to get an ISO file for Linux LabVIEW and, maybe, give a few pointers on how to install it, exactly. I've tried to download it from the NI website but the "Offline Install" does not work at all and the on-line installer does something that I do not quite understand. After all, I cannot find LabVIEW on my computer. Any suggestions? log.txt update.txt list.txt upgrade.txt
-
Ok, I got it after a whole day of debugging (and crashing): I had a race condition with closing two other important references and if the first one was closed prior to the second one, lv had a hard crash. Which is unfortunate but it means my map construction is working fine. Seems like i made this important chance without noticing it.
-
Hi Volks, i have a problem which arose when I switched within my code from single references to a map containing a key (string) and a value (reference). The reference is pointing to an ActiveX object. Is there any known issue with maps and references? If the code is running earliest the second time but sometimes after a few runs (8 was my max) LV IDE has a hard crash without any error message. I got the feeling that the reference within the map is somehow messed up and the activex call is overwriting program memory. My first tries were hard crashes, another attempt showed at least something like "MEMORY_WORKER.cpp" in an error message (just appeared once). I tried searching the changelog but couldn't find anything. Is there a known issue in LV21? Thank you!
-
Controlling PTZ functionality of an ONIF camera from LABVIEW
ShaunR replied to BTS_detroGuy's topic in Calling External Code
Indeed. It's not a full solution as it doesn't support multiple streams, audio or other encoding types. But if you want to get the audio then you need to add the decoding case (parse is the nomenclature used here) for the audio packets in the read payload case structure. -
ShaunR, To my surprise the PURE LABVIEW solution is working great for reading and logging the video stream. Unfortunately two issues i am facing. 1) The video stream it's saving to Disk is not saving the audio data. However i can play the muted video in VLC player after the file is finalized. 2) I have not been able to parse the 'Data' to extract the video and audio data for live display. I found another solution that uses FFMPEG but it seem to corrupt the first few frames. I will keep trying. I liked the RTSP solution better (compared to VLC DLL based solution) because it provides the TCP connection ID. I am hoping to use it for sending the PTZ commands once i figure out the right ones.
-
LabVIEW Build Array Bug #1: Unexpected Array Growth
hooovahh replied to Joel Foster's topic in LabVIEW Bugs
I think everything in here is the expected behavior. As Crossrulz said an array can be empty, if one of the dimensions are zero, but other dimensions aren't. Yes this can cause things like a FOR loop to execute with an empty array. Lets say I have some loop talking to N serial devices. Each device will generate an array of values. So if I index those values coming out of the loop, it will create a 2D array. Now lets say I want to close my N serial devices. A programmer may ask how many devices are there? Well you can look at the number of Rows in that 2D array and it will be the number of devices that were used earlier. We might run that 2D array from earlier into a FOR loop and close each of them. But what if each of the N serial devices returned an empty array? Now if arrays worked like you expected, then the 2D array is empty and the loop should run zero times. But LabVIEW knows the 2D array has N rows, and 0 columns. So it can run the loop N times. This isn't the exact scenario, but something like this is a reason why you might want your 2D array to be empty, but have a non zero number of rows. You want it to run some other loop on the rows, even if the columns are empty. -
LabVIEW Build Array Bug #1: Unexpected Array Growth
Joel Foster replied to Joel Foster's topic in LabVIEW Bugs
I see. I didn't take enough time to understand your final point. It appears that the output array is populated based on the non-zero rank elements in the array size. However, why is the array *growing* under the hood? This is what is really causing me grief...I expect the rank to grow, just not the size of the underlying array. I would naively expect the number of elements in each dimension to remain zero unless explicitly populated. -
LabVIEW Build Array Bug #1: Unexpected Array Growth
Joel Foster replied to Joel Foster's topic in LabVIEW Bugs
Additionally, I would argue that the Array Size function should return an element for each rank of the array, but for an empty array, these should all be zero...as they are for the Concatenate example. -
LabVIEW Build Array Bug #1: Unexpected Array Growth
Joel Foster replied to Joel Foster's topic in LabVIEW Bugs
Case 1: Concatenate Build - works as expected (output is always empty) Case 2: Append Build - works as expected (output is always empty) Case 3: Build Array - unexpected output, non-empty output array The change in size that you pointed out @crossrulz helped me understand why the For Loop was executing under these circumstances (I think)--Thank you; that was really bothering me--but I still don't understand why building an empty array after transposing results in a non-empty array--I can chain build-array functions all day without getting this behavior. Thanks, Joel -
LabVIEW Build Array Bug #1: Unexpected Array Growth
dadreamer replied to Joel Foster's topic in LabVIEW Bugs
I remember I even had an idea, that would make it easier to track such situations: Add Array Size(s) Indicator. In design time it would cost almost nothing. Although I admit, its use cases are quite rare. -
LabVIEW Build Array Bug #1: Unexpected Array Growth
crossrulz replied to Joel Foster's topic in LabVIEW Bugs
If you look at the actual array sizes, things will make a lot more sense. 1. The Build Array will add the number of expanded elements to the first dimension. The array size after the first Build Array is (2,0), which is still an empty array. 2. The Transpose Array will swap the array sizes. The array size after the Transpose Array is (0,2), which is still an empty array. 3. Again, the Build Array will add the number of expanded elements to the first dimension. In this case, it will add 1 to the first dimension, resulting in the array size being (1,2), which is no longer an empty array.