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

EOG signal acquisition to control a wheelchair

$
0
0

Hi my name is David, im currently working on a project which involves controlling a wheelchair with EOG(eyes) signals, I am using a myDAQ for the signal acquisition and LABVIEW for the Signal processing. the main goal is to acquire the EOG signals, perform some sort of filtering to remove noise, characterize the signals and assign them to a control signal such as left or right if they go above or below a threshold value and calibration. with the help of the examples in LABVIEW i have come up with a VI that can acquire the EOG signals and store them however I am a bit confused on how to calculate their averages of the selected data in the signal Processing section of my VI.

 

F.Y.I i am not experience with LABVIEW at all and I am currently stressing out because the deadline is approaching and i have not completed the task, hope someone can help.

thanks in advance, David 


Master slave vs Producer consumer

$
0
0

Hi all,

I wanted to know the details difference between master slave and producer consumer design pattern in LabVIEW.

 

Till now what I get is as follow:

 

1.Master slave uses notifiers and producer consumer uses queues. 

2.In master slave data is broadcast and every slave loop gets that. While in PC the data is consumed by one consumer will not be available in another consumer. 

3.PC uses queues so they gives buffered communication i.e. data is buffered in queue so data loss is avoided, while in MS the consumer loop should be enough fast to avoid data.

 

I have read that master slave supports the communication between two process that run simultaneously at different rate but if the running rate of slave loop is slow then , will data loss or not? in-spite of different rate, could it be slave faster than master? 

is there any other differences? 

related to application in which they will be used?

Related to synchronization?

 

 

Calculating frequency with hall effect sensor and arduino

$
0
0

Hello, my current VI is using LINX to get voltage measurements from an arduino analog pin and displaying the data (current,power etc). I have a hall effect sensor set up that would get the pulses from a vibrating structure and potentially display the frequency at which the the structure is vibrating on the same VI. How can i implement this with my current design? I have tried to come up with a way to count the number of pulses in LabVIEW but couldn't find a way to efficiently do that so i can do the calculation of the frequency.  Any help will be appreciated. Thanks

Conversion Request from 2018 to 2016

Opening labVIEW pallet

$
0
0

Hello

I am new to LabVIEW, I wanted to know if there is a way to open and see the structure of the LabVIEW pallet blocks how they are built. Like to look into inbuilt mat-lab blocks by using the option "Look under the mask". 

Thank you

Ram

Dynamic Data Processing

$
0
0

Hello 

Can anyone please let me know how to do frequency analysis after the data acquisition. I know LabVIEW has tone measurement to measure the frequency, amplitude and phase, but I wanted to use single phase PLL to measure the frequency. The attached picture has my reference PLL diagram. Can any one suggest me the possible approach to build the PLL in LabVIEW to process the waveform signal. My acquired signal is in the form of wavefrom. 

 

Thank you

Ram

timestamp

$
0
0

hiii,

  i would like to store the timestamp values with respective samples .but,in he block diagram while connecting to merge signal it does not connecting and error appearing like convert timestamp into dynamic state. can you  please tell me how to do that?

gps

$
0
0

Hiii,

in my project i would place GPS timestamps.But i don't know how to get GPS in my labview programing 

could you please tell me ?


Send a different value each time instead of an increment

$
0
0

Hello,

 

