Quantcast
Viewing all 69217 articles
Browse latest View live

LabVIEW: (Hex 0xF) Resource not resource found - lvanyls.dll

I am running a third party executable that needs to load lvanlys.dll from LabVIEW run-time engine (2018, 64-bit).

 

It returned the following error messages:

 

LabVIEW: (Hex 0xF) Resource not Found

lvanlys.dll

An error occurred loading VI 'NI_AALBase.lvlib:Sawtooth Wave.vi'.

 

Additional errors included attempts to load:

'NI_AALBase.lvlib:Square Wave.vi'

'NI_AALBase.lvlib:Triangle Wave.vi'

'NI_AALBase.lvlib:Sine Wave.vi'

'NI_AALBase.lvlib:Gaussian White Noise.vi'

'create_DCJB_windowfunction.vi'

'calc_inverse_spectrum.vi'

 

I have tried to uninstall and reinstall LabVIEW run time engine 2018 64-bit, and have no problem locating the DLL lvanyls.dll in one of National Instruments shared folder - a typical location for this DLL. 

 

I have also tried dropping a copy of lvanyls.dll in the system32 folder, or the same folder as the third party executable on separate attempts.  

 

Also rebooted the PC and third party hardware multiple times. 

 

No success.

 

There also seemed to be no dependency issue though I am not 100% sure. And this is a brand new PC with no risks of existing corrupted files.

 

What gives?

 

Any help is much appreciated!

 

 


LabVIEW NXG Chart Timestamp

Hey all,

 

I'm working on a small "proof of concept" Web Vi that involves charting temperatures into a single waveform chart. I'm collecting data from my hardware in a LabVIEW 2018 VI and processing data through systemlink into LabVIEW NXG Web Module. 

 

Now, I'd like to configure the x-axis to display time in actual one second increments (ie 00:00:01, 00:00:02) without slowing the loop down to 1000ms causing the data to just appear in a sort of lag. I've done this before in regular LabVIEW using for loops, dynamic data conversions, and merging signals but not with whats limited in NXG Web Module.

 

Anyone have any luck from a previous experience? My LabVIEW knowledge in general is pretty limited so if any of this sounds/looks foolish let me know.

 

Thanks

HELP WITH GENERATE RANDOM FLOATING NUMBER

Create a VI to generate a random floating-point number between 0 and 1 every second and repeat for a finite number of iterations specified by the user. The VI will then return the largest number generated. An indicator will be used to count the number of iterations elapsed. 

 

Please help me to solve this. Thank you

PID Gain Units

Hello everyone,

 

Excited to be posting for the first time! Trying to start out small here with a simple control theory question.

 

I have been utilizing the LV PID VI in order to do some simple control. From some of the documentation found here, I see that the units of Kc represent (% of fullscale Output / % of fullscale Input). 

 

I am curious as to how LV determines the % of fullscale input. The % of fullscale output is covered by output range cluster that must be fed into the VI. 

Image may be NSFW.
Clik here to view.
KALTman_0-1588714200141.png

 

Is the VI somehow calculating this % fullscale input from the setpoint and the process variable? Or is the setpoint assumed to be the max and 0 assumed to be the min. Otherwise I would expect there to be an input for the VI that would describe the input range as well.

 

Let me know if there is anyway I can clarify the above question. 

 

Thanks,

 

Keith

 

Sound file plays before I need it to

So I made a bingo challenge board and I set it up that whenever a bingo occurs a light illuminates with the word "bingo" on it. The game that this challenge board is for has a character that is known for saying "Bingo" during one of the levels so I found that file, converted it to a .wav and set it up to play whenever a bingo occurs. My only problem is that I got it to play, but it plays before the light. The order goes Bingo occurs > sound plays > light illuminates > game stops, I want it to go Bingo occurs > Light illuminates > sound plays > game stops but I cant figure out how to make the order switch. Here is a screenshot of the light and sound section of the code, Its a gigantic code so i figure a specialized screenshot would be more useful than the whole code with multiple subVIs and lots of craziness.

Image may be NSFW.
Clik here to view.
CaptureBingo.PNG

Strain Gauge Rosette

Hi all,

 

I am very new to LabVIEW and trying to configure a DAQ to read the stress-strain response of a specimen.

I am using a strain gauge rosette for this, rotated at 45 degrees and was wondering how to apply this to the program?

Does a strain gauge rosette require further calculations than the data achieved from measurement to determine the accurate strain?

 

Best,

 

 

Analytic Wavelet Transform

Hi,

 

I am using an 'Analytic Wavelet Transform (Advanced Signal Processing Toolkit)' and set to Scale Sampling Method to even frequency applied a constant scale at 64. I obtained a scalogram of energy form as in the attachment. 

 

However, I don't understand how to interpret the output of the scalogram...Why the y-axis is computed in frequency and it is plotted from 0-1.  And can anyone know what does it means by "evenly-distributed frequencies" as written in help window. 

 

... When you set scale sampling method to even frequency, this VI computes the wavelet coefficients at scales with evenly-distributed frequencies.

How to use PXI6624 to measure speed and draw a waterfall diagram?

Now there is a project that uses PXI6624 to measure the rotational speed and pxie-4331 to test the stress.The measured data is then used to map the waterfall.

There are several ways to measure speed with PXI6624.One is to calculate the speed by measuring the frequency (the speed sensor output frequency signal).For this measurement, the PXI6624 timing option can only select the implicit (counter) mode.In this measurement method, the sampling frequency of PXI6624 is not fixed, but is related to the frequency of the measured speed signal.This will cause the measured strain data block length and rotational speed data block length are not consistent within the same time interval (such as 512ms).So, in this case, how to process the data and draw a waterfall diagram?

