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

lab view waveform chart

$
0
0

Hi,

i need help with some zoom options on wavefrom chart. Need to zoom wavefrom chart which buffer size iz 10000 on half of measurements when i press button to do that. I post VI with button to zoom all measurements and button to zoom measurements in the last 10 seconds. Can anyone help me with this i need one more in form like this two just to zoom half of the measurements. And where is ambient sensor?

 

Untitled 1 is for LabVIEW 9.0

help 14 is for LabVIEW 14.0

 

Sorry for bad english.

Thank you!


smart house

$
0
0

hi 

I'm interested in make a project on HomeAutomation. I'm new on LabView.It would be great if somebody could help me with some projects to have an idea. 

thank you Smiley Happy 

 

newbe help with understanding order of execution and timing

$
0
0

Hi,

 

I feel silly needing help with such a simple problem, but I'm new to labview and I'm having a hard time understanding using simple loops to time events.

 

here's the problem I'm trying to solve:

 

" build a disyplay with four LEDs; green, red, yellow, and orange. Design code to make the red and green LEDs flash alternelty in 10 seocond intervals.

  The yellow LED will turn on everyother time the green LED is lit, but will stay on for only 5 seconds. The orange LED will flash in 1/2 Hz intervals for 7 seconds anfter the yellow LED has shut off. 

   (Using loops and shift registers only) 

"

 

   As you can see below I figured out how to make the red and green led part, but I loop for the yellow and orange LED is not working right at all.

   The order in which the loops exicuite makes no sense to me coming from traditional programing.

 

   Any help would be GREATLY apreicated,

 

  Thank you!

 

 

HW3 example.png

 

Field point IO trace

$
0
0

Anybody know of a comparable IO trace toolkit when using Fieldpoint modules?  Perhaps I'm missing something, but NI IO trace does not seem to support cFP or FP.

Plotting Data from CSV file to XY chart

$
0
0

Hello Everyone,

 

I have to read data from a Spreadsheet (*.CSV) and then plot it in LabVIEW.

 

The File contains three values

Time, Date, Temperatre Value

 

For Example, here are the Logs.

16:46:59,31/01/14,+018.2C
16:47:59,31/01/14,+018.2C
16:48:59,31/01/14,+018.2C
16:49:59,31/01/14,+018.2C
16:50:59,31/01/14,+018.5C
16:51:59,31/01/14,+018.5C
16:52:59,31/01/14,+018.5C
16:53:59,31/01/14,+018.5C
16:54:59,31/01/14,+018.5C
16:56:40,31/01/14,+018.5C
16:57:40,31/01/14,+018.5C

.

.

.

.

.

.

23:51:24,31/01/14,+015.0C
23:52:24,31/01/14,+015.0C
23:53:24,31/01/14,+015.0C
23:54:24,31/01/14,+015.0C
23:55:36,31/01/14,+015.0C
23:56:44,31/01/14,+015.0C
23:57:44,31/01/14,+014.6C
23:58:44,31/01/14,+015.0C
23:59:44,31/01/14,+015.0C

 

What i have to do is to create a VI in LabVIEW to visualize this data.

I did it like below:

VI.png

 

 

It looks okay, but X-Axis is Time Axis and 16:46:59 it is just showing 16, i know i haven't done anything to handle this.

But i am not able to find what can i do in this case.

 

Please suggest how to get exact full time values on X-Axis.

 

Image resolution changed after image calibration

$
0
0

Hi all,

I set my webcam resolution to 1280x720 but after Image Calibration, the video changed to 1364x730.

Does this affect to the coordinate of pattern matching? It's very important in my application.

BTW, in Pattern Matching 4, there is an output of Matches (real-world), how to give it information to translate from pixel into mm? Currently I'm using pixel matching and use some calculations to translate the matching result into mm. And where is real-world coordinate origin? Is it also at the left top corner like pixel coordinate?

 

Aufnahmedatum

$
0
0

