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

NI Support Malfunctioning

$
0
0

Is anyone else having problems with NI Support abandoning tickets instead of working on them?

 

Or is it just me?


Controlling a power supply via LabView using USB type B

$
0
0

Hello, So I am trying controlling a power supply via LabView using USB type B but i have no experience in LabView or programming a power supply. i know i have to follow the instruction of the power supply but i don't know how to start or what to do ? the power supply is GWINSTEK PFR-100. if anyone available in san Diego to help with it, i would really appreciate it.

Reading Controls and Indicators from the front panel of a hidden executable

$
0
0

Hi forums,

 

I'm trying to read controls and indicators from the front panel of a hidden executable that is not in focus. The hidden executable is like a service that runs in the background constantly polling for updates from an Xbox controller. The reason I don't simply poll the xbox controller in my main application is because of issues with the lvinput.dll, which is a topic for a separate post. In short if the Xbox controller is plugged out during acquisition, the environment has to be restarted in order for the reference to become valid again. I don't want my users to have to restart the entire application every time the Xbox controller is plugged out hence I call it in a separate executable and restart just that executable if it is unplugged - I've tested this and it works.

 

The problem I'm dealing with at the moment is that the executable front panel controls don't update unless the executable is in focus and I can't have it in focus as it is a background service (front panel and taskbar icon are hidden). Please see the snippets below for more information.

 

'worker.exe' block diagram. This VI polls the Xbox controller using the LV Makerhub toolkit (which calls lvinput.dll)

worker.png

 

'launcher.exe' block diagram. This VI launches the 'worker.exe' and polls it's front panel controls for updates. It only updates when 'worker.exe' is in focus.

launcher.png

 

Launcher front panel - the Xbox controls don't update unless the 'worker.exe' is in focus

AudioVideoDisco_0-1581631419348.png

 

I hope someone will be able to help me out here, is there a way to poll a remote executable's front panel values without that VI having to be in focus? Or maybe there's a better, more efficient, way of communicating between a 'launcher' executable and a 'worker' - can I register for events from a remote executable? I don't have much experience communicating between separate executables so I'm open to any and all suggestions/advice.

 

~AVD

Creating a 2 by 20 array

$
0
0

I am trying to create a 2 by 20 array. The first row must be random numbers and the second row must increase by increments of one. (so, 1-20) this code must use a build array node and send that array to an excel spreadsheet file. Please help. 

ソフトウエアの移植

Including a table containing a column of property nodes into html report

$
0
0

Hi All,

 

I have a table in my front panel, which includes a column of property nodes. I need to append this table into the html report generated. I do not want to use this table as an image in the report. Hence, I'm using 'append table to report' function. In the report generated, all the columns of the table get populated except for the column of property nodes. Is there any possible way to populate this column in the report as well? The property nodes consists of an active cell with background color. 

 

Thank you

Read word document

$
0
0

Can anyone suggest how to read word document tables, pictures and text using Report generation toolkit?

PID autotuning

$
0
0

I find it difficult to understand the PID auto-tuning functionality. Can anyone send some tutorial on how to proceed with the auto-tuning process 


How to interface USB-SA124B signal hound in labview using NI-VISA?

$
0
0

I have to communicate with USB-SA124B Signal hound through USB and read its frequency and amplitude using NI-VISA function. But here I am unable to find the VISA resource name of the this signal hound receiver. Have you any solution for this? 

Xilinx FIR Compiler Node creates long file names

$
0
0

Hi all,

 

When I'm creating a Xilinx FIR filter for my FPGA in LabVIEW I can configure it with the Xilinx FIR Compiler Node, but this thing creates very long path names for my files, they are so long my git server doesn't allow it anymore. I'm already choosing very short names for the filters and the path is almost at the root of my disk.

 

no name changes.png

 

When I open the "Configure Xilinx IP" It will open the FIR Compiler, and here it shows the new by labview generated compopnent name, like in the image below. Is there a way to decrease the size of those random characters?

 

long IP name.png

 

  

 

I've tried not adding these intermediate files to my repository, but when I try to open the project from another machine I have to reconfigure all the FIR filters. This is a real pain because these filters are not made by me.

 

Does anyone know how to change the long file names, or have a different solution for me?

 

Probe context menu "favorites"/defaults?

$
0
0

Greetings, this may seem like a basic question, but I cannot find any details. Is there any way to set the default control used for a probe, or create a favorites/most used list? 99% of the time I probe an array, I want a graph, not the numeric array. As it stands, I have to go through quite a few menues to get there. See the attached picture. I played around with creating a custom control briefly, but to do this for every data type seems absurd.

ConnerP_0-1581676698068.png

 

Disable and gray property node