I have a question that I might be overthinking. I have a Labview code controlling a rotating mirror to turn to a certain angle. Originally I wrote the code with a while loop that it has a start angle (let's say 10), an increment (such as 2), and a final angle (like 20), the mirror will stay at 10, then 12, 14, and so on until it reaches 20 and everything is functioning well. But now I want the mirror turn to specific locations each time such as 10, 13, 17, 18, is there an easier way to do this? This is part of a bigger code that when this step finishes, the process then goes to the next case in a state machine.

 

I thought of an inefficient way was to repeat the code which is not good. Also thought of putting the values I want as an array but could not solve the problem when connecting the shift register. I also thought of putting the values into a text file and then input, but this seems to be too complicated.

 

Would anyone please provide some suggestions and comments? Thank you.

LMT Luxmeter Serial port RS-232 data string issue

$
0
0

Hi all

I had a diagram to acquire data from luxmeter RS-232 serial port.

data is acquired but as shown in figure (COM Data)

I need to know how to read this data and separate or just take the numbers from the string

I tried to separate the string but still could not target the numbers only

Thanks in advance

the light intensity.vi is also attached

Data Conversion

$
0
0

Hello

In the attached VI, I am getting the data from a waveform using "get waveform components". The output is in the form of 1D array, I want to convert the data to integer to perform the analysis. I tried using the index array but realized it is not working. Can any one please let me know how to convert the data type to make the VI working. 

Thank you in advance

Ram

Using LabVIEW 2014 

Problem on acquiring waveform from a DSOX 4024 oscillscope

$
0
0

Hi There,

I am making a labview program to acquire signal from my Keysight DSOX4024A oscilloscope, i need to save the waveform every 10 seconds for one hour. here are the problem i have so far.

1. i have to set the edge trigger level of channel 1 as -2.75 volt, otherwise, the waveform signal on the oscilloscope will come and leave quickly. When the trigger level is -2.75 v, the waveform signal will be stable. However, when i run this program. in the first while loop, the signal shows correctly in the VI, but then the signal showing up is not correct any more. what is the reason? i have made sure that the trigger level in the VI is the same as the one in oscilloscope.

2. I found the size of the wave is 480k points which is too much, i just want part of the waveform, how can i set it in the VI? i dont see the "start point" and "end point" in the "read waveform.VI".

Attached is the picture of the VI.

Thanks.

 

列队与图像采集

ADC 5761

$
0
0

Hello, could someone write a program for ADC 5761, which outputs data from several channels to one analog input.

How to create a simple boiler monitor simulation?

$
0
0

Hi there, I'm new to this forum and i've just registered to it because i'm really seeking for help and i'm out of ideias.

 

Anyways. So, here's my problem - i want to make a simulation, just a simple simulation, of a boiler, with a automatic monitoring system that controls automatically the variables like temperature, pressure, and water level. Just these variables is enough. And i want that randomly, a spike occurs in one of this values so the boiler becomes "overpressurized" or becomes "overheated" or the water level get too high and needs to be controlled. So the system automatically detects these spikes and increase or decrease the temperature of the boiler by adjusting a simple temp controller, like a simple thermostat. I tried many times but u can't find a way to generate random spikes of value and add it to some variable like the pressure or temp. And I'm very new to this program so, if it is not asking too much, i would like some sample program. Anyways. I've attached some examples that i've found in the internet of what i want to make. Thanks in advance and I'm looking forward for any help.Front-panel-of-a-VI-Virtual-Instrument-LabVIEW.jpg

 

Block-Diagram-of-a-VI.jpg

 


PCI-6259 Counter Output

$
0
0

When I use a PCI-6259 Ctr0 output a frequency signal, why I get the same output at Ctr1 at the same time? I have 6 PCI-6259 cards, all of them have the same problem. I use a scb68A.

Re: SubVI filter not executable. Undefined error.

$
0
0

10.PNG20.PNG30.PNG

hi everyone ... i am using LabVIEW2015 and trying to program a KNRm controller... but there is a problem in the KNR3 open.vi .. i could not find a solution ... i hope anyone can
thanks ..

Speed of writing data into TDMS is slow

$
0
0

hi,

i am trying save data coming from XLINX FPGA. Data from FPGA is of 10mbps. data is continous

but i am writing at very lower speed. i.e., of khzs.

 

let me know how much speed i can write data in TDMS file ?

my requirement:

acquire data from visa read, concatenate two bytes and store  in TDMS.

 

please find the vi uploaded. and suggest me how  i can increase the speed of writing ?

 

Stitch 2D Data

$
0
0

Can someone provide me idea how to stitch 2D images.

I have tried myself , but its not working.

Barcode Scanner

$
0
0

Hello,

I am trying to make a program which will read data from a 1-D Barcode through a Zebra/Symbol/Motorola handheld scanner.I want to save the data from the Barcode in my SQL database as "SAP Code" to identify the lot ,a data/time for sorting and it's unique id.The scanner was programmed through the "123Scan" software,it can collect data from the code,and it's linked to the PC through a Serial COM port.But I don't know from where to start,on how to acquire the data from the scanner ,save it as a string in my database,I've tried using VISA but it's documentation on what I want to do with it is scarce.

 

This code must be running 24/7 as the factory's working shifts include nights shifts as well.Right now I only need to know from where to start from because I can't seem to make a VISA variable work like I want it to.

 

Felix

 

 

Viewing all 69591 articles
Browse latest View live


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