Another way, using the sound and vibration toolkit, is to measure periods or event counts.The waterfall was then plotted using Build Digital Tacho Info VI and Digital Tacho Process VI.However, these two VI(Build Digital Tacho Info VI and Digital Tacho Process VI) only support DSA devices (such as 447x, 446x, 9229 and 9239、、).So if  use this approach, how do  measure and process the data to create a waterfall diagram?

Besides the above two methods, is there any other way to use PXI6624 and PXI4331 to measure the data and draw a waterfall diagram?

Another problem is that when the speed signal is an analog signal, the speed signal needs to be correlated with the stress signal.The speed signal measurement channel and the stress measurement channel use the same board card.Can the speed signal and the stress signal be measured separately (using the same sampling frequency and the same trigger signal) without the speed correlation?

Thanks very much!

 


Hiding Property Nodes on the Block Diagram

Hi Everyone,

 

This is a fairly general question, but I am writing an application with many Front Panel controls and indicators, and I am using property nodes to set their initial state when the program starts up. In keeping with the single page design ethic for my main.vi, I am finding that my property nodes are taking up an increasing amount of real estate on the block diagram.
Is there a way to hide them? A sub-VI doesn't work as the nodes need to be on the main VI. Any suggestions, or should I be using a different method to set up the initial state of all my Front Panel elements?

Thanks,

Karl

IMAQ Set Overlay Properties

I tried using IMAQ Set Overlay properties with property as "scale" and behavior as "transform" for the image I wanted to resample. The text overlays looks as if they got stretched. Is there any white paper that I can refer regarding the behavior IMAQ Overlay Text and IMAQ Set overlay properties?

The first image is of resolution 800x641

The second image is resampled and its resolution is 200x154

Memory leaks while .NET communication, but is it dependent on PC?

Hello,

I am trying to handle a Thorlabs motorized actuator by simple VI with a .NET container.

And I am in trouble to handle memory leakage even if I close all references that I used.

I tried to close all references that I've used, as you can see a screenshot of block diagram below.

 

Image may be NSFW.
Clik here to view.
Stage Move.png

 

I wrote this VI in LabVIEW 2019(64 bit) with saving for previous version(13.0), and copied the VI to another PC which LabVIEW 2013(32 bit) has been installed.

In a PC with LV 2013, the total consuming memory of LabVIEW increases by ~200MB, every time I call this VI.

However, I am confused because it was okay in another PC with LV 2019 - the memory increases by ~200MB, but when the running is finished, the memory went back to normal.

Is Get Value By Pointer.xnode compatible in OSX?

I am searching some methods to import port audio(http://www.portaudio.com/) to LabVIEW for Mac OS,I found some functions in it's header files whose return is struct pointer,so i want to use the Get Value By Pointer.xnode,but LabVIEW crash when I click run button,wo can tell me is the xnode compatible in OSX? or we can get value some other ways?Thans!

Camera interfacing with LabVIEW NXG for web view

Is it possible to acquire images from a camera in LabVIEW NXG ? and does it will generate web code for the same ?

Timed loop jitter during communication between real time target and FPGA

Hello Everyone,

 

I am running timed loop on RT target which sends torque FXP values to FPGA using FPGA read write block.

 

Image may be NSFW.
Clik here to view.
omkara2233_0-1588759995619.png

But I see spikes in cycle time from 100 to 7000 micro seconds as shown below.

 

Image may be NSFW.
Clik here to view.
Annotation 2020-05-06 061627.jpg

 

I narrowed down root of problem by sending only one shared variable when cycle time is deterministic vs. sending 6 shared variables when I see these spikes. I am guessing as number of variables increasing so the wait time which results into these spikes. How can I solve this issue, do I need array to send data from all variables at ones or something else. Any help or direction is much appreciated.

 

 
 

 

 

 

 

stepper motor speed and position control

hello,

 

I having some sort of doubts in controlling the speed of the stepper motor.

can we control the speed of the stepper motor using compact Rio or control by position


Color indicator

Hello Good Evening,

Is there any color indicator that can display color according to values

like example,

 

if value<10:

     displays "Green Color"

else if 10<value<20:

     displays "Yellow Color"

else value>20:

     displays "Red Color"

 

is there any indicator which can help me with this in labview if there is it would be very helpful

Thankyou

Writing to holding registers using Modbus TCP

Hi everybody.

 

I have a question regarding writing to holding registers using Modbus TCP. I am currently trying to make a VI that can control my SMA Sunny Island Inverter through Modbus TCP.

The reading of values from a holding register works fine with the inverter, but i have met problems when i try to write. Every time I try to write to holding register, Labview returns error 538183. I am kinda new to the program and not sure how to fix it.

 

Labview version: 17.0.1f1 on Windows 10

 

Regards

Jonas

JKI State Machine Update

Hello,

Is there a best practice to update an existing codebase that uses the old version of the JKI state machine that does not support the JKI State Machine Explorer to the latest version that does? We have a large existing codebase that uses multiple instances of the old JKI state machine and would love to update to the latest version with all of the great added features. I tried a few things to update some of our existing JKI state machines but was unsuccessful without completely rewriting the code using the new JKI framework. Any information would be greatly appreciated.

Thanks

Virtual card

Hello everybody.

 

Does anyone know whether it is possible to get any sort of "virtual card" from NI for making work a simple data acquisition/switching on-off code?

 

Thanks in advance,

Nico P

LabVIEW NXG Polymorphic & Malleable VI's?

Viewing all 69217 articles
Browse latest View live


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