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

Shared Library (DLL) is not showing Function from LabVIEW Project

$
0
0

Hello Team

 

I am working Auto Testing Software where i am creating Shared Library (DLL) file from my labview project & Calling that DLL to NI-Test Stand. 

I am able to generate DLL file perfectly but when i call the DLL file to NI-Test Stand,  I am not getting Error In / Error out function parameter. As this is a default value for my instrument if any error occurs & Even that DLL is not functioning well. I am getting communication error.

 

Take a note, while i importing the LabVIEW project in NI-Test stand everything is work well. 

 

Even i am not getting Error In/ Out option while creating DLL using Shared Library (DLL)


Anyone is having idea or another technique to create DLL file from LabVIEW project which can be used in Ni-Test Stand. 

 


Help please - I need a copy of Labview 7.0 runtime engine

$
0
0

Hello and a very good day to you all.

I am in desperate need of the labview runtime engine 7.0 for a very specific program I have.

It will not run with 7.1.

Any help would be VERY much appreciated. it specifically only works on engine 7.0

 

My kindest regards,

Smithy 

looking for an opinion

$
0
0

It would be very helpful if I could ensure that the value of a sample in the signal charts is the same as the value of a sample in the correlogram. The signals (model and test) have the same sampling frequency but differ in the number of samples. I built the VI from examples I found and I'm not sure if the samples are of the same value or not.

Thanks in advance.

Re: TCP/IP Fail

$
0
0

Hi, I would like to ask a related question. If the LabVIEW application is built into an executable. How does it maintain TCP/IP listen? How to run that exe through ethernet message? My setup is: a PC broadcasting some ethernet message and that message will launch the exe file on local PC to run my NI equipment (also connected to that PC). Thanks!

Temporary offline usage of network license always shows eval water mark in LV2020?

$
0
0

Using a volume/network license on a laptop I could pre-2020 use it for 14 days without access to the volume server - without having an evaluation water mark all over all VIs....Now it automatically reverts to evaluation mode and has the annoying water mark. Occasional offline usage should be possible without such interference. Have I overlooked something?

Y Scroll Bar

$
0
0

I am using LabVIEW 2018 to operate a semi-automated probe station which then measures and draws a map of all the various failure modes of 80,000+ devices.  The map is plotted using an intensity graph and displays the failures as well as a heat map of breakdown voltage etc.  Since each device is unique, I would like to zoom in on a particular area.  However, I noticed that this was only possible in the x direction (show x scroll bar) and not the y?  I am unable to locate this function anywhere and I was wondering if I have missed it in an option somewhere.  I did manage to create my own version using simulated data (see map.vi attached), but if there is an option, it would be best to use the built in function.  If this is not included, maybe it can be added in a later version as it would be useful.

 

Many thanks

 

James

Could better organized product documentation help you? Let us know and enter to win a $20 Amazon.com gift card!

$
0
0

Hello esteemed community!

Our Digital Support team is conducting an online card sort study to help us gather data to make improvements in how our product documentation is organized and presented to our customers.  Customer input is our most valuable tool in helping us provide you with the best product documentation experience. 


Study details:

This activity should take about 15 minutes to complete.  You may complete it anonymously or provide an email address to enter to win a $20 Amazon.com gift card. 


The process is simple:

Access study link below, sort 13 digital cards that represent various product documentation types into like sub-categories, then provide a name/label for that category.  You decide how many groupings to make and what to name them.  That’s it! 

Study access:

This link will be active until the end of the day on June 5. 
https://ni-digital-support.optimalworkshop.com/optimalsort/product-docs

Gift Card winners will be notified on June 8.

 

Thank you for your consideration and participation!

Conception d’un VI sous LabVIEW pour le traitement de données issues d’un banc de calibration de microcapteurs chimiques

$
0
0

Bonjour à tous,

 

Nous travaillons sur un projet,et nous avons besoin de votre support.

 

nous développons et calibrons des capteurs destinés à la surveillance de gaz toxiques ,les données issues des capteurs sont enregistrées sous forme de fichier texte

 

