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

Need to close Tabtip.exe programmatically

$
0
0

Hello.

I tried the search function but without success.

 

In my application that uses a touch screen, I open Tabtip.exe using 'system exec' vi and the user enters his data.

When that is done, I start a test, but would like to programmatically close Tabtip so the display is visible.

 

I tried using TASKKILL /F /IM TabTip.exe with 'system exec' but no luck.

When I use the physical keyboard with task manager to kill the process, there is a pop up that asks for a confirmation. May be that is the reason for Tabtip not responding to the LV kill command.

 

Anybody had success doing this?

 

Thank you.

 


How to take a single value from a Floating-Point Scalar Wire?

$
0
0

Hi all,

 

I just started working with LabVIEW, and I am trying to create a zero-ing (tare) function for a pressure transducer. To do this, I would like to have a switch that takes the current value of a floating-point scalar wire (orange), stores it, and subtract it from the wire. Is there any way to do this? I am using LabVIEW 2014.

 

Thank you

Taking single value from Floating Point Scalar Wire

$
0
0

Hi all,

 

I just started working with LabVIEW, and I am trying to create a zero-ing (tare) function for a pressure transducer. To do this, I would like to have a switch that takes the current value of a floating-point scalar wire (orange), stores it, and subtract it from the wire. Is there any way to do this? I am using LabVIEW 2014.

 

Thank you

How to reset to default value every time I click abort execution?

$
0
0

Dear friends. 

 

Question: 

How to reset to default value every time I click abort execution?   

I do know how to reset to default by using invoke nodes, but I want to make this happen everything I abort the program (click the red dot bottom). Thank you.   

How to reset to default value every time I click abort execution?

$
0
0

Dear friends. 

 

Question: 

How to reset to default value every time I click abort execution?   

I do know how to reset to default by using invoke nodes, but I want to make this happen everything I abort the program (click the red dot bottom). Thank you.   

 

sorry about multiple posts here, there was an error. but i dont know how to delete it.   

Need help with measuring Respiratory Rate via Respiration Belt

$
0
0

Hello Friends,

 

I recently purchased a respiration belt from Studica, as well as the Ni-MYDAQ and the IX-MYDAQ in order to connect it to my PC and record data. I have not found a good way to record respiration data utilizing the default programs that comes with the Labview software suite provided with the Ni-MYDAQ. However, I found a program here on the forums called Respiration Monitor by AndyCandy, which creates a nice graph of inhalation/exhalation data and represents voltage on the Y axis. One can very clearly see peaks representing breaths. 

 

I plug my respiration belt into the IX-MYDAQ and connect it to the NI-MYDAQ, and then I'm able to see voltage changes with inhalation and exhalation via channel AIO. I can monitor these changes, and export the data to Excel if I wish.

 

I'm running into problems with the calculation of BPM - ultimately, we are only interested in BPM, and currently I have to export the data in an excel file, graph it in JMP, and then manually count breaths. The Respiration Monitor is supposed to display the BPM as calculated by the program after displaying "Calculating" for 10 seconds, but even if I record for 30+ seconds, it never changes to a number. It simply remains stuck on "Calculating." 

 

I was wondering if you had any advice for me; I've been trying to figure it out, but I'm not so skilled in Labview block diagrams. I've been able to make rudimentary changes such as changing the sample size to be able to record up to 2 minutes, but haven't been able to figure this part out (also, I'm unsure if my changes might have messed up the program somehow.) 

 

If anyone has experience with 'Respiration Monitor' and knows how to fix this issue, please help me out! Alternatively, if anyone knows of a better way to record inhalation/exhalation voltage peaks and measure Respiratory Rate (since the program is 6 years old now) please let me know that as well! I've contacted the creator of the Resp. Monitor, and he advised me to post on this forum. 

 

I've attached a pic of the block diagram. Block diagram pic.PNG

 

Thank you very much,

 

-ExperimentGuy

 

Medición de datos con Daq assistant

$
0
0

Necesito tomar medidas de dos canales utilizando un solo daq assistant, en el código se reconoce al canal 0 pero no al 1, alguna idea de por que puede ser?

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?

Medición de datos con Daq assistant

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

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!

Viewing all 69413 articles
Browse latest View live


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