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

LabVIEW PID for heating

$
0
0

Hello,

I am working to create a thermal test bench for a 4 inch wafer and I will be working with a TS series power supply (magna power supply). I have to create a PID control on LabVIEW for heating. So the way this works is that I will be using a thermocouple to measure the temperature of a certain part of my wafer (my input) and the temperature reading will be read by Labview and therefore my PID controller will decide the amount of current I will need (my output) which will then send that value to the magna power supply. Has anyone every made a PID control like this before on LabVIEW? I am a tad bit stuck and this is my first time making a PID control so I would really appreciate the help! Thank you for your time.


custom menu bar for windows 10

$
0
0

I'm trying to build a custom menu bar.  I've enclosed the code in a PNG file.  The custom menu bar behaves inconsistently.  Sometimes I see the standard menu bar selections and sometimes only my custom ones.  Always the only options available under the menu bar are my custom options.  I've used this code before and it's worked but not in a LV 2016 and Windows 10 environment.  Could I be missing something?  I've had admin issues with my machine.  I'm not the admin.  Could that be effecting it?

Creat differnet imaq,input different content,but display same picture

$
0
0

Dear all,

 

can you give me some advice, thank you.

I am try a program, define or creat 5 different imaq, use to dispay 5 pictures result, in the process, i input different contents to every image variable, but the 5 image variable display same picture content.

 

my program chart:

 

i use a sub vi to define or creat 5 different imaqs to image variable, use the main vi to call this define sub vi and transfer read picture to main vi...

 

thannk you for your support.

 

Eric

Missing USB VISA Resource

$
0
0

I have just started configuring a new installation of LV 2016 on a Win 10 machine. I have a USB 6501 plugged in. It shows up in IMAX and the Device Manager. When I open a VISA Resource control on a LV front panel, the device is not shown in the pull down menu. I apologize if this is common  but I have little experience with USB instruments. I would appreciate some help.

How can i plot X-Y graph if I'm having multiple plots

$
0
0

Hi,

 

I have 2 y-axis and 1 x-asis.

can anyone help me develop the x-y graph please.

 

Thanks in advance

 

Screenshot attached

Plotting Multiple points on XY Graph from a serial string

$
0
0

Hello,

I am stuck with plotting multiple points on XY graph from a serial strings with different string ID's. I want to plot separate point from data corresponding to each string ID on a single XY graph.

Serial Strings are coming from different sources at different time i want to make each point persistent on XY graph as well.

But in the VI attached when one point corresponding to a string ID gets plotted the previously plotted points of other string ID get removed please help me to make every point persistent corresponding to each string from different source(different String ID's) 

 

KDC101 controllers stopping rest of code during movement

$
0
0

Hi all,

 

So I'm setting up a scanning probe, requiring scanning while the KDC101 motors are in movement. My problem is that during MoveRelative or MoveAbsolute the .NET functions seem to supersede everything else in the labview code. An example I made is placing a parallel loop reading out its iteration numbers, while the motors were in movement, the counter stopped and only started back up when the movement was complete. I will attach an image of this below:

 

Capture.JPG

Is there a good work around or error I'm making, other then two separate PCs, as this does work.

 

 

Thanks in advance,

Charlie

Speed Sensor Acquisition and Measurements

$
0
0

Hello guys,

 

I'm working on a testbench for traction motors. The goal is to make an automatic test sequence. At the moment, I don't have any problem with making a sequence.

 

When I try to make the acquisition of the speed sensor signals. It's typically 2 square signals phase shifted. On these 2 signals, I need to measure the phase shift (in time) and the overlap (in time). A draft (Capture.PNG) is attached to this topic to illustrate what I'm talking about.

 

So, I developed a VI using 2 simulated signals shifted and I succeed making the calculations I described above. Perfect!

 

The problem is when I use the real signals (acquired by AssistantDAQ) as inputs, the VI doesn't work anymore. The values are completely false. I don't understand why because both signals look clean on a graph but I do have some doubts about the acquisition.

 

I use a NI-9220 to read both signals.

- Acquisition mode: Continuous samples

- Samples to read: 3.5K

- Rate (Hz): 35 KHz

 

I would be super grateful if anyone can help me.

 

Nice day,

Damien


GMaps API by NI

$
0
0

Hello :-)

Does anybody know, whether the "GMaps API by NI" will be able to run under the LabVIEW 2014 enviroment? Or in other words: What is the requirement for using this tool (other than the Google Maps API side of things). Thanks in advance.

Best regards

Peter

Why don't i get any value reading from index array

$
0
0

Hi, 

