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

Complex numbers

$
0
0

Hi everyone,my english is not so good,please try to understand me...I have question about complex numbers.
I have to multiply 2 complex numbers like (5+3i)*(8-2i) but I dont know how to enter them in front panel,which fuction I need to use?I tried with numeric control but doesnt work
Thanks in advance

Using 2013 labview


Vaciado de datos

$
0
0
Moved to Spanish board like where you posted your previous messages

Split 1D array in "X" similar parts

$
0
0

Hi everyone!

I'm new in this community and using labview too. Be patient with my english, I'm writing from Colombia and my english skills are not perfect Smiley LOL .

Well... I have 1D array with 220500 elements. I need to split this signal in "X" similar parts (if there are some element remaining, just ignore them). "X" will be a variable number (2, 3, 4, 5, 6...) in a loop.

For example: 1D array with 220500 elements, start splitting the array in 2 similar parts saving both parts (110250), after that, the same array with 220500 elements in 3 similar parts...

 

I don't know if my explanation is sufficient to understand my problem.

 

I will appreciate your tips, and thank you all! Smiley Happy

Single column Listbox - Dynamic manipulation

$
0
0

I would like to dynamically insert and remove elements from a single column listbox and also limit the total number of entries to 16.

 

I have done most part, but I'm stuck at the logic of limiting the maximum number of entries to N. The problem is, once the user enters 16 entries, the ADD button is disabled. But even after I delete some older entries using the DELETE logic to free up some space on the listbox, I would like the ADD button to automatically be re-enabled. How do I do this ??

 

EDIT: I figured it out. However, I am not sure if this is the most efficient method to achieve what I am trying to do here. Attached is the updated VI as well.

 

7BYERxh

Multicolumn ListBox Cell MouseUp TipStrip data

$
0
0

Hi everybody:

I'm working with Multicolum TextBox; one column contain JSON text, the text normally is bigger than column size.

 

when I move the mouse pointer over the column, all JSON data is showed (yellow box) in single row, but I would like to change the format of the JSON to multirow:

from:

{"event_id":2, "event_desc":"static", "event_type_id_ref":5, "key":10, "key_name":"STATIC_MAPING", "active_map":7, "triggered_by":18}

 

to:

{
"event_id":2,
"event_desc":"static",
"event_type_id_ref":5,
"key":10,
"key_name":"STATIC_MAPING",
"active_map":7,
"triggered_by":18
}

If move mouse over the cell, now I can change the format of the JSON (to multi-row) and replace the Listbox "TipStrip", but only display the new format if the mouse is right on the Cell line, not in the center of the cell, in this case is displaying the original Cell Data (one row).

 

I thing is showing the formatted data because I'm putting the mouse not in an specific cell, but inside of the MC List, so, is showing the last TipStrip I updated.

is anyway to Disable the Cell "display"? so, the MC List will display the latest TipStrip (maybe, not sure).

or any other Ideas?

 

I need to do this becase the new format is easier to see the values for every variable.

 

Thank you.

 

please see attached VI. and pictures.

Tick marks overlapping with Y-scale value on chart

$
0
0

Hello,

I'm working on a new VI for a test stand at my company and I'm running into a frustrating problem with the y-axis on one of the charts.

 

The tick marks (external to the chart area) are overlapping with the scale value. See attached.

 

Does anyone know how to fix this?

Enum in an Event Structure

$
0
0

When I try to change an enum on my front panel with an event structure my labVIEW code locks up. I have to use the abort execution button to stop the program. Right now I'm just sending a picture. I'll need to isolate the event structure from a larger program to send you a vi.

Change in UI behavior of coloring tool with XY Graph legend

$
0
0

I have recently switched from LV 2013 to 2018, and have noticed a change in the behavior of the coloring tool (the paintbrush). Previously, the coloring tool was able to set the plot color on an XY Graph by clicking on plot box section of the legend (green circle in the picture below):

Untitled.png

Now, the coloring tool only brings up the plot options menu, same as right clicking on that area.

 

Interestingly, I can still use the Get Color tool on that same area to "pick up" the appropriate plot color. Is there any option that will allow me to go back to the LV2013 behavior? If not, what would be the best place to suggest a change back to the old behavior in future versions of LV?

 


VXMDriveLV8.vi documentation?

$
0
0

Hello, I am trying update an existing code that was provided to me. We are using a VXMDriveLV8.vi which allows us to communicate to our VXM stepper motor controller using LabView (2013). The inputs/outputs context help is helpful and almost self explanatory, but I need more information and can't find documentation for this vi anywhere. Specifically, I want to understand reasoning behind setting certain timeout values and need to see the documentation to know what certain values mean. Does a 0 wired to a time out imply wait indefinitely or to not wait at all?  What are default values? Items like these. Does anyone have any idea where to find more documentation for this vi?

Thank you

GRAPH 1D STRING ARRAY BY BYTE

$
0
0

I have an array of strings that contains 9 bytes each.

0XAB43B3D489EE9DD739 -> String 1

0XA7B3CD2CC2C30AEFF3 -> String 2

