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

multiplicacion de señales

$
0
0

Buenas tardes Comunidad

 

tengo una duda en cuanto a la multiplicacion de señales en Labview

 

Tengo una señal que adquiero por el microfono de mi computadora y la quisiera multiplicar con una señal senoidal para una simple modulacion.

 

Adquiri la señal del microfono utilizando y sound input config.vi (archivo adjunto señales  y señales 1)

 

Cuando intento multiplicar estas señales surge un error, que sinceramente no entiendo,  (archivo error)

 

Quisiera preguntarles si hay que hacer algun tipo de configuracion para llevar a cabo esta multiplicacion

 

Gracias de antemano 

 

 


daq 6008 does not acquire signals

$
0
0

Hello,

 

The program below does not read the analog inputs, with the MAX i can read the voltage but i can not read anything in the indicators and the graphs.

Any advise? I don't know what I'm doing wrong? Thanks in advance.

State Machine issue

$
0
0

Hello. I am working on a state machine that I have posted here before but am having a problem with it. When the program runs, it does as I expect it to except I keep getting an error "Wrong Memory Zone Accessed", whenever I end the program. I have tried several different things without success.

Thank you

Local variable fail when using SIT

$
0
0

Dear all,

I am using SIT (Simulink Interface Toolkit) to obtain data generated by the model of  Simulink.  I need to use the local variable of the indicator to get the data out.

 

The interface with the mappings seems to work fine. The problemn is that the local variable of the waveform (this waveform is an indicater which mapped to the output signal of simulink and it can displays the signal from simulink)didn't work. I cann't obtain any data from the local variable, but the waveform which the local variable belonges to seems to work fine.

 

I also found an interesting thing that, when I hightlighting the execution process, the local variable  seems like didn't work at all, because there is no data flows from it.

 

The software version is Matlab simulink R2011b, Labview 2011.

 

Below is a simple test model in simulink. It is a sine signal.

Simulink.JPG  

 

Below is the local variable from the waveform which mapped to the signal of simulink. To check there is any data in the local variable, I put a waveform to check.

back plane.JPG

 front.JPG

Problem with TDMS Logging

$
0
0

Hello. Im running a sensor simulatuion code with a random number generator. The VI is running on my laptop. Im using LabVIEW 2013. I want to log the data and store it on my PC (anywhere will do). Im trying to write it as a TDMS file but I keep receiving an error -2501 on TDMS close. Could somebody please help me out.

Thanks Smiley Happy

VI Attached below

sending HEX code

$
0
0

I want to send a fixed HEX code without indicating it in front panel. It is just by a switch the hex data is send. The front panel HEX indicator should not be visible. How to do it.?

How can i send more than one signal to DMA FIFO?

$
0
0

Hello,

 

I'm trying to send more than one signal to DMA FIFO, but i don't know how to do. When i send one signal i don't have problems. I try to use one block DMA FIFO for one signal. For example if i have 3 signal i use · DMA FIFO but whe i want to wath them in a waveform chart the signals have a delay.

 

How can I do to send more than one signal to DMA FIFO? and if that's no posible, How i can do for syncronizate the 3 signals?

 

The data type of the signal is FXP <16,10>

 

Regards.

 

Pablo

Max value

$
0
0

I have given array input(which is string) to 'index array' and converted to number..after that I performed some task..Once the conditions are over I need corresponding array to be stored in single column one by one so that I can find max value..but my problem is that I'm getting array only in a single cell(not storing one by one but changing within a cell) so I couldn't find max value.what should I do?


Conversion LabView 2014 to 2013

Unable to load .NET Framework 4.5 and cannot initialize Kinect v2

$
0
0

The problem is that I want to use LabVIEW in designing a software using Kinect v2 by Microsoft but cannot initialize it. The message says "Error 1386 occurred at Constructor Node in Kinect_API.lvlib:Initialize Kinect.vi->Kinect_API.lvlib:Kinect Demo.vi" and "Possible reason(s): LabVIEW: The specified .NET class is not available in LabVIEW." when I use Kinect LabVIEW Interface Using Microsoft Kinect API. I have install the Kinect drivers and I can use C++ to initialize Kinect. The required file LabVIEW.exe.config I have also attached to LabVIEW 2014 root folder. I think the main problem could be the .NET framework. The .NET I installed was 4.5.XXXXX and the operating system is Windows 8.1 64-bit. 

 

Appreciate for helping me.

myRIO templates are not showing up

$
0
0

Hi everyone.  I'm a new myRIO user, and I'm trying to install the myRIO software on my home computer.  My problem is that the templates that I need aren't showing up, and I'm wondering what I need to do to get them installed.  

 

Just to be clear, this is what my screen looks like when I select 'create project' in NI Labview 2014: 

 

no template.JPG

 

And this is what I need it to look like: 

 

yes template.JPG

 

Can anyone tell me what I need to do to get these templates installed?  I've already installed the Labview 2014 myRIO toolkit, by the way.

 

Additionally, what is the difference between using a myRIO template and just creating a blank project?  I assume the template isn't strictly necessary for myRIO operation, but how much work does having the template save?

 

Thanks!

[Two Questions] [1. Wiring problem of thermal couple][2. How to add a counter with reset function]

$
0
0

Hi:

 

