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

Enter data where blinking cursor (caret) is

$
0
0

I am working on a project that will take data from a device (i.e. weight balance, Mitutoyo Indicator, force gauge, etc) and place the data output wherever the blinking cursor is. I have gone the route of taking the data and placing this into the Clipboard by using the App.Clipboard.Write Invoke Node to save the data to the clipboard and App.Clipboard.Read Invoke Node to extract the data point.

 

Right now, the data will be saved to a MS Access Form with a textbox but I want to make this scale-able to any program regardless if where the blinking cursor is stationed. Has anyone progmatically found where the blinking cursor is or might have any idea how this might be done?


Re: Blink function as a SubVI

$
0
0

Hi Joram,

 

that "THINK DATAFLOW!" is explained in the LabVIEW help, right in the basics chapter…

 


 wrote:

Or is there another not-too-complicated solution for this?


Use ElapsedTime, one of just two or three really useful ExpressVIs.

Every time the time has elapsed you switch the blink/boolean state of your LED. (When you are used to boolean algebra you might think of XOR…)

mise à jour logiciel - sbRIO-9607

Re: Method of Bundling Controls Independent of Front Panel Location

$
0
0

You could create clusters with controls scattered all over the place. I wouldn't do it my self.

 

Make a large cluster using the classic palette.  Drop all the controls you want in there and arrange as you see fit.  Any controls you don't want in that cluster, but are in the neighborhood, drop them outside the cluster and use the cursor keys to position where you want.

 

You can then color the border of the cluster as transparent to make it look like it is even a cluster.  Make sure the Z order of the cluster is set to move it all the way to the back so the controls that aren't in the cluster are not hidden by it.

 

I would work for a user of the program, but is very unfriendly to the programmer.

I would just use the method that all of us described before now with separate controls defined in the same event case.

Re: How to find particular points from a waveform data

$
0
0

 wrote:

 wrote:

Here is my try 😉

remove mean, detect zero crossings , slice the wfrm, fit a polynom (migth be better ones) , get the endpoints


It's great that this worked, but in GerdW's defense I feel like removing the mean and looking for zero crossings is the same as using a threshold detection with the mean value, no?


Yep, that`s equal, .. 

 

Gio, if you post some critical data, maybe someone comes up with a better idea.

 

Re: starting analog input and output simultaneously

$
0
0

Can you attach scaleSignal_subvi file. As per my understanding from your problem statement you are able to write voltage/current but you are not able to read it. And you want these operations to happen in synch..correct?.

Re: LabVIEW 2018

$
0
0

My apologies, I thought you were requesting screencaptures. Here is the VI

As you can see in the custom control attached, the image appears to be there, but behind a gray screen that cannot be removed. 

Re: How to find particular points from a waveform data

$
0
0

As ico82 intimated, the second derivative rapidly changes sign at point 2 before going to zero again, so one does not require a threshold to detect this change. . .


Re: LabVIEW 2018

$
0
0

Hi fnd,

 

how did you create that control?

Which image did you use? Can you attach that image too?

What is the design goal?

Why don't you use the background image property of the graph?

Re: How to find particular points from a waveform data

$
0
0

Maybe:

Detect the falling slope (mean ...)

use peakdetect with 3 points to get the next valley

do a lin fit for next n (100) noisy points

for the rising edge just reverse the data ....

 

as always: look at the data, analyse how you detekt the point, draw it in dataflow 😄

Re: Method of Bundling Controls Independent of Front Panel Location

$
0
0

Would something like this work? You could always get the references in a subVI.

 

Snip.png

 

 

mcduff

Re: LabVIEW 2018

$
0
0

To create the custom control, i went to my front panel and selected file...new...custom control.

 

The image is attached.

 

The design goal it to implement the map with latitude and longitude (manually input after the image is imported).

 

It was also my understanding that the parts window did show the background to the graph. I can attach a tutorial my partner and i are trying to use to accomplish our goal. 

 

Thanks

Re: How to find particular points from a waveform data

$
0
0

I have not run the code I am just looking at the graph. Based upon the plot it appears that point 2 occurs unambiguously when

a) the second derivative changes sign from negative to positive

b) the first derivative is positive before the sign change

DRAM not available on cRIO9040

$
0
0

Hello all,

I am confused by something regarding the cRIO9040 and LabView FPGA.

 

On the datasheet for the cRIO9040, NI claims that it has 2GB of DRAM.

However, according to this article, the cRIO9040 seemingly doesn't have any DRAM available to be utilized for memory items. Can someone please explain?

 

DRAM.png

 

 

 

Re: LabVIEW 2018

$
0
0

Hi fnd,

 

it can be so easy:

check.png

As said before; use the background image property of the graph!


Re: Packed Library (PPL) Containing Nested XControls

$
0
0

For what it's worth, I also tried making a separate lvlib for Sub_XControl and nesting that lvlib within the one for TopLevel_XControl.

(per inspiration from an old post by Nancy that doesn't reference XControls) Then I compiled the top level lvlib into a PPL.

 

I still get a broken facade on TopLevel_XControl even when both XControls are baked into the same monolithic PPL. Maybe I'm not doing it right.

Re: DRAM not available on cRIO9040

$
0
0

Hi Gryffin,

 

the DRAM has to be accessable by the FPGA - which it doesn't seem to by with your cRIO9040.

 

The DRAM mentioned in the datasheet is available to the RT/Linux CPU, as is the SSD.

The FPGA can access nearly 5Mbits of block RAM…

Nested Right Click Menus

$
0
0

Hi Team,

 

I feel like this must have been asked before but I can't find any information about it... Please link to an existing thread if this is a duplicate.

 

How can we make nested right-click menus like in the image below?

 

Nested Menus.png

 

I assumed it would be like the project provider where you just add a backslash in the menu name, but this doesn't seem to work.

 

 

Example of how it's done with project providers. Doesn't work with RCMs?

Re: VI

$
0
0

 wrote:
THINK Dataflow and initialize the shift register with a starting value. Otherwise it will start with zero for the first execution of your VI. And 0*2 = 0...

Regards, Jens

Actually, it will start with whatever was in the shift register last, making it even worse.  (On the first run, of course, it will be zero.)

Re: VI

$
0
0

The most annoying thing about being a software developer is that code does what you tell it to do, and not necessarily what you want it to do.  The more experience you have, the more likely it is for those two results to converge...

Viewing all 203927 articles
Browse latest View live


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