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

Aquisition of data from Labview to Arduino

$
0
0

Hello,

 

I Have to recover the temperature from Labview to Arduino, is it possible to do it ? In all my research I just found that we can recover signals from Arduino to Labview and not the opposite ?? Because of the lack of materiels I have to do it and it is about temperature. So i send degrees to Arduino and after that I manipulate the temperature on Arduino to do another things...

Please could you answer to my question ?

Thank you,

 

Regards,

SC


niSTCU.dll is missing

$
0
0

Hi..

I am having a problem while recompiling my clients old codes, I got an error that " The program cannot start because niSTCU.dll is missing form your computer. Try reinstalling the program to fix the issue".. My client using PXI system with windows 7 64 bit. I cannot install traditional DAQ, though I cannot upgrade the code due to client restrictions. Can anyone help me suggesting a better solution. 

 

 

Case structure

$
0
0

Hi,

I have vi in which I extract image from live image then my program will analyze light intensity catched in camera. I want to run my code in continuous mode. After I cropped the image, I want to have same cropped image which will be analyzed according to light intensity in each loop without interruption. How can I program so that in each loop cropped image will be analyzed without interruption?

Paramètres IP incohérents

$
0
0

Salut,

je suis débutant en LabVIEW, j'utilise une carte sbRIO 9627 depuis quelques semaines, j'ai exécuté des programmes simples et c'est bien passé.

Aujourd'hui, je n'ai pas pu rien faire, une erreur apparait comme l'indique le fichier image ci joint.

j'ai accédé au NI-MAX j'ai trouvé que ma carte est connectée mais il est écrit que "les paramètres IP sont incohérents" (voir la capture ci joint) .

 

Qu'est ce que je dois faire pour résoudre ça?

Merci d'avance

Handling .NET .dll-files, that are called from several packed libraries

$
0
0

Hello everyone,

 

I am having some issues with .net that I was hoping someone could help me out with. 

So I am using this Kinesis Thorlabs .Net libraries to control a delay staqe and I want to incorporate my delay stage vi into my main vi. 

I have the .net vi working properly , but only when I have the Kinesis Labview project open. When I close the project the invoke nodes of .Net for the same vi produce an error. Is there some way around this. 

I am using Labview 2017 64bit.

 

PS. I have had the exact same issue with another .net library. VI is working fine only when opened through the project. when opened as a standalone vi it gives an error.

I am guessing it has something to do with how the .net libraries are configured in Labview.

Any help greatly appreciated

Paramètres IP incohérents

two loops with a single button for high speed camera images and cRIO data

$
0
0

Hello everyone,

 

In our project we have a mechanism for two-phase flow and use National Instrument cRIO 9063 DAQ module. In the system, we take pressure, temperature and flow measurements via DAQ. We also want to taking images with a high speed camera. For this,  we use the Phantom Miro 320s. We connected this system to the computer. We also downloaded the phantom camera serial developer kit into the labview and placed it in the enclosed VI file.

 

