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

How to calculate Modulation Error Ratio (MER) in labview?

$
0
0

Dear friends, 

 

This is about wireless communications. My question is that, how to calculate Modulation Error Ratio (MER) in labview? In other words, does labview has a in built vi or function I can use to do that?  Or I have to do it myself?  Thank you.  

 

I found a link about MER: http://www.ni.com/white-paper/3652/en/  I do know there is bit error rate vi, but do we have MER ?  


Please Convert from 2017 to 2016 LabVIEW

Conversion from 2017 to 2016 LabVIEW

Using MS Visio ActiveX Model does not have any examples and does not work

$
0
0

Hi I am trying to get the active X remote interfaces for Visio to work from Labview similar to that of the excel examples provided with labview.  I cannot seem to get the references to even open for a visio drawing control without errors.  Does anybody have a simple program to get me started with Visio programmatically from labview?

Arduino & NI-VISA

$
0
0

I'm trying to parse ASCII strings coming from Arduino as :

...

$TIDE,154,154,154.00,104.00
$TIDE,154,154,154.00,104.00
$TIDE,154,154,154.00,104.00
$TIDE,0,154,15.40,-34.60
$TIDE,0,154,30.80,-19.20
...
$TIDE is chosen for identity and followed by 4 numbers seperated by commas, each line ends with CR. Arduino sends data every 100ms through RS232 Shield to computer. I confirm that i receive data when i control with terminal software on PC.

 

It does not work, any help is appreciated.

MsiError 1627: 1: 2727 2:

$
0
0

Hi LabVIEW community!

 

I have created a lavbiew project ("".lvproj), and build an installer. and it goes well. i have the setup.exe ready for installing, but when i tried to install it theres an error occur at the early stage of installation.

 

MsiError 1627: 1: 2727 2: <Not A Path>

 

by the way im using LabView 2015

 

 

Graficar señal en labview / Plot signal in Labview

$
0
0

Buenos días,

 

Tengo una señal que simula la señal de un sensor de efecto Hall, a traves de una señal "de reloj" digital, lo que hago es que multiplico ese valor (0 o 1) por el valor de amplitud que quiero, por ejemplo 10 teniendo asi una señal que varia entre 0 y 10, el problema es que a la hora de gafricarlo

me esta cogiendo una base de tiempo extraña, va demasiado deprisa y no puedo visualizarlo bien.

 

¿Alguien sabe como puedo modificar el Waveform chart para poder visualizar mi señal de manera correcta en el tiempo?

 

Gracias. 

 

 

 Good morning,

 

I have to simulate the signal of a Hall effect sensor, through a digital "clock" signal, what i do is that i multiply that value (0 or 1) by the amplitude value that i wish, for example 10, having so a signal that varies between 0 and 10, THE PROBLEM IS THAY WHEN IT COMES TO PLOT IT.

I'm taking a strange time base, it's going too fast and i can not visualize ir well.

 

DOES ANYONE KNOW HOW I CAN MODIFY THE WAVEFORM CHART TO BE ABLE TO VISUALIZE MY SIGNAL CORRECTLY IN TIME?

 

THANKS.

 

Avoid running an exe as administrator

$
0
0

ood Morning.


I am doing tests to make an installer of an exe created in Labview 2012. I have created the installer without problems. When running the software, once installed, I need to run as an administrator even though I am already a team administrator.
If I run the software in a normal way, I get connection errors with the database associated with the software, this does not happen, when executing it "as administrator".

Can someone help me why this happens and how can I avoid it?
 
Thanks in Advance. 
 
Regards. 

creating username/ password and Save it

$
0
0

Hi, 

 

I'm working on a big VI, that requires to enter a username and a password to be protected all the time. 

my original VI is built on QMH technique and unfortunately i can't post it. 

i wanted to give the user an opportunity to create his own username and password after the first time he login to the software. 

 

when the user runs the software he should enter (admin, admin) as temporary username and password and after that he should create his own. 

 

in the attached mock-up VI, i created 3 taps, first one send you to the second by pressing next and the second has the username and password, the third just stop the running. 

 

i know that i need to have 2 strings and Boolean in the third tap, which is the new  username and password, and save it. but how can i make it the official username and password after first time of logging.  

 

at the minute i'm saving the username and password that i'm entering into a spreadsheet in specific path, and this is not secure. 

 

how can i save the information and remember it within the VI itself. (i.e: similar to your username and password in the windows desktop). 

 

so first of all how can i create the tap that allow me to ask the user to enter his new username and password and make it the official one after he login for the first time. 

 

second how to save it into the software itself not in spreadsheet (similar to local variable or gloable one).

 

please check my vi, just very simple one 

 

 

 

thanks in advance. 

 

 

Bug in Build Array Function - Inserted to row 1 instead of row 0

$
0
0

Using the build array block;

Step 1: Concatenate a 2D empty array with a 1D empty array = empty 2D array, 

Step 2: Concatenate a 1D array of data with an empty 1D array = 1D array

Step 3: Concatenate the 1D into the 2D and you get the 1D at row 1 instead of row 0

 

