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

Plotting the sum of harmonics of a sinusoidal signal choosing number of harmonics and frequency by front panel

$
0
0

Hi,

i'm Paola Tavernise

i'm new to Labview. I'd like to plot sum of i-th harmonics, where i stands for number of harmonics. I've attached a picture where there're the plots i'd like to see on output waveform. On output waveform i'd like to see the harmonics and the sum of the first i-th harmonics too.

 

Any help would be kindly appreciated.

 

 

Thank you so much for helping me.


Scilab gateway : LabVIEW not detected

$
0
0

Hello everyone,

 

I have a problem with the Scilab Gateway. I am installing an executable made on one computer with developmental version of LabVIEW on another freshly bought computer. This executable contains a Scilab script node in it and I am wondering if the target computer (new one) needs only the LabVIEW Run-Time Engine or the whole developmental version to run the executable ?

 

I already installed LabVIEW Run-Time Engine 6.1 and Scilab 5.4.1 versions but when I tried to set up the gateway, I encounter this error message : LabVIEW not detected. Installation aborted.

 

I looked around in the forum but I couldn't find any answers precise enough to fix this issue.

 

Thank you in advance for your answers,

 

Mathieu Delavignette

NI DAQ USB - 6221 , problem while using both the Analog output channel

$
0
0

Dear All,

I have written a lab view program, which is using AO0 channel of NI DAQ USB - 6221  to generate square wave and AO1 channel of NI DAQ USB - 6221  to generate sine wave. 

 

When I run these program one by one they are working fine. While when I run both together, it gives error as ( NI DAQ mx - 50103 , ' the specified resource is reserved' )

 

Do anyone tell me how can I use both the channels simultaneously to simulate different tasks for  my experiment.

Thanks and Regards

Ashish Garg 

 

For Loop Iteration Different Conditions

$
0
0

 Hi,

I have an For loop with 8 iterations inside an Event structure.

I want to execute some code when iteration <4 and other code in the other case.

Can you help me to do this ?

Thank in advice!

Show data into one table

$
0
0

Hi,

I create 2 arrays with Build Array block.These are the inputs for 2 Number To Decimal String. After that i wwill show data into 2 tables because each Number To Decimal String has an output.

How can i  put these values into the same table?

Thank you in advice.

video steaming using labview 2015 and labview communication

$
0
0

Hi,

Labview throws exception when trying to get properties of Class

$
0
0

Hi,

 

I have a rather large project that has an interesting problem.  

 

I have created a library with a lvclass inside.  it contains many vis, and controls.   When I right click on the class name and select properties Labview throws an exception and crashes!  If i right click on the class and select open the same thing happens.

 

Exception: Access violation (0xC0000005) at EIP=0x014EE4E6

Version: 15.0.1f1 (32-bit)

 

Possible Cause: C:\Program Files (x86)\National Instruments\LabVIEW 2015\resource\Framework\Providers\LVClassLibrary\libpropPage_Probes.vi

 

 

The Control for the class opens fine, and the code runs fine.  I can create an installer as well.

 

Any ideas what I should be looking at to solve this?  My company will not let me post the code, but I could perhaps post sections.

 

LabVIEW build specification Installer include NI OPC server

$
0
0

Hello,

I'm trying to build a monitor to supervise temperature & humidity values changing, so I decided to get the measured values from my PLC and draw them in a LaVIEW interface using the NI OPC server that I've installed it while adding the DSC module.

I did the whole process in the bloc diagram and it worked fine for me and I've got the values displayed on my user interface from the shared variables of OPC, but when I build the installer of my application and install it in another computer then connect the same PLC I don't see any of the measured values displayed in my interface.

 

Any guidance or help will be appreciated.

Best regards.


Export sensor data to CSV (Timestamped)

$
0
0

Hi,

 

  • I have a temperature sensor that outputs the data from 16 positions. The output from my VI is a 16x1 array (every half a second).

 

  • I need a CSV that has 17 columns (for each position) and the first being a time stamp. Then as my program runs the temperature will fill in for each position in the CSV as time goes on. I need this CSV so I can import it into MATLAB.

 

Please can someone help, I have been trying to do this for a few hours and I am not getting anywhere with it?

LINX + Arduino, Reading waves

$
0
0

I am in the process of building a synthesizer using Arduino Uno and LINX. I am generating a square wave using "Digital Write Square Wave"  (25Hz-6kHz) and I can see a nice wave on an oscilloscope. After manipulation via hardware filters, op-amps etc. I want to read back the manipulated wave to see how it's changed. I have been reading from AI0 through LINX but I cannot see the wave, just a "high" voltage reading.

 

Is there any way to read these waves using LINX, etc. or is this a limitation of serial comms and I should just use a 'scope? I have thought about using the internal memory of the Arduino to read the wave then pass it to Labview but I have no idea how to do that or if it would work.

IMAQdx Grab and Save image

$
0
0

Hi,

Please see my vi. what is wrong?

when I run the vi, it's seems good but fps is to low and when I stop from button, I have an error.

 

My ideal is it: run and see motion, when I press a button, the image of this moment save to my target. Then vi can be stop.

