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

Enable all buttons in cluster programatically

$
0
0

Hello,

I have a sub VI that takes accepts a Boolean for if it is the first time this Sub VI is run based on conditions of the Main VI.  If it is the first time that the sub VI is run (incoming Boolean = TRUE) I want the cluster of buttons to all be enabled.  One of the functions of this sub VI is to disable the buttons as certain actions are completed by the user.  However, I have found that if the user completes the necessary tasks, stops the main VI (as intended once they are finished with the program) and then starts the main VI up again, when they go into this sub VI on the 2nd run, the same buttons are disabled from their 1st run.  I have attached a sample code that replicates the issue along with 2 attempts I have tried at fixing it, re-initializing all values in the sub VI, which doesn't work because an enabled state isn't a value that can be reset to its default, and enabling the cluster, which doesn't enable all of the buttons within the cluster.

 

Any help that can be provided is much appreciated.


Remove averaging option and take last V&I reading

$
0
0

Hello,

I am new to Labview and I need some help with my existing vi code. The current vi is taking 18 samples for voltage and current from UUT. Then it take a subarry of 6 highest value then averaging out. The results is in power consumption between 5.1 w - 6.3w.  Instead of average, I need to record last current and voltage reading and print out the pwr consumption result. I have attached my code. Thanks

DMM6500 connection to LabView

$
0
0

Hi, I have DMM6500 for my project, which I used for measurement of Voltage and Amperes.

I used to record data manually, but wanted to do automated record for my pile of LEDs and wanted to use LV.

 

I want to use the readings of DMM6500 as input for some VI (which I will make) in LV 

 

I am having trouble in connecting DMM6500 as "Device I/O" in LV with a normal cable, and it seems to be more difficult than what I anticipated initially.

 

Could you give me instructions in how I can connect DMM6500 such that its reading can be used as input for LV's VI?

 

Thank you so much.

 

Programatically change the text on a button

$
0
0

I have a sub VI that gets called multiple times from the Main VI.  Each time through the Sub-Vi, only 1 new button's value will be changed to true.  I am wanting whatever button gets selected on that run through the Sub VI to be disabled and have the button text populated from a numeric field when the user presses the stop button.  Using property nodes, I can successfully disable one button, but not necessarily the button that was changed to true on that time through the sub-VI.  I also attempted to change the content on the button to that numeric, but got an error that this property was writable only when the VI is in edit mode.

 

So I am looking to:

1) Programatically link a property node to the button that was pressed according to the boolean array.

2) Disable that button and put the value of the numeric on the button for user reference the next time the sub VI is called.

Data acquisition using FPGA to read encoder through a bus using a pulse train that must pause with CLK+ set high

$
0
0

So I am trying to get data from an encoder using the SEA-9521 serial bus. I believe that I can get the loop correct on the timing  for the pulse train but one of the requirements to read data is that after a pulse train there needs to be a pause. While the pause is occouring the CLK+ must be set high for that time. I am not sure how to start the pause while the signal is at a high. I am using the Crio with FPGA on Labview 2018. If I could get any insight I would appreciate it.

DMM6500 connection to LabView

$
0
0
Moved to Instrument Control board

Disabling right click in Adobe PDF(ActiveX) using LabVIEW

$
0
0

I am using Adobe reader 9 ActiveX in LabVIEW for report viewer(pdf files). I want to disable right click (see in attached image).

 

My questions are 

1. How to disable right click in pdf.

2. Is there any other pdf viewer available which don't allow right click and other options.

 

Other related suggestion are welcome

 

Note: Report consist of 200-300 pages approx. 

How to generate the Envelope of a Signal?

$
0
0

I have a signal and I want to generate its upper and lower envelope. I have tried using the envelope function in the sound and vibration tools but still was unable to get the envelope which I wanted. How do I go about this. I have attached my signal, showing how my envelope should more or less look like.

 

 


Shared variable deployment- undeployment process in LabVIEW

$
0
0

1. Is it require to deploy and un-deploy shared variables every time when application starts and exit ?

2. Is it OK , if I deploy shared variable for one time only and then never deploy shared variable on same PC.? (Deploying shared variable for first time and then re-starting of PC ,Does require deployment of shared variable again?)

 

Thanks !!!!

