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

Hüllkurvenanalyse envelope curve analysis

$
0
0

Hey,

 

ich baue einen Versuchsaufbau auf, bei dem Vibrationen analysiert werden sollen. Dazu soll Labview benutzt werden.

Die FFT steht soweit, nur frage ich mich jetzt warum ich noch eine Hüllkurvenanalyse mit einbauen soll, wenn ja wie geht das und wo baut man das in das VI ein?!? Kann mir das bitte jemand erklären, meine Kenntnisse mit Labview sind schlecht.

Der Unterschied ist für mich nicht ganz ersichtlich. Die FFT ist ein Werkzeug um die Hüllkurvenanalyse darzustellen, hätte ich jetzt gedacht...

Danke für eure Hilfe!


Disable Key event when entering text in MCL cell

$
0
0

I have an application where the user can use the spacebar to toggle symbols in a multicolumn listbox. The user is also able to edit the text in the cells. So when the user presses the spacebar when editing the text, the sybol is also toggled.

 

Is there a way to detect when the cell i being edited, or a cursor appear in the cell or anything etc, and use this information to disable the space event? I've tried "Edit Cell" and "Edit Cell?" but those only fire after the cell has been edited. 

Require AES 128 CTR encryption without addtional hardware

$
0
0

I need to implement AES 128 CTR encryption within my application, without the need for additional hardware.

I can find examples of AES 128 but none include CTR (counter)

LabVIEW search for USB version 2.0 or 3.0?

$
0
0

Hello all,


Currently I am using Thorlabs camera which has USB 2.0 hub which works fine with USB 2.0 interface. But I connect it with USB 3.0 it’s not working.

Is there any possibility in LabVIEW, so I can search for weather my camera is plugged in USB 2.0 or 3.0 hub.

PS. my apologies if I post my query in wrong discussion forum.

BR

Tejas

Editing Excel sheet within LabVIEW

$
0
0

Earlier on, it was possible to set up an activeX container and fill it with the excel Spreadsheet object that originated from Microsofts earlier office installations, something called MS Office Web Components 10 or 11. I've been using these for years in many applications, and it gives the possibility for the user to operate matrix data in a very familiar GUI, and also compatible (more or less) with the fullblown Excel tool. An example is shown in the picture attached. This is a much more powerful way of dealing with the excel format within LabVIEW, than just beeing able to read and write the excel-files.

     Problem is, that Microsoft has removed this add-on-tool many years ago, so there has not been any new versions of the Web Components since Office 2003 (or was it 2007?). I can live with that. But the last years, I also see indication that this old component is getting more incompatible with new versions of Office and new operating systems.

   So if anybody has found a better activeX/.Net component that is excel-compatible. and can show the sheet within a container, I'd be very interested. I saw an example on the net, where they used the web-browser object to display the excel-sheet, but of course it failed when I opened it and tried it, not very robust. Any other suggestions ?

insert image in Draw Circle by Radius vi

$
0
0

there is a sub vi in labview named Draw Circle by Radius VI. I want to add the image in that circle. Plz help

Serial COM Port

$
0
0

When Data is written to a COM port, why Same data is received back from the COM port?

1.PNG

2.PNG

How to make a new version of complex set of VIs?

$
0
0

I am a novice user debugging some complicated legacy LabView 6 (2001) code. I'd like to make a new copy of the code and leave the original untouched. It appears the VI I want to debug calls many other VIs. How can I get a list of all the VIs that are needed to run the code? Should I then bundle all of them into a library, rename it and move it to a new directory, to avoid any accidental changes to the original VIs?


TCP Wait On Listener multiple remote addresses from 1 machine

$
0
0

I'm trying to reciever messages from multiple machines and keep track of them by the IP the message came from.  I was using TCP Listen.vi which says it puts the remote address out in dot notation, it doesn't.  Kept sending the name of the machine as near as I can tell.  I saw the create and wait on listener VI's had a boolean to tell it to "resolve remote address indicates whether to call the IP To String function on the remote address. The default is TRUE. Refer to IP To String for more information."  So I switched to that.  Now I'm getting an IP sometimes 192.168.44.89, sometimes a name LabVIEW_Dev_1 and other times a slightly different name labVIEW_dev_1  So I end up with 3 instances tracking on my listener when on 1 machine is sending?  For sure only 1 is sending so far and only 1 adapter is on that network.

SR844 GPIB real time measurements

$
0
0

Hello everyone,

I just started using Labview and I have downloaded the Instruments driver for the sr844 lockin amplifier.

I would like to read of the measurements of the channels and save them in a csv format for post processing.

 

My main issue is that I cannot figure out how to accuire the data in real time.

If i setup the instruments and continusly use the measure function of the sr844 library in a loop, the update rate is higher than the sample rate. As a results I get "points" than the measured ones.

 

Anyone has any idea about how to do this?

Sorry it might be quite obvius.

 

Yiangos

Printing with .NET

$
0
0

I am using LABVIEW to print on a windows machine via .NET framework (using 'Register Event CallBack'). I am able to send the print command but it prints a blank page. I am not sure What I am doing wrong. I have included a screen shot and a zip file of the project.

 

 

Please help.

waveform chart with date & Time

