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

Intensity Graph Manipulation

$
0
0

Hello,

I am currently working with intensity graphs and greyscale images,

I use an array of numbers that are actually an image, obtained from software such as imagej, and then display them on an intensity graph.

I want to manipulate the image shown on the graph by being able to smudge the image (changing the current pixel value by the average of the pixel values around it) and adding random noise to each pixel, how would I go about doing this?

Thanks,

Sam

 

(if needed I can provide my VI)


Decoration labels

$
0
0

Dear all, this might be a mistake form my side, by I am developing an application that programmatically changes the UI with respect to the user's input. I am using some decorations (in retrospect this might have been a bad choice) and when the user selects an item from the drop dawn menu the decorations have to move to a different position in the front pane.

I implemented this using UIDs and then position property nodes to move the decorations around in each case. Although when in development mode when i test the application everything works great, when I built the exe, whatever is programmatically adjusted using UIDs does not seem to propagate to the program. Is there an option I am missing to compile vi scripting?

I am using LV2016 32bit and I am attaching a small code sample of what i want to do. This works in interpreted mode but not in compiled. Any ideas?

Wondering Why, File Dialog Question

$
0
0

Only the last 16 characters of the Default File name are displayed.  I wish that they all show.

Mejorar una imagen pixelada

$
0
0

Estoy tratando de reconocer caracteres con vision assistant pero por lo pixelado de la imagen no me permite hacerlo de forma correcta, es decir me junta dos letras o no reconoce todos los caracteres, ya hice algunos tratamientos pero no resulta. Espero me brinden alguna idea de como aumentar la resloución de la imagen quitando lo pixelado. 

Saludos cordiales

 

stepper motor/labview/USB-6002

$
0
0

Hello!

Now, I have Data Acquisition Card USB-6002. I want to use this to control the stepper motor. It seems that the voltage from USB-6002 is not high enough for stepper motor. Should I buy a stepper motor driver, or is is possible to connect steper motor driver with USB-6002? Or I should use voltage amplifier connected to USB-6002 without stepper driver?

 

 

daq 9219 problem

$
0
0

respected sir we are working on our final year bachelors project. we are using DAQ-9219 for  the stress analysis using load cells.and the 9219 is not working.the excitation voltage of load cell is 9 to 12 volts and that of DAQ is upto 2.7 volts. please share your expert opinion with us

Re: Error 62 - Serial Port Overrun Error

$
0
0

Hi Naveen,

 

I too have got the same error code 62. (Serial Port Overrun Error). Did you solved the issue. can you suggest the solution.

Galvo Mirror set up

$
0
0

I am new to LabVIEW. I need to make the smooth movement of  Galvo mirror (GVS 212) oscillating from 0 to 60 degree. Can anyone provide me the steps I need to follow to make the circuit on LabVIEW.

 

Thanks in Advance

Siddharth


myRIO-1900, FPGA vs RT Module

$
0
0

hi, I have an myRIO-1900 and I saw that it had two things in it: the RT processor and the FPGA

 

I saw when creating a new project in LabVIEW, I can make either a "myRIO-1900 template" or "myRIO-1900 custom FPGA project"

 

I'm confused as to whether or not the labview is compiling the VI to be run on the FPGA or the RT processor?

When I made a myRIO-1900 custom FPGA template, I see the FPGA Main Default VI and the RT Main VI.

The FPGA Main Default VI I saw has code which configures the I/O pins of the board, and so I build this using the xilinx compilation tools and i'm guessing this is now written into the myRIO-1900 fpga side?

 

now if I want to process some of the signals coming in using the FPGA fabric (not the RT processor!), do I draw the code for this in the FPGA Main Default VI and build it again? or do I just use the RT Main VI which will do it for me?

 

My idea is to use the FPGA only to process signals and I don't want to use the SoC RT processor at all since FPGA fabric code would be faster

Use parts of data to work with instead of working for the whole to finish?

$
0
0

I have a problem, see pic attached:

 

I got three loops, they finish all at different times and should then pass forward data to the next VI.

So as it's now, i have to WAIT till the slowest finished - then only the data gets forwarded, all loops then reset simultaneously and start from the beginning.

This is sort of a huge waste cause the fastest one could already run like 5x in that time. 

I want them all to run the fastest they can and forward the data once they are finished. 

 

Is there some sort of LV technique/concept that can tackle that?

 

Curve Fitting Step Function

$
0
0

Hi, I am trying to model a step function using a thermocouple. I can acquire the data and display this - showing the step function using the gate and trigger vi. However, I cannot seem to get the curve fitting to work. Instead of the best fit showing a step function, it is looking more like an exponential.

 

I think it might be to do with my 'location' inputs but I thought this would just be the time channel?

 

Thanks,

 

Scot07

 

 

Timing a while loop

$
0
0

Hello. I have problems with timing a while loop. I used some examples of other people but its still not showing time. I am using flat sequence structure. My program is creating grayscale form webcam live video. I divided flat sequence structure to three parts, while loop was in second part and timers were in first and third. In third I substracted times like in second uploaded picture.

 

 

 

