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

interface IHM

$
0
0

how can i create an interface ihm when i click for exemple on a button moves to another interface


Create sine wave that smoothly changes amplitude and frequency

$
0
0

Hi,
I'm using a sine and cosine function in order to make a circular motion for two servos.

At the moment I'm using a regular sine function (see attached code) in combination with a tick count in order to make the single value fall and rise in a sine function. However, as I increase the frequency or amplitude the sine value changes instantly which makes my servo motors move very quickly obviously.

I would like to make this change slowly but I'm pretty lost how to code this.
I suppose I should in some way have values added to my current value (or latest value) instead of calculating the value it directly.

Can anyone help me with this problem?

 

Furthermore I'm more than open for ideas on how to smoothen out the signal to the servos in general in order to make the motion more smooth and not as steps. I guess the only solution is a faster loop-time?

Thanks

Where do I put the Encoder reset in the Robot Main?

$
0
0

Sorry if this is a bit confusing but I've been spending this off-season trying to find out more about encoders and just had a quick question about where to put the code for Resetting the encoder back to 0 at in the RobotMain.vi? I've found some information on programming them and just haven't been able to come across where to actually put it.

Necesito ayuda de como hacer el programa de labview con sensor de presión de agua

Run error list

$
0
0

Hello guys! In my reproduced VI i can't hit run to test some sensors in serial communication.

Please help! I attached the VI and some pictures that shows what is the problem but i don't know how to interpret..it's hard for me being a beginner. Smiley Sad

Thank you very much!

Export to excel from express VI table is not working

$
0
0

I'm using labview sp1 2018 software Crio 904x. Ive found the required data in "express VI table" , but I'm not able to export to excel as it's not being highlighted.  I've tried to use " write delimited.. " as well as "write to measurement file "  , still no data is getting copied. Then I ve even tried to build array instead of express VI table, still the data is not getting copied.  

I hope I find an answer. Thank you. 

urgent help : bock diagram VI

$
0
0

hello everyone

 i am beginner in Labview and i am trying to find this four icon in the block diagram ,but to no avail

Anyone have any idea i will be so grateful Heart

 

fft.PNG4 fft.PNG

Obtaining 1 element from a cluster?

$
0
0

Hi there,

 

I've attached a piece of code which is attempting to use case statements attached to a slider control to select a specific Torque-RPM array for interpolation. (Interpolation will be done in another VI)

I am a bit of a noobie at LabVIEW and am struggling to obtain a single array as an output. 

Could somebody please help me with this?

 

Any feedback on streamlining this code and improving it would also be massively appreciated.

 

Thanks,

Chango 


how to implement 2x2 MIMO with usrp 2944 and usrp x310

Wafer map plot using labview

$
0
0

Hello all,

 

How to implement a WAFER MAP using LabVIEW? 

Need help as a beginner

$
0
0

Hello, sorry for the question that may be a silly one for experts. Actually i am reading a text file consisting of several columns and more than 200 thousand rows. I have to plot this data as XY plot. But when i plot the data, the system  becomes very slow and i to wait for further actions when i analyse the plot. Is there any way to overcome this issue?

Update FP Status Indicator by unique ID

$
0
0

Hi All,

Let's say I have N DUTs running tests in parallel, and I have corresponding N String Indicators for each DUT.  How can I dynamically update each DUT status to its respective Status Indicator?

I have done something like this:

FP_Ref_Test.png

FP.png 

This way, depending on the DUT ID, it will assign the correct "Status Text" to the Status Indicator by matching Label.Text.  I was wondering if there is a better way of doing this?

 

Best Regards,

Mikejj

Same switch but different programs

$
0
0

Hello everyone.

 

I create a web application in LabVIEW NXG and make resume/pause switch like a program in LabVIEW 2018. But when I click resume/pause switch at LabVIEW 2018, a web app in LabVIEW NXG not display continue like LabVIEW. How do I config?

Capture1.PNG

 

Capture2.PNG

 

Vision Assistant Error

$
0
0

