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

generate PWM signal for control DC motor using NI-USB 6009

$
0
0

Hi, I'm Okky

I have a final project to complete my study. I have problem how to generate PWM signal in LabView 2013. my plant is DC motor and I using NI-USB 6009. help me please

Best Regard

 

  Okky


obtain an impulse using mathscript composing of multiple frequencies

$
0
0

Hello. Im a newbee in labview and i need some help. Attached here is a mathscript for the generation of impulse composed of frequencies from 10 to 5000. The output doesnt come to a close impulse figure. any suggestions? the for loop is not included, it is one of my shortcoming as a newbee.

Skip the samples from DAQ 9191 and store them using write to measurement file function

$
0
0

Hi,

I am using c-DAQ9191 with NI9234 module.To store samples from c-DAQ I use Write to measurement Files function.So to skip samples , Quotient & Remainder Function is there to store every 4th sample from c-DAQ9191.If I am testing the same program with RandomNumber its working fine according to my requirement (every fourth value it is storing in file)  but in c-daq its not working.Plz help me .

如何编写自定义函数框的解析

$
0
0

想自己做一个代码编辑框,比如输入下图代码怎么去解析这段代码,  如果输出1那么完成下段代码否则完成else下段的代码,求大神指点!

J9H6U]5I}`)TQ`6IR3BH2DF.png

Dealing with Large csv data

$
0
0

Hello all,

I have large csv File. I want to convert to array (by Spreadsheet String to Array.vi).

Could you please tell me which one is more faster & Better. Sometimes if my file size is very big then Spreadsheet String to Array is not working (as per approach 2 & 3) because of Out of memory.

 

CSV Reading.png

Reconstructing signal from FFT

$
0
0

Hi folks,

 

I am new to labview, and presently working on signal processing and analysis. I have a time domain signal, so i want from a frequency averaged time domain signal, i.e i convert my signal to frequency domain and average it there and do inverse transorm of the averaged signal.

 

 

So using above, i tried to use FFT and Inverse FFT for time being to see whether i get the time domain signal back from the freqency domain signal or not. But what i got was not what i wanted. 

 

Original Time domain ----------(FFT)----------Frequency domain----------(Inverse FFT)-----------Obtained time domain

 

I am attaching my VI here. Please help me figure out this, that why is my original time domain signal and obtained time domain signal are not same

neat example of comparing reading perfomance for a local variable, a notifier and a queue element (searching for it)

$
0
0

Dear users,

 

I've came across an example showing the function and downsides of using a local variable, a notifier and a queue for collecting and manipulating data lately. But I cannot find it again.

 

I try to describe that and I hope anybody can give me a hint:

 

A sine values were generated periodically and were send to an indicator, a notifier and a queue. In other loops, the local variable (of the indicator), the notifiers and the queue elements were plotted to graphs. The loop time for the reading loops could be set separately for each of them and dependent on the settings of the timing (time: equal to generator, half of the generator and double of the generator), one could observe omitted or duplicate elements. Very useful to observe the behaviour of the loops reading a local variable, a notifier and a queue element.

 

Anybody does have an idea, where this VI is placed, please?

How use Excel Get last Row.vi information in an aray?

$
0
0

Hello

I called an excel file in my labview and I can see row number by Excel Get last Row.vi. but i need to use that row number. how can I out that? now, it just show to me, I couldnt use of cluster to Array conventor or array subset. can I do it?

 

tnx

 

Best Regards


LabVIEW Memory Allocation

$
0
0

Hey,

 

Is it possible to allocate predefined RAM Memory and accumulate data's into it?

 

Before going in to detail – I am currently looking to write the inspection results in database for statistical analysis. I hope it will always consume some time to write it in database for each component / iteration. So decided to accumulate all the data in memory and write it at one shot.

 

In detail, user has to inputs the memory size via front panel control. Let us assume for writing 1 row of string information occupies “XX” bytes. (Not yet sure how to calculate memory size of 1D string array of 10 elements (max of 20 character in each string)). Dividing the user input memory size with 1 row of memory size will give how many rows we can write at maximum say “N”.
Use the for loop with “N” iteration and accumulates the 1D info to 2D array of information (auto indexing) and write it in Database at one shot.

 

Any help or direction may helps a lot. 

 

Waiting for the reply :smileyhappy:

Converting Labview 5 to 2012

$
0
0

Can someone please help me convert these Labview5VI'sto2012.

 

I only have a copy of LV2012 and apparently you cannot convert LV5 VI's directly to LV2012.

 

Thanks

Converting Labview 5 to 2012

$
0
0

Can someone please help me convert these Labview5VI'sto2012.

 

