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

acquire data using buffer

$
0
0

I have an analog input the is problem with my data ,when i acquire it , my problem is when i do the acquisition ,i see in my waveform graph a cut of data. I don't know how to fix it .After that i want with a button to acquire the data.

any idea ? please


Engine Data Acquisition System

$
0
0

Hello all. I would really appreciate some help with regards to my project. I'm trying to generate in-cylinder pressure v/s crank angle graph, from a single cylinder engine. I'm using the following hardware:

 

1. KISTLER pressure sensor. Output is voltage.

2. Automation Direct encoder. Output directly gives me the angular position in degrees. It has a maximum capacity of 2500 pulses/revolution.

3. NI USB 6343. 

4. Engine is connected to a Dynamo meter to get the readings. Maximum speed at 3600 RPM. 

 

I've attached below the image of my Lab View program, front panel and block diagram (labview.PNG). Here is what I'm getting so far:

 

1. When I open the Pressure Data (DAQ Assist) and test run it, I generate the perfect Pressure graph, shown by the image of the Blue graph. (Pressure.PNG)

 

2. When I open the Crank Angle (DAQ Assist) and test run it, it shows me the accurate crank angle readings in degrees.

 

3. But when I try to generate the XY graph on the front panel, I get a weird looking graph, shown in the front panel screenshot attached below. (CaptureP vs CA.PNG)

 

The graph that I'm expecting should be exactly the same as the graph with the blue curve (Pressure.PNG), which rises to maximum pressure and then drops down. However, my XY graph isn't generating that graph and gives me weird plots. (CaptureP vs CA.PNG)

 

Could someone please tell me what am I doing wrong over here. Individually both my sensors are generating the accurate results, however, when I try to sync both sensors, so that I obtain a graph which shows me pressure at a corresponding crank angle, I don't seem to achieve it. 

 

Please have a look at the images I've attached below.

 

Thank you.

 

TDMS vs SQLite

$
0
0

I am starting a brand new project. It is a logging application. I am building software to automate a firing log for a R&D Ballistics range. So I have about 20 data points to log per shot. (Timestamp, counter times, and other meta data)

At first glance I thought TDMS would work great for this but I need this to be on going for years and years to come. I need to be able to reopen the file each shot and append the new data to the existing data. TDMS is easier to work with than an SQLite database I just don't know if it's the better option. 

I also want to be able to filter and extract specific data. 

Has anyone ever made or built software like this? What would you recommend using?

 

Thanks in advance. 

Can't create project installer dur to Web Server 2018 error

$
0
0

I'm trying to create an installer for the EXE that I've created.  However, I"m getting an error about needed to "NI System Web Server 2018" (see attached picture). 

Select Source.png

Since I don't need any web services, I tried to unselect that service but NI package build won't let me.

VBS Data Viewer.lvproj - Project Explorer.png

I'm using LabVIEW Pro 2016 and have this issue in both 32- and 64-bit versions.  How do I fix this bug?

 

Thanks,

Ron

Keyence GT2-UB1 commands, driver or LabVIEW VI

$
0
0

Does anybody have a driver, VI or command set for Keyence GT2-UB1 modules? I did have a trial version of Keyence's 'GT-Monitor 2' which allowed me to install the drivers on one computer. However, while the trial has expired, the driver still works but, I can't run the program any more and I only know of one command 'm0' which allows my VI to take a reading from the GT2-P12K sensor attached to the GT2-UB1. I would like to interrogate for model, serial number, rate etc.

How to set excel cell color and border independently

$
0
0

I am working with the Excel set color and border vi and I run into a problem when I try to set cell colors of some cells and borders of others. For example I want to set the border of some cells then I want the top section of that border to be a certain color. If I set just the borders by itself it works as expected. If I set just the colors by itself it works as expected. The problem I am running into is it seems that when I set the border then when I try to set the cell color, it overwrites part of the border.

 

 

Is there a way around this or another way to do this?

 

 

Thanks

 

 

Color-and-Border-test.png

 

 

Below is the output with border only - color only - and both enabled

border only.pngcolor only.pngboth.png

daqmx and while loops.

$
0
0

Skjermbilde.PNG

im quite new to labview. the code is for illustrating my question, i know it has many faults. I only have a trial version on the computer which write this topic, so i dont have daqmx vi's, so i made a subvi to illustrate the daqmx that gets the samples.

 

-the lower loop is free running

-ive set sample rate to 40khz

-the upper loop i use to log data from 29 AI channels and draw fft for 1 AI channel every 1 sec

-the intention behind the two loop strategy is to get the necesary sample rate for fft (i need to detect up to 10khz), while using as little resources as possible

-the queues is meant to be a fifo, storing X number samples (havent done the math yet to how many needed)

 

my question is this: 

if the lower (free running) while loop is running faster than 40khz, will i then get several element with the same timestamp in the fifo? 3 element of timestamp 1.000, 3 element of timestamp 1.002 etc etc.

Executable can't find Runtime Engine

$
0
0

