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

traitement d'image


Sending data via TCP

$
0
0

I'm using Labview 2018 and I been trying to test the TCP read/write function and having some issue and getting a few errors. I'm mainly wondering if there is a way I can just send data (A 1-D array to be specific) via the TCP function and then receive it back at the same computer, so basically sending it in a loop.

LabView Cursor Double Display

$
0
0

pic.png

 

Hello, I have been trying to troubleshoot this for a while and to no avail. What is the easiest way to get rid of this double drop down display for these values? I need it to stay single plot, so I cannot change it to free dragging. It's on a multiplot graph.

Web Server Configuration and Issues

$
0
0

I have been battling with this for a couple days.  I have a VI on my programming laptop (Not on the network)  I also have an actual server where I am trying to do remote panel website.  So I created an installation that placed the NI Web server on the actual server when it unpackaged my program with the html page.  On the server I do NOT have LabVIEW installed, only the run-time engine for 2011 SP1 and the web server.  I have verified the web server is running and always booting at start.  I can not access the configuration page at localhost:8000 or localhost:3580 or localhost:3582.  When I am on the server and try to run the HTML page, the VI in the middle gets the error message "Invalid Server IP Address", however when I am on a third computer and type in the server and HTML address (Setup through IIS) I get the error message, "Server does Not support remote panels."  I have gone through all tutorials and they always go back to basically having LabVIEW installed on the machine for the settings, however this is not an option for me.

Thank You,

Robert 

SOUND LOCALIZATION

$
0
0

HI,

how can i get time delay from cross correlation ?

why we substract 99 ?

does this value differ if sampling rate changed?

does this code suitable to detect time delay between two signals?

DAQ Assistant x_value (usually Time Elapsed) is now "0"

$
0
0

Hello,

 

I am using DAQ Assistant (please, show mercy) to capture a few temperatures (from thermocouples) and a few voltages (from pressure transducers) and had been using the column X_Value as my time elapsed.  However, on a new computer (Win 10) writing a new VI, the X_Value column is now "0" all the way down.

 

The VI is in pieces right now which is why I haven't attached it yet.  If there is a need, after I get it back to where I had it, I can post it.  For what it's worth though, in troubleshooting, I created a new, different, and simplified VI and it did the same thing. 

 

Does anybody know why/how I'm blocking those values and getting 0 (not 0.0 or 0.1 etc.) in my X_Value column.

 

Thank you for all the help; as I am new here, if there's anything I missed, please let me know and I'll do what I can ASAP.

 

Thank you.

Property node for a graph in sub VI

$
0
0

Hello all 

 

I hawe question how to chnge graph parameters in sub vi.

 

Main vi have graph
sub vi doing some mesurments an then need to change graph parameters like scales and cursors positions.

When property nodes are i thesame VI as graph is working prefect but how can I pass graph reference to sub vi ? 

 

Best regards 

Timed Loop rarely gets stuck and does not seem to halt.

$
0
0

I have observed on 3 machines in 3 months the timed loop getting stuck and never exiting.  The VI is running on several versions of LabVIEW... LV2015,16,17.  Running Windows 10 not RT or CompactRio.  Nothing complicated is going on in the timed loop.  The counter shows that the timed loop has been entered but the timer never fires so it gets stuck.  I have waited for about 2 hrs and the timed loop never exits.
 
The issue once it occurs seems to be static.  You can exit LabVIEW and/or restart the machine and the timed loop will not function correctly.  If you force recompile or change something in the VI to force a recompilation the timed loop functionality returns to normal.
 
Just curious if anyone happen to seen this before or know how windows timer resource gets stale?


NI LabVIEW Control design and Simulation mudule support for labview 2018 is missing

$
0
0

Hi hello I have this problem and I'm new Labview install version 2018 and then the design module and control simulation and look for the start tutorials on the official page download the sample files and open them I get the following message:
"NI LabVIEW Control design and Simulation mudule support for labview 2018 is missing"
NI-USRP Driver support for labview 2018 is missing
TOO
I read in this forum that it could be a mistake to mix the 64 and 32 bits version THIS IS NOT my case both packages are 64 bits
I HOPE THAT YOU ANSWER SOON PLEASE
At the moment I think I will download and reinstall the modules that says they are lost Smiley Sad

ATTACHED IMAGE

NI LabVIEW Control design and Simulation mudule support for labview 2018 is missing

Revert Dialog

$
0
0

Ok, can someone please tell me why this pops up?  I have no idea, but I get these dialogs all of the time now and I have no idea what is triggering them.

 

How to get the continuous values range from a 2D array?

$
0
0

For a given 2D array with different values, i'm trying to get the range for which the values are continuous. However I'm just get the end values for the logic I have developed.For Example: if the input array isinput array.PNG

 

 

 

 

Then the output string array must be 

output array.PNG

Cannot open the block diagram of a previously saved vi

