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

No code error, loading file not appearing

$
0
0

Greetings, 

 

can anyone please run the VIs attached, and then load the csv file. Why is there no graph appearing? I have previously tested the code inside the load Value Change, it worked... but not when I try to include in this vi.

 

Please debug what could be wrong. I tried connecting numeric indicator to see if the FOR loop is counting, it does.. as can be seen in the indicator.

 

any help would be greatly appreciated.


VISA resource problem

$
0
0

HI,

I have few equipments connected through Agilent LAN gateway E2050 series. All those connected equipments are available and can communicate through NI-Max. However, when I use VISA resource manager in LabVIEW 2017 on Windows 10, I am not able to find any of those.

When I click on the drop down button, I can only see the COM ports that are native or virtual to the PC I am using. 

 

Any suggestins on how to get the equipment list avlbl ? Thanks for your help.

 

 

 

Combo box use

$
0
0

Hello everybody,

 

I am developing a calibration tab where many variables will be calibrated. I want to create one tab with all the calibration parameters and use this tab for all the variables. For choosing the variable which is being calibrated, I want to use a combo box. In this way, I want to avoid creating many tabs, one for each variable with always the same numeric controls and just to use a few numeric controls for all of them.

 

Until the moment I didn't figure out how can I do it neither anything in this forum that can solve this problem. I'd be very gratefull if you can show me the way this can work.

 

Thank you in advance!

Error 1000 occurred at invoke node when clicking button to open subVI

$
0
0

Hello,

 

I have read about this error 1000 from ni.com. It means the "VI is not in a state compatible with this operation" due to the invoke node run VI. It says to correct this error, the target VI (gui.vi subVI) has to be ensured idle or reentrant. So what I did was, I changed the subvi (gui.vi) VI properties -> execution -> preallocated clone reentrance execution checked. 

 

Then I tried running the VI and click the button to open subVI, it can be opened WITHOUT ERROR 1000..but none of the buttons in the subVI is functioning.

 

What I am trying to achieve here is to

run the main.vi, jump to subvi (gui.vi) and when I am done with the subVI, I want to go back to home to the main.vi. 

but instead, I have encountered this error.. --'

 

Please, someone can solve my issue? 

How to pass data from while loop to another sub vi

$
0
0

I am newbie to LabVIEW. 

I have build the code " straight line. vi" in while loop to calculate inverse kinematic coordinate and want to take out the value of X3 and Y3  from the while loop and feed to another sub vi. 

I created local variable and tried auto indexing but unable do it .

 

Main vi  " straight line. vi "

Sub vi's  " inverser kinematic  xand y input.vi"  "inverser x and y calculate.vi"

 

 

Please help

File paths after change computer

$
0
0

Hi friends, i have a problem with file paths, every time i make a .VI developed in my pc when i install it in other pc as it is espected if i'm using files, the paths are different, i always edited manually the paths with the final user pc names, but this time i use lots of paths and i want to avoid that job when installing the .VI in the final user.

As Example:

my path "C:\Users\Maxi\Documents\MEGAsync\soft.vi"

client path "C:\Users\Client1\Documents\MEGAsync\soft.vi"

when i'm developing the .vi i use my path but after installing the .vi in the client pc obviously it won't work as he has a different path.

Could you give me some ideas how to avoid having to modify all the paths with the client paths in advance?

Thank you all for your time and valious help.

Error 7 Call Library Function Node

$
0
0

 

Hi,

 

I am getting the following error message. Please guide me. 

 

ERROR MESSAGE =  Error 7 Call Library Function Node

 

SOLUTION = ?

 

Initially, I was getting similar error message called Error 8 Call Library Function Node

 

Then I installed  Microsoft .NET 3.5 Framework including Frameworks 2 and 3, Then I start to see Error 7 Call Library Function Node. Only change was Error number 7  instead of 8. 

 