So I built an installer and included the additional installers as required for my program and according to MAX the LV 2017 Runtime Engine is installed.

 

But my application thinks differently...

MAXCapture.PNGHow can I fix this without resorting to uninstalling and reinstalling everything NI related? Just wiping the drive and starting over would take less time and effort.


'create easy text report.vi' does... nothing!

$
0
0

I was using the subject vi to print simple text files.  Now...it does nothing.  Even if I open and run the vi as a standalone with "this is a test" in the 'text to be printed' field, it does nothing.  From the file menu i can print the vi itself to the default printer, which is where my text should be going, but I don't even see anything on the printer spool when I run the vi standalone.

Capture.JPG

Abir y cerrar una camara

$
0
0

Estoy realizando un proyecto con labview y myrio, en el que debo identificar colores con una camara, mi pregunta es si hay alguna manera de que la camara solo este activada en  ciertos estados, y evitar que la camara este activada todo el tiempo y no consuma todos los recursos de la myrio

2D Particle Collision in a Box

$
0
0

Hi,

 

So I have been trying to use LabVIEW to simulate a box full of a defined number of particles. These particles will then collide with the wall and each other in elastic collisions. I have managed to have the VI create particles with random speed and velocity and detect when it hits the wall. This can be seen below.

 

Any suggestions on ways in which I can go forward with this detecting the particle-particle collisions it would be much appreciated.MutliParticle2D.png

Jordan.

Failed to load shared library ts_ptp.*

$
0
0

I am trying to get PTP working with my cRIO-9057. My firmware version is 6.1.0f0.

 

I have copied the "Verify IEEE 1588-2008 Synchronization" example, but I am running into errors while deploying.

Wait Until IEEE 1588-2008 Synchronized.vi loaded with errors on the target and was closed.
LabVIEW: (Hex 0x436) Failed to load shared library ts_ptp.*:ts_ptp_getProperty:C . Ensure that the library is present on the RT target. Use either MAX to install NI software or FTP to transfer custom libraries to the RT target.

 

 

However, I have confirmed that the "NI-TimeSync Time Reference for IEEE 1588-2008 18.0.0" is installed on my cRIO. Is there another piece of software or something else that I'm missing?

installed software.pngFrom NI Max

Thanks in advance for any help.

How to make a connection between LV and Raspberry Pi 3 B+ using TCP/IP?

$
0
0

Hello everyone,

 

I want to use a Raspberry Pi 3B+ as a microcontroller to controlling a DC Motor and 3 Stepper Motor, i have a problem with connecting raspbi with LV using TCP/IP. I used python as programs of controlling DC Motor and Stepper Motor. In this case, Labview is just for interfacing.

 

Regards, Thank you.

Systemlink with Webservice

$
0
0

Hi, I have a problem to access the web-service on system link cloud.

 

reference :[ I follow the example of CallLabVIEWWebService(https://github.com/ni/webvi-examples)]

1.  I can successfully publish the package, it test ok on local PC.

Call LabVIEW web service.PNG

2. I upload it to system cloud, and test it on the local PC, it is ok.

system link.PNG

3. I use another PC to access system link clould, it says cannot find the service. How can I publish it and make it access from other PC?

system link error.PNG

 

 

Thanks.

 

 

Abir y cerrar una camara


Unable to run LabVIEW Application and NI MAX

$
0
0

I am using PXIe-8821 Computer in my project. It has three NI PXI-6509 DIO cards. Recently I am facing a issue. When I am Opening LabVIEW Application or NI MAX, I am getting error message. Error is related with DIO card. I have attached the error messages. I have uninstalled and reinstalled LabVIEW and NI drivers. But I am facing the same issue. Please give me solution to solve this issue.

Plotting values from a Chart Graph

$
0
0

Dear All,

I have a question, I would like to read two values from a chart graph.
The total measurement has a duration of 25 seconds.
I would like to see the first value after 3 seconds and the second value after 22 seconds, as in the example image I drew.
But after many experiments and attempts I have not succeeded
Can anybody help me with this?

 

Maarten

 

 

stepper motor/labview/USB-6002

$
0
0

Hello!

Now, I have Data Acquisition Card USB-6002. I want to use this to control the stepper motor. It seems that the voltage from USB-6002 is not high enough for stepper motor. Should I buy a stepper motor driver, or is is possible to connect steper motor driver with USB-6002? Or I should use voltage amplifier connected to USB-6002 without stepper driver?

 

 

daq 9219 problem

$
0
0

respected sir we are working on our final year bachelors project. we are using DAQ-9219 for  the stress analysis using load cells.and the 9219 is not working.the excitation voltage of load cell is 9 to 12 volts and that of DAQ is upto 2.7 volts. please share your expert opinion with us

Re: Error 62 - Serial Port Overrun Error

$
0
0

Hi Naveen,

 

I too have got the same error code 62. (Serial Port Overrun Error). Did you solved the issue. can you suggest the solution.

Viewing all 69193 articles
Browse latest View live


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