I have two questions in the labview program to ask.

 

1.

The .exe file, originated from this labview source file, is now working properly. After I installed the Labview 2010 in my laptop and opened this source file, there is a wiring problem about the thermal couple appeared. I did download the sub_VI of the thermal couple (LabJack, U6) from the company website and linked it to the source file. Therefore, I am not sure the reason of having this message of wiring problem. Based on the hint, I opened the "Context Help" and saw the window at top-right concer of the attachment.

If anyone has the idea of fixing it, please let me know.

 

2.

The original function of this source file is to switch on/off the power supply under the targeted temperature. Now I try to add an interlock, switching off the power supply when the temperature is over 80C for a certain time period (say ~2 hrs). In the whole loop structure, the load temp will be read every 5s. The way I am thinking now is to design a counter and link it to the case structure (see red circle 2). I use the "Formula Node" and write the counter inside. I setup the load temp as the input variable "T". If T is over 80C, the variable y will be added 1 every 5s. If T is less than 80C, y will be reset to 0.

Please let me know whether the code in the Formula Node and the whole idea are workable. I am not sure whehter I should initialize y as 0. 

Global variable value update to indicator on run time

$
0
0

HI All,

 

I am doing some task in subvi which is giving outputs which is of string ,  numeric and booolean format. These ouputs i need to pass to indicators of main vi.

So what i did is , i conncected output of subvi to global variabel and the same global variable i connected to indicator of main vi.

But the indicator value is not updating during run time. it is updating when i stop run and then run the application.

Why is it so?. Could any one suggest how to update during run time itslef?.

 

I have total 26 outputs in my subvi. So is it good using 26 global variabel or any othe way to do?.

 

Regards

Punith

counter reseting after particular number is reached

$
0
0

Hi,

 

I need a counter which will count from 1 to 20. It should reset at 20 and again start from 1 again. Can any one help me in this.

 

Also I need how to interface the labview simulation with real time clock. I mean span of 1 iteration in my simulation should be 1 second.

 

Thanks.

Intersection of line and signal

$
0
0

Hi,

 

  I want to get the all the intersections points of a line and a signal. The signal is real time saved signal so it may contain a little bit noise, it means it is not always in ascending order in rising edge or not always in descending order in falling edge. The screen short is attached. May I know is there approaches I can use to detect the intersections?


External source for timed while loop

$
0
0

Hello everyone, 

 

I have a timed while loop that is currently governed by the default KHz sample clock (on Windows). I need better resolution than this sample clock can give me, and am looking into external timing sources. I am currently using a PCIe-6320 for data acquisition, and am reading that it has a 1MHz onboard clock. I'm hoping that I can use this to get the timing accuracy I need out of the while loop, but I'm having trouble setting up the external source through DAQmx. What would be the most straight-forward way to implement a simple, fixed-interval timing source for the while loop using the 6320, or is it even possible? Thanks for your help!

Intergration of VI's

$
0
0

Hi all,

 

I have been working on this project for quiet some time now. There are few changes and additions that i am working on. I have a developed Individual VI's for Vibration Sensor, Strain Sensor, Temperature Sensor, LVDT Sensor. Please find the Vibration Sensor VI attached (Similar VI's with few changes for other sensors as well).

Each Sensor VI has the following stages:

  • Data Acuisition & logging from Multiple channels
  • FFT processing and logging
  • Data Recalling Trend Plot.

My requirement is this:

I have to integrate all the Sensor VI's into a single VI (Main VI). Please find the VI attached to the post, which is the requirement. In the MAIN PAGE tab, i should display all the live sensor data(for different Sensors). 

i am unsure how to achieve this since i am worried about the processing time. Any suggestions on how to go about it.

Thanks in advance.

 

Built Application with OPC server

$
0
0

Hello everyone
I am building application on development machine using S7- 1200 wich connected to OPC server
and I want to build application to run this VI on another PC without installing labview ,however when i finished building the application with the installer and install the application on another PC it can't connect to shared variables so i installed NI opc server on this machine and add the server to the OPC software wich contains the tags and variables
but it also doesn't connect to this opc server
so how to make the application run on this another PC with opc server !
how to tell the VI to use a specific opc server on this PC that doesn't have labview?

triggering with NI PCI 411

$
0
0
Hello all,
 
I use NI-PCI-411 board  for data acquisition with a computer ( comp#1). The card has 3 BNC sockets, 2 channels and 1 trigg. I want to use one of the sockets to trigger a camera with MATLAB commands.The camera is connected to another computer (comp#2), however the BNC input is connected separately with comp#1.
Is this scheme possible? How do I interface with MATLAB with the PCI card?
 
Thanks.
Noam

menubar

$
0
0

Hello
 
I have an issue that i can’t find any help for, online. Maybe someone here can give me a tip or 2..
I am making my own menubar with my own headlines and submenus ( i know how to make a Run Time Menu).
Furthermore I would like to tie each submenu to its own corresponding page. How do i do that?
Consider this example…
 
Menubar: File               Data                Compare
---------------------------------------------------------------------------------------
New                             Show info         Previous step
Open                           Save                 Previous test
Step                             Send
Close                           Print
End
 
choosing compare—> previous step opens en new page with its own elements.. And so on
 
regards kim
Viewing all 69264 articles
Browse latest View live


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