Questions tagged [labview]
LabVIEW stands for Laboratory Virtual Instrumentation Engineering Workbench and is a graphical programming system by National Instruments. The programming language is called G but often referred to as just LabVIEW.
1,326
questions
0
votes
1
answer
21
views
LabVIEW: IMAQ colorImage to Array
I'm working on an application where an image should be read from LabVIEW (by a camera) and preprocessed in python function (the Image should not be read from a file path, meaning we should not save ...
0
votes
1
answer
19
views
Detect breakdown voltage in an AC waveform
I need to monitor an AC Voltage waveform and record the RMS value when the breakdown happens. I roughly know how to acquire data from videos I have watched, however, it is difficult for me to produce ...
0
votes
2
answers
25
views
Colors[4] not showing color selection on Front Panel
I am trying to set the color of an indicator to different colors based on different values, like 1 = red, 2 = blue etc. Using guidance from a Youtube video (accessible using this link: https://www....
1
vote
0
answers
26
views
Hikvision IP PTZ camera control with LabVIEW
I want to control hikvision camera with LabVIEW.
By using the "NET_DVR_RealPlay_V30" function of the "HCNETSDK.dll" file compiled with C/C++ with "Call Library Function" ...
0
votes
1
answer
17
views
phase modulation in LabVIEW
is there a way to implement phase modulation and demodulation in LabVIEW(using NI USRP and without MathScript). I cant seem to be able to convert the block diagrams into useful circuits.
Any help is ...
0
votes
1
answer
34
views
LabVIEW: Count how long a button has been pressed
I'm trying to create a LabVIEW VI with an "ok button", a numeric indicator "Number of click" and an array of cluster, in which every cluster contain a TimeStamp indicator and a ...
0
votes
1
answer
43
views
LabVIEW: view every time a button is pressed
I’m trying to make a simple project to practice with LabVIEW:
I’m creating a VI with a standard Button and a stop button.
When the VI is running, I’ clicking the button many times and then, when I ...
0
votes
0
answers
28
views
How to trigger an increase of 1D array?
I'm new on LabVIEW and I need some help to trigger the increment of all items of 1D array. Basically what I need to do is: when element of "#found" increase by one a led should light.
Anyone ...
0
votes
1
answer
25
views
Add channels to / edit existing tdms files?
I have a naive question but did not manage to find a clear answer. I have some .tdms files with channels of data. I would like to add additionnal channel of data in this tdms file (for example in ...
-1
votes
0
answers
15
views
Read Error in NI-MAX while connecting from PC to FPGA using RS232
I have a FPGA development board Altera DE2-115 Cyclone IV in my Lab. In the board I have to install a vhdl code using Active serial programming mode in Intel Quartus. After that I have to connect the ...
0
votes
2
answers
41
views
Using a waveform to trigger case structure but ignoring falling edge
Working on a project that uses a waveform we're looking at to trigger a case structure based on the amplitude. Problem is I want it to trigger multiple cases IE at 30 and 60, but when it hits 60 it ...
0
votes
1
answer
35
views
Build cluster array only produce 1 element
I've been trying to make an array of clusters in LabVIEW, I know I can make it in the front panel but I need to make it from the block diagram because I want to input something into my array of ...
0
votes
0
answers
20
views
How to use WinCap 3.1 dll in Windows10
I am trying to run an old LabView v8.2 program which used WinCap 3.1 but there seems not to be any replacement for the WinCap dll to run on my Windows10.
Any ideas how to solve this issue?
Thanks in ...
0
votes
0
answers
26
views
Interfacing LabView with DASGIP (help find the manual)
I'm looking for a way to communicate the DAGSIP (bioreactors system from Eppendorf) with LabView, but can't find any manual. The equipment catalog clearly says that it is possible, but I didn't ...
-1
votes
0
answers
25
views
Interfacing Arduino Uno R3 with LabVIEW
I have an 8-channel multiplexer. I want to select each channel sequentially, say Input I0 and then I1 ... to I7.
I am using an Arduino Uno R3 to select input lines by the select lines (S0, S1, S2). I ...
0
votes
0
answers
22
views
Error-1074396080 Occured at IMAQ Extract Single Color Plane, Pssible reason(s): Invalid image type
Error-1074396080 Occured at IMAQ Extract Single Color Plane, Possible reason(s): Invalid image type
I want to take pictures in realtime using 2 cameras (camera A and Camera B) in LabView
Each camera ...
0
votes
1
answer
64
views
LabVIEW generated Excel files unable to be read by pandas.read_excel
I'm having an issue when I save LabVIEW outputs as .xlsx files. When I try to import with Pandas I get the following error:
expected <class 'openpyxl.styles.fills.Fill'>
It seems LabVIEW uses ...
0
votes
1
answer
90
views
Labview System Exec VI different results than command window
When I try to run my executable (.exe) from the command window it works fine, but nothing happens when using the same commands in LabView's system exec VI. What do I need to change in my labview ...
0
votes
3
answers
58
views
How to know which data type is being passed
I have a Select function in my block diagram. For the True and False statements I am passing two data types. The True statement is a is a Digital Reference data type to a numerical indicator in the ...
0
votes
0
answers
23
views
NpTDMS many NaN values in dataframe
when I read TDMS as dataframe with npTDMS to python, I get many NaN values in dataframe.
Values in TDMS file
Values I get in dataframe
Could it be due to npTdms limitation in working with extended ...
0
votes
4
answers
114
views
Can I read other than the first sheet with the Read Delimited Spreadsheet.vi function in LabVIEW?
I am using Read Delimited Spreadsheet.vi in LabVIEW and need to read data from other than the first sheet. How do I tell LabVIEW that want to use other than the first sheet?
0
votes
1
answer
229
views
Using Python node in LabView returns Error 1667 (No module named 'PySpin')
I have a python node trying to run a program that takes images from a camera, saves it to a directory, and displays it on Labview. The code runs perfectly on its own, but the Close Python Session ...
0
votes
2
answers
91
views
Seeking suggestion to count time inside the loop
I am trying to measure/count the time inside the while loop, I tried a couple of methods but couldn't find the solution yet.
Here is my current VI.
In short, I am trying to measure the time as long ...
0
votes
2
answers
236
views
LabVIEW + C-DLL: Access violation (0xC0000005) at EIP = 0x00000000
Information:
LabVIEW: 2019
Version: 19.0.1 (32-bit)
Operating system: Windows 64-bit
Labview crashes completely after an indefinite time. I call three functions of the C-DLL. I loop through all the ...
0
votes
1
answer
27
views
AC voltage ramp LabVIEW
I am totally new to LabVIEW. My purpose is to create an AC voltage ramp using this programming language like the one showed below. For example, I would like to change the voltage from 0 to 5 V in 2 ...
1
vote
1
answer
46
views
assign a reference to an indicator dnamically in a for loop
I have a large number of internal path references in a LabVIEW project. Each path is entered manually into a bundle function along with a reference to a numeric indicator on the block diagram. Because ...
0
votes
0
answers
79
views
LabVIEW: How can I register on a callback from a CDLL
The header file is the following:
#ifndef __EVTest_h_
#define __EVTest_h_
#include <stdint.h>
#include <stddef.h>
#define DLLIMPORT __declspec(dllimport)
// Typedefs ----------------------...
0
votes
1
answer
33
views
Accessing Raw NIDAQMx data through Python with npTDMS, Or, the vicarious vista of LabView
Problem
I have created a simulated system on my desktop computer consisting of a PCIe6738 providing a 1kHz dual channel signal to a simulated USB 3646 which is driven using a certain virtual ...
0
votes
2
answers
117
views
Pressing a button to add an element to an array in LabVIEW
Is it possible to add an element to an array by pressing a button?
In such a way that the first press enters a '1' element, the second a '2' and so on.
1
vote
0
answers
50
views
Is it possible to avoid warning when using LOAD DATA LOCAL INFILE to import duplicates
I have a table errors with the following columns : id_error, product_id, error_code which is already filled up with some errors. I am using id_error as a primary key and I added a UNIQUE index ...
0
votes
0
answers
80
views
After making .pyd with cython I only can call the "Pyinit_" Function
I have a main.py with some simple functions. After making a .pyd with cython (using easycython), I try to call that pyd as dll in LabVIEW. LabVIEW only shows me the Pyinit_-Function. Maybe I missing ...
0
votes
0
answers
26
views
nptdms.TdmsFile object not subscriptable
Python code with nptdms that ran flawlessly in the past (presumably older version of nptdms) stopped working for me with the error:
TypeError: 'TdmsFile' object is not subscriptable
after calling
...
0
votes
1
answer
147
views
LabVIEW Inserting/overwriting text into existing string
I was wondering if folks have found a reliable way to inject text into an existing string. Some context, I'm writing data to a string indicator formatted like a table, and I wanted to inject values ...
0
votes
0
answers
33
views
Missing all VI descriptions in the llb
I made a project with a few VIs in it. Every VI had its own VI description in that project. Then I build a llb from this VIs, to use them in several other project. The llb itself works as intended, ...
0
votes
0
answers
25
views
Any way to open measurement data recorded as WAV to readable numbers?
so I'm currently dealing with a fatigue test machine that perform cyclic loading on a specimen. The machine's software is made using LabView and the measurement data output is a WAV file since cyclic ...
0
votes
0
answers
63
views
FFT and IFFT in LabVIEW using GPU toolkit
I am new to CUDA and FFT and as a first step I began with LabVIEW GPU toolkit. I have to use this toolkit due to batch processing of signals.
My issue concerns inverse FFT . To test FFT and inverse ...
0
votes
1
answer
70
views
Can’t insert NULL when variable could be either date time or NULL using labview
I am using labview to query an SQL table, I am manipulating the data and inserting it into a new table. Two of the columns are datetime and can either be a date or a NULL but the format into string ...
1
vote
0
answers
37
views
Access queries get very slow after about a week, acts like a cache problem
We have a strange problem with Access. In our plant we have multiple welders running LabVIEW software. Before each weld the operators scan bar codes on their badges and a tag on the part being welded.
...
0
votes
1
answer
1k
views
Error when I have two versions of python: 'version_info' object has no attribute '__version__'
I was using Python 3.6.5 64 bit with Anaconda that was working for me.
At the moment, I need to connect LabView to Python. As I understood, LabView supports the Python version 3.6 and the bitness of ...
0
votes
0
answers
122
views
Building a C dll to call from LabVIEW
I would like to write some advanced functions in C to then call from LabVIEW. As a trial I have started with a simple code and built a dll from it using code blocks. However, I have difficulties with ...
0
votes
1
answer
92
views
NI (National Instruments) hardware and software (LabVIEW) in production
I have worked on creating control test bed solutions in NI ecosystem. The hardware is all NI cards plugged in NI PXIe chassis. But when it comes to production systems, I cannot understand why NI ...
0
votes
1
answer
99
views
Library failed to load 'dll' in LabVIEW
I want to use this project face_eye_detection.zip.
When I run it I get an error 'library failed to load',
So I changed the dll link
but the problem remains the same, I even change the dll link and it ...
0
votes
1
answer
67
views
LabVIEW - How to accumulate data in array?
I made a program aimed to simulate the intensity of light when many light bulbs are put together. I have intensity data of one bulb in xls.-files. So, I want to program to work as follows.
Open the ...
1
vote
0
answers
84
views
Exchanging image between LabVIEW and c#
I am trying to pass a string my function in Windows Form Application in order to invoke InteropAssembly.dll from a LabVIEW script. The script takes a string for opening image and do some process and ...
0
votes
0
answers
30
views
How to share non-serializable object in Python
I'm using LabVIEW python nodes to call a python script, which opens python session and gives functionality to call scripts functions.
In python script, I create an object which is a FreeOPCUA server
...
0
votes
2
answers
170
views
Controlling VI inside of Project from Python via COM/ActiveX
From NI-Site:
labview = win32com.client.Dispatch("Labview.Application")
VI = labview.getvireference(r'c:\TEMP\ctrl\ctrl.vi')
print(f'Name: {VI.Name}')
print(VI.getcontrolvalue('main'))
This ...
0
votes
1
answer
84
views
X and Y inputs in LabVIEW
I am new to LabVIEW and I am trying to read a code written in LabVIEW. The block diagram is this:
This is the program to input x and y functions into the voltage input. It is meant to give an input ...
0
votes
0
answers
56
views
LabVIEW's Reg Event Callback in Python
I am trying to convert Veristand's Waveform Streaming example to Python for learning purpose.
In the example, it does use Register for waveform data event (DBL) where Reg Event Callback is used with ...
1
vote
2
answers
135
views
LabVIEW call DLL with struct return
I'm create a DLL in C and I trying call the functions to get a struct return value.
If I use a standard variables for function returns (int, float, char, char*) works good.
My struct:
typedef struct
{
...