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

"Disabled and greyed out" background colour

$
0
0

Hi all

I have a question regarding the "Disable and greyed out" functionality, regarding the greyed out color.
I have a tab container with the background color blue and the foreground white. I then have a white decoration with blue edged and on this decoration, different controls placed. When I then use the "Disabled and greyed out" functionality on these controls, the greyed out shade seems to use the blue background from the tab container and not the white color from the decoration.

01.jpg02.jpg

 

I have also tested this with a red tab color.

03.jpg

 

I would like the greyed out function to inherit the background color of the white decoration, instead of the tab color.

 

Best regards
Karsten


RANSAC Implementation in labview

$
0
0

Dear all,

I am using kinect xbox360 to get depth data of an indoor environment so that I can do further processing on those data to detect the ground plane. I am wondering if there is Labview code that shows the implementation of RANSAC  algorithm to detect the ground plane.

Is a Shift Register the Best Solution? Comparing Values when they Reach a Specific Threshold (peak or vally of singal)?

$
0
0

Hello!

I am attempting to count how many times a signal turns beyond a specific threshold. For example, an initial peak or valley occurs in the signal with a value of 10. I want to compare this value of 10 to the next peak/valley data points until I find one that is greater or less than 5/-5 from that value of 10  (i.e. at least 15/-15). So 14 would not count and the program would continue to look for the next peak/valley. If a peak/valley value was 22, it would then save this as a "turn" on a counter and report the total difference between the initial and new value (ie if the initial value was 10 and the new value was 22, it would be a difference of 12 and add "1" to an overall counter). This process would then continue from the value 22 and keep comparing peak/valleys to that new number of 22 until a new peak/valley is greater or less than 5/-5 of the value of 20 (ie at least 17/27). The values may be negative or positive in the overall comparisons.

 

I have been able to identify the peak/valleys, but when I attempt to compare them using shift registers I cant figure out how to perform it this way. I can compare each data point to the next etc, but to perform a function as described I have been unsuccessful. I am unsure if a shift register is the best way to accomplish this and I am open to new ideas/suggestions. I hope someone has experience performing something similar to this and would be willing to guide me in the right direction.

 

Thank you for your time!

Spectral Measurements Express VI, read?

$
0
0
 

Hi,
I have a quiestion, I do a DAQ (data adquisitions), but I need the information to the fft, amplitud and frequencies data, I don´t know how I can do this in labview, in this context, my quiestion is: in labview I can a table be made after performing the fft where it has the amplitude and frequency values ​​of the signal analyzed?
or I need other software (matlab, scilab o excel), to procesing this information of data adquisitions.

I used spectral Measurements Express VI to procesing the data adquisition, of this sub VI, I can read de information of signal FFT, in a table, in a matrix or save the information point to point of signal FFT? .

 

Serial Write ... end of transmission indication

$
0
0

I have a simple requirement... I want to know when all the bytes in the buffer have been sent during a Serial Write.  Refer the simplified VI below showing only the basics for this requirement. 

If I can somehow know the end of transmission , I can use that signal to change teh State of QSM and get back to the INIT state and wait there.  I searched the Serial property nodes but could not locate a suitable one for this .. Any ideas ??

( I tried to alter the loop delay ... low values means some bytes dont get sent; high values means a repeated trasnmission; difficult to control based on this )

Serial Write.png

 

DBC- XNET: Fill all signal in CAN Frame

$
0
0

I'm not using XNET hardware but I'm using xnet software to manage dbc FILE. I have this kind of problem: I would like fill all signal in a CAN FRAME but i don't find function useful to do this.

The most near at my objective fuction is XNET Convert (Signal to Frame CAN).vi but this vi generate one single can frame for one single signal. I need to pass all signal frame to fuction to generate ONLY ONE CAN frame s this vi can't help me.

 

Reading FIFO's in SCTL does not work as a FIFO

$
0
0

Hi,

I hope this is enough, if not can i post some simple VI's tomorrow.

 

I have a weird behaviour in my SCTL when reading two instances of the same FIFO, which is set to "never arbitrate".

 

Below

 

Im sending an array into the FIFO, for example

fifo_array = [0, 0, 0, 0, 0, 0, 1]

 

Below i have posted two ways of extracting the array, where i am gathering the data in some fixed arrays of size 4.

 

Optimal readout which should work, but doesn't:

Return value of analog value = [1,1,1,1]:

image.png

 

Does work:

return value of analog values = [0,0,0,1]

2x SCTL fifo.PNG

 

Is there any obvious reason for why this should not work ?

 

In Cylinder Pressure measurement VI

$
0
0

Hi,

I am currently working on a project where I have to create a Temperature and Pressure VI on LabVIEW using the Ricardo E6 Engine 

Im reliably new too LabVIEW and I am just wondering if there is anyone who could help me with this ?

 

the equipment that have is;

-Kistler Type 7061B Piezoelectric pressure transducer

-K type thermocouple

-NI cDAQ-9178

-NI 9215 card for the pressure measurement

-Bruel & Kjaer Charge Amplifier type 2635

 

If anyone could give me some guidance this would be much appreciated. 

 

Attached is what I have created so far, I have to sync the encoder in order to get the pressure data at TDC 