IMG_20190513_154549__01.jpgWhy can't I output Number of Matches? It's always equals zero.

 

IMG_20190513_154520__01.jpgWhat does this mean? Behind":"?

 

Electronic comparator

$
0
0

I would improve my program by adding these tasks:

  1. I would do electronic comparator and counter as is shown in the picture: when the voltage is bigger than the signal until the voltage becomes lower than the threshold, the counter increments by 1. Please see the picture, I would do the same thing when the voltage is lower than the signal and also when is equal to 0.
  2. In serial communication, I would first read the tdms file or txt file where all informations are in: time, signal, and counter values. Second, send these informations to another computer. I don’t know how to stock these informations and read them. I did the sending step.
  3. When the TDMS file arrives in its maximum size when the acquisition signal is being done, an other tdms file will be created automatically to stock the voltage values in real time.

cRIO-9074 available disk space

$
0
0

Hello,

 

Got a question about disk space on cRIO. I was planing to save some data locally for ftp download afterwards and I can see that RT Get Memory Usage returns value 73073736 of available bytes whereas System Monitor in MAX shows

Total disk space: 488 MB

Free disk Space: 401 MB

Free Memory:70,9 MB

Why the difference? Is there a way to access whole disk?

IMAQ save U16 tif images

$
0
0

Dear all,

 

I am new to Labview, I have been looking through the forum to find a solution to my problem but I am struggling to find one.

 

I have a Q-Click camera and I need to use Labview to acquire  multiple images (tile) that than I will go stitch together to form one image. The camera saves the images as unsigned 16 bit in tif format. If I try to save it as a tif it reads out the I16 value if I use .png the image has the correct values but each tile has a different intensity range based ( I think) on the scaling of each image acquire. I have tried everything I can possibly find on the internet but nothing work, can I have some help?

 

 

I think ( but I might be wrong) that the issue lies in this part of the labview set up I have inherited(screenshot below) but I cannot change the value to U16 .

 

 

 

Thank you for any help

 

Best wishes

Maria

FTDI FT260 - Problem with LibFT260.dll

$
0
0

Hi,

 

I have a development board of the FTDI: the UMFT260EV1A. It is an HID that support I2C and RS232 over USB.

The FTDI provides a DLL (LibFT260.dll) that act as bridge between Application and the Window's driver for HID driver class.

 

I use "Call Library Function Node" to interface with the DLL, but the function that should be create communication channel with device return the Status of "Device not Found".

I am using Windows XP 32 bit as O.S.

Obviously, the device is recognized from my O.S.

The parameters of the function are correct. The prototype of the function is followed:

 

 

FT260_STATUSFT260_OpenByVidPid(WORD vid, WORD pid, DWORD deviceIndex, FT260_HANDLE* pFt260Handle)

 

FT260_STATUS is an enum that i defined it as uint8 enum in labview

 

This is how I configured the CLFN:

 

uint8_tFT260_OpenByVidPid@16(uint16_t Vid, uint16_t Pid, uint32_t DeviceIndex, uint32_t* SessionID)

Convenction call is: stdcall (WINAPI)

 

Can someone help me to understand what is the problem?

 

Thank you very much

how can i movie piezo module from 0 to 80µm in 80steps with one click. i.e piezo system should move 0 to 80µm automatically and stop with one push button.

$
0
0

 

hello,

can anyone help me with this issue i would like to move piezo from 0 to 80µm in 80steps with one click? i able to move manually by changing the values but it needs to be done automatically with one button. 

thanking you in advance.

 

Manipulate 2D data to work with one line by one line

$
0
0

Hello,

sorry for my little english

On my VI, i have on the output a data like that :

43.PNG

This come from a database.

I need to know if it's possible to take line by line to work on them?

i tried to use "array to spreadsheet string" with ";" to delimiter.

but now it's like that : 

Capture.PNG

but i need to inject into a while one line by one line.

how i am suppose to do please?

thx

i have put 2 codes : one with the data outpout, one with the "array to spreadsheet string" but in test.

thank's

Viewing all 66739 articles
Browse latest View live


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