$
0
0

Hello All,

 

I want to disable array indicator that nothing has influence on indicator.

FOr example, if I pressing switch on/off, array change values true/false.

But property node is set on disable.

 

How I can set property node, that indicator doesn't show values, changed by switch?

 

Vi in att.

Thank you

NI Labview FPGA Module

$
0
0

I am using Labview 2017 FPGA module and I want to complie my VI's to a remote computer( server as well as worker). The remote computer consists of Vivado 2014.2 instead of 2015.4 as recomended by NI.  Kintex 7 Evaluation board is my FPGA target. 

Following are my Questions.....

1. Is it required to upgrade the virsion of Vivado from 2014.2 to 2015.4?

2. How to install and download Compile farm in the remote computer?

3. Do I need to uninstall the existing version of vivado and install the Xilinx Compilation tool in the remote computer?

Phase Difference

$
0
0

I'm trying to measure the phase difference between 2 different sinewaves.  One is a constant, my reference, 7 Vp@ 400 hz.  The other varies as a rotor is turned.  This can be anywhere from 0 ( when the rotor is in the middle of a ref point) to 1.70 Vp @400 hz when the rotor is out to an extreme.  I've been using the Extract Multiple Tone Information.vi ( 2 separate vis) to get the phase of the rotor and the ref.  The way the device I'm using works ( a synchro) is the output is either in phase w the reference or its not.  If its in phase the synchro moved clockwise, out of phase it moved CC.   I then subtract one phase result from the other and arbitrarily chose 45 degrees to be my limit.  If the difference between the 2 is > 45 they are out of phase.  Less..in phase.  The problem I'm having is that , I think, sometimes when the rotor is real close to zero like 100 mv the Extract Multiple Tone Information.vi  can't read it and I get zero phase.  The HELP doesn't tell you the minimum "threshold" that vi can measure.  I've been using .01 then .001 neither of which seems to help.  Does anyone think this is my problem??  That the rotor measurement is too small to use the Extract Multiple Tone Information.vi  ?  Any suggestions/comments on my above method?

thxs..

How to implement two dimensional short-time Fourier transform ( 2-D STFT), 2-D Gabor filter in the LabVIEW 2019?

$
0
0

Dear all,

We have a short-time Fourier transform ( STFT), and Gabor filter VI programs are available in an advanced signal processing toolkit. Similarly, is there any possibility of 2-D STFT and 2-D Gabor filter VI programs in LabVIEW. If we don't have these VI programs in the LabVIEW, How we could proceed to implement these 2-D filters in the LabVIEW cRIO (compact RIO) environment. Anyone can guide me in this problem.

 

Thanks and regards

Sukumar.


TDR using Oscilloscope

$
0
0

Hi all,

First post here, I am a student studying electrical and electronics. I have chosen to make a Time Domain Reflectometer as my final year self directed project. I have little experience in LabVIEW and was wondering could I use an Oscilloscope as a means of capturing the reflections from a cable and then using that captured data in LabVIEW. 

I have a Rigol 1054 oscilloscope readily available that is capable of 1Gs/s and I am unsure if a usb connection between the pc and  oscilloscope would sufficient or would it limit the amount of samples I can gather per second?

Sorry for the long winded post, I would be very greatful for any replies that could point me in the right direction.

Thank you.

LABVIEW

$
0
0

I am using matlab 2018a.

The first dll compiles fine.

When trying to compile the wrapper dll,I got these

Error using mbuild (line 164)
Unable to complete successfully.

 

And I proceeded with Matlab coder and I got dll file after loading them to LABVIEW I'm getting error on memory location ,please help me in this

 

Thanks in advance

How can I use faster r-cnn in LabView?

$
0
0

Hi,

I want to detect color in LabView. I tried NI Vision Asistant but I can add just one templet to make a VI. This is not enough scale for me. I learned something which is called faster r-cnn and I can add so many color scale with this. But, I don't know how can ı use faster r-cnn in LabView. Could you help me? Thank you

Using a Case Structure to save data only within certain range

$
0
0

I'm developing a code for data acquisition from 3 load cells simultaneously. I'm trying to set up my code such that it only saves data points that are within a certain range, but nothing I have tried so far has worked as I intended. It seems like the best way to do it is to use a case structure, but I am open to other solutions as well. I am not receiving any Error notifications, but it still saves data outside of the range that I want. See below for the code and a couple snapshots of the case structure in the True and False case so far. I'm still a beginner in LabVIEW so any tips are appreciated. 

Thanks!

 

jpartain_0-1581694655534.png

jpartain_1-1581694697082.png

 

 

Using a Case Structure to save data only within certain range

Viewing all 69160 articles
Browse latest View live


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