Quantcast
Channel: LabVIEW topics
Viewing all 66985 articles
Browse latest View live

can't run the exe

$
0
0

Hello everybody,

I am using the LabVIEW Professional Development System 2024 Q1 (32-bit) on a Windows 10 PC.
I received a project as a ZIP file from another developer, which was originally created in LabVIEW 2011.

I was able to successfully open and run the project in the development environment.
However, the issue occurs after creating the executable file (exe).
Even though I can start the exe on the same machine where LabVIEW is installed, a broken arrow appears, and the following error message is displayed:

"The VI is not executable. To fix this error, the LabVIEW Full Development System is required."

I have already tried the suggested solution provided in the following link, but it did not resolve the issue:

 

I debugged the exe and found that all used static VIs are not correctly linked (see screenshoot).

 

Could you please assist me with this issue?

 

 


vi.lib not found

$
0
0

Hi all,

 

I'm facing some issue with the RTwatchdog library, the topic is that when I started a project I used to use Labview 2015 SP1 with the addons for FPGA and Real time without any problem, all the code I had worked properly and there wasn't missed dependencies.

 

Last week I installed a new version of Labview (Labview 2024 Q3) with the same addons I used to use in my previous installation with the aim of having both installations completely functionals, but it seems that something has happened with the older one because is not longer works.

Now I'm not able to find C:\Program Files (x86)\National Instruments\LabVIEW 2015\Targets\NI\RT\vi.lib\RTwatchdog.llb neither Watchdog expiration actions.ctl

OscarColBar_0-1741268961794.png

 

 

Are both Labview versions compatible, I mean, is it possible to have them installed together in a computer?

Thorlab Long travel stage

$
0
0

Hi everyone,

I am using travel stage. I got an erorr (in photo), although I have done all the same step with manual. 

Interestingly if I open Kinesis labview examples projent and then my vi it works. But if I open the same file without examples project I get an error.

What do you think is the problem here?

 

Thank you in advance 

cRIO-9047 Error-201003

$
0
0

I have a cRIO-9047 that has been operating without issues for a year, but yesterday, all DAQmx Create Virtual Channel VIs reported a -201003 error. Additionally, MAX lists all the modules in the remote system as having a status code of 88705. If a module is removed, MAX indicates that it is not present, and when it's reinstalled, the module is shown as present. Any information regarding this problem would be helpful.

Basler camera

$
0
0

Hi everyone,

I have attached my code here which works fine, vision acqusition and imaqe out works perfect. I am able to record a video by pressing start recording button.

The thing is after running a the vi, it opens a avi and when I press record it writes a video. But if during the running vi, I stop the recording and change the name of path file to create a new video. It is not able to do that. It will overwrite to the first one.

Additionally, I want to get date and time automtically on the name of saved video. Is it possible? 

Thanks in advance

Is it possible to upload a LabVIEW code (VI) to an Arduino Uno and run it without a PC connection?

$
0
0

Hi everyone,
I’m wondering if there's a way to upload a LabVIEW code (VI) to an Arduino Uno and have it execute independently, without needing a constant connection to a PC after uploading. I want the code to run autonomously once it's loaded onto the Arduino. Is this feasible? If so, what tools or methods should I use? Any advice or resources would be greatly appreciated!

Thank you!

Bug with Unresponsive Popup SubVi

$
0
0

Hello,

I have long been contending with a bug with dynamically opened subvi windows not being responsive when opened 3 times (first two times are fine).
I attach a simple example demonstrating this bug, where "popUp.vi", when run, can dynamically open the SubVI by clicking on "Open Pop-Up":

Gryffin_0-1741278267817.png

Gryffin_4-1741278392205.png

 

The SubVI (popUp2.vi) is simply a button you press to close it:

Gryffin_2-1741278362137.png

Gryffin_3-1741278377565.png

The third time you go to press the "Continue With Bug Demo" button, it will be unresponsive.

 

Any explanation as to why this is occurring would be greatly appreciated. I have managed to get other dynamically opened subVIs to work without freezing up, I'm not sure why this one is.

 

 

Only getting one significant figure on my excel file

$
0
0