Notre objectif est de concevoir un VI permettant d'extraire de ces données les courbes de calibration c'est-à-dire de calculer la variation de signal engendrée par la concentration en gaz.

 

L'objectif est donc grâce à notre VI, est de déterminer le minimum local et la maximum local du signal et de faire la différence entre ces deux valeurs, et ce pour chaque capteur.
 
Notre VI devra enfin tracer la courbe de calibration à savoir la réponse en fonction de la concentration  à partir du fichier texte (ci-joint) pour tous les capteurs.
 
Merci de votre support
Slts

LabVIEW inaccurate date computation

$
0
0

Hello,

For an existing test instrument rack under LabVIEW control the objective is to establish an automated capability that can validate measurement data based on equipment calibration status as follows. Add a VI that generates a text file with the test equipment ID list including calibration due dates in a 2D text array written to delimited spreadsheet file. A second VI reads that file, extracts due dates, determines status based on # of days to calibration relative to current year date such that if # of days > 30 item is tagged as 'OK', or, item is tagged with 'WARNING' if 0 >= number of days <= 30, or item is tagged with 'VIOLATION' when <0. The test system admin could extend the cal due dates by up to 30 days for equipment tagged with WARNING or VIOLATION status and this would update the cal due dates status in the 2D array and generate a new equipment list file with the updated cal due dates. Unfortunately, LV is not playing well in my litter box because for a 30 day extended cal due date the recomputed date should simply be the result of adding 30 days to the original due date. For example, adding 30 calendar days to a cal due date of 5/30/2020 should compute to 6/29/2020 but LV is doing it's own thing because it computes the 30 day addition with 7/3/2020 as the result. Help me LV-wan Kenobi, you're my only hope.

Conception d’un VI sous LabVIEW pour le traitement de données issues d’un banc de calibration de microcapteurs chimiques

A library within a library (.lvlib linking issue)

$
0
0

Hi all, I am having trouble when making copies of my library. For example, I have a user events library that I want to copy to send different kinds of user event data. I want the following structure (on disk and in the .lvproj):

 

Level1.lvlib

    User Event 1.lvlib

    User Event 2.lvlib

 

However, if I save a copy of User Event 1.lvlib to create User Event 2.lvlib, I get broken run arrows. It says it cannot find one of the library VIs, which is in fact right next to it on disk.

 

1 and 2.png

 

This only happens if I try to put the new library into Level1.lvlib. If both libraries are just under the LabVIEW project, I can make copies all day. Here is a little snippet of exactly what I am doing:

Demo.gif

 

I'd like to get this working so I don't have to create the new library at the top level, and then drag and drop it to its desired location. I am using LV 2016 32-bit and my example project is attached.

How to generate step increasing and decreasing Analog DC output using myDAQ

$
0
0

Hello, I am trying to create the analog DC output from myDAQ. I got how to create voltage with the express output function but couldn't find what I need. I need to generate a step increasing and decreasing sequentially DC voltage that looks like shown in the figure. For example, 0V and hold 1sec -> 2V and hold 1sec -> 4V and hold 1sec ->2V and hold 1sec -> 0V and hold 1sec. 

KakaoTalk_20200513_201804940.png

I have tried using for loop and array but couldn't figure out how to. Does anyone know how to do this? or is there any sample vi looks like figure that I can use for? 

 

Thanks in advance. 

Comparing two 1D array strings

$
0
0

Hi guys,

I am new to this community can you guys help me to how to compare two 1D array string and return the difference.

Continuous DAQ stream implementation

$
0
0

Hi everyone,

 

I'm after some advice from more experienced LabVIEW users around here for a VI that I'm trying to implement.

 

The main priority for this VI is to stream data (voltage) as fast as practically possible. For the DAQ module that I'm using (PXI-6289) this is capped at a little over 66 kHz. Other than making sure that the consumer loop saves to file (TDMS) fast enough to avoid overflowing the queue, there's some small data manipulation involved. This is some simple arithmetic to get the true voltage value based on the amplifier gain setting. Other than that, I'd like to plot the data stream to an XY graph.

 

