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

LabVIEW 2011 Serial Number Missing

$
0
0

I had a registered and functional copy of LabVIEW 2011 installed on a Win 7 machine.  The machine was just upgraded to Win 10 and I wanted to check the serial number that was used before I install LV 2019 on the machine, but the about screen is blank.  I also looked at the LabVIEW_ADE_110000.ini file, but the serial number field is blank.  I ran the NI License manager and it says activated, but no serial number.

 

I did not install LabVIEW on this machine, so I do not have a record of what serial number was used.  Any idea on how to find the serial number?  The 2019 version is a new license, but I would still like to find out the 2011 SN.  I was planning to uninstall 2011 before installing 2019 since the machine is now Win 10.

 

 

Bryan

pit 4 LV Screen.PNG


IMAQdx GetImage2.vi and CalculateFramePerSecond.vi - low frame rate

$
0
0

Hi everyone,

 

Part of my VI deals with image acquisition. The implementation was taken from the example NI-IMAQdx "Grab and Attributes Setup". I've been trying to understand what the issue could be from the manuals, but no good so far. 

 

I have a continuous acquisition configured for 10 buffers as below:

 

T1.PNG

 

The Buffer Number Out from the GetImage2 VI seems to output a frame rate that is much faster than 10fps. When I use the CalculateFramesPerSecond.vi,  it says I am acquiring approx. 25fps but only processing 10fps. This 25fps seems to be how fast the Buffer Number Out is counting. I don't quite understand the difference between the two outputs.

 

Since the Image Out port from GetImage2 is the one that goes ahead to the part where I process the images, I don't understand if I am actually getting 25fps or 10fps during processing.

 

Furthermore, I don't really understand the slower count "ActualBufferNumber" that is 'attached' to the event structure and goes into GetImage2. I've tried removing this connection, but the fps behaviour continued to be the same apparently.

 

Yuri94_0-1588866667515.png

 

Perhaps I've misunderstood how buffering works in a Grab setup like this. Any explanation will be helpful!

 

Thanks a lot!

 

CPU Usage property in System Configuration prompts an error, Property is not available for the selected resource.

$
0
0

I'm trying to monitor CPU Load using system Configuration tools. I've two computers, this code works well on one PC but the other one generates error.

How to set rate in Producer/Consumer architecture?

$
0
0

Hello all,

 

I am acquiring data at a rate of 1000 samples/sec in a Producer loop. This loop then pushes data out to two consumer loops through one Notifier and one Queue element. 

 

Consumer 1 is a graph that displays the data. I want to be able to control the frequency of the data points. I am currently using a queue for this but this means it is showing all samples. I want to be able to control the rate at which the graph reads the data from queue. Should I use notifier for this? I do not care about losing data between samples. (just want to control frequency of data display)

 

Consumer 2 is a logging loop. I'm currently using TDMS write function. However, it is writing to file at the rate of data acquisition in the Producer loop. Can I change this rate on the fly? I'm using notifier to read the data from the Producer, but I want the Consumer loop to get data from the notifier at a frequency I determine. Is that possible? Should I be using another logging VI? 

 

Any help is appreciated!

Is there a way to increase the number of LabVIEW variant attributes displayed in Variant control?

$
0
0

I use variant attributes in LabVIEW as a convenient way of storing state info for a device.  I have a Variant indicator set to 'Show Data' as a way of viewing that info.  This works well, except that there can be more than 200 attributes and the control will only display the first 200.  Is there any way to extend the number of attributes displayed?

Communicating with multiple Ethernet devices

$
0
0

I have (2) drives each with a unique IP address on the same network, D1 = 192.168.1.20  ...  D2 = 192.168.1.30

 

I have attached my initial code, it works for the drives individually but I cannot enable or communicate with both drives at the same time.

 

I have no experience with Ethernet communication at all, is there an example out there to help me get started?  The manufacturer has there own canned application for drive control, I can run both drives simultaneously with it, so it must be possible.

 

Any help is greatly appreciated.

Cluster of booleans to array, Labview

$
0
0

I have a cluster containing
1) 1 waveform chart
2) Another cluster containing a 5 Booleans.
I want to get out point 2 as an array of Boolean.
Later on, I want to use to array to set which of the 5 plots in the chart there is visible
How do I get out the Booleans array?

 

snip.png

mkoppelgaard_0-1588570686714.png

 

Labview control Agilent E5071c VNA, need more examples or how to use E5071C VI

$
0
0

Hello

Thanks for your patience to read this post.

I'm working in a RF cable manufacturer, we have LabVIEW 2017 and Agilent VNA E5071C

I want use LabVIEW 2017 to control Agilent VNA E5071C for RF cable measurement

Already use GPIB connect LabVIEW 2017 and Agilent VNA E5071C , it works

And try to "adjust" a VI which include some Agilent VNA E5071C  VI, see details in "Agilent ENA Series Application version6'

want get marker data value, for example S11 value at 200MHz

(you have to first set start/stop frequency and frequency unit in this VI)

but every time i run this VI "Agilent ENA Series Application version6', always get the maker value as start frequency value.

for example, if i set start/stop frequency 100MHz/6000MHz, always get maker value  in 100MHz

 

so my questions are, can i get more examples or how to use E5071C VI? or someone who has this experience can teach me how to use E5071C VI.

just start to learn LabVIEW, thanks a lot.


Reinitialize All to Default BUTTON

$
0
0