(It's used the built-in camera on my laptop)

 

Please guide and help me,

Thank you all.

 

Storage/DataPlugin

$
0
0

Dear,

 

After downloading the evaluation version of Labview 2016 for mac, i realised thats the Storage/DataPlugin are not available. How can we download it ? Is it available for MAC ?

 

Thanks in advance

Pure Pursuit AVC (Active Vehicle Controller)

$
0
0

Hello:

To finish my project I am trying to implement a pure pursuit algorithm. My problem it is that in theory the code should work but when doing a field test it **bleep**s-up. The problem is that the steering angle it calculates are completely wrong. I really want and need to solve it but I don't know how. (I can't even get a straight line in a field test)

To know:

*The GPS sends the heading(orientation of the front of the vehicle) in radians from pi to -pi
*The GPS sends coordinates X and Y in an already defined plane of the corresponding UTM, sending the current position in meters away from (0,0).
*The GPS also sends the current speed, yet this is constant and is just for checking that the can message sent is retaining the current speed.
*The vehicle is an SUV, front steering, 4WD almost 4meters long 2 wide.
* On (0,0) facing forward -Y == right, X == forward,and the heading ==0
* Recorded paths by the path recording program have a minimum distance between them  of S, S=Kla*VehicleLength/12, (kla(is look ahead point constant))

*The vehicle has a relation from -40 to 40 deg answering to α ≈ 15.26108* δ, where δ(steering angle of the outer wheel) and α (steering wheel angle); resulting in a propulsion gain of 1.
*Real Position and heading is received in real time from the bus can 500kbd

*The Angle is send to the robot through the CAN BUS (This works the robot receives the wrong angle my program calculates)

 

Note: For it to run, Add the matlab codes attached to your labview matlab directory

video processing

$
0
0

hello,I have a problem in processing video when i do filtrage options it applicate on both of the images the original and the processed, how can i keep it only for the processed one?

 

Acquire Read/Write Region - DMA FIFO

$
0
0

Hey,

is there any place I can check if specific target are supporting the function FIFO.Acquire Read Region (or FIFO.Acquire Write Region) ? 2.pngI have cRIO-9068 with FPGA Xilinx Zynq 7020. I am trying to send images from RT taget to FPGA and process them on FPGA. But I am getting the error -63193:

NI-RIO:  (Hex 0xFFFF0927) The requested feature is not supported.

Does it mean that my target is not proper for this function or may there be another reasons?

Thank you for support!


plant system.vi

$
0
0

Hello everyone, 

I am a student working on my thesis and i am trying to make temperature control with pid contoler. I have seen some examples and i came up with a question. This plant system.vi simulates only first-order systems or depending on parameters can simulate and second-order systems?

Simulación de llenado de tanque con movimiento de paleta

Continuous data recording by LABVIEW for my project

$
0
0

Currently I'm working on my thesis about Microbial Fuel Cell. In our Fuel cell, there are 1 common anode, 4 anodes and cathode terminal, I have to take continuous voltage data from 5 anodes to cathode terminal separately by Labview. And I have 2 Fuel Cells. DAQ's are costly, can you please give me any idea to do it in cheap price?

 

And I dont know anything about LabView. Can anyone please give me any link form where I can start to learn?

Re: LabVIEW with Microcontrollers

$
0
0

Hi Sir,

 

I want to buy a microcontroller that can be programmed in LABVIEW, so that I can make small small projects like controlling motors, making some robo hands etc., Can you please say me how to start working on that. Also please kindly specify me a micro controller to start with. I am very new only know how to program in LABVIEW.

Gleichzeitige Erfassung mehrerer analoger Eingänge

$
0
0

Hallo zusammen,

dieses Thema wurde zwar schon oft angesprochen, ich kann jedoch die meisten Beiträge nicht genau auf mein Problem übertragen, da ich wohl eher in die Kategorie blutiger Anfänger falle.

Ich möchte mit einem NI USB-6008 4 Druckkraftsensoren auslesen. Mit einem Sensor bekomme ich es wunderbar hin. Schließe ich jedoch alle Sensoren an und stelle im DAQmx Assistenten 4 Channels ein, hoffte ich auch 4 Datenausgänge zu erhalten. Da dies jedoch nicht so ist, hier die eigentliche Frage:

 

Wie schaffe ich es 4 Sensoren gleichzeitig auszulesen (gleichzeitig ist relativ, ich messe eher statische Werte, deswegen darf es auch gerne ein schnell hintereinander auslesen sein)?

 

Da ich beim Versuch den DAQmx Assistenten mehrfach einzubinden leider die Fehlermeldung, dass das gleichzeitige Ansteuern der Kanäle nicht möglich ist, erhielt, ist meine gedankliche Lösung die Assistenten in getrennte Schleifen zu packen, nur bekomme ich es in LabView gerade leider nicht hin. Oder geht es auch eleganter?

 

Leider kann ich keine Files/Screenshots hochladen, da alles an einem Messrechner läuft, welcher nicht im Netzwerk hängt.

 

Vielen Dank schon im vorraus!

 

Viewing all 66676 articles
Browse latest View live


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