0X39572B3A8AAC2C7A34 -> string 3

 

.

.

.

 I would like to take each byte of every string and plot it in 9 different graphs.

As a result from the data above we would have:

Graph 1 -> AB, A7, 39

Graph 2 -> 43, B3, 57

Graph 3 -> B3, CD, 2B

.

.

Graph 9 -> 39, F3, 34

Function Generator: Burst mode in a for loop

$
0
0

Hello,

I am in a project that needs to generate a 500KHz sine wave for 2ms in each second with a Function Generator (Keysight 33500B). In addition, I need to update the amplitude of the waveform every second. So I am using a For Loop.

 

To test the code, I generate a 500KHz sinewave with fixed amplitude in burst mode (Burst period 1 second, cycle number 1000). I put the configuration code in a for loop with 10 repeats. When I run the code, it seems the function generator generates an extra sine wave burst before my desired waveform in each second. I have no idea why and how this extra burst is generated. I have attached my .vi and a photo of the waveform in this post.

 

Thanks in advance!

Shanshan

How to implement SVR(Support Vactor Regerssion) in Labview or Labview RT?

$
0
0

Hi,

I want to do SVR in Labview. I studied the Deep Learning Toolkit, but it seems not support the SVR. Is there any demo or toolkit could achieve it?

 

NI 9871 Connection from Another RT cRIO

$
0
0

Hi,

getting error -1073807192 (VISA: (Hex 0xBFFF00A8) Access to the resource or remote machine is denied. This is due to lack of sufficient privileges for the current user or machine.) when accessing serial port/resource on second cRIO chassis with NI-9871.

Accessing the port from desktop PC works fine.

I have checked and all the settings in NI-MAX, installed latest NI-VISA Server on both chassis.

Can see the ports in NI-MAX.

Both chassis in scan-mode.

Have checked NI-VISA Server permissions, even added individual IP addresses, even tried new users.
See snapshots below:

max-cfg.PNGNI-MAX ConfigLabVIEW-Error.pngLabVIEW Error

Any help appreciated.

Thanks,

Peter.

"and' logic output

$
0
0

Hi Labview Experts,

 

I am trying to make two cases with the use of 'and' logic. 

case 1: when motor speed and valve openess = 0, process pressure = 0, this works.

case 2: when motor speed and valve openess not = 0, process pressure proceeds with a simple calculation.

However, there are two issues:

1. For some reason case 1, doesnt work for some values. For example, if you put motor speed = 30, and valve openess = 0, it still reads TRUE and goes to the case 1. 

2. Some values does not work for case 2. For example, if you input the values, 32 and 21, for motor speed and valve respectively, it doesn't go to case 2. That seems strange to me

 

is there a way to fix this?

attached is the VI.  

 

Thanks!

Controlling the measuring resolution(digits) in Keithley

$
0
0

Hello, 

 

I'm using Keithley DMM7510 for 2W resistance measurement. 

 

However, I have problems in controlling the measuring resolution (in digit, default is 7 digits). 

 

I attached the single point measurement VI, including the entire example VIs related with DMM7510.

 

Can someone help me?

 

Thanks in advance.


VI.JPG


How to judge is a sine wave which read from oscilloscope

$
0
0

How to judge is a sine wave which read from oscilloscope? Compare to square,triangle,sawtooth wave....,Just check it by the frequency,amplitude,Max Value......? 

Labview crash when opening a certain vi

$
0
0

Dear all,

 

I got a serious problem about Labview.

Labview crashed when I was programming a vi just now. The last operation before it crashed is copying a In Place Element Structure by pressing Ctrl+left click.

After that, Labview will always crash once I open this vi.

 

Would you have any suggestion to solve it?

 

Thank you!

Not measurement just sweep current keithley 2450

$
0
0

Hi so I have an Agilent 82357B sourcer unit and keithley 2450 device

I want to set up to output a constant pulse current Not measurement (for example, if you set 0.2mA, 1 deley time and 10 count then you can see 10 pulses(0.2mA))

But now I cant seem to get it to work.

I attached source code, screenshot and driver 

This is made by referring to an keithley 2450 device example.

Any help is appreciated.

Thanks in advance

 

1.PNG캡처.PNG

DAQ NI9234 Windows10サウンド入力

$
0
0

DAQ NI9234 を使った音声スペクトラム解析をソフトをlabviewで作成しています。

DAQに入力したデータをWindows10にサウンド入力として渡す方法はないでしょうか?

PCから音を出したいのです。

以上 よろしくお願いします

How to make continuos measurement using DMM?

$
0
0

Hi, I am trying to use the PXI-4071 with LabVIEW 2015 to make a continuos measurement of the voltage.

I want the x-axis to be time and the y-axis to be bolt. But how can you solve the example file when the x-axis comes out as a sample?

I have tried the DMM Example but no one of the example does what i want. I have tried to modified one of this program, but I can't even set the x-axis to be time and continuos measuremnet function.

Can anyone help me? Thanks

 

meau.PNGpro.PNG

Viewing all 66889 articles
Browse latest View live


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