Smiley Happy 

 

 


String to path for Name inside library

$
0
0

Have found a strange behaviour, can you check if it is a bug, or it was a bug in LV2011.

I need to convert input string to a path and check if it is absolute path or relative. 

There is a problem when input string is a full name (including library):

library.lvlib:control.ctl 

when converted to path it is modified to:

library.lvlib:\control.ctl

Added "\" makes it very wrong and it is absolute path now.

path type bug.png

 

Labview with DSC module

$
0
0

Hi there,

I have downloaded and installed labview 2018 for evaluation and i am trying to download the DSC module add on. I have it downloaded but when trying to run it it tells me i need labview 2018 installed first and womt run, even though i already have it installed. Does the DSC module run with LV 2018? Or is there a way i can download labview 2018 together with the DSC module?

Thanks in advance.

USB 6003 and thorlabs scanning galvo system

$
0
0

Hi all, 

 

I purchased the USB 6003 DAQ card for operating thorlabs' scanning glavo (GVS012). 

But, when I apply the analog output voltage signals to the driver board, it doesn't work, the current was zero on the power supply. 

I was wondering if the DAQ card is proper to operate the system. The required spec is as follows. 

- Dual bipolar -10 to10V DAC analog output channel(differential),
- DAC clocking frequency higher than 20kS/S, higher sampling frequencies like 100kS/s are recommended. 

 

Thanks in advance,

interfacing labview and kistler Dynamometer

$
0
0

I want to interface Kistler Dynamometer and labview directly. Downloaded kistler labview driver from their website but unable to connect to the IP of kistler charge amplifier. error showing while running example program of labview downloaded from kistler website

Resize Image to a Container

$
0
0

Hi ,

 i want to Know how to Resize Image to match the  Container Using LabVIEW ? i use the code below but i find blank space in the picture .

Capture5.PNGCapture6.PNG

Re: Changing the Duty Cycle (PWM) with buttons

$
0
0

I have to generate 6 PWMs. It is possible to use only one timer?. I have done this file but only 4 timers appeared, and I should like use 3 to other purposes. (Note: I can not post a new thread)

Re: I have a DAQ Assistant configured to read multiple channels at the same time. When I wire a graph indicator to the output, I see all of my signals jumbled together. How do I split them up into seperate signals?

$
0
0

Hello,

 

I am trying to split three analog voltage channels from DAQ assistant to three simple numeric readouts. When I use the split signal sub VI, I do get three different voltages. However, as one voltage changes, the others also change by some value. The three voltages are completely independent at the DAQ hardware input. Is there some sort of scaling somewhere I don't see?

 

Thanks,


LabView FPGA devices

$
0
0

how to do three phase clarke transformation (abc to alpha beta transforamtion) in labview fpga ? i have a project which requires clarke transformation, is there any function or VI to do clarke transformation in labview FPGA

 

thank you

FPGA oscilloscope to measure power and voltage

$
0
0

Hi,

I need to create an onscreen oscilloscope, to measure the power and voltage from a detector, using FPGA and LabView. I am attaching the VI. Can someone tell me what I should add to make it an oscilloscope?

 

Regards,

Image processing with VA in myRIO: Error code -63193

$
0
0

Hi,

 

I run an image processing with vision assistant (VA) in myRIO. When I run the Host.vi under RT, I get the following error:

Error_VA4.png

The error said:
Error -63193 occurred at Invoke Method: FIFO.Acquire Write Region in NI_VDM_FPGA_Basics.lvlib.IMAQ FPGA Image Transfer to Target U32.vi:1980001->Host.vi.
The possible reasons: The requested feature is not supported.
 
Then, I try to follow the steps as stated in this link https://forums.ni.com/t5/LabVIEW/Vision-FPGA-in-myRIO/td-p/3266599. My question is how to add "Device Code" under myRIO? I can't find the device code. 
 
Could you advise? Thank you for your time in advance.

SCPI commands work with Keysight IO but not NI Max

$
0
0

Hi, 

A piece of Keysight E5071C codes was resued for E5080A with code Emulator. 

 

There were 3 traces on the screen at the beginning. Command

:CALCulateSmiley TongueARameter:COUNt 5

 

is working with Keysight I/O but not with NI Max. ENA5080 has error message SCPI 106 with NI Max same as Labview. 

 

Keysight E5080A FW A12.60.03. 

 

Any suggestion? 

 

Thanks, 

GTR

 

How is it possible an Inline sub VI can contain something not inlined

$
0
0

I have been playing with Malleable VI's lately and have been struck by the fact that there is a workaround to creating a VIM that affects a property node, the workaround is needed as you cannot inline subVI's that contain a property node.

 

The workaround is to place the property node action within a subVI that is NOT inline and place that subVI in your inlined VIM. This works fine I have tried it out and it has been talked about in a number of places as something you can do.

 

The workaround, which is great and very useful, just feels wrong and something that should not be possible. I thought that when a subVI was inlined, the block diagram of the inlined VI was placed at compile time onto the block diagram of the calling VI. but for that to be true surely all inlined VIs needed to hierarchically contain only inlines VIs.

 

Can anybody please throw some light on why and how this works so I can reset my understanding

Viewing all 67105 articles
Browse latest View live