We also made a while loop for the data we received from cRIO. Pressing '''Record'' for the camera starts shooting with the current VI.

But the values ​​from cRIO are constantly running. We want to run the camera cycle and cRIO data cycle with a single button. How do you think we can do that?

 

 

 

Terminals REQUIRED vs. RECOMMENDED - Exceptions

$
0
0

LV2018 SP1

 

My latest project has benefited greatly from the setting that INPUT TERMINALS DEFAULT TO REQUIRED (Options - Front Panel - General).

 

I have noticed, though, that the ERROR IN cluster is an exception to this rule.

Any ERROR IN cluster that I wire to a terminal always defaults to RECOMMENDED, not required.  I can change it if I want, but its default is different.

 

This is a property of the cluster arrangement itself.  It's NOT a typedef.  

If I create my own cluster and put a STATUS checkbox, CODE control, and SOURCE control in it, then my custom thing also defaults to RECOMMENDED, not REQUIRED.

If I add some other item, remove one item, or re-order those items, the cluster then defaults to REQUIRED when I connect it (it's recognized as different).

 

 

 

My question is: "Where is this determined?"  Can I change this behavior?

Or more specifically, "Can I create my own controls that will disobey the default? "


Software support for PXI R-Series FPGAs

$
0
0

I am trying to get started on a PXIe-7847 project on a newly installed LabView 2019 computer without the hardware.  When I create a LabVIEW Project and try to add a target I get an error "No items found".  When I try to open a sample FPGA project for a PXI-7833R I get an error that "Software support for this FPGA target is not installed on the computer."

 

I have loaded the NI-R Series Multifunction RIO 19.1 and the NI PXI Platform services 19.0.

 

What software package am I missing?

Ip paramters are inconsistent

$
0
0

Hi,

I am a beginner in LabVIEW, I use a sbRIO 9627 board for a few weeks, I ran simple programs and it went well.

Today, I could not do anything, an error appears as indicated by the image file attached.

I accessed the NI-MAX I found that my board is connected but it is written that "the IP parameters are inconsistent" (see the attached screenshot).

 

What should I do to solve this?

thank you in advance

Strain Gauge Signal

$
0
0

I have two strain gauges, and I want to get both signals. How to connect so that I can get them. For now, the two wave charts have the same output, even the strain is different.

Dot Net Library interfacing with Kinesis Thorlabs

$
0
0

Hi all,

I have been working with the Thorlabs Kinesis Thorlabs libraries to create a stand alone vi that I can incorporate to my experiment. 

However I have been having some issues with the dotnet libraries. The problem is that when I have the Kinesis labview project open the VI runs smoothly. When I try to run it while having the kinesis examples project closed the vi doesn't work. Anyone know how I can get around this?

I have been seeing the same thing with other VIs based on dotnet libraries. Do the Dotnet dlls have to be placed in a specific folder in order for Labview to load them?

Cheers

Alexis

Error after 29 hrs

$
0
0

I'm running LabView 2017 64-bit which calls a TestStand 2016 64-bit sequence

After running for approximately 29hrs the Operating System shows an Event Failure

- EventData

LabVIEW.exe 17.0.0.4011

59947661

NiViSv64.dll

17.5.0.49152

59ef657f

c0000005

0000000000003123

2330

C:\Program Files\National Instruments\LabView 2017\LabVIEW.exe

C:\WINDOWS\SYSTEM32\NiViSv64.dll

34b6980f-d189-4ca4-aef3-08bfe5d36509

Interfacing with CCD TCD1103, timing problem

$
0
0

Hello, I am trying to interface a CCD sensor (TCD1103) through the FPGA of LabVIEW and a NI9401 DIO module and a level converter. Currently, I look at the output on an oscilloscope but when I get a correct output I will try to read it out using the NI9201 Analog Input module.

 

I found the timing on the TCD1103 difficult to implement on the output sequence to communicate with the CCD. There are 3 lines that have timing requirements the SH, ICG, and Mclk. I coded the different lines in the FPGA but I have not yet found a way to synchronize the data lines. In my current codes, the pulses start to drift apart. 

 

I added an overview of my code and the timing chart.

 

Parse ATML files in LabVIEW 2016?

$
0
0

I've been poking around to try and find a way to read ATML files generated from a teststand sequence and get specific information out of the file (i.e. runtime, S/N, etc).  Doing some searching online, I see this is possible in LabVIEW 2018 but we are running 2016.  I tried following this link (https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019ZLBSA2&l=en-US) and can build up to the command before the For Loop.

 

Does LV 2016 support parsing of ATML?


Synchronizing Function Generator with AC Power Source

$
0
0

Hello,
I am using a BK Precision 4052 Function Generator with a BK Precision 9801 AC Power Source. I am trying to synchronize the two devices. I am doing this by telling the power supply to output a 5V TTL signal when it turns on. I then have the function generator waiting for a trigger so that it can start outputting its waveform. When I run my LabView program, the function generator signal is very random. It sometimes starts before the power supply waveform, sometimes after, and sometimes it is synchronized. However, when I manually turn on the power supply by pressing the ON/OFF button, the waveforms are synchronized every time. Does anyone know of something that I can add to my LabView program that may help me to synchronize the two just as they do when I manually turn on the power supply? I will attach the portion of my program that involves these two devices.

Requesting Assistance on Design Structure for Moderate Sized Application (Top VI)

$
0
0

DISCLAIMER: First post, have a lot to say Smiley Happy

 

Hello fellow Labview developers, students, and teachers. I have been using Labview on and off over the past year at a defense tech company; I've helped automating box level test sets for radar and automating board level test sets for acceptance testing. I am working on my first program that is entirely my own, so I made sure I went back and made sure my fundamentals were solid. I completed training core 1 and 2, and have read through a solid chunk of core 3. Ton's of great info that I incorporated into my program. I will now give a quick program overview for you guys before asking a few questions.

 

The aim for the program is run a specified test (most of the individual test code has been completed, e.g. a receiver test in which I communicate with a signal generator and the board and check linearity across the dynamic range) and format the data appropriately for a datasheet, all while logging system status with info from constant polling of the board. Implementing this gave me great insight into how to use parallel loops, tricks to prevent read-write-modify issues such as FGVs or encapsulating primitives into non-reentrant VIs, etc.

 

I have created a write config and read config VI.. the Read config VI reads from a config.ini text file which contains the VISA profiles and global constants and writes them to the programs globals. I want the user to be able to press a config button on the main vi front panel, set values for the controls which are the visa profiles and globals, have the values written to the globals, and then write the globals to the config file so its saved for next time the program is ran.

 

I've read that you should stay away from multiple parallel loops in one state, and stay away from multiple event structures in one loop. This was why I put the save graph function in its own unique loop and event structure. Also, its why I am hesitant to keep this structure and throw it into a state machine, with states being Idle, Config, Test&Log, and Done. OR, is this fine and how I should structure this program? (After thinking this through again, I will probably go this route if there aren't any objections).

 

Some other tidbits, I have been reading about different ways to control loops and stop them from a master button or loop. Currently, I have a master stop control directly connected to the test loop stop terminal, and there is an event structure in the other loops that checks for a value change on that master stop control, and then output a True to their loop stop terminals. Is this proper? Or should I possibly use a notifier setup?

 

In terms of one button dialogue true output being used to drive a case structure, is this OK? Or is an event structure better? Most of my tests for the receiver have to look at multiple channels, and I prompt the user to connect to the next channel with a one button dialogue, and the test only enters the test command loop once the button is pressed. I was curious about any issues this may have associated with it.

 

I chose to just share an image since I would have to clean up specific job info before upload, and I believe you guys can answer my questions off an image. I am willing to take recommendations on anything I did not mention as well, such as error handling. Thank you for your time, and I look forward to discussion and learning.

 

Ethernet/ip Implict messaging

$
0
0

Hello,

 

I am looking to utilize the implicit messaging feature of the ethernet/ip driver for Labview. The plc (ControlLogix 5500) would act as the scanner and Labview would act as the adapter. I have successfully utilized the explicit messaging by reading and writing to the plc with the ip address. However, I am unsure of how to setup for implicit messaging. Within RSLogix, I have added a new module for Labview and setup the input/outpu along with the assembly instances. Additionally, there is a spot for the IP address, is this the IP address of Labview? Really my question is how do I make Labview visible in RSLogix?

 

Thanks for any help!

 

Finding a particular element from an excel (may be have multiple occurrences) from a massive number of data and paste in another excel

$
0
0

I have a collection of data from a test report which has 50000 rows, I need to find a particular row(may have multiple occurrences) and paste the row(s) in another excel. please help me.

Example excel is uploaded in which I need to find string "WLAN Fetch Payload Power Average" from cell Q1 and "R12BPSK" from cell P1 and paste the different occurrences in a different excel in a predefined cell(s).

 

 

I have 9 identical GPIB devices. Can i send same command to all of them at once?

$
0
0

I have 9 identical GPIB devices. Can I send same command to all of them at once? Instead of sequentially to each one at a time.

Viewing all 69574 articles
Browse latest View live


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