Quantcast
Viewing all 69226 articles
Browse latest View live

NI sbRio 9607 how to use?

If i have a 9607, i wanna use it for CAN communication,how many software should I download it?

Or somewhere have information can I learn?


Acquisition labview avec vector VX1121 (ethernet)

Advice for data transmission from LabVIEW to C (or Python, etc)

We are designing a LabVIEW application from where I would like to send data to external applications written in C or other text language. So some text coder colleagues could test raw measurement data in parallel time by time. The data to be sent usually consist of maximum 1 million integer values, type U16. The natural choice would be TCP or udp protocol to be used. The C code would be run occasionally on the same computer (localhost) or on another one being in the same LAN.

I have read several posts dealing with similar questions but I could not come to a final conclusion yet, what would be the best approach in my case.

I wonder if udp protocol could fulfill my needs as I know that pocket losses are very unlikely in a simple LAN network. But an udp datagram is limited in size (50000 bytes or so), so I would need several packages to send. So maybe I would go for the TCP protocol. Another question comes to my mind is which side should be the server and which side the client, or does it really matter? Finally I wonder what would be the best way to format the data to be sent. I have to dig into some C code examples, to see how to deal (buffer size settings, data parsing from string, etc.) with incoming TCP data, so I do the LabVIEW side code in the required way.

 

Maybe some of you had to build such system before, so could give me some hints and good advise...

Thanks!

 

 

 

Filter sine with square envelope

Hi!

I have generated a sine signal with square envelope (signal for echolocation). My task is to add White Gaussian Noise, which I already did and then to filter the noise. 

How can I filter the noise with this kind of signal? I tried Bandpass IIR, but it does not completely filter the signal.

Here are signal parameters:

Sine frequency: 5kHz

Square signal period: 0,2 s. 

Below signal in time domain and the spectrum without the noise:

Image may be NSFW.
Clik here to view.
sig_in_time.PNG
Image may be NSFW.
Clik here to view.
spectrum.PNG

Below signal in time domain and the spectrum with gaussian noise:

 

Image may be NSFW.
Clik here to view.
sig_in_time_noise.PNG
Image may be NSFW.
Clik here to view.
spectrum_noise.PNG

Thank you in advance! 

How to make one LED ON at a time by keeping all others off ??

Hello to everyone.....!!

 

I had made a VI in which one LED is ON at a time by keeping all other low at the same time... VI works OK but when i try to use this VI as subVI its not working.....kindly help. i am also attaching VI with post.... 

Max and Minimum values incorrect for serial communication - VISA - MLX90621

Hello All,

I have a temperature sensor of resolution of (4*16)  and am reading the values through a serial port using VISA - (The values keep refreshing very quickly). The output array values are correct but when i try to see the max and min values from the same array they are incorrect. 

Could some one please help me, i have just started learning labvew. 

And please excuse me if this is a dum question. 

Generating output signals

Hi everyone,

Here's a very basic question. When hitting the run-button in labview, does it automatically transmit the signal from the hardware - or do I have to do something in order to get out of the simulation mode?

 

I'm using a BNC-2120 along with a NI PXIe-1073 and NI PXIe-6368. In labview, a square wave from the simulate-signal-block is sent to the DAQ Assistant. I've connected an oscilliscope to the analog output but all I get is noise. 

 

Thank you in advance from a labview novice.

/Patrik

 

 

 

NI 9264 and NI cDAQ9178 triggering

Is it possible to trigger the output of the NI 9264 from the PFI 0 of the NI cDAQ9178? When I try I get the following error.

 

 

 

Image may be NSFW.
Clik here to view.
Error Capture.PNG

 

This is my basic code.

 

Image may be NSFW.
Clik here to view.
Snippet.png

 

Thanks in advance.......


data logging

Dear team

 

 Please tell me any example code for data acquisition using CRIO 9004.

I am using CRIO 9004 and AI module 9205. I want to communicate the data between CRIO and my computer. i want to data logging in my computer.

 

Regards

Mohan

LabView + Ardino IR remote

Hello! This is my first post here hope I'm doing this right. Please go easy on me =')

 

So I just started using LIFA a few days ago and was trying to connect the remote that came with the Arduino starter kit (Elegoo EL-KIT-003) but couldn't quite understand how it works. This is how i connected the IR receiver: connected the ground and 5V pins to their respective places on the uno board and then connected the signal PIN to digital pin 11. 

I set up the VI to read the digital input from pin 11, but all it outputs is the change from HIGH to LOW whenever i press any of the button on the remote. I don't understand how to assign different functions to each button if all they do is change High to low? Any help would be appreciated thank you <3

 

Why biomedical palette will not be shown after installation of biomedical toolkit 2012 for labview 2013

I have installed Labview 2013. I need to read a biosignal file downloaded from physionet. I also installed biomedical toolkit 2012. But the biomedical palette will not present inside the labview. I need help regarding this.

                                                        Thank you

