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

Problem: Data collected every 100ms for 10s, and every second thereafter

$
0
0

Block diagram pic.PNG

I'm using the above block diagram to calculate respiratory rate. It's mostly working, however, when I export the data into an excel file, I notice that data is collected and displayed every 100ms up to 10 seconds, and every 1s thereafter. 

 

Ex; I can see data points for .1, .2, .3, .4 - 1 second, which creates a very nice curve. But, the data points for 10-11 seconds are all clumped together at 10 and 11 seconds, breaking the curve. 

 

I think inherently in the program, there is a function somewhere which makes it so that after 10 seconds, something changes about the data collection. But, for the life of me, I cannot find where or what to change (I am pretty new at Labview.) 

 

If someone could help me with this problem, that would be great.

 

Thanks,

 

-ExperimentGuy

 


Running a TestStand a custom step from LabVIEW,labview will report error

$
0
0

at the picture,'wait' is a custom step

I run teststand seq, will pop up labview crash as attachment

 

anyone could help me? thank you very much!

 

 

Parsing a long string to extract specific data

$
0
0

The attached VI ( LV12) describes my problem. 

Auto Clean Up Wire does not work well

$
0
0

Auto Clean Up(CTL+U)is very useful, but in some case this function seems a little strange.

1\When I select nothing of the diagram(clean up the whole diagram by labview's default settings),and press CTL+U, it does not work , no any movement of the diagram. I know some parts of the diagram must move if the Auto Clean Up works, but it didnot .

 

2\When I select parts of the diagrams, for example ,there are 3 WHILE loop , and I choose one(click the WHILE loop's edge line) , the select part can do Auto Clean Up,but other 2 WHILE loops become a little in a mass and become worse. For this reason , I can not finish solving one problem only to find another cropping up.

 

3\ In some case , though my VI seems out of order, it can run, after I press CTL+U,things become even worse, some error appear ,the VI can not run .

 

 

Is there an detailed instruction of the use of CTL+U?

NI taking too much disk space! Move to external hard drive?

$
0
0

So, I'm a student and basically don't know much about NI and LabVIEW. But I noticed that it takes up a lot of disk space(10GB of NIFPGA and 9GB in my 32-bit program files, it takes little on the 64-bit one) on my laptop (it has only 250GB). And I was wondering how to "transfer" the files to my external hard drive? Or do I have to uninstall and re-install the program? Help would be appreciated.

EDIT: Takes around 9.7GB more in the program data, which is a total of around 30GB.

Executing a loop an x amount of times as motor moves

$
0
0

Hi,

I am trying make a program that would acquire data for x amount of points over a surface area, but I am unsure how to execute a while loop an x amount of times during one line of movement. I don't want to sync it up with stopping the motor over that line since I'm trying to do this for speed and efficiency. In other words, in one continuous 1D movement, how do I acquire a set amount of times that are evenly spaced?

 

Is there a certain loop I could use or function? Are there variations in loop execution times? Some help would be appreciated. Code is attached. Some residual parts are in there from previous versions.

 

Thanks in advance.

-Danny

나인바카라((≽ WWA345。COM ≼))나인바카라

$
0
0

나인바카라((≽ WWA345。COM ≼))나인바카라∖∖슈퍼카지노∖∖나인바카라提나인바카라((≽ WWA345。COM ≼))나인바카라∖∖슈퍼카지노∖∖나인바카라提나인바카라((≽ WWA345。COM ≼))나인바카라∖∖슈퍼카지노∖∖나인바카라提나인바카라((≽ WWA345。COM ≼))나인바카라∖∖슈퍼카지노∖∖나인바카라提나인바카라((≽ WWA345。COM ≼))나인바카라∖∖슈퍼카지노∖∖나인바카라提나인바카라((≽ WWA345。COM ≼))나인바카라∖∖슈퍼카지노∖∖나인바카라提나인바카라((≽ WWA345。COM ≼))나인바카라∖∖슈퍼카지노∖∖나인바카라提나인바카라((≽ WWA345。COM ≼))나인바카라∖∖슈퍼카지노∖∖나인바카라提나인바카라((≽ WWA345。COM ≼))나인바카라∖∖슈퍼카지노∖∖나인바카라提나인바카라((≽ WWA345。COM ≼))나인바카라∖∖슈퍼카지노∖∖나인바카라提나인바카라((≽ WWA345。COM ≼))나인바카라∖∖슈퍼카지노∖∖나인바카라

how to Split an 1D array into number of sub arrays

$
0
0

hi all,

 i want to split an array into number of sub arrays at time. most of the time i am going through Split Array or Delete from array. but i am thinking that  by using these two functions i would make the vi a big mess. so please help me if anyone can ....

 Thank you


IMAQ vi's missing

$
0
0

Hello,

I recently upgraded from LV2015 to LV2017 and although I have the Vision 2016, the new installation somehow deleted(?) two useful vi's. Can anyone please upload the:

IMAQ Cast Image

IMAQ imagebordersize

Anyone knows why this happened?

Thank you in advance

Read data from RS232 (Serial) port

$
0
0

Hi,

In one of my project, I need to take data from a serial device. 

I will initialize the serial port connection once and i will continuously monitor bytes at port. If I get the bytes then i will go and read the data in the serial port. I will open the connection only once.

This is working fine in normal condition. Once after opening the connection, if the cable got disconnected or removed, i wont  get any error.

Any method is there to check whether the connection is alive or not?  

Please provide if there is any other way to ensure the connection is alive

Chossing a camera for visual detection

$
0
0

Hello,

 

I am doing a project in university with labview. The project is about visual detection of objects. Therefore I need to choose a camera system. Now I was wondering which camera interface I can use. I mean Camera Link, USB, IEEE 1394 or GigE Vision. Is it possible to use for example USB 3.0 and directly link it to my computer and do the image processing in LabVIEW without using a PXI System? It is a university project and therefore I have limited resources.

 

Thank you so much.

 

changing a camera signal to a binary images

$
0
0

Hello,

I would like to have a constant video and would like to constantly create binary images of that video.

I attached what I tried but it does not work because the video signal does not fit to the signal needed for the IMAQ Threshold. Is it maybe possible to create images out of the video input and then process them to binary images?

 

Thanks a lot!

Unbenannt8.PNG

How to assign Array Values to names in a new Cluster/Array

$
0
0

Hi everyone,

I'm very new to Labview and searching for a possibility to solve my Issue.

 

I have an array (1D) with different hex values (1,3,1F,....),which varies from 34 to 100 parameters each time. I'd like to give every value a name (for instance 1=Apple, 3=Cucumber, 1F=Tomato) and put all the Informations in a new Cluster or another Array.

 

What would be the easiest way to do this? I attached a picture to make it easier to understand.

 

Thanks in advance for your help!

Image color comparison

$
0
0

Hi,

I have a question concerning Labview and Image Comparison.

I would like to know the best way to compute Comparison Image Color (or brithness).

I am acquiring 2 Images at different time with my camera and will like to find out if there is a difference in their Color (or brigthness ?). Using absolute Subtraction of both Images, i can find out if there is a difference between them. but when the difference concerns only the Backgroundcolor or brigthness, how is the best way to represent it. That means if both Images have the same Elements, but differs in their Color, what is the best way to find it out.

I can not use Color or Pattern Matching here because i don't have any Pattern. I am trying to identify any Change of state on a live Screen. I did the first part. Now i want to know how i can Show if it is only a Change of Color or brigthness.

 

I will be pleased if someone has any solution.

thanks

Incompatible numeric controls that appear to be the same.

$
0
0

I have some system numeric controls, specifically "System: Numeric: System Spin Control", which is configured as a Double, 64Bit, ~15bit. In the context help window the 15bit is followed by [???]. When I try and connect the output of this control to a write double accessor in my class (or a double indicator) it results in a broken wire.

 

control type question.pngI haven't seen this before, guess, for one reason, I rarely use System controls.

Whaz Up? I can throw a type cast in, but that seems "ugly", would rather understand what is going on.

Thanks, as always.

 


Is AVI file getting compressed ?

$
0
0

Hello All!

I am trying to read and write an avi file with 'Read Write AVI with Data.vi ' i.e  acquire image, and data and write to the AVI File.  This data is saved with the image in an AVI so when the AVI image is read out in the next loop, the same data it was written with can also be retrieved.

When I run it, an original video file of  time 31s gets converted into  the new AVI file created by IMAQ AVI Createwhich runs only for 5s. (The original no of frames is 900 while the same avi file shows the no of frames as 166 ) Somehow the AVI file gets fixed to the following Terms:

1. No of Frames: 166

2. Total Time : 5s

Does the AVI file get compressed when using IMAQ AVI Create? Why is it Happening? Why the total no of Frames are fixed?

Acquiring and saving a single image from the IMAQdx Grab function

$
0
0

Hi there,

 

For some reason our camera doesn't work if we try and Snap an image so we have been told to use the Grab function. However, when we use the Grab function our program can't run because (we assume) it is attempting to save a continuous feed as one image. Is it possible to extract just one image from the camera whilst it is grabbing? I have attached a screenshot of the relevant section of the block diagram.

 

The error is: "Error -1074360306 occurred at IMAQdx Get Image2.vi"

The possible reason for the error is: "NI-IMAQdx: (Hex 0xBFF6900E) No acquisition in progress."

 

Thank you in advance Smiley Happy

DAQmx NI 9219 RTD Excitation Current

$
0
0

I'm curious whether there is a limit to the excitation current for NI 9219.  I am trying to use an Omega RTD, which requires a 1 mA excitation.  When setting excitation in Labview or NI Max, it gives an error, forcing excitation level to 0.5 mA.  The temperature amplitude is then -410 when degrees F is chosen with the 0.5 mA excitation.  Any thoughts on how to solve this?

One pixel frame for picture control

$
0
0

Hello

How can I create a picture control with a frame of one pixel (instead of 3 pixels by default)?

I would like it to look similar to a Classic Boolean Flat Square Button.

And if possible it would be nice to be able to change the color of this frame with the brush or a property node.

Thank you

SQL Database Progressive Logging

$
0
0

I'm trying to use LabView's Database connectivity toolkit to store temperature and pressure data similar to the method in the example library (below)

 

Create, then LogCreate, then Log

 

What would be the best way to change this vi to log data progressively during a test as opposed to after the system finishes generating data?

Viewing all 67026 articles
Browse latest View live