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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

LabVIEW Eror Code 1671 (Related to Python Script), How can I handle it?

I am trying to call a python function to LabVIEW using some nodes. However, I am getting an error (code:1671) related to python. Could you please help me to solve this error? Thank you. I am using ...
Emir ONCU's user avatar
0 votes
0 answers
9 views

converting DLL file of crio 9074 with vxworks os to .out

I have crio 9074 with vxworks os and i downloaded dll library on my pc and i need to convert this library to .out in order to read it (crio 9074). When i upload the dll library on crio and run labview ...
Dan425t45234's user avatar
0 votes
0 answers
27 views

PyVISA error reading from TCP/IP unless exact number of incoming bytes is specified

I have some Python code for reading from a device, which returns a read error unless I specify exactly the number of bytes returned or fewer. The following code successfully returns SA-14212, which ...
Tony's user avatar
  • 1,655
0 votes
1 answer
37 views

How to keep an Object after a Script has been closed?

I have a program in LabView, which calls some Python Scripts over the cmd line. Those Scripts are for controlling a Electronic Board. After a script is completed, it is closed automatically. The ...
Dominik's user avatar
  • 25
0 votes
0 answers
40 views

speed up nptdms channel.read_data() or .to_dataframe()

I'm working in Python and trying to read .tdms files with the nptdms package. I want to extract the data from a channel, as mentioned in the documentation, I use: channel.read_data() and also tried: ...
user22958668's user avatar
0 votes
0 answers
27 views

Controlling A1-16 motors using myRIO and LabVIEW

I would like to use the LabVIEW 2018 coding software along with myRIO-1900 to control my A1-16 servo motor. However, the A1-16 does not support Linux, and myRIO-1900 is partially based on Linux. ...
LinYu's user avatar
  • 1
0 votes
1 answer
32 views

(LabVIEW) Using XY-Plot to plot Earth longitude and latitude

I am new to LabVIEW and I am trying to use XY-Plot to graph Earth longitude and latitude (like the image below) However, my code did not work well, nothing appeared except the scaling of x and y axis ...
Keith Duong's user avatar
2 votes
1 answer
70 views

Notifier doesn't stop parallel loops on error

I am trying to create a simple VI in LabVIEW 2020 SP1 that stops two parallel loops when a stop button is pressed, or either loop encounters an error. I've used notifiers thus far and have the stop ...
Gadzooks's user avatar
0 votes
1 answer
152 views

High performance Python code for MODBUS PLC controller

I working on a project where a MODBUS PLC controller (WAGO 750-891) is used to control a set of 100 valves (Festo MH1 3/2 way solenoid valve). The valves need to be switched a specific frequency which ...
Kevin 's user avatar
0 votes
0 answers
30 views

Labview based hmi for hydraulic testbed

Please, I am trying to design a labview based HMI for a hydraulic testbed. The design follows the sequence : main tank-pressure sensor-proportional valve-pressure sensor-pump-pressure sensor-...
ucosuji's user avatar
0 votes
0 answers
68 views

LabVIEW: Elapsed time inside case structure does not work on second time

