Quantcast
Channel: All LabVIEW posts
Viewing all 203752 articles
Browse latest View live

Re: polynomial fit

$
0
0

Apololgies..

 

I don't think I explained how far along I am with this. I have multiple LabView VIs that are able to get data into a 3x81 file.

 

The test polyfit excel file is what I am able to determine from my existing LabView Vis: 1st column is X location, 2nd column is Y location, 3rd column is activation time.

 

From here I know the algorithm that is needed to run through. I was able to create it in Matlab and perform all of the analysis post experiment and I am wanting to convert these files over to LabView to obtain the same data analysis in real time.

 

Attached are the VIs for stimulation and recording as well as how I am able to determine activation times of each electrode. Polyfit and velcity contour are the files that I am needing to convert over into a LabView scheme. 


Re: update cluster when typing numeric

$
0
0

pep91, thanks for your help.

GerdW, this is vi i convert to Labview 2014

Re: polynomial fit

Re: Can a Executable built with App Builder go corrupt and still launch ??

$
0
0
Hooovahh ... Your post was quite interesting to read. You have touched upon many real life situations that one can walk into when dealing with physical computing.
Good. I guess I will now approach this client with a changed perspective. Hopefully the issue will get fixed. Thanks

回應: How to Plot the Envelope of the resulting signal of 2 random signal?

$
0
0

Sorry to have so many questions.

If I use the data attatched to be my input signal, how can I get the envelope? Why can't I use the pervious vi to do it? Thx

Re: How to set two windows (two front panels) to appear on the same screen together, one behind another, during run mode?

$
0
0

Hi sabri.jatlaoui, I looked on the examples and description in the links given and I think calling a subvi as "pop-up" is the one that I'm looking for. I will try this methodology in my project (which involve 1k++ of vi's). In case if it doesn't work out as what I expect, I will try on the splitter or use subpanel way.

 

Hey GerdW, I finally got what you meant by the example vi's attachment in the link given by sabri.jatlaoui, https://decibel.ni.com/content/docs/DOC-2064.

 

Thanks alot for your helpful inputs and suggestions! cheers Smiley Wink

Re: mode function in statistics

$
0
0

Thank you elcalverado! This makes sense and now I understand. I was not aware that mode could mean anything else! Your response was helpful.

 

Re: Rolling average of 1D arrays

$
0
0

Hi Tim and Christian, 

 

Thank you both very much for your help.  With a bit of extra work (and coffee!) I was able to get everything to work.  I marked it as a solution and gave you both kudos.  Once again, many thanks!

 

 

 

 

Joe


Discrete Normalized Integrator VI in FPGA Not Working

$
0
0

Hello,

 

Attached is a screenshot of the frontpanel and block diagram of the VI I am currently working with.

The top section generates a sine and cosine wave with programmable amplitude and frequency set in the front panel.

The bottom section is supposed to mix the incoming signal with the cos/sin and then integrate.

At the moment I am only doing a sine mix and then integrating it.

I have put the output of the result of input mixed with sinusoid onto AO2 and seen it works. However, if I add the digital integrator after the output of input mixed with sinusoid then AO2 saturates to 500mV.

 

So I figure the Discrete Normalized Integrator VI seems to be overflowing.

According to its website:

http://zone.ni.com/reference/en-XX/help/371599K-01/lvfpga/discrete_normalized_integrator/  

the output overflow is a function of the input. So I have set a very large range on the input (the FXP cast after the mixing), yet the output still overflows.

Any ideas how to fix this would be appreciated.

 

I ideally want to mix the input with a sine and cosine, do an integrator on each result, then combine them (L2 norm) for a full coherent demodulation. 

Re: polynomial fit

$
0
0

The fragment of LabVIEW code you posted suggests that you are very much a beginner in LabVIEW, one who does not understand how LabVIEW works, what Data Flow means, the use of Wires and Structures, etc.

 

You apparently do know (some) Matlab, however.  You have posted two VIs, one that you may have written (velocity contour) and one that seems to come from a Matlab Toolkit (polyfitn).  I don't think the LabVIEW Forum is an appropriate place to ask a volunteer to do the job of taking an algorithm developed by another company (MathSoft) and converting it to LabVIEW for you.  You might check the "LabVIEW Developers Seeking Employment" Forum (go to support.ni.com and look at Discussion Forums) and see if you can hire someone to do this for you.

 