Hallo,

 

ich möchte von ein Paar Bildern mit Hilfe von LabView das Aufnahmedatum von Bildern anzeigen und ändern können.

 

Danke schon mal.

 

 

Error while parsing fitting formula

$
0
0

Hello,

 

Parsing error occurs while executing this VI.

Where I've been mistaken ?

 

Thanks in advance.

 

Pavel.

 

parsing_fitting_formula_error.png


Real Time Desktop PC code configurations

$
0
0

i have developed a desktop to be a LabVIEW real time target, and i have a code implemented on a host target as a blank VI that i would like to run it on this real time pc target. the idea about the code is as follows, i read data from an excel sheet that have two signals saved in as points, i normalize these two signals and remove the mean and then i cross correlate the first 500 points from this excel sheet with the streaming of the whole number of points in the same excel sheet in order to determine the shift that happened between the fist 500 points and the rest of the points , i have problems dealing with the target configuration on how to read and write this code and actually run it on the real time remote system target pc from my development pc . kindly find attached the blank VI code that i want to run in a Real Time project where the real time target is configured as a remote system in MAX and the project with this remote system configured in. i cann't attach the tab delimited file path the input for the code as its too large.

Energizing the relay at timed cycles

$
0
0

Hello,

 

I am trying to introduce a cyclic pressure into a line by opening/closing two solenoid valves for different time intrvals. To state it more simply, let's assume that I need to open/close one solenoid valve every 3 seconds (open for 3 seconds/ closed for 3 seconds/ Repeat). This cycles are to be performed until a low pressure is observed for more than 6 seconds (i.e. sample failure). If it helps, I am using a Ni 9485 to energize the solenoid valve and I am using a pressure transducer and a NI 9205 to monitor the pressure. Based on my research I think I need to use a simple timed while loop and a state machine. Yet, I am totally new to the LabView and unfortunately I do not get enough time to study the whole while loop and state machine subjects. I would appreciate it if some one can guide me a little bit or send me a similar example. I don't know why I cannot find any simple cyclic timed while loop online.

 

Thanks,

Sia

MemoryManager.cpp

$
0
0

Hello all,

 

I have recently experienced a problem, that never have been before until now, and i don't know what i can do to solve this problem.

 

I have a program were we use it on several machines, since labview 7.0 , offcourse the program has been changed, but for example this last version we have it on several machines. We use LabView 14 sp1 on win7, 8.1 or 10.

 

Two weeks, in one client the program crash with the follow error : MemoryManager.cpp - 0xF50EFD7B.

This error in two week occurs 4 times, 2 on the same computer and other 2 in two different computers, and in one of them it was with a different program.

 

I Use Labview 2014sp1 run time f3, Ni-Daqmx 14.2, Ni-Imaq 14.5.0, Ni-Imaqdx and Ni-Visa Runt time 14.0.1.

 

This situation gradually is becoming a serious problem, what i can do???

 

I take a picture and i put it in annex.

 

Sem Título.png

 

 

error -20308 using Sound input VI

$
0
0

I am unsing the LabView sound input example.

I am measuring a 1 kHz tone on the microphone input.

I get Error -20308 which I suspect is a error due to the sampling rate.

 

How can i modify the program so if enough samples are not ready the VI will load more and not error out.

 

 

labview sample error.jpg

 

Start button for serial data

$
0
0

Hello, 

 

I want to create a start button which i need to start the serial data from 0 irrespective of actual value. And when i stop it the count has to stop and when i start again it has to count again from the same value where it has stopped. I have tried to store the last count of serial data which i received last after pressing the button and tried to subtract that value from the present counts so that i can start it from 0. But it didn't worked out. Is there any way i can do it?

 

Thank you 

 

 

When add multiple new rows to an array - is there a "best practice" to use here?

$
0
0

I need a changing array.  It isn't going to change much, but it has to be done.

 

In MatLab I would write:

Capture.PNG