I need to make a next programm: there is a switch and a LED. When you turn on the switch LED turns on with given seconds delay (if you turn the switch off during this delay - LED won't turn on), then ...
Ferius's user avatar
  • 1
0 votes
0 answers
59 views

Bug in Testand, TestStand executes Python script in the configuration section or automatically in an endless loop

Good morning, I am working with Teststand 2021, I have been working with labview, c#, python all without problem, I was trying with a simple code to take a picture with a webcam using Python and I ...
Ivan97's user avatar
  • 1
0 votes
0 answers
36 views

LIN communication using LabVIEW

I am new to do LIN communication using LabVIEW XNET Drivers. I need to read the data frames from one motor using LIN. I transmit the commands to read the data but I did not get any response. I have ...
Siva Kotipalli's user avatar
0 votes
2 answers
47 views

Is there a way to identify all wire locations in LabVIEW?

I was curious on how much distance of wires I had in an VI... so naturally I'm attempting to measure all of the wires given a specific vi. I'm aware of the inherent issues such as zoom, pixel density ...
BKOakleys's user avatar
0 votes
1 answer
57 views

How to change diff source files' location in sourcetree or git?

In my development environment (LabVIEW) source files (called VIs) are interlinked. i.e., each method call is a VI call, so they are tightly depend on each other in any given project. If any ...
Ajay's user avatar
  • 33
0 votes
2 answers
105 views

How to use LabVIEW to control and command Keithley 2410 - 2400 Source meter

Trying to connect Keithley 2410 Source meter from GPIB port and command and control its current frequency change for my setup. I need to use SCPI I guess. how can I do that is there any one help me ...
bababababa's user avatar
0 votes
3 answers
106 views

Calling an openCV based Dll from Labview

I'm trying to call a simple openCV based Dll in LabVIEW and keep getting the "library not found or failed to load" error. I use LabVIEW 64bit, and the Dll was built in C++ for 64bit. Its ...
Assaf Shemesh's user avatar
0 votes
2 answers
109 views

Enums in LabVIEW

I have an enum with around 200 elements in labVIEW. Some elements inbetween are placeholder1, placeholder2, placeholder3 and so on, which really have no value in real. But labVIEW has a zero in array ...
Varun Soraganvi's user avatar
0 votes
1 answer
73 views

Labview adquisition speed

I am using LabVIEW with DAQmx to read data, and I need to read the chart every 100ms. I have the number of samples and the sampling rate, and I am using continuous acquisition mode. To read every ...
Hrathen23's user avatar
0 votes
1 answer
164 views

Sending live data between Python script and LabVIEW program

I'm trying to use LabVIEW to build a program capable of executing a multitude of python scripts. So far, I'm able to execute the python scripts via LabVIEW's python module without issue. However, to ...
NightSoldat's user avatar
0 votes
0 answers
68 views

System.IO.FileNotFoundException: Missing Dependency in: SLASensorTune.vi: Library not found or failed to load

I hope this message finds you well. I am currently facing an issue regarding the invocation of a DLL in different environments, and I would greatly appreciate any help or guidance you can provide. The ...
jatin patel's user avatar
0 votes
0 answers
64 views

How can I properly fill a 2D Array table with an INI config file in LABVIEW?

Trying to fill a 2D Array table with config file through LABVIEW The goal is to read an INI file through a table and be able to edit and save it to the INI file. I'm struggling on filling the table ...
strugglingstudent's user avatar
0 votes
1 answer
568 views

Can I run a GUI in a Windows container? [duplicate]

I want to create a Windows container to use LabVIEW and experiment with it. I would like to know if there is a way to open a graphical user interface (GUI) while using the container. I am aware that ...
Hrathen23's user avatar
1 vote
0 answers
75 views

How to open a Python 3.x instance in LabVIEW2016?

For research purposes I have written a script in Python 3, and now this method should be included into the production cycle, which is running LabVIEW2016. The script takes a matrix corresponding to a ...
king_of_limes's user avatar
0 votes
1 answer
49 views

Serverless Database that can be used with the LabVIEW Database Connectivity Kit

I need a compact database, that I can easily deliver with my LabVIEW application. It should have a simple and small installer or work completely without installer. Currently I am using the Database ...
rkgghz's user avatar
  • 455
2 votes
1 answer
67 views

LabVIEW delete array subset with bool array

I want to create an array mask which uses some logic bool to preserve array value like the python demo. a=np.array([5,10,7,-8,6,-9,8]) b=np.array([1,-3,20,5,7,20,5]) mask= ((a<=10) & (0<=a)) ...
subborrrr's user avatar
1 vote
0 answers
155 views

npTDMS Python package not reading all channels of my desired .tdms file?

I am setting up a data processing script for a short research paper and have trouble with the npTDMS package. I set up the plugin successfully in spyder and already read an example .tdms file I got. ...
Sebastian's user avatar
1 vote
1 answer
149 views

LabVIEW: Whenever I convert a string to binary and try to save it, it just saves the initial string

Issue occurs between "string to byte array" and "Write binary file" I'm trying overall to make a system that takes any type of file and convert it into a string of binary numbers. ...
Castlemasher's user avatar
0 votes
1 answer
118 views

LABVIEW:SMTP cannot connect

I want to send an email from LabVIEW with an attachment, but I don't know what's the problem. Has Google removed the option to allow less secure apps to send an email? Is any other way to do it? I ...
noor b's user avatar
  • 1
0 votes
1 answer
112 views

LabVIEW - How to make the array search with multiple row and column?

block diagram front panel I've been working on this for 2-3 days and I can't seem to get it to work. I need to be able to set the array "ingredients" to search on max 5 rows of the ...
MrUnknown02's user avatar
1 vote
0 answers
313 views

Does anyone have any working code in Python or LabVIEW to get data from the SolisCloud Inverter API?

I have a solar installation with a Solis hybrid inverter and access to the SolisCloud API with my own plant info and secret key etc. I want to extract historical data to tell me how much energy the ...
Magicbean's user avatar
1 vote
0 answers
70 views

How do I handle LabVIEW strings over COM to python

I want to call LabVIEW functions from a python script and try to understand the memory handling of strings and arrays. Let's say that I have a COM API created by LabVIEW with a function that look like ...
magol's user avatar
  • 6,155
0 votes
0 answers
351 views

How to read a gds file data and export it into readable formats like TXT or JSON or Image formats like SVG or PNG?

I would like to find ways to convert the read gds file into some readable format in LabVIEW. If you are not familiar with LabVIEW, please help me to convert it into PNG or SVG or formats like JSON, ...
Shivamanikandan Radhakrishnan's user avatar
0 votes
1 answer
100 views

Replace DAQ Assistant for a voltage input with reading a WAV sound file

I am trying to convert my WAV sound file into data without using DAQ Assistant. For starters I have this code I have to modify and find code compatible with what I want to do, can anyone help ?
Ayoub Bekiri's user avatar
0 votes
0 answers
39 views

pylablib.devices.IMAQ.IMAQ.IMAQCamera: read_trigger method is not asserting when external trigger is pressed

I am working on a script which grabs frames from a c-arm camera using a PCIe-1433 frame grabber. The frames must be grabbed when a pedal is pressed down; pressing and holding the pedal results in a ...
jjcrouch's user avatar
0 votes
1 answer
219 views

Communicating with different objects in LabVIEW Datasocket server with python

I am trying to communicate with a LabVIEW datasocket server, which seems to be very different in structure to the python socket server than I have seen created. I want to be able to read/write certain ...
deadlycoding's user avatar
0 votes
1 answer
38 views

Reading *.cdpg file with python without knowing structure

I am trying to use python to read a .cdpg file. It was generated by the labview code. I do not have access to any information about the structure of the file. Using another post I have had some ...
Tanjil's user avatar
  • 198
0 votes
1 answer
112 views

Same file path and files in LabVIEW

I saved the data in txt file. Everything is ok. Now, I want to show the data on the chart then that data send by email. First, I select the txt file from the dialog and then show it on the chart or ...
Michel Chizhu's user avatar
0 votes
2 answers
226 views

SMTP cannot connect in LabVIEW

i want to send an email from labview with an attachment. i check telnet smtp.gmail.com 587 and this port is open and my computer has an access to it. but i don't know whats the problem is LabVIEW. and ...
Michel Chizhu's user avatar
1 vote
1 answer
63 views

longer distance ultrasonic LabVIEW

I'm reading the distance with Arduino ultrasonic kit. i want to show the longest distance during the session. i used shift register to have a previous value then I compared them with new the new one, ...
Michel Chizhu's user avatar
1 vote
0 answers
52 views

Is it possible to nest dll references to avoid requiring access to the original uncompiled code?

I'm trying to import C++ functions from an instrument SDK into LabVIEW, and I'm running into issues with function decorations. I have a header file, the dll, a lib, and a .exp file. Unfortunately, I ...
CoilKid's user avatar
  • 335
0 votes
1 answer
198 views

Need assistance with building a LabVIEW setup for Pressure/Temperature/RPM/Voltage/Amperage

I'm working on assembling a LabVIEW setup that has the ability to measure Pressure, Temperature, RPM, Voltage and Amperage. I believe I have identified the correct modules but am looking for another ...
Smogel's user avatar
  • 1
0 votes
0 answers
102 views

How to import MATLAB trained CNN network to LabVIEW

I have a few matlab trained deep learning networks to classify images, and I want to use them in the LabVIEW. And I want to preload the networks at the very beginning, instead of loading the networks ...
J Song's user avatar
  • 1
0 votes
0 answers
136 views

How to use LabVIEW Deeplearning Module from TensorFlow

I am trying to import a tensorflow trained model into LabVIEW using the DeepLearning modules. The goal is to use the CNN model to classify images into 9 categories. But the example provided by LabVIEW ...
J Song's user avatar
  • 1
0 votes
0 answers
126 views

No module named 'sklearn' in LabVIEW

I'm trying to run a python code that has an intelligent algorithm in LabVIEW using a python node, and I got the following error: Python returned the following error: <class 'ModuleNotFoundError'>...
WillUpdate's user avatar
0 votes
0 answers
194 views

What is the TestStand run time error -17501?

I got below teststand run time error. When would this error occured? How to tackle this error? Can anyone give me an answer?
KKS's user avatar
  • 1,389
0 votes
1 answer
325 views

How to find the Prime numbers below user input in LabVIEW using case structure?

I am doing LabVIEW for the first time. I am a complete newbie. Actually with the help of YouTube and National Instruments documentation, I did a script to find out prime numbers below a certain user ...
Kevin Paul Jacob's user avatar
0 votes
2 answers
167 views

How to modify an output value in LabVIEW?

I am very new to LabVIEW and what I want is to know if it's possible to modify an indicator. I have a loop, and in every iteration I want to add a new value (given by the user via a control) to that ...
WillUpdate's user avatar
0 votes
1 answer
471 views

Reading serial port data at COM port

I'm trying to automate the reading of data from an elmeasure instrument (Voltmeter alpha+). This instrument has RS485 port. I have connected it to "RS-485 to USB converter" and the other end ...
Amrutha M's user avatar
0 votes
1 answer
1k views

LabVIEW: Correct way to control loop execution from an event structure

The program used has a a few control buttons (start, pause, stop, close) that are supposed to control the execution of a subVI test program. This is mainly a loop doing a certain task. The question is:...
femto-code's user avatar

1
2 3 4 5
29