However, the Velocity Contour should be fairly simple to code in LabVIEW, and might be instructive for you.  Why don't you tell us, in words, what it is that you did with your Matlab code?  Feel free to use terms like "Array", "Vector", dot product, whatever else will make the algorithm clear.  It is often easier to "start fresh" from the root algorithm than to try to first "go backwards" (from Matlab Implementation to Algorithm) and then go forward again (from Algorithm to LabVIEW Implementation).  Start by describing the Algorithm, please.

 

Bob Schor

Re: how to save video without imaq

$
0
0

Without LabVIEW's vision toolkit, like Bob is suggesting, I don't think you can make this video inside of LabVIEW.  You could of course use other non-LabVIEW software to create that video, such as screen capture, etc...

Re: Actor Framework : Send message from Actor A to Actor B (NOT via caller)

$
0
0

Hi Tst,

 

Thank you for your response.

 

Sorry to put AF question here, I was putting there but it was taking time to approve.

 

Approach 1: Lengthy (same I have used in my previous post's attachement)


 

The basic answer is that you can either pass all the messages through the caller (your green arrows)


 

This will be more complicated because the application I am developing is much more complex than above and code will become much lengthier.

 

Approach 2: Simple approch example attached


 

the caller can send B's enqueuer to A and A will store B's enqueuer in its data so it can send messages to it. The best approach is a topic of debate, as you can see in the discussion above and in others.

 

For the second approach, if your caller is different and the caller is responsible to sending the enqueuer, then the new caller will also need to send the enqueuer.

 


 

 

This I tried , as I am  launching both A and B actors from same caller(main), I send message(B’s enqueuer) from  Main actor to A actor and store this B’s enqueuer inside the while loop and use it to send message to B actor.

 

I like this approch simple to use but I might be missing pros and cons as warn here.

 

 

 

 Approach 3 (Question)


 

The address message VI is supposed to be used when you want to an actor A to send a specific message to *some actor B* without A knowing any details about the message or about actor B. You use that VI to tell actor A about both B and the message.

 


 

I am bit curious about this approach, can you explain it more please about,

1.Where to use this ?

With my poor OO and AF knowledge, my guess is inside actor A but then

2.Do I still need to get the B’s enqueuer in A as address message.VI still needs destination’s (B’s) enqueuer  ?

 

Thank you for help.

Re: xl header add using activex

$
0
0

ha i know it will show page layout .how can i view page layout mode programatically.and one more thing all even row color change how.

Where is RTE

$
0
0

I have used the LV 2011 to build an ap and selected to include the LV 2011 Run Time Engine in the installer.  However, when I install the application, the RTE has not been installed.  Why?  What did I miss?

Steve

 

Re: Reading serial from 3rd party device

$
0
0

Hello GerdW

 

I checked my string constants, but still it fails..

Serial_3.png


Re: Where is RTE

$
0
0
How do you know the RTE wasn't installed? The RTE is included by default with all builds.

Mike...

回應: How to Plot the Envelope of the resulting signal of 2 random signal?

$
0
0

You will not get envelope for the current waveform with Hilbert Transform.

 

But using Peaks/Valleys you will be able to get something more similar to the envelope, as in the image below.

 

Envelopes.JPG

 

Thanks,

Arev

 

CTO | RAFA Solutions 

Re: LabVIEW Modbus API - Example

$
0
0
Are you using serial or TCP/IP?

How familiar are you with Modbus? It is really pretty straightforward. Open a connection, read or write a register or coil, and close connection.

Mike...

Re: LabVIEW Modbus API - Example

Re: Reading serial from 3rd party device

$
0
0

According to the manual you should include in the frame also the ckecksum. Are you including it? What is the command in the example you has shown? 

 

Thanks,

Arev

 

CTO | RAFA Solutions

 

Certified-LabVIEW-Embedded-Systems-Developer_rgb.jpgCertified-LabVIEW-Architect_rgb.jpg

Viewing all 203752 articles
Browse latest View live


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