I'm trying to create a program that exports the data from two pressure transducers and a thermocouple into a labeled excel file with headers and it currently does this but it doesnt export the decimal points of pressure or temperature. how do i change this?

FordClark_0-1741290772466.png

Back Panel

 

FordClark_1-1741290845735.png

Excel File


Going down in the DQMH hole

$
0
0

Hi everyone!

As I design new applications in my job, I'm going to jump into DQMH. I saw lots of things about it, firstly because it is, for me at least, the natural evolution from QMH, which I'm a fervent user.

I was wondering, how did you make that change to DQMH? I'm currently looking at that rabbit hole, and it seems maybe a bit to much of a change in one move. I wonder if there is a middle between those two to not going fully into DQMH yet. I looked a lot into user events and project libraries, but if I do that, I think I should go DQMH directly to not waste any time in my project.

Also, is there an example project to create a DQMH from scratch? I can't seem to find one right now...

Thank you for your insights !

Omega Pressure Transducer Signals in Labview using myRIO

$
0
0

Hi, I need help or advice reading the current signals from pressure transducer (4-20 mA, 0-2500psi). 

 

I know myrio could not directly read current so I used 250ohms resistor to convert it to voltage. Before connecting it to myrio, I verified the voltage and current using multimeter and gave me about 0.999V and around 4mA. However, when I code it in LabVIEW, the signals are fluctuating and giving me below 4mA. I don't know the best method to filter the noise and would appreciate any help you could provide.

 

 

EXE loads LLB - when do VIs, who exist in both, crash?

$
0
0

Hi volks,

 

i have an  issue with our test environment, what simplified is an exe that is loading a LLB dynamically and jumps into the code in the llb and waits for it's execution.

 

As the "parent" exe will not be build in the same interval as the "child" LLBs, it might happen that shared VIs from the EXE and the LLB have different revisions.

 

Until now, we figured out this is no issue at all as long as the I/Os of the same VI do not mismatch. It's simply using the first of both versions what was loaded at first (hence the same VI that is found in the EXE) and will use the same VI for the LLB, as it's already in memory.

 

What does not work, if the I/Os of the VIs are different as labview will not know, which one to use. It will load the LLB with a broken arrow.

 

Yesterday I changed the frontpanel of one of those VIs, that will not affect the I/Os. Both versions have the same inputs and outputs, but the LLB-VI has another element on the front panel, what is not used so far. Just a plain placeholder.

 

And even with that minor change the execution will be broken.

 

So my question is: How does labview determine if a VI is "the same" and will use the already-in-memory-version of the same VI from the EXE and what changes are not allowed, as they will cause the conflict?

 

Changes in code will not affect the ability to run the VI but so far I thought it's only when the I/Os are different.

unscale and scale thermocouple signals

$
0
0

Hi all,

I haven't used MAX in a while, and when I did some time ago, I mistakenly only configured the first channel of a task correctly (assuming that I was configuring the entire task,dispite of past knowledge). So I made some measurements with ch0 having a correct type K thermocouple and another 3 channels being scaled as type-J thermocouples.Sigh..

If it isn't too arduous, I would like to attempt to correct those signals. I would have to remove the type J scaling to get back to mV, and then apply a type K scaling. I opportunistically asked chatGPT to provide me with the formulas to do so, but it didn't come up with the expected output. Anyone know of a better way to do this? I was hoping to find some VIs that could do this.

 

Thank you for your suggestions!

Aart-Jan

Online / Detailed LabVIEW Help (2025) is SLOW and wrong language (BUG IMHO)

$
0
0

new W11 computer .. new LabVIEW 2025 Q1 ...

But why is the LabVIEW Help online (OK search reveals, that this is since LV2023?? , I came from 2019 😉 )

- so slow? , is it to awoid reading details about a used vi?  

   some postings link to an app NI HELP Preferences  (2023) , but that's not on my 2025 system?

   Why there is no option in the preferences? Or have I overseen it?

 

- even bad, for good reasons I only use the english version of LabVIEW (even if my OS/browser is set to german)

and now the shown online HELP is shown in german! WTF , and of course no button on the webpage to switch to english help.

I would consider this a bug!

 

Sorry NI .. that is no progress in the IDE

 

