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

LabVIEW executable will not run properly

$
0
0

I made an application that uses 3 csv files, makes some operations with the data and writes the results in an xml file, it also sends some keyboard commands, to windows, to control a third party application I have on my computer.

The vi runs as expected, in LabVIEW, but when I try to run through a standalone exe or after installing it, I can only see the LV icon, on the right corner and a white toolbar.

Can someone please help me create a project and an exe, that doesn't have this problem anymore?

I made it with LV 2018, and Win 7.

I will leave a lower version LV VI, so that you can view the code.

I am able to create EXE just fine, with other applications, its just this one that's causing the issue.

Thanks.


LabVIEW example finder help

$
0
0

I need help with accessing the LabVIEW examples. Could you please direct me?

accelerometer frequency domain integration to velocity

$
0
0

Ive made a project for measuring G rms from accelerometers. i sample 512 samples, get the spectrum and calculate G rms overall value as described in this site:

 

https://community.plm.automation.siemens.com/t5/Testing-Knowledge-Base/Root-Mean-Square-RMS-and-Overall-Level/ta-p/431992

 

this seem to be working fine. i test by using a function generator and feeding various voltage waveforms into the daq, and i get the same value when i calculate using spectrum as described above, as if i use labviews rms function and use it on time domain samples. So i assume this is working. Attached is a reduced version of this program, i hope this is also working (that i havent done mistakes when reducing the program).

 

Now i need to get velocity (mm/s) instead of acceleration. Ive read a couple of places that i can integrate in frequency domain by dividing each spectral line by omega. actually several places ive found that dividing by omega will double integrate to displacement (and a couple of places say it will just integrate). which is true? if dividing by omega is double-integrate is dividing by sqrt(omega) single integrate?

 

Please comment on my attached VI where i have tried to implement this to achieve overall RMS mm/s values.

i do not have access to SVT btw.

 

Also, if anyone is familiare with iso ISO 10816 and know if this is the reccomended way to integrate according to this standard it be glad to hear.

Fluke 7340/6330 LABVIEW drivers

$
0
0

Hey guys, how's it going?

