1,418 questions
0
votes
0
answers
50
views
Real-Time to Windows Data Transfer in Labview
I am working with NI sbRIO-9606 and cRIO-9030 modules. I have an sbRIO code where I handle some data.(also have sbrio to fpga code where I created a bitfile) I'm working on windows 7
The problem is I ...
0
votes
1
answer
101
views
Azure Authentication Prompt Appears Every Time LabVIEW-built Executable is Started
I'm using an Azure cloud SQL Server DB for a LabVIEW application built to an .exe. The only 2 UDL options that connect to my DB are "Active Directory - Password" which is a non-starter ...
0
votes
0
answers
97
views
XNET CAN write error - two different type terminals
I'm really new to Labview and XNET CAN vi. I'm trying to interface with a board through CAN bus and I have to configure and set some parameters. As hardware I'm using a CAN HS/FD Interface NI-XNET USB-...
0
votes
1
answer
115
views
how to "receive" .net struct in labview
I am creating a .net DLL for a customer who will be using it in labview
The method signature that I would like is
int RequestData(ref myStruct[] data1)
The customer who might not be very familiar with ...
2
votes
3
answers
481
views
LabView vi freezes during exiting event structure
I've attached a PNG of my VI for reference. I'm facing an issue with the event structure in my code. This is a simplified version of my main VI to highlight the problem.
The issue arises when I press ...
0
votes
0
answers
188
views
LabView: How do I use a Boolean Toggle switch to set my slider "Enable State" to "Disabled & grayed"
I have a Numeric Slide control and a Boolean Toggle switch
I can control the output of the Slide control with the Toggle (False = output always "0", True = output always slide value). But I'...
1
vote
0
answers
64
views
passing 2d c array to labview [duplicate]
I want to create a dll that gets some data and put them in a 2d array and then pass it to labview
the problem is all I get is a pointer instead of the whole array
I allocate array in c by using malloc ...
0
votes
1
answer
168
views
How to Change Control Value in Main VI to Update Control in Sub VI in real time? LabVIEW
In a Sub VI, I have a numeric control, which is an input to the Sub VI, inside of an event structure triggered when a button is pressed. This control is used to update a specific result in the Sub VI. ...
-1
votes
2
answers
491
views
How to put a "Pause" or "stop" button in labview
I have this easy code, its a traffic light
enter image description here
Its simple, past 1000ms, it switches to the next case to turn a different light.
enter image description here
I build it like ...
0
votes
1
answer
174
views
Labview Power Supply Control Through TCP and QMH
I'm a newbie in LV and to practice I'm controlling a power supply (TTI) with labview. Requirements are really easy. All I have to do is creating the first channel of the supply. There'll be three main ...
0
votes
1
answer
572
views
Is it possible to convert LabVIEW VI's into human-readable text/code? [closed]
I was curious if there is a tool or any way to convert a LabVIEW VI into a human-readable form.
My intentions for reading LabVIEW code in a different way then in Block-Diagram is e.g. making a diff ...
1
vote
1
answer
655
views
Writing Waveform data into CSV file in LabVIEW
I have a LabVIEW program which contains voltage, current and power data into the same waveform. I am planning to extract each of them one by one and putting into array. Currently, I have extracted ...
0
votes
1
answer
118
views
Why can't I write to a text file in a myRIO project?
For a project, I need to gather data from the myRIO and write it to a text file on my laptop. When I create a myRIO project, connect it to the myRIO and run the program, it doesn't create a text file ...
0
votes
1
answer
463
views
How to create Python code from LabView code
I try to rebuild an application which was made in LabView but using Python.
The code should send a command via TCP/IP to a climate logger and the logger should respond.
I got the code from a colleague,...
0
votes
1
answer
56
views
LabVIEW - Specify network card from multiple
Short story:
Is it possible to specify the network card I want the LabView application to connect to the server?
Long story:
I have a LabVIEW application running on customer test machine in a remote ...
0
votes
0
answers
409
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 ...
0
votes
1
answer
154
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 ...
0
votes
1
answer
923
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 ...
0
votes
1
answer
143
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 ...
0
votes
3
answers
275
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 ...
0
votes
1
answer
283
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 ...
0
votes
0
answers
133
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 ...
1
vote
0
answers
180
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 ...
2
votes
1
answer
156
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)) ...
1
vote
1
answer
404
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. ...