I only have a copy of LV2012 and apparently you cannot convert LV5 VI's directly to LV2012.

 

Thanks

Convert LV 6.1 to LV 6.0

$
0
0

 

Hello,I need to convert an LV driver from 6.1 to 6.0 version

 

thanks for your help

How do I get the labview function panel for DAQ onto my function toolbar for lv2011? It is a reload of a crashed laptop.

$
0
0

I have had to reload our LV installation and have lv2011 and NI-DAQMX 9.9.    I can not get the DAQ function pallet to show on the funtioon toolbar.   I have tried to repair the NI-DAQMX.   It showed messages "installing lv2012 support" and "installing lv2012 SP1 support".  I did not see a lv2011 support message.

 

There was a configuration download issue and 2012SP1 was incorrectly thought to be within my license group by the account rep.  This had since been unistalled prior to installing 2011 (no SP1).  

 

Thanks in advance,

Bill

Please help me modify this code to write to the correct output channels

$
0
0

Hello.

 

I'm backed into a corner here.  I've paid a programmer to rework the I/O section of this code and he's left me high and dry with a deliverable this week.  I'm dying here and the programming is above my head, plus Labview crashes every few edits so it's slow going.

 

This is a program we had created by an independent programmer that is no longer in business, so I can't pick his brain.  I'm left to my own devices.  A screenshot of the related code is attached with descriptions on it.

 

At one point this program ran on one SCXI chassis with 16 channel 1160 relay.  Our new application is split across four cDAQ chassis, and I need to route the conditions accordingly.  Right now this programmer attached it all to one card and essentially told me to pound salt.  I desperately need to split these local variable AND bit conditions to 1&2 to the main chassis, 3&4 to the second chassis, 5&6 to a third chassis, and 7&8 to a fourth chassis.

 

From what I can tell, the original programmer is using bit/byte count to tell each card which channels to turn on and off.  Each card only needs channel 0-3 to work, each working in pairs (the same condition that enables channel 0 enables channel 1, etc).

Example: BH1 Start Stop Test state changes, ONLY Rack 1, slot 5, channel 0 and 1 change.
BH1 Start Stop Test 2 state changes, ONLY  Rack 2, slot 5, channel 0 and 1 change.

BH2 Start Stop Test 2 state changes, ONLY  Rack 2, slot 5, channel 2 and 3 change.

Hopefully this is clear.  I've never used bit/byte/nibble to set states on cards, only typical booleans.  Thanks very much in advance.

how to generete a pulse after a zero crossing detect in dynamic data with a phase delay.

$
0
0

Hi I´m acquiring a 60 Hz sinusoidal signal from NI USB-6363 in LabVIEW, so then i want to produce a pulse after a zero crossing in each semi-cycle with a phase delay with the NI USB-6363, for example Labview detects a zero cross and 120° after of the crossing i want to produce a pulse with a rising time of 50us. The phase delay needs to be controlled.

 

P.S. The acquiring block that I´m using produces Dynamic Data

 


Mystery of (unwanted) 46 pixels

$
0
0

 Hello All,

 

Please run the attached VI.

I want to understand why there is an offset of exactly 46 pixels in the output of 'Total Bounds Rect Property' (Panel class).

How can I make a waveform graph store the entire wave, not just the current time period and how can I save the actual graph?

$
0
0

I am taking temp readings with a 4 channel DAQ, sending them to a waveform graph and exporting the data to excel, how do I manipulate the graph to take a continuous reading as opposed to losing the previous GUI and how can I save the entire graph?

 

Using LabVIEW 2011 operating on Windows 7 professional. 

signal prossesing and generetion

$
0
0

Hi I´m acquiring a voltage from a 60 Hz sinusoidal signal with NI USB-6363 in LabVIEW, so then i want to produce a pulse after a zero crossing in each semi-cycle with a phase delay with the same NI USB-6363, for example Labview detects a zero cross and 120° after of the crossing i want to produce a pulse with a rising time of 50us. The phase delay needs to be controlled.

 

P.S. The acquiring block that I´m using produces Dynamic Data

 

is there a bug with the multicolumn listbox?

$
0
0

I'm running into a weird issue with the multicolumn listbox.  I can enter the exact same data in 20 rows or even more.  The row height on rows 10 and 13 always resize to about twice the height of all the other rows.   Why do these 2 rows always do this - I have no idea and have tried everything I can think of to either get it to stop or reproduce it on other rows.  But it always happens on rows 10 and 13.  Anyone run into this issue before or any idea what could cause this?

importar Drivers para IEEE 488.2 (GPIB), Serial (8104 Electrical Safety Compliance Analyzer)

Viewing all 66787 articles
Browse latest View live


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