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

LabVIEW on Raspberry Pi

$
0
0

Hi All,

 

I've seen the LINX tool for deploying labview code on the pi. But this seems to be only useable with LV 2014 ?? Does anyone know if a 2015/16 version is in the pipeline or if it can be done ?

 

Other than that, is there any other way of running labview code on a Pi ?

 

Thanks,

 

Richard.


Working with a step Motor in different regime types (local variables).

$
0
0

The program below is used to control a step motor with NI 9401. However it has been designed to work in two ways, when you push the buttom "adelante" or "atras" it turn into one way or another, but if you push "Start" it begin to move in a particular way (that I have indicated) and if you push again the same buttom ("Start") it have to stop (in that way you can push the buttoms "adelante" or "atras" if you want). The problem that I have is with the "local variables", because when the "Start" buttom is unpushed I have three while-loop and I don´t know how to said it to stop when the "Start" buttom has been pushed and the same when the "Start" buttom is pushed, and i push the "Start" buttom to stop it. I have a mess with the function of local variables.

I know that is a little complicated to understand with word, i have tried to explain the most clearly.  I hope that you can help me.

  

USB Image Capture without IMAQdx

$
0
0

Hi everyone,

I have Labview 2011 and am using a Basler ace acA1300-200uc camera, which is supported by NI. I have a few simple things I need to do with this camera. First off I need to put in a trigger to my Labview code telling it to start when a trigger in another Labview program occurs. Then I need to open a live video stream on the display for the duration of the testing. I don't actually need to save any of the video. Additionally I need to capture an image from the video two or three times in the first thirty seconds of video.

I've scoured through the forums and have only found a few examples of how to capture images from a USB camera without paying arounf $4000 for the IMAQdx software. I believe that my task is way too simple to justify purchasing this software as I don't need to process any images or video in any way, other than capturing an image from the video stream. Does anyone have any tips on how to do this in Labview?

Ni Labvew SbRio System Config 2016

$
0
0

My 2016 enviroment for developing sbRio system has been giving me issues. The System Config Page accessed through Internet Exploroer does not let me access all options. I have reformated the target and added all the software with NI Max. I have modifided the admin to have a password. With these changes in 2015, I was able to added files to the sbrio by using the remote file browser. Now I am unable to access the remote file page. Any ideas what I am doing wrong?

 

Thanks
John

Front Panel Background Blink

$
0
0

Is there a way to make the Front panel background blink just like a front panel control would?  Thanks!

Programmatically measure the difference between two channels

$
0
0

How to programmatically measure the difference between two channels on multiple channel waveform graph?

 

Help to determine if eyelid is open or closed

$
0
0

Hello - 

I am working on a blinking project with the human eyes. I've got a good eyelid tracking piece of software, but it only works if the eyes are open at first. If the eyes are open, then the lid tracking software can track very well with eyes open or closed after that. However, if eyes are closed from the start, the lid tracking has lots of issues and does not track well. 

So I need a way to determine if the lid is open or closed, then I can first start tracking the lid when the eyes are open. 

 

Thanks - Ron

Are there any recent examples on how to plot with intesity charts?

$
0
0

I have 3 [] arrays in a windows forms c# application. Two are doubles and the other is date and time.

FreqArray, MaxAmplitudeArray and FirstInterceptArray. I would like to plot to a intensity graph Xaxis as Frequency, Yaxis as First Intercept and color graph to represent the Amplitude.

 

Any help is greatly appreciated. I'm fairly new to measurement studios.


split the characters based on the length

$
0
0

How I can split string such as "HELLO"  => "H"  "E"  "L"  "L" "O" by using the length 

Analog Output Failure

$
0
0

Hello everyone,

 

I need some help with generating analog output.

 