I am having problems finding the LABVIEW drivers for the FLUKE 7340 (and/or 6330. These are Compact temperature Calibration baths, which we use here in the company! Would any of you have developed any type of driver for this or know where I can find it? I have looked up on both Fluke and NI's website and couldn't find it.  Or perhaps you guys know/have any ideas on how to get these baths talking to LABVIEW!
Here's a link to the baths' webpage: https://us.flukecal.com/products/temperature-calibration/calibration-baths/compact-calibration-baths/6330732073407380-comp-0

That would be extremely helpful!! I have not been able to establish this connection at all so far Smiley Sad

Thank you in advance for the help! 

Driver of GPIB-USB-hs

$
0
0

I want to use a GPIB-USB-HS to connect to Agilent 8163A. The computer is aged and its OS is Windows XP SP3 with NI-488.2 (Version 2.17). After the GPIB-USB-HS was plugged in USB port,the computer asked its driver. How can I get its driver in NI's website?

ejemplo de un programa para controlar varios sensores con la Daq 6008

$
0
0
There is a Spanish board under Regional Communities. Message has been moved there.

VIPM Could not connect to LabVIEW 2018 (64-bit), 32-bit is OK

$
0
0

I did a fresh install of LabVIEW 2018 (64-bit and 32-bit) and I've been trying to install VIPM and some packages from there. For some weird reason, VIPM does not connect to LabVIEW 64-bit. 32-bit is OK.

 

When VIPM tries to connect to LabVIEW, it opens LabVIEW and then pops an error message (attached).

 

Here are things I did:

- I made sure TCP is enabled on LabVIEW and the port settings match

- I also added localhost to LabVIEW in addition to "*" for the machines to allow access to

- I also opened the ports 3363 (used for 64-bit), and 3364 (used for 32-bit) via Windows firewall

- I tried to swap port numbers between the 32-bit and 64-bit LabVIEW and it doesnt work

 

Anybody have insights?

ブール1ビットをLSBとして8bit分(7bitは固定値で良い)の1D配列ブールに変換する方法

$
0
0
Moved to Japanese board in Regional Communities like your previous messages.

パソコンとオシロスコープの通信

storing continously incoming udp data.

$
0
0

aoa.i have attached my vode but this code readsnonly single line data replacing it with the next recieved single line data but i want to acquire each single line data for further calculations

neither i am able to transform it ino one multi line string so i can separate later

nor i am able to extract one by one each line..it just vanishes

moreover my inside loop is executing if i chect it by using probe but the itration value of loop stays zero throughout

kindly help

frequency jump from extract single tone information VI

$
0
0

I am analyzing a bunch of time series signals meausred at diffrent magnetic fields to pick up the main compoment frequency and plot them.

Method 1: I use the extract single tone information VI. It can easily detect the center freqency of the spectrum and the results looks smooth except there is always frequecy jump at some positions. See the following snapshot with red circle highlighted.

Method 2: I use curve fitting function(Lorentz function) on FFT data (from extract single tone information VI output) to get the center freqencies. The plot seems smooth all the way.  But it looks noisier than that the extract single tone information VI gives.

 

The question is, how these jump happens using the extract single tone information VI detected frequency? Why are the fitting results noisier than that the extract single tone information VI gives?

Thanks.

 

 

WT

Counter reset logic

$
0
0

Hello everyone, I’m new to programming in Labview, having started 2 months ago. Recently I’m doing a project which involves counters, switch cases and logic gates – which I’m still trying hard to understand. I apologise if I’m not being specific on the details.

 

I’m trying to build a program to count the number of people entering and exiting the room by using 2 proximity sensors (S1 and S2). My program will have 3 counters to track the number of INs and OUTs to derive the number of people in the room. Hence the number of people in the room will be INs – OUTs. For this purpose, I am using 2 toggle switches to simulate the sensors.

 

The logic of the counters are as follows:

IN counter: When someone enters the room, S1 is activated first before S2 is activated. When this happens, IN counter will increase by ‘1’.

OUT counter: When someone exits the room, S2 is activated first before S1 is activated. When this happens, OUT counter will increase by ‘1’.

 

Whenever a cycle is complete; ie both S1 and S2 equals to ‘1’, the sensors will revert back to ‘OFF’ state in accordance to whether they are being triggered as IN or OUT.

The resets are as follow:

IN scenario: S1 is reset to ‘0’ first before S2 is reset to ‘0’.

OUT scenario: S2 is reset to ‘0’ first before S1 is reset to ‘0’.

 

The reset part is where I encounter problem. For example, when I simulate the ‘IN’ scenario, the IN Counter = 1, while the OUT Counter = 0, which is as intended. However, when I perform the reset – S1 = 0, then S2 = 0, the OUT Counter increases by ‘1’. The opposite happens when performing the reset for the ‘OUT’ scenario. Is there a way to rectify this?

 

Thanks in advanced for the help, I hope that I can learn something from this.

P.S. Screenshots are attached.

 

Cheers!

ET

PSU doesn't open for configuration

$
0
0

hi

i am trying to use PS or any other vi from the NI elvismax palette and it blocks and i can't open it to configure the PS for example.problem.PNG

mHz Stopband filter

$
0
0

Hello,

I need to implement in Labview a stopband filter with a stop band less than 1 Hz. I ask for help in choosing the type of filter and possible guidance on its best use.

Input signal has fs=10kHz. Attached projects (for labview 2014 and 2017) containing the input signal in the form of a constant.

Is it possible with this input signal parameter?

Thank you

Digital Signal Processing and Applications with the C6713 and C6416 DSK

$
0
0

Dear All,
I am new comer in LabVIEW software, currently I have the DSP C6416 DSK from Texas Instrument. I need your help relating how to communicate between DSP and LabVIEW 2015 and how to make a programing after it've successful to be read by LabVIEW. Please help and share your experience and thank you for your attention.


Best Regards,
Pratama 


PID setpoint time addition

$
0
0

Hi all,

 

I'm trying to run 2 instruments concurrently using the PID setpoint profile but I'm having trouble setting up the time to work properly. In the time column, if I want the program to change values every 5 seconds, I have to set each value in ascending order as 5,10,15,20, etc.

 

What I'd like to do is just input 5,5,5,5,etc. in the column as I need second precision and changes in the order of 100k seconds. Having to add all of the previous values up and add them to the next row is a massive pain. I know there will likely be some simple way to programatically add the time together as the loop runs but I'm just not LV enough to see it.

 

Any help would be appreciated.

Adding two waveform

$
0
0

Hello,

 

I am trying to write a Labview nxg 3.1 code in which I add two copies of the same signal, the original one and it's delayed version.

I used a shift register with a wait function. The shift register should add the previous signal to the delayed one.

However an error 1802 is occuring on the addition. It says that the two waveforms have different dt. Can anybody help me with this ??

Timed Loop Clock wire bug (FPGA only?)

$
0
0

When a SCTL has a clock connected via wire, it appears that it cannot be renamed. The Configuration Dialog allows it, but next time you open the dialog, the old name is still there.

 

This occurred to me during a search for a bug which I unfortunately cannot reproduce.

 

I don't think this inability to rename is intended behaviour.

 

 

Adding data to text file

$
0
0

Hello All,

I am still fairly new to LabVIEW. This VI was not built by me but by someone who had left our company so now i get to solve its problems with no help or notes! Anyways this VI takes Data from our Atlas Copco and adds it into a text file. So far that part works fine but the problem that i am trying to fix is that every time it saves the data it duplicates data that has already been added to the text file. I need this program to only save the new data from the AC. We have another Vi that goes through the text data to see if there were any serial numbers that had been skipped or are out of tolerance. Since there is duplicated data in the text file, the program gets confused and states that all serial numbers are missing. Any ideas on how i can go about this problem?

Hardware-timed square wave analog output on USB-6002

$
0
0

Hello,

 

Im trying to generate a hardware-timed analog square wave output on my USB-6002 DAQ-card.

Below Ive attached my first try. Im using the Square Waveform.vi, which is connected to an DAQ-assistant.

The analog output pin is connected to an analog input pin on my DAQ to validate the output. The sample number is set to 1k with dt=1ms, frequency=5Hz, amplitude=0V with an offset of 2V. One should see 5 squares of 0 to 5V with this setting. Nonetheless, the graph of the input just shows 2V over the whole 1s measured. Where is my mistake?

 

For now the specifications of the waveform do not matter to me. I just want to get any square wave output. In the final version I need a 1ms pulse length and 5 Hz repetition rate. According to the specs of the USB-6002, this should be possible, right?

 

Secondly, Ive read a topic, where its stated that the USB-6002 is all software-timed: https://forums.ni.com/t5/LabVIEW/Making-a-square-wave-analog-output-with-a-Daq-6008-is-it/td-p/2047322?profile.language=en

This contradicts the specs http://www.ni.com/pdf/manuals/374371a.pdf and this page https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019QYGSA2&l=de-DE

Is the analog output of the USB-6002 hardware-timed or not? Im quite confused.

 

Thank you very much for every help!

Viewing all 66767 articles
Browse latest View live


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