$
0
0
Hello I am trying plot a Temperature Data on a wave form chart but I have not succeded so far under the conditions I am looking for: I am aquiring the temperature data through thermocouples from a NI PXI thermocouple module(no problem), since my DUT is running cycles between -40 deg C and 90 degC and 1 cycle = 160 min I need to see the entire cycle on the chart and the previous histrorical data, the total cycles that I need to run on my test is 200, so I what I want to see on my chart is, on X axis, Date and time and being able to see one cycle on the screen (about 2.5 hours of data) and with a cursor bar move back to see all the previous temperature data, if possible. Is there a way to do that ? I appreciate your help, thanks. Eder

Spike noise reduction with DAQmx

$
0
0

Hi all,

 

I am not a specialist for this signal processing or DAQ measurement. 

I just collected data with NI-USB-DAQ in 10 kHz sample rate.

The data, displacement information, was coming from a control unit of length measurement by laser.

However, I found some spike noises in the sinusoidal data as shown in the figure.

(I enclosed the raw data, x-axis (time in sec) and y-axis (voltage).)

 

Can I remove the irregular data with some filters in LabVIEW?

and is there some techniques to collect data with USB-DAQ? 

For example, Do I need to give some ground for other usued channels to prevent crosstalk in DAQ?

 

My final goal is to analyze FFT of the signal to find the right frequency of sinusoidal data.

 

Labmaster.

 

wave test.PNG

 

 

Skip control when tabbing decided programmatically

$
0
0

Hi,

 

I'm hoping I can get some help on this problem.  I am trying to skip a control based on the value of the previously entered control.  Here's a synopsis of what I'm trying to do:

 

-My front panel has 6 controls (Lot ID 1,2,3 and Quantity 1,2,3).

-The tabbing order for the controls is set to Lot ID 1, Quantity 1, Lot ID 2, Quantity 2, Lot ID 3, Quantity 3.

-If the user enters a non-zero or non-empty string value into the Lot ID and presses tab, the following Quantity control defaults to 25 and this value is highlighted.

-When they tab off the Quantity control, the next Lot ID is selected and the value is highlighted.

-If the user enters a zero or empty string value into the Lot ID and presses tab, I want to change the Quantity control to an empty string and then move on and automatically select the next Lot ID and highlight it's value.  

 

I've attached my sample code.  Everything works as it should except the last step.  I can't get it to skip the Quantity control when a zero/empty string is entered in the Lot ID.  Any ideas?  

 

Thanks!

Controlling Maxon motor with LabVIEW over USB

$
0
0

I'm creating and answering this for progeny. It looks like I had an issue that a lot of people have unsuccessfully shared.

 

problem

I have a Maxon 24/5 motor that I can control with EPOS Studio via USB, the control suite developed by Maxon. Now, I wish to control the motor via LabVIEW. How do I do this?


Version in "About LabVIEW..." window doesn't change after installing 2016 f1 patch

$
0
0

After installing the "LabVIEW 2016 (32-bit) f1 Patch" (here), it doesn't seem like the version description in the "About LabVIEW..." window changes.

 

Is there really no way to determine if the patch has been installed?

 

Input value range selection (Extract portion of Signal)

$
0
0

Hi Guys,

 

Im trying to select a value range from a signal. i can fix the starting point value which is -0.2 but i coudnt set the ending value range which is 0.2.

 

I only managed to set the length in number of sample but not in unit value. Is there any way so set the range portion from -0.2 to 0.2?

Here, i also attached the vi and data file. (Run, dont use Run Continously)

 

Yunus

EV3のリセットの方法について

$
0
0

このサイトの初期化の方法を試してみましたが、初期化の状態になりません。なにか原因があったら教えてください。また他のリセット方法もあったら教えてください。プログラムが消せればなんでもいいです。

https://afrel.co.jp/archives/15576

DNP3 Write Binary Output

$
0
0

Any help would be greatly appreciated. 

 

I am currently working on creating an HMI/SCADA in LabVIEW that communicates via DNP3 Master Protocol to an SEL RTAC (real time automation controller).  The RTAC is connected to a SEL 351s which is basically a relay.  I have no problem reading analog inputs and binary inputs from the RTAC which receives the data from the 351s, but have been very unsuccessful in attempting to write to the 351s by using write binary output blocking send command vi in LabVIEW.  Basically, I have four binary output bits from the 351s which hold the status of a circuit breaker that I need to be able to control.  That is, I need to be able to write either true/false to a binary output value.  The point index for the values are 0:3, however, by using the range and values controls that connect to the DNP3 master vi, I am unable to control anything and usually get the IIN response status message.  I just need to be able to write t/f to different point indexes in the binary outputs of the 351s that is connected to the RTAC via SEL serial protocol, that is then connected to my LabVIEW as an outstation to my LabVIEW master program.

 

I could really use any help in making this work.  

 

Thanks,

Drew

Trying to send data from sbRIO9623's RS232 to Odroid/Arduino

$
0
0

Hi guys,

 

I have been trying to achieve this half duplex communication for quite sometimes but I could not do it. There shows no signal when I send which data (string) from labview out of my RS232 to Odroid/Arduino. I have tried connecting the 2 RS232 pins (Tx and GND) to Oscilloscope to see whether is there data sending. It shows a flat -5V even my programme is running. 

 

However, when I connect to just Tx it gives me a sine wave with amplitude of 1V. I am puzzled and have no clue what I should do. 

 

Can someone please guide me as I am currently studying and hope to finish this programme before I graduate and pass down the project to my junior.

Viewing all 66935 articles
Browse latest View live


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