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

2d Array name to item names issues

$
0
0

Hi,

    i am working on this small code where I want to select a sensor which will output 3 axis. but I set the list box of the sensor selection to 1 or more selection mode. So when I pick more than one sensor I get 6 axis (3 for each sensor) in my indicator array. My problem is I want to list those axes in a list box. but the list box for the axis is 1D array and the item names property node is 1D array as well. My problem is the reference array for the sensor axes are 2D array. How do I get them to list?

 Please help..... An image of the short code is provided


Why can't I use Get LV Class Default Value in a dynamic VI?

$
0
0

I am attempting to override a VI that uses "Get LV Class Default Value" and getting an error that I don't understand.  My parent class, "ANT Message Class", has two children - "ANT Command Class" and "ANT Response Class".  The children share a lot of data and functionality, including the factory pattern that the parent class' "Load Message Class" VI implements (see image).  I would like to override this VI with a Command version and a Response version, which would simply call the Message version with their respective classes overriding the dynamic input and output terminals.  However, I am getting the error "Front Panel Terminal 'ANT Message Class Out': Run-time type not propagated from dynamic input to dynamic output."

 

Not sure how to get around this one.  Any ideas?

 

Thanks,

-Jamie 

Using multiple NI USB-TC01 Thermocouple Measurement Devices

Possible to find indices of mouse-over element within 2D boolean array indicator?

$
0
0

I have a high channel count data acquisition system which returns some status indicators, one of which is a boolean indicating whether that particular channel is open-circuit.  I want to be able to display these boolean status indicators in a 2D array of LEDs, such that the operator can see at a glance if any channels are open.  Because the array is large, I want to be able to move the mouse over any LED and have the tip strip indicate the channel number.  How do I access the indices of the moused-over LED in such a manner?

 

How to create executable file for cRIO project

$
0
0

Hi..

I have a project that consist of two VIs, which are 1)FPGA target and 2)main VI(host).

How can I create this whole project into the executable file so that I can run the project in the computer that doesn't have a Labview software.

FYI, I am using cRIO 9012 for the controller and cRIO 9114 for the chassis.

And I am going to run the project by using NI TPC 2206.

Thank You.

 

 

How to create executable file for cRIO project

$
0
0

Hi..

I have a project that consist of two VIs, which are 1)FPGA target and 2)main VI(host).

How can I create this whole project into the executable file so that I can run the project in the computer that doesn't have a Labview software.

FYI, I am using cRIO 9012 for the controller and cRIO 9114 for the chassis.

And I am going to run the project by using NI TPC 2206.

Thank You.

case struct v. coerce w.r.t. string input

$
0
0

Can anyone tell me what's going on with the case structure?  It decides "Z" is  not in the A..Z range.  Works as I expect when I pass it into a "in range and coerce" function.

 

Found on LV2013-32 running on Win7-64.  Confirmed same behaviour in LV2014-32 on same machine.

Choose Cluster Element by user

$
0
0

Hi,

 

I have a simple problem but I find no simple solution. I have calculated data elements (DBL) and stored them into a cluster. Now I want to write a selected element to a 4-20 mA current output. The user should choose the cluster-element  by a DropDown-menue for each current output. Of course I know that I can use a ENUM and a CASE-function but that is not dynamical and for switching between 30 variables a little boring to code. Has someone a better idea to solve that problem?

 

Best regards,

 

Paul


Programmatically resize array element

$
0
0

Hi, I need to resize programmatically the element of a Matrix. The External frame of the matrix control should hold the same size, but the internal element should chang their size programmatically.

 

Capture.PNG

 

I did not find any property/method to do this. Expect using Xcontrol I guess.

 

Any idea?

 

Thank you.

 

how to change x-axis time setting of look up table in control design and simulation loop.

$
0
0

hello ,I am developing  a labview programme based DAQ application to acquire signal of minimum 50 channels.using NI PXI 1031 chassis and multifunction DAQ card NI PXI 6225.I wrote programme and in that I have used look up table VI within control design and simulation loop.As I am acquiring CCS temperature sensor data in the form of voltage and wants to change this voltage signal to its corresponding temperature value given in look up table. I achieved that but I am facing problem in the simulation time of the look-up table.data acquistion time is not match with my computer time. X- axis time setting is not change of graph used for plotting the output of simulated data. It has some default value which is fix.So I want help ,that how can I change the time setting of look-up table VI or time setting of control design and simulation loop.

led interfacing

$
0
0

i tried to implement the example program of led interfacing but the led is not glowing as per the conditions given...

the led should glow when 5v supply given and should turn off when the stop button is pressed

kindly help...

tds5034b library

$
0
0

 Hello everyone,

Im Looking for a tds5034b library can anyone help me?

I have a problem on saving waveform screen capture in my computer,

 

 

