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

Help Tweaking Model for Simulated Stimulation Output

$
0
0

Hello,

 

I would first like to say that I am new to LabVIEW, and so my VIs might not be the "best way" to do things. I am attempting to send a simulated signal to a device through the use of a PXIe-6363. This simulated signal should be sent continuously, but the two waveforms are supposed to appear only once every second. The simulated signal should be able to have a varying latency between the gaussian monopulse and the sine pulse following it, which I believe is working correctly. 

 

Furthermore, I am attempting to trigger this simulated signal using the input from a PXI-5122. The PXI-5122 reads in an analog signal similar to the gaussian monopulse that is part of the waveform in the VI. As soon as the analog signal is read in (which also occurs once every second, although i can very my device to have it done twice every second) the simulated signal is supposed to being being sent back into the input of the device. I do not believe that I am doing this triggering correctly right now. 

 

The issues: Currently, my device is reading the simulated signal in but there are a lot of missed readings. I believe this is because the signal is not being sent close enough to "real-time" for the device to be able to get a consistent reading. Furthermore, I do not believe that the "triggering" I am attempting is doing anything meaningful. I am using producer-consumer to try and accomplish this task, but as stated above I am new to LabVIEW as well as the producer-consumer architecture. Any help is greatly appreciated. Attached are the VI (for LabVIEW 2016) and a VISnippet just in case.


Labview or Labveiw NXG still same limits or ?

$
0
0

Hello everyone

i have a problem with changing the value of multiple controls in the same time

as we can see in the pictures ,one from labview and i installed labview nxg today because i thought it will have a better funcions

i want to change the values of multiple controls in the same time ,using  proprety change in block diagram will not solve the problem because :

i would like to change the color of multiple color boxes randomly and this is not a solution and will consume a lot of time.

these boxes will represent pixels from image so can you imagine this editing each one alone

please help me how to do this or suggest for me a software that can edit multiple pixels 

usualy i use Labview with visa for building drivers or controling Hardware but i thought labview could help me in this also !

thanks a lot

Plot arrays on image in real time or add image to XY graph at a certain place

$
0
0

Hello,

I'm looking for someone that could answer my questions. Currently I'm making my own version of Flappy Bird that bases on plotting 3 graphs in a real time. Everything is working fine but now I'd like to add some images so it could look better. I'm sending points in arrays just to keep them on plot and have their values. My struggle is, how to transform XY graph to an image without losing game quickness or add images to XY graph at certain point. Sending snippet below.

Thanks a lot.

Maxerx

Can't import CAD model (.wrl file) into Robotics Simulation builder LabVIEW

$
0
0

Dear LabVIEW users, 

 

Actually i was seeking to import a cad ( assembly) file from SolidWroks into LabVIEW through

"Robotics Simulation builder". However it prompts out a massage which said " the converter can not load the input file correctly". However i have tried to use the CATIA to generate .WRL cad file, it works but i still can't see the 3D model in the Monitor screen. 

Please check the screen shots below. 

Thanks. 

Best Regards.  

Sending U16 Matrix TCP / IP

$
0
0

Hi, I need your help, I created a game that works perfectly and I want to use TCP / IP to make it playable on the network, the only problem is I do not know how to read and write on my display matrix, do you have any suggestions? How to send and read the values of a U16 matrix?

WPF technology control with labview

$
0
0

Hi all 

I have question please 

I need to test UI Gui , some suggestion form SW engineer to use WPF (Windows Presentation Foundation ) technology  its kind of XAML

question is can I control on WPF using labview ?

 

Thanks 

Wisam

 

Resize Array in front Panel LABVEIW NXG

$
0
0

Hello everyone

how can i change the array size in front panel i don't mean the number of rows or columns but the size of displaying this array

i am making my project on 1920x1080 display but this array is big on 1280x720

i can change this in normal Labview but now how ? for controls a button or so on .. i can but for array i couldn't..

please help .. thanks

Data log in array

$
0
0

Hy everyone! Smiley Happy
I try to collect my joystick axis data in a array if I push the "save" button (on the joystick) but i can't, because the array save only ONE data. (the last state)

How can I save 10 state, in a 1D array? (with indexing)




Error -1074395992 occurs at IMAQ ReadFile when trying to run program

$
0
0

I am trying to load the face detection program on a myRIO. But everytime I run the program, I get an error saying IMAQ vision : File not found.

Could anyone help me out with this problem and let me know how to upload this on myRIO.

Clear buffer /flush data each program start.

$
0
0

Hello,

Im labview newbie and im wounder if there is an any option in labview options to not use old data from buffer.
I got projet on my studies and every time i test my program i have to turn off multiple diodes..

