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

Missing Dependencies from FlexRIO Controller Examples

$
0
0

Hi!

 

I’m interested in utilizing the high-speed serial (SFP+) ports on an NI 7935R to stream raw sampled data from an NI 5772 adapter module for data recording. I see that there is an example project included with LabView 2017 that demonstrates using the SFP+ ports with 10GbE UDP, which seems perfect for our application. Unfortunately when I open this example (or any of the examples in the Controller for FlexRIO folder), there are two dozen or so missing dependencies preventing me from using it (see attached image). This only happens with the FlexRIO Controller examples, all other examples open and run properly.

 

Oddly, the highlighted missing files all seem to exist in the directory tree, but at a slightly different location. For example, LabView searches for, but fails to find:

 

“C:\Program Files (x86)\National Instruments\LabVIEW 2017\Targets\vi.lib\rvi\interface\common\dynamic\niFpgaDynamicAddResources.vi”

 

However, a file of the same name exists at:

 

“C:\Program Files (x86)\National Instruments\LabVIEW 2017\vi.lib\rvi\interface\common\dynamic\niFpgaDynamicAddResources.vi”

 

Notice that the paths are identical, except for the “Targets” branch in the expected filepath, this pattern is true for all the missing dependencies as far as I can tell. I’ve tried retargeting one by one to these alternate files, but the dependency issues persist.

 

Do you have any insight or advice for me? Is this likely an issue with configuration for the example project? With my LabView installation? As I mentioned, most or all other examples work fine, it’s only the FlexRIO Controller examples that seem affected.

 

Thanks for any help you can provide!

 


Can you change the voltage of DAQ assistant digital output?

$
0
0

Hello,

I am trying to output a digital signal with a DAQ assistant at 1V p-p, but can't find how to change it from its default of 5V p-p. I feed a constant stream of Boolean into the data input of the DAQ assistant. I prefer to stick with the DAQ assistant instead of DAQmx sub VIs.

 

I appreciate any help.

[Problem] How to bypass the Butterworth filter

$
0
0

Hello,

 

I am verynew to Labview and I may be asking a question with a very simple answer, but I'm needing some help.

 

I need to bypass the Butterworth filter that is already implemented in the workspace that I am using but I cannot figure out the way to do it. This workspace is acquiring data from multiple sensors (which are and have to be filtered) but I want to bypass the filter from just one single channel of the workspace. I have included the diagram for that specific channel below. I have also included what I do to incorrectly bypass it; true means activated and false means bypass.

 

Butterworth filter onButterworth filter on"bypass""bypass"

 

I appreaciate your help! :-)

David

Display image (w file path has been set) in an image indicator once button is clicked

$
0
0

Greetings,

 

I am a newbie here. As mentioned in the subject, does anyone know or have a basic VI codelet on how to display image in an indicator on the front panel when a button is clicked? 

 

I have already go through find examples and other resources, I can't seem to find it.

 

Thank you in advance for any help or ideas. 

Saving graph/chart indicator and string control value in a file or image file (e.g png)

$
0
0

Greetings, 

 

I am wondering if there is a way to save graph/chart indicator and the string control value by the user into a file or image file format such as png?

 

Any help would be greatly appreciated.

Timed Loop with DAQmx create timing source VI

$
0
0

Can someone point out why the two timed loops shown in the attached PNG do not function the same. I am trying to use a timed loop with the DAQmx create timing source VI. I can't even get the loop to iterate when attempting to do so. Any advice is much appreciated.

Worform Graph:Drag from the tree control then display in the waveform graph

$
0
0

Hello, 

I want to achieve the following function:

Drag channel 1 and channel 2 from the tree control in the left, then in the right the waveform graph will display the two channels.

Does anyone have any suggestions?

Thanks!

Henry

Can't find SimpleDAQ drivers

$
0
0

Greetings. So this is what I have to do (look at the picture). The problem is I can't find driver " Read Analog " -> Paleta -> Functions -> Instrument I/O -> Instrument drivers -> SimpleDAQ -> Data . I think I downloaded almost every driver there is and can't still find it. I'm using NI Labview 2017. I would really appreciate some help, I'm so desperate. Thanks

slika3.jpgslika2.jpg


How to create a fixed IP TCP Server

$
0
0

Hello, I´m new working with TCP protocol, I´m using an ESP8266 as a client (controlled by a PIC18F2550), and a TCP Listen to wait for the connection, but I have to know the PC's IP and program the PIC with that IP, etc. It works, but when I want to use it with another PC, the IP changes, and I have to reprogram the PIC with the new IP.

Is there a way to assign a new IP from LabVIEW? Or create a server with a desired IP?

Thanks.

Hello from Mexico.

MIMO OFDM ON NI USRP-2920

$
0
0

How to overcome error in labview 2013 "niUSRP Open Rx Session.vi<ERR>A runtime or configuration error occurred. Code: 2638 Details: ValueError: Could not resolve device hint "addr=192.168.10.4" to a single device." ?

Write waveform x-axes values to tdms file

$
0
0

Hi everyone, 

 

I'm trying to write real-time measurement to tdms file. I have two problems. Firstly, there is only amplitude values of signal, i want to see a time column- it should show which amplitude at which second.(ex : 0.0-0.0, 0.001-0.015 etc.) I will check frequency information.  I used get waveform time array, get waveform components functions but there is date/time information. It is not really what i want.  I read all topics about time in forum, no answer for me. Sorry if i replicated.

Secondly, when i ran the project, tdms file is not opening sometimes, especially first run. After trying again, it's ok. I need your suggestions.