Hello, I am working on a gaming calculator and I need help creating a button. In this VI, i have set many Numerical Controls to "Reinitialize to Default" meaning every time I enter a number on the numeric control and run it, the number will automatically jump back to 0. Is there a way I can create a BUTTON that will reinitialize all these values instead of automatically reinitializing it? Thanks.

How to comparing two 1D array and pull out the mismatched element insert into 2D array

$
0
0

Hi,

Greetings.

I have two 1D arrays and I have a 2D array

first array - { a,b,c,d,e} 

second array - {a,b,z,c,d,e}.

2D array -{name, vendor, type,number

                 abc,        efg ,     a ,   6,

                aaa,        rrrr,       b,     7,

                zzz,        tttt,        c,     6}

I want to pull out that element that is additional in the second array and insert it into 2D array under the type column in the last row. I am not able to find a solution. it would be of great help if anyone helps me in finding a solution.

Thanks in advance!

have a good you'all:)

LabVIEW installation directory

$
0
0

I do not have enough space on my C memory so i would like to install LabVIEW on my D memory. Unfortunatelly i can not find a way to choose installation path. I had written to support and they have sent me screen, which i attached. In their massage they recommended to download a version which can be installed online without NI Package Manager (programm which does not allow to insert an installation path). After i downloaded it, mounted .iso file and disable internet connection NIPM showed anyway and i could not choose my path. 

Has anybody found a solution to my problem? 

CRC 16 on FIFO data

$
0
0

Hi all, 

 

I'm having some difficulty adapting some code to generate a particular 16 bit crc. I have an expected result of: x0CA6 for a sample set of 32bit data (32 bit data x 64 to be precise). The datasheet specifies that the CRC should be initialized to 0xFFFF

I'm using some code that i found on here that takes a byte array as it's input and calculates a 16 crc. 

 

The polynomial is 0xD175.

 

I'd appreciate any help!

 

 

Datasheet SpecDatasheet SpecBlock diagramBlock diagram

 

 

 

 

 

 

 

 

 

 


FIFO data.PNG CRC output resultCRC output result 

SSCDANV015PGSA3 pessure sensor (SPI)

$
0
0

hi, 

can anyone help me to read data from this sensor SSCDANV015PGSA3 , using cRio 9068 and Digital module NI 9401.

Best Regard ,

 

Adding 'salt&pepper' noise with using matlab and denoising

$
0
0

Iam uploading image and with matlab script apply 'salt&pepper' noise,then I use both matlab script and convolution for averaging filter to denoising my image. For all steps I create an indicator. When I run the simulation the images images and noises are constantly playing and changing. Also the both median filter and convolution it looks like it didn't work. I don'tunderstand why the images change this much?

missing QuitLabView function

$
0
0

Hi! 

I cannot find the QuitLabView function in my palettes. How can I install it?!

 

I am using LabView Professional Development System, version 19.0.1f1 (32-bit) on  Windows 10 Education, version 1803. 

 

I have already uninstalled LabView, download a new installation file and re-installed it, but I got the same... 

 

Thank you for your help,

Best Regards,

Francesco

 


Communicating with the Datasocket Server from .Net Application

$
0
0

I am trying to take an application written in C# and have it communicate with an application written in LabVIEW over the DataSocket Server (dstp protocol). Are there any resources for how to interface with the DSS from a non-labview application? 

How do I count duplicate elements and instead elements input the result of the count?

$
0
0

Hello,

 

I'm a student of the university and I have a problem which i can't solve myself.

My English is not that good but I will try to be clear.

 

Given a sequence of data from units and zeros: 00100101000000010000100001000001. Create a program that counts the repeating characters and instead elements inputs  the result of the count together with the character. For example:

the sequence 00 is replaced by 20;

instead of sequence 1000, 130 is entered;

20310 is replaced by 00310.

The sequence specified at the beginning of the condition will be encoded as follows 2012010170 after performing the specified actions.

 

Is there somebody who can help me?

 

Regards,

 

Eigintas

bug with "more text" feature in clusters?

$
0
0

I've started using LabVIEW 2019 SP1 and noticed that I can't expand truncated texts or numbers if they are in a cluster.  more text bug in cluster.png

Pre-LV 2019, I could click on the shortened field and expand it easily.  Now those resize marks aren't available.  I can pull the field out of the cluster and have the contents automatically expand to a readable size.  I have tried setting the cluster autosizing to 'None' but that didn't help.

 

Is this a bug in LV 2019? 

Would anyone know how I might communicate with an AE TECHRON 7114 through the db9 port?

$
0
0

Hi folks. I have this power amplifier that I would like to hook up to a function generator and send a 125 khz signal. I've been reading the doc's and I can't understand what exactly I need to do to communicate with it through the db9 port or maybe the front balanced input port. https://aetechron.com/IND-RESEARCH-7114.shtml#download

 

Here is everything I can find on the device. My function generator will be a Digilent Discovery 2 that has 2 channel BNC out. Is it as simple as getting a bnc to db9 adapter and sending the wave normally or does more need to be done than that? Thank you for taking the time to look at this.

CLD Prep ATM

$
0
0

Hi,

 

Recently I started to study for CLD exam, so I download de sample exams and make the ATM exam, I'm searching for feedback about the code, style, documentation, everything, if anybody can help, thanks!

 

I attach the zip file

 

 

Viewing all 69348 articles
Browse latest View live


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