Re: FPGA Host Timing Vision Assistant

$
0
0

Good afternoon, I'm from Serra, Espirito Santo, Brazil. I'm doing an article for college and I'm not able to install the lab view vision assistant. You can not tell me a path to the installation. direct from the NI site stay in high cost for us Brazilians. Thank you, allisson.amorim@hotmail.com

LabVIEW Refnum

$
0
0

大家好,我现在有一个VI,他有一个引用句柄控件,我想知道这个引用控件是如何创建出来的?

 

 

Vertically translate 2D sphere using force output.

$
0
0

Hello,

I was wondering if anyone knows how to translate a 2D sphere in LabVIEW using force output from a sensor in real time. I would ideally like to have a target sphere oscillating up and down at a set frequency and amplitude with a 2nd sphere controlled by force output in real time. The goal is to test ones ability to track a visual target. I'm good doing this using waveforms, but I'm working with children and would like to simplify the task by using objects on the screen instead of waveforms.

Liddy

Compare similar shape Waveforms

$
0
0

Hi,

 

I want to compare two waveform having same shape and same sampling time but time shifted. I am comparing Y values sample-by-sample in lab view. But due to timing mismatch between two waveform, i am not able to compare similarity between two waveform. Can you please suggest a method how we can do?

 

Attached is example of waveform.

 

Thanks,

Sunil Kumar

How to use Simulink model in Labview

$
0
0

Hi,I am new to Labview,now I want to  build a sinusoidal signal model from The MathWorks, Inc. Simulink Software and use the model in my Labview project. The tutorials in the net tell me to convert the model to a DLL document, I follwed the steps and get a DLL document. But when i ues the DLL document in
Laview,I found there are so many functions in the DLL. I also tried use the model interface toolkit and there are somthing wrong with my vi, I wonder to know wether my DLL document was build in the right order,  can you tell me something about this?How can I use the simulink model DLL in the LabVIEW? My version is 2016 and Matlab is 2014Ra.The attachment is my steps about build the DLL documnet.
Thank you for your time.
Regards.


Homing on Block

$
0
0

Hello,

 

for a motion control I need a homing to set the zeropoint at a spezific position before each restart. Without a switch, I wanted to use the homing mode on block, but my homing mode do not detect the block.

The programm:

- w 0x6060 6
- w 0x6040 0

- w 0x6040 6
- w 0x6040 7
- w 0x6040 F
- w 0x6098 -1
- w 0x6099 0x01 1000

- w 0x6099 0x02 100
- w 0x609A 1000
- w 0x2102 0x01 80000
- w 0x2102 0x02 100
- w 0x6040 1F

 

Thank you for your help.

 

Sincerely

 

Guni

How to use Simulink model in Labview

$
0
0

Hi,I am new to Labview,now I want to  build a sinusoidal signal model from The MathWorks, Inc. Simulink Software and use the model in my Labview project. The tutorials in the net tell me to convert the model to a DLL document, I follwed the steps and get a DLL document. But when i ues the DLL document in

Laview,I found there are so many functions in the DLL. I also tried use the model interface toolkit and there are somthing wrong with my vi, I wonder to know wether my DLL document was build in the right order,  can you tell me something about this?How can I use the simulink model DLL in the LabVIEW? My version is 2016 and Matlab is 2014Ra.The attachment is my steps about build the DLL documnet.

Thank you for your time.
Regards.

Error 1147 Cannot load remote VI in subpanel

$
0
0

Hi,

I am trying to load a VI in labVIEW main instance into a subpanel running in exe instance(another instance) in development mode.  I am getting error 1147, is there any way to load a VI in another instance into the subpanel?

 

Thanks in advance.

Simple Gradient algorithm

$
0
0

Hello All,

 

I am trying to design a simple Gradient algorithm.

I have a constantly changing Temperature value and i need to store the values in a buffer (or array  - max 8 immediate values).

Then i need to check if the values are increasing by comparison, and if they do then alert.

________________________

I am having problems holding the values to even start to compare them.

 

Please Advise 

Atif

Get file pattern label information

$
0
0

Hello,

I have simple question, but I am afraid about answer, that there is no solution. I have a file control with several user custom patterns (eg. CSV file (*.csv), Excel file (*.xls), CSV tab file (*.csv). Each of this file patterns are standalone in file dialog (separate line). I would like to get an information when I choose file under file pattern label CSV tab file, because CSV File and CSV Tab file has a same pattern, but inside in the file they are different. And I want to start correct subVI to open this file correct. Have anybody a solution via file dialog? Thank you.

Viewing all 66860 articles
Browse latest View live


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