This can be fixed by transposing the empty 2D array created in step 1 before concatenating in step 3.

I'm a bit perplexed by this.Why would transposing an "empty" 2D array fix anything

제주출장만남

Involuntary movement of controls and indicators on the screen

$
0
0

Good Morning,

I have generated a certain VI, with controls and indicators, I have seen that by changing the screen size (maximize and modify the size of the screen) in execution makes the controls and indicators move freely on the screen.

Can this be solved in some way?

Thanks in advance.

A greeting.

Property: Response to value outside of limits

$
0
0

 

Dear Community,

please have a look at the attached code. Why is it, that when I change the array inputs count and then type a value to Numeric, this value does not coerce to the nearest value as I would expect it to. Rather it does so when typing the value again.

Thanks in advance for your responses.

 

How to include a sample time column in my stored data file

$
0
0

I have created a labVIEW program by combining 2 programs. I am logging my data into a file, the problem is i want also to inlcude a sample time column. How can I do that. I am attaching my Vi and a picture of what I am aiming to get in the end. Since I am new to labVIEW i have limited knowledge. Please help.

Check if file/folder exists can't see file 32 bit Labview 2015 on Windows 7 64 bit

$
0
0

I have a vi that searches for a file on C:\FolderA\FolderB using "Check if File or Folder Exists.vi." It can't see the file and returns with a FALSE (does not exist) when it is clearly there. I've tried to change permissions, but every time Labview 32-bit 2015 checks, the permissions seem to change back. I'm wondering if this has something to do with the fact that I'm running on a 64 bit Windows 7. I haven't found any posts that go into Labview not being able to see a file in this way.

 

I am also trying to run a batch file following this. Wondering if I need to run as admin for that but haven't made it that far yet.


Waveform Chart does not display correctly

$
0
0
Don't create a new thread when you are already being helped in another thread. Your new message as been moved to the existing thread.

Can tdms operations change the tdms file reference?

$
0
0

Flush written TDMS data from examplesFlush written TDMS data from examples

I wonder whether tdms operations can change the tdms file reference. When writing to tdms in a while loop, do I need shift registers to have the file reference stored for the next iteration or can I just use a tunnel? See the above example (shipped with the LabVIEW examples.

This becomes relevant when using a state machine where in one state I open a tdms file, write in another state and close the reference in yet another state (when exiting the vi).

I need to store the tdms file reference anyway, so it's not an issue to "overwrite" it whenever I write to the tdms file. In fact, that's what I've always done in the past.

However, I recently updated my state machine and removed all tdms references coming out of the tdms write vi. Is this ok or not?

tdms write in state machine.png

Write to tdms (and flush) in state machine. TDMS reference out is not wired. Is this ok?

 

 

 

 

Dynamic Balancing

$
0
0

Hi,

 

I have a system which includes an engine connected to a gear connected to a universal joint connecting to a second engine (for creating torc on the shaft). I can treat the universal joints as 2 parallel plane. I need to do a dynamic balancing on the axis as following:

 

I set my "0 degrees" point by removing material from one of the teeth in the gear. the  distance from tooth to tooth is equally divided relatively to the reference tooth (360/number of teeth).

 

I'm using NI PXIe-4492 card. I have 2 accelerometers (one for each plane)  and a Honeywell VRS magnetic speed sensor for the rotation.

 

I would like to build/find a VI with LabVIEW that can tell me exactly on which angle I have the imbalance, and the location where I need to compensate the system with suitable weighs.

 

In the past there was a massive thread about that subject I still check (https://forums.ni.com/t5/LabVIEW/Rotary-Balancing/td-p/429579/page/6) , and I have also read "NI Two Plane Balancing" program with PDA (http://www.ni.com/example/4381/en/), but I haven’t managed to solve it yet.

 

Could you please help me to find a VI  or even a direction for my problem ?

Thanks a lot,

Lior.

VI that checks for expired calibration, (expires every Sunday).

$
0
0

I am creating a test stand that can't go more than a week without checking/ running the calibration. I plan to handle this by having the calibration expire every Sunday. If a user opens the program and the calibration program has not been run since Sunday it will open the calibration program. I don't want to make it good for X hours because I don't want the program to have to be ran in the middle of testing. Has anyone done anything like this?

Dynamic Set Value on Subpanel with VIT

$
0
0

Hello,

 

I've started to study NI Labview 1 week ago (I've just learned some basical instructions from this forum) and I hope you can help me.

I'm programming a VI as SCADA that is going to collect some values through MODBUS from several controllers and, in order to create something graphical that can be repeated, I created a VI Template that is called in the main page through a Subpanel. 

My problem is, when I run the Main VI continuously, the VIT is displayed but is not reading the value that I'm giving from the main page (from Numeric Control "INPUT1" I should immediately write inside "NUMBER1" and "INPUT2" in "NUMBER2"). Only when I stop the 2 SubVI the software is passing the values inside.

I tried several configuration, but no one was working. 

You can find an example that must be fixed. It is possible to call a VIT inside a Subpanel and integrate them inside a While Loop Cycle? Thank you for the support.

Viewing all 66700 articles
Browse latest View live


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