LabVIEW graph Update mode

$
0
0

I am able to update LabVIEW graph from left to right or right to left , but is there any way that my graph can be updated from center(middle of graph)?

About AES Crypto Toolkit

$
0
0

       I have downloaded a software AES Crypto Toolkit by Alab Technologies, but I cannot complete online registration, so I cannot use the software code in NI LabVIEW.

      I register online with a Gmail address, but it deemed this email an invalid email address.

X-NET CAN message direction

$
0
0

Dear

 

According to the example given by NI I have created a tree that Displays all the Content of a .dbc file.

I works great but I cant find out whether a message is a send or receive message.

Does any one of you ever tried to find that out or know how to find that out?

Please have a look into the attached example for more Information.

 

Best regrds

 

Martin

On my diagram the right part the wires on the right disapear LABVIEW 2014

$
0
0

Hi everybody,

 

before i save my project all is ok.

Sometimes when i load the project , my wires disapear on the rigth of my diagram.

I can clean the diagram, the result is the same .

 

Someone as an idea  ?

 

Best regards

 

 

Coercion dot on Threshold 1D array

$
0
0

Can anyone explain why the Threshold 1D array function gets a coercion dot on the threshold if both the array and threshold is of the same type of integer, but not for example if the threshold is an integer and the array contains DBLs?

See picture below...

 

Perhaps I'm overlooking something obvious?

 

coercion dot on array threshold.PNG

Create Excel sheet and write data in different sheet at same excel file

$
0
0

Hello,

 

I made Program that take Temperature from Excel file and every Temperature we need to measure the impedance of DUT, the Program work very well ,but program write all data i need in same sheet i need the program wirte every Temp with measurement in different sheet. 

 

regards

 

 


Working with Programmable power supply in Auto Mode

$
0
0

Dear Community,

 

I am new to Labview and trying to write a Auto code for Rigol make power supply.

 

I have tried to communicate with the power supply alone and its working (this code had been attached)

 

Now i need to integrate power supply in auto mode. 

1.When start is pressed power supply should set to Start voltage(Start voltage will be loaded from file)

2. Reading the output voltage and display

3. from start voltage to range-1, it should increment in defined steps (Range-1 and steps will be loaded from file)

3. from range-1 to range-2, it should increment in defined steps (Range-2 and steps will be loaded from file)

 

I have to read the output everytime when i set the voltage. 

For setting voltage i use command ad :APPL 3 (applies 3V) to measure :MEAS?

ramp voltage generation

$
0
0

Hi all,

 

Can I create a ramp AO voltage using NI USB 7856R? Or do I have to integrate it with some labview program for ramp? If then how can I do it?

Increase resolution of graphic displays?

$
0
0

I am using an intensity chart to plot XYZ data where (Z) is a color ramp, all seems to work fine however the display of each line is really pixelated.  The LabVIEW software is built to control a sensors setup and output but display similarly to the vendor (Keyence LJ-V) interface, the vendor interface is much higher resolution and is able to display the data with higher detail. 

 

Is there a way to turn up the juice on the LabVIEW displays in terms of resolution so that features are sharp and more visible? 

lvanlys.dll is not included in build output

$
0
0

Hello,

I'm upgrading from LV2016 to LV2018 and I found difference in application builder behavior. When building a library which uses lvanlys.dll, the build output doesn't includes this dll (note, excluding of shared libraries is off). In previous version of LabVIEW (2016 and 2017) the lvanlys.dll is copied in directory of the build (eg. data directory for executable).

I found this behavior only with lvanlys.dll and LV2018, for other dlls eg. sndvib.dll (also NI library) it doesn't happens.

 

Is this some new feature or bug in LV? Is the lvanlys.dll included in runtime in same folder as in development?

I can't swich between the probes on the probe watch window in run mode

$
0
0

Hello,

 

Does any knows why I can't swich between the probes on the probe watch window in run mode or even the move the probes window around the screen or swap between block panels to add extra probes when the VI is running? All the windows seems to be locked in position when the VI is running.

 

I am using LabView 2017 and I am adapting one of the templates for my application. I don't know if it is because the templates are protected somehow or because I am new with LabView 2017. I have been using 2015 without problems.

 

Thank you.

Viewing all 67113 articles
Browse latest View live


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