In one loop, I am reading in 2 signals (400 samples @ 400 Hz) and passing them to a queue.  A second loop, I am analyzing and classifying these signals into 3 states. Since I am reading 400 samples @ 400 Hz, I am performing classification once per second.  If the classification is equal to a "target" classification, I have a boolean flagging detection.  If detection is on, and a "stimulate" button is also on, I trigger another boolean flagging "stim".  If "stim" is true I want to write an waveform to the AO channel

 This analog output is carried out by a third loop. In this loop, I am initializing an AO channel (500 samples @ 10k Hz) and generating 500 points of a sinewave to be written to the AO channel.  If "stim" is false, it multiplies the sine wave by zero (well actually is multiplies it by an exponential decay, but we'll say zero). If "stim" is true, then it passes the sinewave through to be written to the AO.

With this configuration, the VI will run, but after an indefinite amount of time the AO will stop being physically generated.  I probed for an error and found "DAC conversion attempted before data to be converted was available...".  A colligue suggested I try configuring an AO buffer as done here.  Playing with number of samples per write, sampling rate, and buffer size, I now have a VI that runs without dropping out, but that has a 300ms delay before its written to the AO channel.

 

Does anyone have any suggestions as to how I can make this AO generation more "responsive" to when it is triggered by the "Stim" boolean?

 

The VI and all necessary sub VIs and files can be found in the zip file attached.

DAQ Assistant for acceleration I need to set 4 different sensitivities

$
0
0

Good day

I was looking to build a vibration monitoring system using a NI-9234 and my original idea was to use the DAQ Assistant but I cannot seem to find a way to add a control for all four sensitivities to the from panel.

There is no connector for that input any suggestions  would be great I would prefer not to build the entire from Daqmx..

 

Thank you

Jay

Xor operation for Hex Values

$
0
0

Dear sir,

I have to apply Xor operation for 03, 01, 57 & C9 Hex values.

In programmer Calculater I have applied like: "03 Xor 01 Xor 57 Xor C9 = 9C". Finally the output is 9C.

How to implement the same operation LabVIEW?

 

Regards,

S Nagaraju

 

 

NI 9505 Current Feedback

$
0
0

Hi,

I have to tap the Current Sense output from NI9505 in my project.I would like to know what is the output range i can expect as i get a variable output that keeps changing frequently.Also i want to know the unit of it if its Amps or mA.

delete 8 bit first

$
0
0

output bit stream is "0000000001010000" but I want to delete 8 bit first 
for last out put is "01010000". what should I do ?

thank you 

Lags on data rappresentation in real time serial communication

$
0
0

Hello!
I have a problem with my vi that uses a VISA serial communication to display data in real time coming from a board.
As you can see in the file attached, the block diagram is very simple: I set the VISA communication, write a string to start the read stream and write another string to stop it. The sample rate from the external board is aout 500sps and one sample is composed by 24 bytes.
In the first time I used a "wait" block of 2ms (disabled in the vi attached) and all seems to works but I noticed an increasing lag in the charts during the execution. So I deleted the "wait" block and consequently the lag, but now the data acquisition seems to continue jerkly without data losses. I attached a video that shows it:in the first part the data representation is flowing and in the second it is jerky.
So I try to use a "VISA Wait on Event" block to wait until there are some bytes before perform a read (like here), but the "VISA Enable Event" puts out the error
"−1073807322 : Specified event type is not supported by the resource".

 

Is my serial vi correct?
Why this jerky behavior?
The VISA read is blocking until it reads all the bytes defined by the user?
Why the "VISA Enable Event" error?

 

Please help me.


EEG Simulation

$
0
0

May I know what are these constants for EEG Simulation VI? Thank you.

Byte Arry to Number

$
0
0

Hi everyone!

 

I'm having some problems connecting an Arduino Leonardo via I2C to a myRio. I have a sensor connected (mandatory) to the arduino and I send data using I2C to the myRio. The problem is that I receive the data in Bytes and I want to know if it's possible to convert them into a number.

 

Thanks!

See the Future of Graphical Programming Now

$
0
0

The release of LabVIEW 2016 just a few short weeks ago marked the 30-year anniversary of the seminal 1.0 launch of LabVIEW on the Mac. To ultimately improve your productivity in building engineering systems, NI has consistently invested in abstracting low-level programming tasks, exposing leading technologies and compute platforms, maximizing performance and memory management, and of course doing all of this inside of a stable platform. You might think that the features you’ve see over the past few releases, such as Channel Wires, represent the totality of the investment being made in LabVIEW. But, you would be wrong. 

 

NI also announced the NI Software Technology Preview, a program designed to provide current users of NI software active on a Standard Service Program contract with an early look at conceptual capabilities. Through this program, you can access pre-release software builds, product guides, reference materials, help modules, and discussion forums to help you along the way.

 

The software builds available today demonstrate investment in these 6 key areas: 

Icon84-LV3-1.pngApproachable AutomationIcon84-Knowledge-5.pngIntegrated Learning and Help ContentIcon84-Diagnostic-5.pngInteractive Data Analysis and Management
Icon84-Upward Trend-5.pngEnhanced Productivity for ProgramingIcon84-Data Viz-5.png

Modern UI Development from the Desktop to the Web

Icon84-Big Data-5.pngServer Side Data Analysis and Management

 

The Next Generation LabVIEW Features for Desktop DAQ and Instrument Control Technology Preview build demonstrates the fruition of these investments in graphical programming specifically. 

 

LabVIEW FEatures Tech Preview.png1920x1080 BD Option2.png

 

Visit ni.com/techpreview to sign up and ZOOM into the future of LabVIEW now! (Note: You must have an NI software serial number with an active SSP contract)

Detect 2 Push Button Control Key Presses SImultaneously

$
0
0

I am using a touchscreen PC.  I tell the user to touch 2 push button controls on the front panel at the same time.  What is the best way to detect that both buttons were pressed simultaneously?  Thanks!

Performing A Derivitave On Waveform Using Savitzky-Golay Filter To Aquire Velocity Data From Laser Displacement Sensor

$
0
0

Hello,

I am using a position laser to aquire position data of a free falling object, and have also been able to aquire a velocity curve using the basic derivite function, however there is a significant amount of noise on the velocity curve generated when the sample rate is set higher(i.e 10KHZ) as shown below. The laser outputs a +-10V analog signal. I have the program set to auto trigger right before Impact. An offset and multipler is calculated based on the displactment of impact, and the upper and lower bounds.

Position and Velocity Data.PNG

 

To filter out the noise I found some information on the Savitzky-Golay Filter but I am having some trouble implementing it and was wondering if anyone could help. The velocity cure above was not recording with the attached VI that includes the filter.

 

Best,

Dave

Viewing all 67017 articles
Browse latest View live


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