I want to plot a bit error rate (BER) for different modulation schemes using USRP 2920. But I am not able to get the exact BER. I think timing synchronization is the main issue. Can anyone please help me in this regards.
Thank you
I want to plot a bit error rate (BER) for different modulation schemes using USRP 2920. But I am not able to get the exact BER. I think timing synchronization is the main issue. Can anyone please help me in this regards.
Thank you
I just learned about DVR while watching a CLA practice test yesterday. I totally understand why it's used. However I don't understand where it is clear that I should use it. Should I use it for all datas that have multiple read and writes? Should I use it for all data in general? What triggers a veteran LabVIEWer to say "this should be DVR"
Hello all,
I am currently created a myRIO PC, RT, and FPGA project where I use an external Xbox One controller to communicate to the PC vi, then have this written to the RT through STM TCP/IP. I would like the joystick position to be communicated from the PC to the RT, then have this RT value written to the FPGA to control onboard myRIO LED's.
However, my current iteration generates Error 74 on the RT after passing through the "Unflatten From String" vi.
On the PC side, I obtain Error 62:
Possible reason(s):
LabVIEW: Serial port overrun error.
=========================
LabVIEW: The system caused the network connection to be aborted.
This occurs at "Write Message TCP".
I have attached code for my project. The PC vi is called "PC.vi", the RT is called "RT ControllerMain.vi", and the FPGA Target (which never obtains new data since the RT Host doesn't) is called "FPGA_ControllerLED.vi".
Does anybody here know what may be the issue with my code?
- Best regards, Justin Burzachiello
There are various articles showing that a while loop's i counter will not rollover after it reaches max value. See below:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000001DcZJSA0&l=en-US
I understand that historically this hasn't been an issue for most developers as many programs will not have loops that cycle so many times. However, I feel like this is unexpected behavior as everywhere else in LabVIEW adding 1 to a maxed I32 would result in 0. Is there a reason why the loop counter should not follow the same rule?
When I built my application and put it on another computer, I get a 'Find the .NET Assembly Named "ULx_LV.dll" window, showing the file requested right there in the data folder.
Since it is in the correct folder, why can't LabVIEW find it?
I have built the application on Win 7 and trying to run in on Win 10.
I have looked the problem up, and found three solutions:
1. Make sure it is included in the build - it is.
2. Use a relative path to call the DLL - build a relative path in LabVIEW and this path will be valid in the deployed machine - I tried to move the file in project explorer, but can't because it's greyed out.
3. Make sure the DDL is not included in your user.lib library. In project explorer, the file is listed in the vi.lib folder under dependancies. - is this okay?
Please help.
Hola, necesito ayuda, tengo un programa hecho en labview utilizando LINX para el monitoreo y control de unas variables, ahora bien me gustaría saber como puedo hacer una conexión remota a la rasberrypi desde otro lugar y monitorear y controlar las variables y también quisiera visualizar el programa guardado en la rasberrypi en una pantalla LCD por su puerto HMDI.
Hola, necesito ayuda, tengo un programa hecho en labview utilizando LINX para el monitoreo y control de unas variables, ahora bien me gustaría saber como puedo hacer una conexión remota desde otro lugar y monitorear y controlar las variables y también quisiera visualizar la interfaz gráfica en una pantalla sin necesidad de la computadora.
Hi NI Community,
I'm trying to write a simple code to detect a transient duration. I figured out the logic but trying to work with array in LabVIEW.
For example:
We have a DAQ collecting voltage and here is the array of voltage measurements: 00002220000 where the numbers of 1 second apart from each other (1 sample per second) so that is a total of 11 seconds because there are 11 measurements made in the DAQ. We want to know how long the signal is above 0, so we set a trigger level if the measure goes above 1 and when it comes back down to 1. Then timestamp those 2 points and subtract them from each other to get the total duration of how long the signal is above 0V. In this case, how do we utilize array index to do this in LabVIEW? I'm trying to do this real time as the DAQ is collecting data.
Here is the logic
if array[i] >= 1 and array[i -1] <1:
timestamp1
if array[i] <=1 and array[i-1] > 1:
timestamp2
I think a way I want to do it is below but I'm not sure how to implement it
while DAQ collecting data real time:
- create a temporary array of 10 samples from the data DAQ is acquiring
- compare the data inside that temporary array with the logic above
Thank you
I am really new to Labview. I am working on an apple detection and count project. It is basically what I have done below.
Hi everyone,
When I open labview, everything seems to be running fine, but then when I am in my block diagram window and I right click to open the functions window, scroll down and click on control and simulation, there are supposed to be 5 options when you hover. PID, Fuzzy logic, Simulation, Control design, System Identification. But when I hover over control and simulation I only get 2 options (PID and Fuzzy Logic). I poked around inside the software to see if its hidden, I couldn't find it. I also made sure that I had the myRIO toolkit downloaded and everything and when the package manger is open, it says something like, no action necessary. Clearly i'm missing something and I cant figure out what it is.
If anyone can help i'd really appreciate it. Thanks.
I'm using Labview Modbus Library downloaded from : http://www.ni.com/example/29756/en/
I have PLC Siemens S7-1200 communicating with Labview using holding registers. Each of holding registers represents a signal. That Labview reads of writes into PLC.
When trying to call class VIs from NI Teststand it reports an error that VIs should be called ass Class Members and that dynamic dispatching is not allowed...
If I want to wait for specific holding registers inside of a PLC I have to write a Labview vi (while loop and inside of it a function that reads holding register).
Is there any other VI of a way to use class members function that waits for holding register for a specific period of time?
Hi Everyone,
I want to flip the image vertically (see image A). It is possible by changing the coordinates of the Y-axis (see image B). But I want to have it as image B without changing coordinates. Looking for an idea.
Thanks,
Hassan
Hi Everyone,
I want extract the grayscale values at certain parts of the image. I have graysclae values for the whole image and now want to get it from the certain part. I have drawn rectangles to get the (top, left, right and bottom points) of those areas (See imae). Could you please give an idea how to extract the required information.
Regards
Hassan
In LV2019, Scan from string can be set to "%t" and scan a relative time string of e.g. 12:34:56, but in LV2020, that doesn't work:
Try attached VI in LV2020 vs an earlier LV version and see.
Or am I missing something?
Hello,
I have installed Andor SDK3 for labview 2020, but when I try to go through provided examples I obtain error "AT Get Int A.vi AOIHeight INVALID HANDLE".
When I set the AOI width and height they just reset to 0 and I get the aforementioned error. Same error pops up when I try other examples
The capture with the example is attached.
I am using Zyla sCMOS 4.2 camera
Bonjour les amis,
svp je suis un stagiaire et ça fait 3 semaines que je suis bloqué dans un programme ainsi que mon stage arrivera a finir.
En fait, je veux piloter une alimentation AC programmable de type itech IT7622 a travers LABVIEW . j'ai trouvé un driver IT7600 mais le problème c'est que malgré la configuration a travers GPIB , l'alimentation n'arrive pas a se connecter avec le PC.
j’espère que quelqu’un a des idées pour s'en sortir.
Merci a vous !