I trying to build my first VI and struckleíng with getting a numeral value from my reading, just give NaN as output, but my chart works fine. 

What am I doing wrong?

Unable to cast ActiveX object using "to more specific class". Error "polymorphic terminal cannot accept this data type".

$
0
0

I have a generic class that needs to be converted to a more specific class. I tried using the "to more specific class" node resulting in the error "polymorphic terminal cannot accept this data type".So i tried typecasting it, which seemed fine during edit time, but caused LABVIEW to crash during runtime.

Thanks Alot for the help (in advance Smiley Very Happy)

Ocean Optics NIRQUEST spectrometer

$
0
0

Hi guys,

I am writing this topic because I have some problem with my spectrometer (Ocean Optics NIRQUEST) and LabView (I am using the 2018 32-bit version in a 64-bit Windows system).

I have to build an experimental setup and I should control everything through LabView.

What I have to do is to acquire the signal of a laser through the spectrometer and I would like to analyze it directly in LabView.

The problem is that I don’t know how to connect the spectrometer to LabView.

As you can see, in the program that I have written I would like to connect the spectrometer in the flat sequence after the part dedicated to the creation of the file .csv.

 

Could you help me?

 

Thank you.

Multiple data acquisition NI DAQmx

$
0
0

Hello,

 

I need your help, I want to recover analog signal from laser and also measure temperature from a thermocouple in the same time. I had an error when I put two DAQmx and I think the reason is that the DAQmx has only one ADC and can't do different analog input simultaniously.

 

My question, do you have a solution to obtain the signal and temperature with only one DAQmx by having the choice to order them ( for exemple signal way 0 and temperature way 1) ?

 

I add a pictures of my programm; I can't add the way to recover temperature.

 

Thank you,

system link server configuration

$
0
0

New to System Link and I have two questions

A) How do I uninstall Server Configuration

B) How do I resolve Client Connected, but server says disconnected

Labview PLL and Dependencies

$
0
0

Hello,

 

I am trying to figure out how to build up a CI environment with Labview.

 

Right now I am using PLLs (lvlibp) to componentize my projects. The projects have dependencies to each other. I am struggeling at the point how my built PLLs get into the other consuming projects.

I am reading a lot about NIPM and VIPM, but both install the packages in some system folders. I want to have my dependencies included in the project to have them "self contained" and without references to some folders outside of my project folder.

 

Is there a way to specify the installation directory of the packages? Or how could it be done?

 

Best regards,

Jörg


system link

$
0
0

Two Questions:

A) How do i uninstall "System Link Server Configuration"

B) How do I resolve "Client Connected", but server says "Disconnected"

New Labview Look

$
0
0

Hello dear members, 

 

While looking for something about labview I have come across this new look of vi in the attachment. How can I make my vi's look like this? Thanks in advance for your response. 

 

Best

Memory problem with my subVI

$
0
0

Hello,

I am facing some memory issues while processing large arrays in one of my subVIs, which is a part of a large project. The arrays are decomposed multiple times in a for loop in Labview function called SVD Decomposition VI (http://zone.ni.com/reference/en-XX/help/371361R-01/gmath/svd_decomp/). I have attached screens of the subVI to this post, there are 2 cases but only one of them is used in the calculation (the 2nd one).

As you can see, the input to the SVD function is 2D array and in each iteration its size is approx 100x4, but the number of iteration is more than 2000. The input data type is single complex. I get error 'Not enough memory to complete this operation.' most of the time and then error window like in the error.jpg occurs.

I have really no idea how can I improve the memory efficiency of this VI. Should I do something like storing the result of SVD decomposition per iteration in a file and later read it from there when I need it? Is there a way to deallocate memory after each iteration then?

Thank you a lot, a solution would help me a lot.

 

(P.S. I use 32bit version of Labview because 64bit doesn't support some of modules, which I need.)

DAQmx Read VI returns empty waveform

$
0
0

So, I'm writing an interface for the NI USB-6229 in LabVIEW 2018 on Windows 10.

 

The DAQmx Read VI will usually write data to the file just fine (unless I change the "number of samples" control, but I think that is an unrelated issue), but the main problem is that no matter what settings I use for that VI it always returns an array of empty waveforms. Why is it doing this? Am I using it wrong? Is it a gotcha-type of problem? I need those waveforms so I can display the data as it is being collected. I am stumped and would appreciate any feedback.

 

P.S. Sorry the block diagram is so big.

How to send simple email or gmail from LabVIEW?

$
0
0

I would like to send a simple and short email from LabVIEW to any email, (gmail,hotmail...) whatever one is easiest? Thanks

Viewing all 66894 articles
Browse latest View live


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