I am using Texas Instrument Data  Collector EVM software executable called HSDC PRO to evaluate Texas Instruments Analog components including AFE58JD32EVM ADC through TSW1400EVM Data Collector using HSDC PRO GUI software which includes NI (National Instrument LABVIEW library functions ) ( the following link gives more detail For Texas instrument related items  http://e2e.ti.com/support/sensor/ultrasonic/f/991/p/677416/2493971#2493971   )

 

 error7_Labview.png

 

For this LABVIEW related error message, What can we do?

 

Thanks and best regards,

Weird Call Library Node problem...

$
0
0

 

Hi,

 

I am getting the following error message. Please guide me. 

 

ERROR MESSAGE =  Error 7 Call Library Function Node

 

SOLUTION = ?

 

Initially, I was getting similar error message called Error 8 Call Library Function Node

 

I am using Texas Instrument Data  Collector EVM software executable called HSDC PRO to evaluate Texas Instruments Analog components including AFE58JD32EVM ADC through TSW1400EVM Data Collector using HSDC PRO GUI software which includes NI (National Instrument LABVIEW library functions )

 

 

 

  

For this LABVIEW related error message, What can we do?

 

Thanks and best regards,


Convert numeric to array

$
0
0

I want to display the first element from the numeric indicator, along with the second element from the numeric indicator and so on. 

Block Diagram.JPGFront Panel.JPG

 

 

LabVIEW EXE crashes always

$
0
0

I have labVIEW 2015, i could be create EXE and installer, when i run the EXE in my laptop, crashes always. But the same EXE runs in other systetm.

 

PFA crashes report for analysis

Spectrum Analyzer USB-SA44B - Peak, frequency & amplitude measurements of RF the signal

$
0
0

Hello

I'm using the Signal Hound USB-SA44B for RF quality measurements of our products.

I need to get basic main measurements like

  1. Find the Peak
  2. find Main frequency (per found peak)
  3. measure Main frequency & amplitude

For instance get measured in the found peak point is: frequency 433.92 MHz and amplitude -21dBm?

Unfortunately manufacturer didn't provide simple examples for measurements.

My development environment:

  • LabVIEW 2013

Attached the output graph that I receive during the test

Thanks in advance

Registered for LabVIEW free trial, lost access shortly after

$
0
0

So, about two weeks ago, I downloaded the free trial version of LabVIEW 2014, and put in the evaluation code for the 45 day extention (with confirmation that it worked).  However, I loaded up the program today, and the LabVIEW Licensing Wizard popped up, with no indication that I ever had a free trial active, let alone have one right now as I should.

 

Anyone got any suggestions on what to do to get access back?

inaccurate phase in multi-tone generation

$
0
0

Dear all,

I am using the ni example  for generating multitone arbitrary spacing waveform. I am generating 4-tones at the same time with different IF frequency (Intermediate frequency) spacing 0, 1 kHz, 100 kHz and 1 MHz. These tones have fixed magnitude and phase generating multiple times (36 times) in a for loop (as you taught me how to generate or do for example a frequency sweep). then the result is converted to frequency domain using FFT. 

 

When I measure the magnitude and phase of the signals I found that the magnitude is correct but the phase is wrong. By the way, I am using only a cable to connect the generator ( NI PXIe-5673E) and receiver (NI PXIe-5663E), in other words, no test set of filters and couplers are applied, thus, no calibration is used.Any idea? Thanks in advance.

 

how to count number true in last minute?

$
0
0

Hey Everyone!

 

I am new to the LabVIEW. I am acquiring the data from daq device (Potiometere) and calibrate it to angular position (which is already provided along with QNET Mechatronic sensor board). Now I want it to modify to revolution per minute. For which I need to count some true values over the interval of 1 minute. 

 

All the components are inside the control and simulation loop. The calibrated angular position is displayed in a waveform named Potentiometer (deg). I want to count how many time the potentiometer angle becomes 90 degrees in last 60 seconds only.

 

QNET_Drivers.llb and Quanser_DAQ.....llb are liberary file.

Basler Ace Camera Connected to myRIO, Reduced Frames per Second

$
0
0

Hello!

 

I have a Basler Ace acA1300-200uc camera. I only have purchased its USB 3.0 cable which I used to connect my camera. Using the USB connection, when I connect the camera to the laptop and open NI MAX, I can grab at 169 frames per second which is perfect. However, if I connect the camera's USB to the myRIO 1900 USB 2.0 port and access the camera again in NI MAX but under myRIO, the frames per second barely reach a value of 4. 

 

I was wondering if this related to the power output from the USB 2.0 port of myRIO. I know that the USB 3.0 of the camera itself supplies it with a 5V power which is supposed to go smoothly. I need help figuring out why the frames per second via myRIO is that low.

 

Thanks in advance!

Kristina


NI 9205 for Digital Serial Data

$
0
0

Dear all,

 

It is possible to use the NI 9205 for Synchronous Serial Data Reception?

 

For example, let have a stream at 10kbps data rate (33.3us/bit clock), from a serial sensor continuously feeding bits of data, separated by some given "delimiter". 

 

Which would be the maximum data rate, if this module can handle 500ns?

 

Thanks in advance

How can I know which VI is running at my target

$
0
0

I am running a VI inside a NI cRIO-9067 FPGA target from some months without issues.

 

I can connect to this target through Ethernet VPN with a Static IP, with NI Measurement Explorer, NI LabVIEW, and also through SSH into the NI Linux RT ARM operating system.

 

Now i want to check the latest VI compiled and downloaded into the target, for making a maintenance and introduce some minor changes. Because some time has passed, i want to make sure which was the original VI file compiled, and currently running and configured for startup.

 

How can I check which was that VI file, or somehow compare which is the currently binary compiled file running, or the original VI name or date, without stopping its operation?

 

Thanks in advance,

Hyp

 

 

 

 

 

 

Change Language of Student Version

$
0
0

Hi,

 

I bought the student version of LabVIEW 2017. I installed it and recognized, that it is in german. I know that I have to install another version for the english language. But I can´t find the english version of LabVIEW on the CD. When I start the setup.exe it will always install the german version. Is it possible to install the english version with the student version of LabVIEW?

 

Thank You

Right clicking displays the menu far away from the mouse (4k montior)

$
0
0

Hey all,

 

I am using a 4k monitor (3840x2160, 150% scaling) on windows 10 and when right clicking on the LabVIEW (2015) block diagram, any menu will display multiple inches away from my mouse or where I clicked. I believe this is due to a recent update although this started months ago (I've been using my 1080p laptop lately). 

 

For example, if I right click on the "Right Menu" cluster, the menu will display as follows.

 

Right click display errorRight click display error

 

 

Does anyone know a work around for this? 

 

Thanks

Start/Pause While Loop

$
0
0

I'm building a Home Smart Meter which measures the total power consumed in a house. I built the program inside the while loop, and it works perfectly. 

 

With that being said, here's my problem.

Since the power that is consumed during the week is different than the power consumed during the weekend, I decided to go ahead and build two separate while loops. However, how do I get the weekend while loop to run while the weekday while loop to start and vice versa? 

Viewing all 69662 articles
Browse latest View live


Latest Images

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