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

2019 LabVIEW to 2018 LabVIEW


Current Output Adjustment

$
0
0

This may seem like a trivial question, but please bare with me (I'm still a NI/LabVIEW beginner).  I have a test stand that uses a potentiometer to adjust current going to a set of electronic brake that's attached to a motor shaft.  We're trying to upgrade this stand to have a GUI where anyone can input their desired value of current and that value is supplied to the brakes to apply torque on the motor shaft.  My current hardware consists of a cDAQ-9174 and miscellaneous modules of analog signal recording and digital input/outputs.  Is this something that I can do, relatively easily, with LabVIEW?  Ideally the users could input their desired torque value to be applied on the motor shaft, but I feel like current would be easier to manipulate, at least in terms of programming the GUI and just have the users do the math to convert desired torque to current.

Labview 2019 - State Machine to Verilog or VHDL conversion

$
0
0

I would like to convert a state machine vi into verilog or vhdl code.  Is there a labview add-on that can do this?

Cannot Connect NI 9862 to simulated cDAQ 9178

$
0
0

I am trying to add a simulated NI 9862 and NI 9866 module to a NI cDAQ-9178 in NI MAX, but I am unable to do so. Are these modules supported by the cDAQ-9178?

NI Labview Run-Time Engine 2014 Windows 10 compatibility

$
0
0

Hi,

 

We have an old system, which has an application that is running on PC and communicating with a CompactRIO via Ethernet. The CompactRIO is fine, but we need to move the application to Windows 10. It was built on LV2014 and now it throws an error regarding instr.lib

 

What I would like to know is that if it is a missing file issue, so I can solve it by re-installing the Run-Time Engine or it is a compatibility issue, that is an application that was build under LV2014, cannot be run on Windows 10. The reason I am asking is that, the page about Windows 10 compatibility, which is here:

https://www.ni.com/en-gb/support/documentation/compatibility/15/national-instruments-product-compatibility-for-microsoft-windows.html

says that NI LabWindows/CVI Run-Time Engine is compatible only from LV2015, but it does not say anything about NI Labview Run-Time Engine, so I presume it is Windows 10 compatible. Only double checking.

 

Thanks,

 

Zoltan

Intermittent failure on VISA open

$
0
0

My test software has a problem where intermittently it will fail to open VISA communication to a Keysight N6701C power supply over ethernet. Once the VISA open fails, it remains failing on subsequent attempts but will successfully ping.

Note that it typically succeeds 10 times or more before failing with nothing changed. This is an ESS program so instrument communication opens & closes several times of very long thermal cycles.

The error message is: “Insufficient location information or the device or resource is not present in the system.” 

I have updated the power supply firmware to the latest version.

I am using LabVIEW 2015 & Teststand 2014

The Ethernet connection is through a switch that only connects to the PC and instrumentation.

NI-9220 not visible in DAQ Assistant

$
0
0

I have NI-9220 voltage in module in cRIO-9047 controller.  NI MAX shows NI-9220 in slot 2, but DAQ Assistant does not show this device.  Please help.

 

crispitn_1-1581468651462.png

 

crispitn_0-1581467678243.png

Get data from hysys to labview

$
0
0

This is my first time using Labview so I am not familiar with it. I am a Chemical Engineer working on a project, I have used HYSYS to simulate process dynamic, the current project I am working on is to creat link between hysys and labview to visualize all parameter on labview such as 

Pressure Indicator Controllers, Temperature Indicator Controllers and Level Indicator Controllers, I saw a project like this on youtube ( https://www.youtube.com/watch?v=pnSUygeoRUM&t=515s ). Thanks in advance.


DAQmx with different microphone sensitivity

$
0
0

First day using Labview, 

 

DAQmx only allow to key in one microphone sensitivity but I have two microphone with different sensitivity for simultaneous measurement. So how can I create another channel for two microphone?

How to make Graph/Waveform plot name not editable by user

$
0
0

I just found out it is possible for user to edit the plot name on the Graph control. It is awkward since the user trying that might expect the software to somehow do something to the settings of the channel behind the plot.

 

I don't want to disable the plot legend since I use the visibility checkbox and other plot attributes.

 

Is there a way to block user typing something in there? It should just be an indicator or caption.

 

Also I noticed the Plot Attribute Change Event won't trigger on Plot rename, so I'd need to poll the property to determine if it got changed which is unlikely what I'm planning to do.

 

Cheers,

Jimmy

 

JICR_1-1581483922175.png

 

 

Fortran.dll call in labview

$
0
0

Running TEST BOV.vi in the PWC83020_TEST folder will turn off the Labview.
The last DLL function call is a problem, but I'm not sure what's wrong.
I can call other DLL functions without any problem, but I think it's a problem to just input the array as input.
Thank you for any advice.

 

There is a description of the DLL function in the pwc83020_80.htm file in the doc folder inside the Pwc83020 folder.

how to import dll file of openhaptics into labview?

$
0
0

i spend few time to try to write dll file of openhaptics.

 

i access successfully about dll file and import functions exclude two functions which are related with synchronous (below figure).

 

park92_0-1581489438214.png

park92_1-1581489480541.pngpark92_2-1581489508195.png

 

park92_3-1581489546387.png

i don't know how to apply those two functions in LABVIEW..

park92_4-1581489669080.png

maybe i think the red color makes problem.

 

please help me..

 

i stuck hear few days 😫

 

 

 

Unable to write into binary

$
0
0

Hi everyone,

 

I’m unable to write into a binary file from an executable application. It works if I run from the Labview NXG (4.0) development environment. File generation works in both.

 

Any suggestions?

Cannot load lvanlys.dll in LabVIEW NXG 4.0

$
0
0

Hello all,

 

I am trying to learn and to fiddle with LabVIEW NXG.

Whenever I try to use any signal processing analysis or control functions, I get the error:

"Cannot find or load shared library lvanlys.dll."

Not with the simplest of VI's nor with the included examples.

 

I checked and the lvanlys.dll does exist in the location:

C:\Program Files\National Instruments\LabVIEW NXG 4.0\Win64\lvanlys.dll

 

This is very similar to the topic in:https://forums.ni.com/t5/LabVIEW/error-loading-lvanlys-dll-in-Labview-64-bits/m-p/4009772

However, this is a different product, and the solution there (namely, setting an environment variable: MKL_DEBUG_CPU_TYPE=4 or MKL_DEBUG_CPU_TYPE=5) did not work for me.

 

I am running Windows 10 64-bit on AMD Ryzen 7 3700X 8-core.

 

Any help is appreciated.

Mathscript syntax error

$
0
0

Hello,

I have a VI with a mathscript running on a PC with LV 2019. If I open the same VI on another PC with the newest LV 2019 (f1) the VI is broken because I have an syntax error. I cannot understand why. Can anyone help me?

 

Best regards,

Fabio


Compilation tools error

$
0
0

Hello 

 

I'm currently using Labview FPGA 2014, I installed  all the drivers modules and complilation tools as written on the installation manual.

 

However as I try to build my FPGA target I get this : 

 

Build windowBuild window

 

It says that the compilation tools are not installed...

 

So I tried re-installing those tools, but to no success : 

Compilation install menu.png

 

Installation report.png

 

What can I do to build my FPGA?

Any help would be appreciated.

 

Thanks

 

Adèle DUCOIN

 

[LV2018] Probe menu not showing conditional probes

$
0
0

Hi all,

 

I noticed that my probes menu is not showing any conditional probes. Only a "simple view" probe can be placed. There is a menu option for user defined probes but nothing else.

In the program folder "LabVIEW 2018\vi.lib\_probes" all probes are showing up (even the conditional ones) but the menu doesn't have these entries.

The attachment shows the only probetype I am able to place in the block diagram.

 

Anyone facing similar issues?

 

Thanks in advance for helping me.

error0 from Open FPGA reference VI when the NI 9149 FPGA Target is put under simulated I/O mode

$
0
0

error0 from Open FPGA reference VI when the NI 9149 FPGA Target is put under simulated I/O mode

Labview NXG 4.0 stuck in splash

$
0
0

Hi,

 

I just installed Labview NXG 4.0 and it doesn't seem to start. It gets stuck in "Loaded PresentationFramework-SystemXmILinq" as shown below.

 

Alejen_1-1581508783998.png

 

I am using Windows 10 and I have installed also Labview 2019 SP1.

 

I tried to look for error logs in the NXG folder of the User/ AppData folder but couldn't find anything. I also tried to "Repair" the installation with the package manager with no luck.

 

How can I figure out what is happening?

 

UPDATE: When is stuck, I go to the Labview icon in the task bar, and do right click and close. Then, the icon dissapears but NXG starts loading and it acutally starts. I have to do this everytime I start it.

 

Thank you.

 

Labview VISA Error 1073807343 for Rigol Power Supply

$
0
0

Hello,

 

I have a Labview program to test an assembly and it was working fine. Suddenly after sometime when I re-setup everything it started to give VISA Open error. I am new with Labview and not able to understand where to look. Please see below error message.

 

2/11/2020 4:31:18 PM,-1073807343,VISA Open in RIGOL DP1000 Series.lvlib:Initialize.vi->DP1308A.lvclass:Initialize.vi->DP1308A.lvclass:Instrument Handle FG.vi->Retreive Test Steps Data.vi->Process Execution List.vi->Aimtron Test Framework.vi

COM Port: ASRL53

Please make sure that the LINX firmware is loaded on the device (Tools>>LabVIEW Hacker>>LINX>>Firmware Wizard) that there are no other open connections to the device, then check the configuration settings, and try again.

 

I am referring blogs with similar error but nothing is helping out.Please review and provide the suggestions how to fix this issue.

 

Thank you in advnace.

 

Regards,

Aman Shah

Viewing all 69089 articles
Browse latest View live


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