There is a picture of a part of all project, tdms write section, tdms file, and my sample vi with usb 6001 for time column(2017version)( I'm trying to write time column firstly with usb 6001 for sine signal from function generator)

 

Thank you all,

Ozge

 

LabVIEW Core 2 - Exercise 6-1

$
0
0

Hi,

In the exercise book LabVIEW Core 2, there is an exercise 6-1 "Format Into String":

"You inherit an old LabVIEW application. You notice that it uses individual controls to input information into a Format Into String function. Open Format Gas Params.vi and refactor it.
- Assume you need to add a new DBL parameter (for example, Explosiveness).
- Notice that the Format Into String node needs to be expanded.
- Also notice that the format string needs to have \r\nExplosiveness:\s%f added.
Hints
- Arrays of parameter values are easily expandable to include future values.
- Some string functions can handle arrays."

 

I'm still new to LabVIEW and can't find an appropriate VI to solve this problem. Could you help me and give me a hint which functions should I use?

Distance calculation between two laser lines

$
0
0

Hello,

I am a student, working on a project in a company where I have to calculate the thickness of a rubber material. I am using two laser sensors, from the top and bottom. Two laser lines will fall on the material, the CCD camera in the sensor will read them and create an image. Now I want to calculate the distance between these two lines, as it will give me the thickness. How do I do this in LabVIEW? I have LabVIEW Full Development System 2017.

 

PS - If its not obvious already, I'm new to LabVIEW.

Boolean Crossing PtByPt vi feeding Value (Signalling) property node

$
0
0

I want to detect a numerical threshold. I am using the Boolean Crossing PtByPt vi to detect this because I only want it to trigger an event when the value goes from below to above the threshold value. 

This is a simplified example I created using just a Boolean button and indicator. However, the Event Inspector shows that the Value(signaling) is constantly being fired. This seems like the Boolean Crossing PtByPt vi is not working as expected?

2018_04_12_06_03_35_Settings.png

How to apply codecs in LabView

$
0
0

I have a stream of JPEG files (wireless transmission) and i need to compress them before sending and decompress after receiving. Using NI Vision toolkit namely IMAQ AVI2 Codec Names.vi I found out that I have codec H.264. How can i use it for compressing and decompressing JPEG files. Is it possible using NI Vision toolkit ?

Thank you in advance.


RT VI to Human Machine Interface (HMI) VI data communication

$
0
0

Hallo everyone,

I have build a real-time system VI using sbRIO-9636. I used DMA FIFO for transferring data from FPGA VI to RT VI. Now I want to build a HMI VI.

Which data communication method should I use?

If there is a tutorial or example available please share it to me. I looked for some example, but I did not find any good example. 

Thank you.

Controlling linear actuator

$
0
0

Hi guys,

 

I´m new in using LabVIEW but I have to write a programm to control an actuator. I´m getting stuck - so I hope one of you have a tipp for me Smiley Happy

I´m using LabVIEW 2014 (Real-Time and SoftMotion already installed), cRIO 9035 with two modules (9514, 9205), and a linear actuator connected to a servomotor and an amplifier.

I get a force signal from a external actuator - this signal I want to compare with the signal from the servomotor I get and adjust it in a specific ratio.

So in the end I have two force signals to compare and I don´t know how to manage this Smiley Sad

Why we cannot copy-paste a control from a BD to a FP?

$
0
0

I always accepted this as a "default behavior". But really, why this cannot be done using LabVIEW? I often face the following scenario:

  1. you are looking at a BD, then you select a control here, and use "Ctrl+C" to copy.
  2. Now you cannot "Ctrl+V" this into any FP, only in BDs!

Strangely, the other direction works however: if you select and "Ctrl+C" a FP control, you get its constant version in a BD when you do "Ctrl+V".

But why we cannot copy-paste a control from BD to FP? This would be also useful when we open a Typdef cluster, and we want to paste a copied control from the BD. No, it does not work, only from the FP!

 

EDIT: oh yes, it is not only me, fire your Kudos people! Smiley Very Happy

https://forums.ni.com/t5/LabVIEW-Idea-Exchange/Copy-control-from-BD-but-paste-on-FP/idi-p/1466502

Using RIGOL 1054z with Labview. Beginner

$
0
0

Hi,

Trying to control my RIGOL 1054z oscilloscope with LabView. I dont really get what I want. Maybe you can give me a hint/solution to this.

 

-The RIGOL picture presents what I want on the LabView waveform but I don't get that type of results. (Compare with Labview Waveform). How do I adjust my Blockdiagram to create that type of solution?

 

- The trigger signal (BLUE) shall trigger the oscillscope to fetch the data within that trigger pulse (YELLOW peakes), (All pulses are the same width). There will be 500 trigger pulses so manually is out of question.

 

My results so far is presented in LabView wave-window.

 

 

 

My LabVIEW 15.0.1f10 broke - where to report

$
0
0

My "My LabVIEW 15.0.1f10 " has stopped working.  The fault module name is kernelbase.dll, which I don't like.

 

Instead of sending the crash report to Microsoft (megasloth), how do I send it to NI?

 

Thanks.

 

-------------------------------- 

Problem Signature

Problem signature:
  Problem Event Name:    APPCRASH
  Application Name:    LabVIEW.exe
  Application Version:    15.0.1.4023
  Application Timestamp:    59fa27b7
  Fault Module Name:    KERNELBASE.dll
  Fault Module Version:    6.1.7601.24024
  Fault Module Timestamp:    5a58e25a
  Exception Code:    c06d007e
  Exception Offset:    0000c54f
  OS Version:    6.1.7601.2.1.0.256.48
  Locale ID:    1033
  Additional Information 1:    0a9e
  Additional Information 2:    0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:    0a9e
  Additional Information 4:    0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt

 

Viewing all 68960 articles
Browse latest View live


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