I found a VI on this thread TDS5034 but the waveforn only save on OSCILLOSCOPE drive , i want to save my captured  waveform screen on my desktop or laptop drive.

 

thanks.

 

Boite dialogue édite multicollones

$
0
0

Bonjour,

 

J'ai réalisé une boite de dialogue avec seulement le multicollone suivant à l'intérieur:

 

Untitled.png

 

je peux cocher/décocher les checkbox et je récupére les valeurs dans un tableau 1D une fois que l'utilisateur clic sur "Valider".

J'initialise la premiere collone comme ceci:

 

Sans titre.bmp

 

 

J'aimerais pouvoir éditer les cellules des collones "arret prolongé" et "arret en voie apres" durant l'éxecution du programme et récupérer leurs valeurs numérique dans un tableau 1D après.

 

Quelqu'un a une idée pour éditer les collones durant l'éxecution, je séche complétement.

 

Merci de m'avoir lu :smileywink:

Search 1D Array with first occurance

$
0
0

All,

 

I am trying to develop a subVI that loads in the MS Outlook Address Book into a MultiColumn Listbox. There are hundreds of names in this address book so I would like to use a feature that when a user starts typing in a name, it will take the user to the specific record in the listbox. I want this to start at the beginning of the the Name field but I am having a hard time. I would appreciate some guidance.

 

Thanks,

Eric

Labview Builder Configuration

$
0
0

Hello,

 

   Can the Labview builder that makes a exe be configured to copy over support files to the destination of where the exe is located? If so, how is it done?


cDAQ works correctly with Labview 2013 ?

$
0
0

I have already upgrated from LV805 to Labview 2013 in an existing system that has cDaq-9172, NI9205, NI9263, and NI 9403.

When running NI MAX, it only detects cDAQ 9172 (Chasis), but none of cDAQ modules are detected.

When I open my application, cDAQ paths does not appear in input options, so when it runs, and error appears.

I have LV 2013 SP1 f2 and NI-DAQmx 9.8

 

It is a known issue or I have a configuration problem?

 

Please help

Simple Network Streams - Example VIs

$
0
0

In the example VI: Simple Network Streams - Host.vi the receive loop has a choice two timers: 10 and 20 milliseconds.  In addition the Read Single Element from Stream VI has a timeout of 100 milliseconds connected to it.

 

In Simple Network Streams - Target.vi the receive loop has no timer, but the Read Single Element from Stream VI has a timeout of 1000 milliseconds connected.

 

How can the target receive loop work without a timer?  What is the purpose of the 100 millisecond timeout of the Host receive loop if the loop has a timer of at most 10 milliseconds?  I have this example working on my cRIO-9030, but I don't understand it.  I think this gets down to my lack of understanding of the timeout function of reads and writes for streams and FIFOs.  Does the VI sleep until just before the timeout to check for data, or does it hog the processor the entire time looking for data?  It doesn't seem to be the latter since the processors on the target are only partially occupied in this example.

How to have multiple inputs for a Pic Ring?

$
0
0

Alright, I've got this program in which there is a pic ring with multiple pictures on a tab page on the Front Panel. And on the Block Diagram the Pic Ring receives a number through a numeric indicator. There are multiple boolean variables set up and depending on which one is true that dictates which number the indicator pushes on to the Pic Ring. However, I can only connect one boolean up to the indicator at a time. If I connect mutliple wires to the indicator the wires become broken immediately. I have a screen shot depicting the setup in the Block Diagram.

 

Anyway, my question is basically how to setup a numeric indicator for a Pic Ring to have multiple inputs?

how can i put the alarm system that after login it shows up.? help

$
0
0

Hi 

i have designed my own alarm system long time ago and now i want to put it inside my project 

 

how the alarm should work.. 
1- after login page it shows up on the main Master page File : [untitled 1.vi]

2- a light should be added on the house map [untitled 4.vi]

alarm vi file :[alarmclock.vi]

so when the alarm is ON the light in the house turns on as well.

 

i'm tottally lost on how to do can someone place it up for me. or guide me if not possible.

How to make a file explorer work under certain conditions

$
0
0

Good afternoon,

 

I have built a VI that is basically a file explorer that lets you import data to another application, when a button is clicked, you can navigate throught the directories of your pc searching for a txt file to import and plot some ghraphs. I used the property node "Visible" to show up this file explorer as a window, so every time i click the button, it shows up, but I realize it is processing even if its not being used, like a process running in second plan, thats why I want to make it different, I want to make it run only when the button aforementioned is on true, and to make it I have tried stuff like wiring the button to the loop condition, using a case structure with the button wired and nothing seems to work. How could I do that?

 

I appreciate your help,

 

 

Viewing all 68917 articles
Browse latest View live


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