Now I don't expect this to be pretty.  I know I could wrap it in MathScript if I wanted a 1000x hit in performance (link), so I'm trying to avoid that.

 

If I were to do the following in LabVIEW, would it bomb in some way that my MatLab intuition does not inform?  Is there a more preferred way to do that?

 

Capture.PNG

Note: the inputs are the same between the VI and the MatLab script.

visualizador de imagenes

$
0
0

Hola a todos quisiera saber como hacer un visualizador de imagenes, ya realize uno donde muestran las imagenes en secuencia y funciona bien para el simulador que pretendo hacer, pero ademas de ese me gustaria otro visualizador donde se pueda cambiar de fotos manualmente (next, previous) me podrian ayudar con eso gracias de antemano


NI RFSG

$
0
0

Hi,

I wanted to work on PXIe 5673E vector signal generator and thought of using simulated devices in NI MAX. RFSG driver provides support to 5673E and so I installed it. 5673E involves 3 modules : 5450(AWG), 5652(LO) & 5611(IQ modulator).But while creating simulated device it showed only 5652(LO), 5611(IQ modulator) and not 5450 (AWG). Is there any additional thing I need to do to get PXIe 5450 as a simulated device in NI MAX?

One more question is AM modulation VI in modulation toolkit doesn't get carrier frequency as one of its attribute. then how does this amplitude modulate the message signal?

Thanks in advance Smiley Happy

Problems only with the Write to Measurement File and selecting Excel as output (.xlsx). It appears that no matter what permissions are set on the directory, LabView ignores the directory permission inheritance rules and creates on owner only structure.

$
0
0

Having multiple users that will logon and run this application, I am having problems only with the Write to Measurement File and selecting Excel as output (.xlsx). It appears that no matter what permissions are set on the directory, LabView ignores the directory permission inheritance rules and creates on owner only structure. This prevents anyone from opening the .xlsx file and shows it as possible corrupt. Which it isn't. This is a Windows 7 system with no Bitlocker, but the Excel icon on the files that the user can open has a padlock on it. Any other file I create (LVM, TDM, TDMS) all inherit the directory permissions. Only the .xlsx file are written with strict owner permissions. WHY?

Time delay while loop before stopping the loop

$
0
0

 

Hi All,

 

I modified this code from one of the example in the forum. I forgot which thread. Original file name is "loop speed control.vi"

 

I want to measure pressure and compare with target pressure. Once the pressure reading is higher than the target pressure, I hold the output high for 5 seconds and turn it to low. 

 

When It goes back to low, I want the to exit the loop or when I pressed the stop button. I do not how to do this one. Please help.

 

Thanks

 

 

HTTP GET vi without URL encoding

$
0
0

Hi,

I need help with http_client_get. I need to comunicate with camera through HttpAPI and I need send "[" "]" not url encoded "%5B" "%5D". Does anybody know how to force vi send what I want?

 

Thanks

ZzZiii 

csv files

$
0
0

hello to all, how are you?

I am working on a software to make measurement using my railroad drone.

My drone generate csv files ( as attached).

The first colum is the distance that the encoder generate, the seconde colum is generated by inclinometer.

But if I open data, for example Crosslevel, the distance on my VI, in the first graph called CrossLevel, the distance doesnt match the values of the csv file (first colum on excel), the distance on X showes how many lines the form has on excel (crosslevel showes 54, should be starting on 0,004 and finishing on 4,924

On software the ditance on X shows how many lines there are on excel chart

the Y values are correct

basicaly I need a XY graph with correct values from csv files

I have tried to separate values from first and second colum of the csv files but I didnt got

Is there any way to make the Graph shows value as I want?

To read the data on my VI, open the VI and on those 3 paths just enter the value that match each path, then press the red button besides STOP button. the software only will work if you enter all 3 csv files

The VI and those 3 csv are attached.

Thank you so much

Sorry about my bad english

Viewing all 67053 articles
Browse latest View live


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