How to use advanced signal processing toolkit for labview 2013

  I am using LabVIEW 2013 I need to remove baseline wandering in ECG signal. I downloaded the advanced signal processing module but the version is labview 2017 version. So I need advanced signal processing toolkit for Lab VIEW 2013

DLL is always copied during creation of lvlibp

Hi everyone,

 

in our "scriptengine" project which is going to be used in other Projects some VIs use a DLL.

To be easily used in other projects, I create a lvlibp.

Now during build of the lvlibp the DLL is always copied from source to destination directory. Then I have two DLLs and LabVIEW gets confused from which directory to load the DLL.

 

I have checked "exclude dependent libraries" in build specifications.

It does not make a difference if I include the DLL in the scriptengine project or delete it from the project and see it in dependencies.

Some self-made DLLs I can register in the GAC, but for sapnco.dll e.g. I can not do that.

 

Do I have to make a VI which deletes the copied DLL after the build or what can I do?

 

Thx in advance

 Image may be NSFW.
Clik here to view.
29-01-_2018_08-27-17.jpg

 

Simple example with C code for labview

Good morning,

 

I need help. I'm looking for a simple program which uses C code in Labview , and I'm not finding nothing.

 

I want to know how I can generate the code in Eclipse, then, how I built the .dll library, and then, how I use this .dll library in Labview (I think that, it will be with call library block fuction, really?)

 

 

Thanks so much. I'm new in this item.

 

 

CLD

Hello! If a user is new to LabVIEW, how much time it takes (for an average person) to be good enough to take CLD test? giving approximately 4-5 hours per day.

Best Regards


Erroneous input values from accelerometer

Hi! I hope this is the correct topic for my question. I struggle at making my acquisition system acquiring correct measurement values. I use a NI USB-4432 device with LabView 2014 SP1 on windows 7. My setup involves an impact hammer test. In particular, I use a PCB ICP 086E80 impact hammer and a PCB ICP 352A24 accelerometer (-50G to + 50G, with 100 mV/G as sensitivity, with excitation current of 2,1 mA). The hammer enters the ai0 channel, while the accelerometer is put on the ai1 channel. Finally, the hammer triggers the acquisition of both the hammer impact and acceleration within the device. The trigger is an analog edge with rise slope. The DAQ assistant virtual channels settings are attached as images. Basically the hammer impact range is from -5 to 15 N, while the accelerometer is used at its full range (-50G to 50G). My problem is the following: when I perform the impact, the accelerometer registers an acceleration which initially ranges from -120 to 120 G, then correctly sets on values below +-50 G. I would expect my accelerometer to saturate, nevertheless the acquired waveform seems not having troubles with such out of range values. I tried to convert the virtual channel from acceleration to voltage and measure the input. In this configuration, the sensor seems not to saturate at +- 5 Volts, which should correspond to +- 50 G for the acceleration. I have attached some screenshots to better explain the problem. 

I hope someone could help me, as I tried everything but still cannot get my head around it.

Thank you in advance to everyone would help me!

Problems with school project

Hello, 

I have problem with  my school project. I have never done in labview before but i get new school project what i have to do. 

I need someone to help me. My teacher give entred us new project in Labview. Unfortunetlly we havent been doing so much work in Labview before.

My project is: 

To shown grpah with function x2 with case structure. The program allows multiple display with X parameter change. Also its able to change number of points of the function and number of curves displayed. 

 

sorry for my english

thanks for any help i really dont know what to do 

Thanks trix

Error Wiring Style

I and I'm sure many others have the habit of running the error wire as seen below. Note the style how the error always heads directly downwards from VI's and is aligned horizontally to some common level.

Image may be NSFW.
Clik here to view.
error wiring snippet.png

The default automatic wiring (e.g. when you use Remove and Rewire, which I for one use a lot), however, doesn't follow this style. I wouldn't go as far as to say it's a major inconvenience but it does add to the manual cleaning up.

 

Is there any way to configure the LabVIEW default/automatic wiring style to use this pattern?

FPGA and Acquisition module Clock. Synchronization issue

Hello All,
I have a C-Rio 9082 with NI 9225 acquisition module for Voltage, NI 9227 acquisition module for Current and NI 9467 for GPS Synchronization. How can I get the Time Stamps of each sample acquired from NI 9225 and not only for PPS? Is there a way to use the same clock for FPGA and the acquisition modules?
In image "1" I wait for gps synchronization and save with local variables the value of a Timer and the value of Numeber of Samples between 2 PPS. In image "2" I start the acquisition but this use onboard module clock and not the fpga clock so I cannot go up to the time when samples were acquired.
(I can use the same clock for acquisition modules but not the same of CRio)

Populate listbox dynamically

How to populate dinamically a listbox in NXG?

 

In labview I used to use property node, but in NXG 2.0  there is no "create property node" or "create reference", so how can I do?

Viewing all 69226 articles
Browse latest View live


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