Some specific questions that I have are:

 

How often should the VI be writing to the TDMS file so that it doesn't slow things down too much?

 

When is it appropriate to add the functionality to plot data to graph and do the math while minimizing delays? Lag from 'real-time' is absolutely ok for me since we are just plotting data from a queue and that's understandable.

 

Similar to the last question, where should other functionalities be placed? Say I'd like to run another VI that turns on another equipment and polls user input such as an off/on button.

 

Any suggestions/advice will be greatly appreciated!

 

Thanks in advance!

Open SubVI from frontpanel with Button

$
0
0

Dear LabView Community,

I have an issue regarding the opening of the SubVi from my frontpanel. I searched for online solution but could not find any.

 

My issue is that if I want to open the Subvi front panel with a button on the main Front panel, it activates the button but does not open the front panel. However, if I activate the button before I start the Programm, it opens perfectly fine as soon as I start the programm.

 

Does anyone know how to solve this issue with that brief description? I am sure it is only a small setup problem but I can't find it myself.

Thank you in advance,

 

-P


Maintaining *.lvlib inside another *.lvlibs

$
0
0

Good day!

I am new to LabVIEW, I use version 2018. I want to have library that contain some sublibraries. On disk it looks like this:

Custom Libraries folder

    - Library 1 folder

          - Public folder

          - Private folder

          - Library 1.lvlib

    - Library 2 folder

          - Public folder

          - Private folder

          - Library 2.lvlib

When I add Library 2 to Library 1 via project manager and save Library 1 it shows me that Library 2 change its membership, and if I try to open Library 2 separately it opens Library 1 that contains Library 2. Why this happens? In text programming languages if I have Library 1 that contain another Library 2 I can use Library 2 separately and don't load Library 1 to project to use Library 2. I figure out if I copy Library 2 folder to Library 1 folder and add it to Library 1 via manager then I will be able to use Library 2 separately if I use it from its own folder. With this situation I have question: how can I maintain Library 2 if it will be used in many others Libraries? I will have to copy Library 2 manually to all Libraries that use it?

 

 

IMAQdx error unable to set attribute

$
0
0

I'm using the property node to control attributes of my point gray camera. Each time I open a new VI session I get an error: unable to set camera attributes.

my code can't set the attributes when i re-open a session.

I attached an image of my code.

Shift register control not updated

$
0
0

Dear all,

 

I'm surprised to be unable to do this simple task: I have a cluster that I want to update.

This cluster is intialized outside a while loop.

Then inside the while loop, I have a event loop.

When I change the control to change the cluster value, the control is not updated, even with the shift register...

Here, I put an example of putting one of the value of the cluster (the boolean) to a certain value.

The local value (here, I put an Indicator just to show that its value is the one I expect) is updated but not the control. Could you help me please and sorry for this trivial question.

 

Capture.PNG

thanks.

Séb

Read the cursor amplitude of oscilloscope Teledyne LeCroy HDO6104 by a VI

$
0
0

Hello everybody,
Here is what I need for your help.
A square wave with amplitude 5V is an input signal to the Channel 2 of the oscilloscope Teledyne LeCroy HDO6104.
F1 is a Math function Absolute amplitude value of square wave in Channel 2 (C2), and
it has been adjusted manually to a value of 750mV.

When the VI is running the result shows only the peak to peak of the squaure wave as shown in the picture, not the value of the cursor that I wanted.
Anyone knows how to read this value 750mV by a VI.
Any hint/suggestion is greatfull.

Thanks in advance.amplitudeTeledyneLeCroyHD6104.png
/mctnnn

visa write

$
0
0

hello everyone

i wanna send float data from Lab View to Arduino in Proteus through visa write , but visa write not accept float number(my data such as 1017.8) , it accept just string value , so how i can convert float to string in Lab View or any other way for solve my problem .

 

 

Viewing all 69548 articles
Browse latest View live


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