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

Re: All PowerPoint files generated by LabVIEW show the exact same data??

$
0
0

Here is how I closed the references. Didn't help.

 

pptgen-1.jpg


Re: All PowerPoint files generated by LabVIEW show the exact same data??

$
0
0

When you open your template have you tried setting the untitled parameter to msoTrue?

 

Ben64

Re: EtherCAT trouble converting from LV2013 to LV2017

$
0
0

Interesting. I'm able to reproduce on my side. I suddenly remembered that I saw a similar problem years ago. I had a very old VI and there was an enum constant. The enum constant contained two elements: A and B. If A was specified, B would take into effect and vice versa. If I created a new constant for this enum, the problem just disappeared. I pinged the support and they told me that the VI was corrupted internally on the enum constant. The reasons are complex. One of the possible reasons is bad sectors of the hard disk and I never see similar problems later.

Are There Performance Drawbacks Between Using Named Queues vs Wired Queues?

$
0
0

I have an application with 12 separate state machines  running in (Asynchronous) loops. Eleven of the loops each has a data input queue, data output queue, and a message output queue. One of the 12 loops is specifically designed as the Queued Data Handler.  Meaning that all data transferred between loops passes through the Data Handler Loop and it is stored and re-packaged, and re-sent via the appropriate queue to meet the data requirements of each loop.  Thus there are 22 Data Queues attached to the Data Handler loop. Each loop also shares a single Message Queue that sends messages to the 1st loop (not the data handler loop) ... thus it is a multiple producer / single consumer queue.  In all there are a total of 33 queues used in the application.  Each queue transfers data clusters ranging in size from 30 - 500 Bytes with an average of about 300 Bytes. Loop rates vary from 10 mSec to 50 mSec.

 

As you can imagine using wires to connect all of the queues has become a wiring nightmare both alongside the queues and inside the already crowded state machines.  An alternative to wiring queues together is to name each queue and then use an [Obtain Queue/ Enqueue or Dequeue Element/ Release Queue] combination inside each loop where ever it is needed. This results in a much neater block diagram but I am worried that it might be causing a performance hit to the overall application due to the fact that everytime the combination is called a reference is both generated and then destroyed.

 

I have searched for information about drawbacks to using named queues but I have not found anything that addresses my concern.  Does anyone have any information or links to information  they can share regarding this matter?  Also is there a better way to use wired queues?  I tried putting all of the queue references into a bundle in order to pass around a single cluster wire (of queue references) but I have not figured out how to give each reference a unique name so using them is very tedious and prone to mistakes because they all share the same name (queue out).  Is there a way to rename a reference wire to a queue?

Re: Tabcontrol with radiobuttons

$
0
0

Hello

i keep tab control inside radio button now its working as i want but i don't know  wheather it is correct method or not can anyone tell me is it correct or not ,please see the attached file below

web interface design tools for RPi3 web service publishing

$
0
0

Hello,
I'm not very experienced in designing a proper web page. We were able to broadcast web service with RPi3. We would like to send commands such as open / close or stop / start commands to some systems working with lab view through web page.

In LINX 3.0 - 07 | Web Services, I have seen commands for importing data from the lab view in the main.html file. What I want to do is just like the example. In this regard, do you need to know what commands are required to communicate between the lab view and the web interface, and what tools do you recommend to use?

Thanks.

Re: Problem installing LabVIEW Control Design Toolkit

$
0
0

Do you have Control and Simulation desgin module 2017 ? If so, then you nedd some other software because you already have the latest version. It works with 2016 module as well because that is the version I have.

Graph chart

$
0
0

Hello,

   Anyone knows how to fix X-axis(for example , X-axis  ranges form 0 to 100) when using Graph Chart?


Re: Integer Graph Labels on Error Bars

$
0
0

Using the 

     Create - Property Node 

to set the Xscale.Minimum and Maximum and then hooking the maximum into the loop in the block diagram gives the display I was after (vi attached).  Still a bit surprised at the auto formatting display though. 

Re: Graph chart

$
0
0

Hi Tinafan,

 

switch off autoscaling, then set X axis range…

 

What exactly is a "graph chart"? LabVIEW only knows "charts" and "graphs"… Smiley Very Happy

Re: Graph chart

$
0
0

GerdW wrote:

Hi Tinafan,

 

switch off autoscaling, then set X axis range…

 

What exactly is a "graph chart"? LabVIEW only knows "charts" and "graphs"… Smiley Very Happy


GraphChart is parent class of graphs and charts, child of Generic/Gobject/Control ... so it does technically have property of X scale value. Smiley Very Happy Im not convinced this is what was meant though.

 

Re: NI sbRIO 9631 + encoder, timing chart to FPGA program

$
0
0

Hi David Raji.

Thank you for your help, I will see this.

 

No, the encoder is attached to a wheel of a vehicle

Re: Graph chart

$
0
0

Smiley LOL You are so smart, so  you know what is mean. Labview is not smart as you.

Re: Tab control

$
0
0

Key Focusing works. Pressing Tab Key works too, but only on my local computer, when i deploy this to my web server key press stops working...

Re: Derivative problem

$
0
0

Your rigth Smiley Happy

the Q&D test routine used the order instead of sidepoints as noted


Re: Noise in LabView using NI BNC-2120

$
0
0

Dear Bob,

thanks! Yes, it is a wave riding my signal. There is a difference in "Current voltage" but even if I increase the output signal the noise remains. Today it also occurred in the other channel, so I think it is an electronics problem at the BNC-2120 or Computer. Do you have any advice on the best way to ground a PC?

 

Mike

Re: Converting different types of data to ONE byte array

$
0
0

Hm my problem is the following:

 

data:

int iVar1

string Var2

(many)

 

function wants to have an array (bool, byte, int, string, ...) as input AND output (same variables)

 

i thought the best way would be to put them all in an array of the same type, send it to the function and when i read through the function

i have to split them up again

 

any suggestions maybe?

 

thanks!

 

 

 

Re: Converting different types of data to ONE byte array

$
0
0

Use a cluster and then use Unbundle By Name to get the exact values you want and Bundle By Name to update them.

I am presently experiencing difficulty in performing FFT for frequency below 1Hz

$
0
0

Good day,

 

I am presently attempting to do an Impedance analysis which involves the division of the frequency response of voltage and current (V/I). However, I am having serious challenges with performing this operation at the low frequencies (1Hz - 10mHz). How I code currently is by using an Index array to specify the frequency bin (for the particular frequency) that I want to divide. However, for the low frequencies the index array doesn't accept figures less than one. Moreover my sampling frequency and number of samples is both set at 100,000Hz and 100,000 samples. 

 

I will appreciate help with this. Please find attached my code. Thanks 

Re: Unicode in LabVIEW?

$
0
0

The file is an excel file (.xls), however i read it as a database.

Attached there is my project for experimentation.

If you run the main VI an excel file is loaded and by the ASCII Ring you can select the different row of the file.

It's very simple.

Viewing all 203384 articles
Browse latest View live


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