EDIT: How do I get a offline LV2025-Help?  (Hey, my new computer is portable, maybe I'm now able to code/draw in the wild (offline).

While debugging, LabView can hang and probe watch window disappears.

$
0
0

Makes it difficult to troubleshoot my application. Anyone else having this problem? I'm running LabView2024.

When running my application I want to see what variables are changing in a subVI, in a subVI, in a subVI...

Everything runs fine when in the primary VI. But once there are to many VIs open, I'll lose the "probe watch window" and sometimes the VI I'm probing will hang and I can't even stop it. I have to kill the whole application.

Are there a limit to how many windows I can open? There never seems to be any memory or CPU issues.

 

Thanks for any help.

Old dog, New tricks

$
0
0

I have been using LV for twenty (mumble) years and I have learnt two new trick this past couple weeks.

 

1) how to configure dlls to be bitness antagonistic from some random forum posting that I cannot find atm. The help page is here <https://www.ni.com/docs/en-US/bundle/labview/page/configuring-the-call-library-function-node.html#d71887e55>

 

2) Saving for previous versions can be as simple as putting a .lvversion file in your project/directory per Crossrulz post here
The help page is here <https://www.ni.com/docs/en-US/bundle/labview/page/saving-for-a-previous-version.html>

 

The one thing the help pages fails to mention (or maybe I am just blind) is *when* these awesome trick were introduced and more importantly, what versions of LV these features can be used. Does anyone know what version of LV these tricks features will work?

 

I am currently using LV 2022 64-bit


Real-Time System Log Remote Viewer

$
0
0

I upgraded to 2024 Q3 and it seems that NI has finally completely killed the web interface for Linux RTOS. (what they have barely counts). My SOP is to use the console on there to see startup routines and any errors that may have occurred. I added "Application Web Server", "HTTP Client with SSL Support", "NI Web-Based Configuration and Monitoring", "WebDAV Client with SSL Support" but it didn't my website nor FTP possibilities. I plan on researching each one of those later because I dont understand what they were supposed to be for. 

 

What is the best way to get the errlog.txt file to a remote computer GUI? I have a remote GUI for issuing commands and displaying data, I'd like it to also have an option to at least download the errlog.txt and open it in notepad (or something fancier). I wanted to make sure I wasn't reinventing the wheel before I write a whole protocol to transfer the text of the file and recreate it on the remote side. It would be nice if there was some way I could get Notepad++ to open it remotely so it can notify of updates or something. 

How to independently enable/disable cluster elements in an array of clusters?

$
0
0

I'm creating a user interface for controlling a thermal chamber. The interface is an array of clusters, with each horizontal cluster (row) being a step in the chamber's program.

I'm having trouble enabling and disabling elements of each array based on the input of the first element (first column) "Step Type" without those changes applying to each cluster/row in the array.

For example, I would like the element of each horizontal cluster called "Ramp Rate (°C/min) to be grayed out if any option other than "Ramp Rate" is selected for that cluster/row.

TestEng01_0-1741378212842.png


I created a reference to the "Ramp Rate (°C/min)" element, but changes applied to that reference affect all of the ramp rate elements in each cluster.

 

Below is my block diagram:

TestEng01_1-1741378607941.png

 

Is there a way to accomplish this type of control? I would like to keep the overall structure as an array if possible, because I would like the user to be able to enter any number of steps needed for a particular profile on the thermal chamber.

 

Thanks for any help that can be given!

 

Arabic Front Panel

$
0
0

Hello, i want to make the front panel with Arabic Inputs (strings) to be printed and stored in csv/excel files in arabic language. 

Using LabVIEW 2025

My tanks keeps fluctuating in stacked sequence

$
0
0

I have assigned a tcp connection to every sequence , in the sequence there are tanks , the problem is that the tanks that are not in the sequence keeps fluctuating

I am only posting the screen shot of the tank scale settings this is the logic i have used

I have changed the tank scale and range as well

Default Value for Terminal

$
0
0

Given a reference to a terminal of a SubVI (not a sub VI), is there a slick trick to find the default value?

Or do I have to drill into the VI and find the linked control?

Viewing all 66985 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>