$
0
0

I built a project and a VI under it yesterday, and saved them all. But today when i open the VI, I found the front panel became grey, and the bock diagram cannot open with "Ctr-E", or from the tag " window-> left and right". Does anybody know the causes.  Thanks a lot 

 

Triggering in Labview using Analog Input Signal

$
0
0

Hi NI community,

 

I am trying to acquire an Analog Input signal using LabVIEW (2010). I am using input analog signal (like sine wave) as a triggering source. Also I want to record the same wave/pulse.

 

How can I do this operation?

 

I am using NI-PXIe-6124 card.

NI USB 6000 series Pretriggering

$
0
0

Hello Community, please help me.

 

I am having NI USB 6000 series for my mechanical engineering undergraduate final project (USB 6008, 6001, 6009, etc).

 

I want to capture data from Analog Input Portbefore the trigger occurred, but as we know that the cheap daq devices do not support pretriggering and reference triggering.

 

If I use Trigger VI for the daq device, the device only capture data after the trigger on PFI0 occured.

 

I found a solution on the internet: using analog software pretriggering (you can find it on NI DAQmx examples, or if you wanna, i will attach here then). 

It is simply checking the data from the Analog Input Port, if the value meets the requirement for trigger, so the trigger will occur and the data recording begin (also some samples of pretriggered data). If the trigger does not happen, so the data in the AI Port will just buffer (FIFO).

If I use that, the problem will be happened if a trigger occurs faster than the NI USB sampling time in AI

 

To solve that, I have an idea like this:

1. Buffer the data in AI port, just like before.

2. While buffering the data, NI USB 6000 series also waiting the PFI0 for trigger signal.

 

Is it possible to buffer data in Analog Input while waiting trigger from PFI0 in NI USB 6008? I need to buffer the data because I want to record also some samples before the trigger in PFI0 really occur.

 

Thanks in advance!


Capture d'écran d'un scope sur LabVIEW

$
0
0

Bonjour à tous,

 

J'utilise LabVIEW 2017 et je souhaite effectuer puis enregistrer une capture d'écran sur un scope Tektronix DPO4054 et l'enregistrer en tant qu'image. J'ai téléchargé les drivers du scope et je le pilote en USB  mais en parcourant les drivers je ne trouve pas la possibilité de faire une capture d'écran et de l'enregistrer. Savez-vous si cela est réalisable et si oui comment ?

 

Merci d'avance.

Writing file more 4GB

$
0
0

Hi.

 

I would like write datalog file data that contains array (size=1M of dbl data), strings and numeric. But when I reach size of file = 4GB I have an error that it's max file size. Is there a way to write such data and have output small size file? Thanks.

Zoom FFT worth it it?

$
0
0

Hi all. I am questioning whether it might be worth it to use a Zoom FFT in my system. I know I benchmarking is the only sure way to tell, but I am hoping some of you have experience with the matter. The stats of the measurement:

 

System: Windows 10 with a recent i7
Sample Rate: 20 MS/s

Measure time: 4 ms

Number of samples: 80,000

Interesting Bandwidth: 200-400 kHz

No. of bands: 2
Number of acquisitions per measurement: ~65k

With these numbers an FFT takes about 8ms and we require 2-3 worker threads going to not get behind. CPU utilization hangs around 75% with regular spikes to 100% (probably 3rd worker thread kicking in).

So far as I can surmise a Zoom FFT depends on how efficient you can make anti-alias filtering. That is where I know longer have a strong grip on the fundamentals. I can say that phase is not so important to us, which makes FIR available. However, whether FIR or IIR makes more sense in this context, I do not know. Additionally, within the classes of filtering, is there any performance difference time wise of say Butterworth vs. Chebyshev? Also, what role would normal vs. cascading (default in the non-advanced versions) play here?

If you have any hints about this type of stuff before I spent a chunk of time setting up benchmarks, it would be greatly appreciated, even if you have some good references that I can check out on my own.

Thanks!

DDE server receiving data

$
0
0

Hello, everyone.

I recently started doing the DDE issue, And I have some problems.

I was able to create a server program that sends information to client.

this is a block diagram of server:

2019_04_23_12_31_35_DDE_Server.vi_Block_Diagram1.png

 "Server " sending ITEM to Clint works perfectly.

now I try to build a SERVER that gets the ITEM from client(Inverse case)

A picture of my block diagram :

123.png

 

I tried to use DDE srv chaeck ithem and dde srv get dynamic items

But I can't seem to get the ITEM values from client.

What am I doing wrong?

 

 

 

how to read .mf4 file using labview.

$
0
0

Hi, 

 

I am trying to read the .mf4 file format in labview using MDF4 data plugin. The Same file is opening by using Vector CANalyzer. I have attached the sample file and VI. Kindly suggest.

 

Thank you in Advance.

RJ

 

Viewing all 69005 articles
Browse latest View live


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