EV3 mindstorm LAbview software always crash when open a project file

$
0
0

Hi Everyone,

 

I am new here.

I am a profession programmer. I am instruct EV3 FFL team now.

I have a problem to open ev3 project using mindstorm LABView education version 1.4.2 (20180509.1)

 

it always crash, and throw this kind of exception:

Unhandled exception occurred at 2019-05-05_12-30-57-AM
System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.

but after my about 10 time try.( 30 minutes later ), it finally opened successfully.

I made some change , save it and close it  .  

the same thing happened when I re-open the file next time.

the below is my exception log.

I will attach my ev3 program and crash report. 

Can anybody help me out ?

 

Thanks a lot

Johnny Wang

 

ev3-crash-wpf-2019-05-05_09-00-33-AM.log

Unhandled exception occurred at 2019-05-05_12-30-57-AM
System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at NationalInstruments.X3.Launcher.SingleInstanceManager.OnStartup(StartupEventArgs eventArgs)
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
at NationalInstruments.X3.Launcher.SingleInstanceManager.Main(String[] args)
Stack trace with ILOffsets:
at WindowsBase.dll.UnsafeNativeMethods.DispatchMessage (IL offset: 0xffffffff)
at WindowsBase.dll.Dispatcher.PushFrameImpl (IL offset: 0x40)
at WindowsBase.dll.Dispatcher.PushFrame (IL offset: 0x5e)
at PresentationFramework.dll.Application.RunDispatcher (IL offset: 0x1f)
at PresentationFramework.dll.Application.RunInternal (IL offset: 0xdf)
at PresentationFramework.dll.Application.Run (IL offset: 0x1d)
at MindstormsEV3.exe.SingleInstanceManager.OnStartup (IL offset: 0x92)
at Microsoft.VisualBasic.dll.WindowsFormsApplicationBase.DoApplicationModel (IL offset: 0x52)
at Microsoft.VisualBasic.dll.WindowsFormsApplicationBase.Run (IL offset: 0x178)
at MindstormsEV3.exe.SingleInstanceManager.Main (IL offset: 0x5)

 

 

EV3 mindstorm LAbview software always crash when open a project file

Reversing the FFT outcomes

$
0
0

Hi from Sth.Korea. I've currently started using Labview to make ANC system.

 

As a beginner, I've made quite simple FFT circuit and ran into a problem.

 

1st, I wanted to create FFT output of the sin wave and create FFt.

 

2nd, after the FFT, I've tried to reverse the FFT output.

 

The problem is, when I made reverse form of the FFT, the outcome was quite

 

different with what I've used as input. The amplitude became really small and I can't figure out why...

 

Please help me you awesome people around the world~


Hello I am making calculator using state machine(easy)

$
0
0

Hello

I am making a calculator using state machine

not an event-driven machine

but I can not run as a calculator

almost I thought that it was finished.

because string that I had clicked didn't go for wait for event to user state 1

I think it would be very easy for people who are accustomed to dealing with problems.

Thank you.

Gracias por su ayuda.

4082 labview测电阻程序编程

Can Application Builder on Win10 generate for Linux?

$
0
0

So there's an app that I built to give away free. It does only just math: calculations for design of a small loop transmitting antenna. It writes no file. It only does math in a loop and shows results on-screen. I built that as an app for Win10, but there are folks on Linux who'd also like it. What to do?

creating and working a myRIO project without connecting to myRIO hardware

$
0
0

Greetings everyone!  First the question, then the background:  In LabVIEW myRIO 2017, is there a way to create a myRIO project without actually being connected to the myRIO hardware?  When we try using Generic Target, we end up with empty function and controls pallets.

 

I've attached screen shots of the various steps we've taken and errors that we've encountered.

 

software: LabVIEW 2017 myRIO, which I understand is a LabVIEW NXG platform.

hardware: myRIO 1900 (USB 2.0, Wi-Fi)

 

As a bit of background, I'm a robotics teacher at a local vocational school and this semester I'm embarking on teaching the students some essentials of LabView.  The grand scheme is after 4 years to have our high school students leave with essential knowledge of programming across multiple platforms (C++, PLC / ladder logic, LabView as well as perhaps a bit of Arduino if time allows).  I have a bit of LabView experience but am new to the myRIO hardware platform.

 

My students are working in pairs with one myRIO per pair.  (Each student has their own LabView seat license, but we only had budget for 1 hardware kit per 2 students.)  I want each person to construct their own projects in LabView to read their ambient light sensor, but in order to create a myRIO project, it appears that each student must remain connected to their myRIO.

 

Any help would be greatly appreciated.

 

Dan

state machine problem(EASY)

$
0
0

Hello

I want to ask you about the state machine

I was testing a calculator using state machine

Suppose If I click 2+3 

I thought that the result should come out 

But I can not connect from wait for event and state 1

How can I connect from wait to event and state 1 so that I can get the result????

It would be great help if you can find any solutions. 

Thank you so much.

Viewing all 69287 articles
Browse latest View live


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