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

How to use the front panel and the terminals of a subVI simultaneously

$
0
0

How can I re-use the front panel of a sub-VI and have access to the terminals at the same time?

 

I found out that I can re-use the front panel using the subpanel-control. In this case I don't have access to the terminals of the sub-VI. But I need them in my calling VI.

 

As soon as I use the sub-VI in my block diagram and wire the terminals I get the Error 1000: The VI is not in a state compatible with this operation. I found out that this error occures if I call a VI multiple times. So as I said, if I remove the SubVI from the block diagram, the calling VI works, but I don't have access to the terminals any more.


Software List - NI Apps

$
0
0

Hi all,  I am the lead analyst for our factories windows 10 upgrade project.  At present we are auditing all our applications to ascertain what we have on various machines and what software is installed.  We will then look to see if that software is compatible with Windows 10 or if there is a upgrade path we can choose.  We have over 4000 machines between our 5 factories worldwide that are part of this project within our region.

 

I am not familiar with the NI software but I have a list of the NI software that is installed on one machine.  As with most software different components are installed as part of a main application install.  Can you spare some time to look at the list below of these NI installs and tell me what actual software it is that is installed as I know they come bundled in as they are not all separate installs.

 

Thanks for your help.

 

 

National Instruments SoftwareNational Instruments0
National Instruments SoftwareNational Instruments0
NI .NET Framework 4.0National Instruments4.1
NI .NET Framework 4.0National Instruments4.1
NI ActiveX ContainerNational Instruments14
NI ActiveX ContainerNational Instruments14
NI AFW Channel Configuration ToolNational Instruments14
NI AFW Channel Configuration ToolNational Instruments14
NI AFW Custom UINational Instruments14
NI AFW Custom UINational Instruments14
NI AFW Custom UI AssembliesNational Instruments14
NI AFW Custom UI AssembliesNational Instruments14
NI AFW UI AssembliesNational Instruments14
NI AFW UI AssembliesNational Instruments14
NI Assistant FrameworkNational Instruments14
NI Assistant FrameworkNational Instruments14
NI Atomic PXIe Peripheral Module Driver 2.3.2National Instruments2.32
NI Atomic PXIe Peripheral Module Driver 2.3.2National Instruments2.32
NI Authentication 2014National Instruments14
NI Authentication 2014National Instruments14
NI Certificates Deployment SupportNational Instruments1.4
NI Certificates Deployment SupportNational Instruments1.4
NI Controller Driver 1.0National Instruments1
NI Controller Driver 1.0National Instruments1
NI Curl 2014National Instruments14
NI Curl 2014National Instruments14
NI Error Reporting 2014National Instruments14
NI Error Reporting 2014National Instruments14
NI Error Reporting Interface 14.0National Instruments14
NI Error Reporting Interface 14.0National Instruments14
NI Ethernet Device EnumeratorNational Instruments1.1
NI Ethernet Device EnumeratorNational Instruments1.1
NI EulaDepotNational Instruments3.3
NI EulaDepotNational Instruments3.3
NI Help Assistant 2.0National Instruments2
NI Help Assistant 2.0National Instruments2
NI Help Configuration Utility for VS2010National Instruments13
NI Help Configuration Utility for VS2010National Instruments13
NI I/O Trace 14.0.0National Instruments14
NI I/O Trace 14.0.0National Instruments14
NI LabVIEW 2012 Real-Time NBFifoNational Instruments12
NI LabVIEW 2012 Real-Time NBFifoNational Instruments12
NI LabVIEW 2012 Run-Time Engine Web ServerNational Instruments12.5
NI LabVIEW 2012 Run-Time Engine Web ServerNational Instruments12.5
NI LabVIEW 2012 SP1 Run-Time Engine Non-English Support.National Instruments12.1
NI LabVIEW 2012 SP1 Run-Time Engine Non-English Support.National Instruments12.1
NI LabVIEW 2013 Real-Time Error DialogNational Instruments13
NI LabVIEW 2013 Real-Time Error DialogNational Instruments13
NI LabVIEW 2014 Deployment FrameworkNational Instruments14
NI LabVIEW 2014 Deployment FrameworkNational Instruments14
NI LabVIEW BrokerNational Instruments6.8
NI LabVIEW BrokerNational Instruments6.8
NI LabVIEW C InterfaceNational Instruments1
NI LabVIEW C InterfaceNational Instruments1
NI LabVIEW Run-Time Engine 2012 SP1 f9National Instruments12.1
NI LabVIEW Run-Time Engine 2012 SP1 f9National Instruments12.1
NI LabVIEW Run-Time Engine Interop 2012 SP1National Instruments12.1
NI LabVIEW Run-Time Engine Interop 2012 SP1National Instruments12.1
NI LabWindows/CVI 2010 SP1 Network Variable LibraryNational Instruments10
NI LabWindows/CVI 2010 SP1 Network Variable LibraryNational Instruments10
NI LabWindows/CVI 2013 SP1 Code GeneratorNational Instruments13
NI LabWindows/CVI 2013 SP1 Code GeneratorNational Instruments13
NI LabWindows/CVI 2013 SP1 Low-Level Driver (Original)National Instruments13
NI LabWindows/CVI 2013 SP1 Low-Level Driver (Original)National Instruments13
NI LabWindows/CVI 2013 SP1 Low-Level Driver (Updated)National Instruments13
NI LabWindows/CVI 2013 SP1 Low-Level Driver (Updated)National Instruments13
NI LauncherNational Instruments3.3
NI LauncherNational Instruments3.3
NI License ManagerNational Instruments3.7
NI License ManagerNational Instruments3.7
NI Logos 5.6National Instruments5.6
NI Logos 5.6National Instruments5.6
NI Logos XT SupportNational Instruments5.6
NI Logos XT SupportNational Instruments5.6
NI MAX Remote Configuration Installer 14.0National Instruments14
NI MAX Remote Configuration Installer 14.0National Instruments14
NI MDF SupportNational Instruments3.3
NI MDF SupportNational Instruments3.3
NI mDNS Responder 14.0.0National Instruments14
NI mDNS Responder 14.0.0National Instruments14
NI Measurement & Automation Explorer 14.0.0National Instruments14
NI Measurement & Automation Explorer 14.0.0National Instruments14
NI Measurement Studio 2010 Service Pack 1 Enterprise RunTime for VS2010National Instruments9.1
NI Measurement Studio 2010 Service Pack 1 Enterprise RunTime for VS2010National Instruments9.1
NI Measurement Studio Common .NET Assemblies for .NET 4.0 and VS2010National Instruments13
NI Measurement Studio Common .NET Assemblies for .NET 4.0 and VS2010National Instruments13
NI Measurement Studio ComponentWorks 3D GraphNational Instruments8.6
NI Measurement Studio ComponentWorks 3D GraphNational Instruments8.6
NI Measurement Studio Recipe ProcessorNational Instruments8
NI Measurement Studio Recipe ProcessorNational Instruments8
NI MetaSuite InstallerNational Instruments3.3
NI MetaSuite InstallerNational Instruments3.3
NI MXS 14.0.1National Instruments14.1
NI MXS 14.0.1National Instruments14.1
NI Network Browser 5.5.0National Instruments5.5
NI Network Browser 5.5.0National Instruments5.5
NI Network Discovery 14.0National Instruments14
NI Network Discovery 14.0National Instruments14
NI OPC SupportNational Instruments11
NI OPC SupportNational Instruments11
NI Portable Configuration 14.0.0National Instruments14
NI Portable Configuration 14.0.0National Instruments14
NI PXI Platform Framework 2.1.0National Instruments2.1
NI PXI Platform Framework 2.1.0National Instruments2.1
NI PXI Platform Services 14.0 ExpertNational Instruments14
NI PXI Platform Services 14.0 ExpertNational Instruments14
NI PXI Platform Services Configuration 14.0National Instruments14
NI PXI Platform Services Configuration 14.0National Instruments14
NI PXI Platform Services Runtime 14.0National Instruments14
NI PXI Platform Services Runtime 14.0National Instruments14
NI Registration WizardNational Instruments1.3
NI Registration WizardNational Instruments1.3
NI Remote Provider for MAX 14.0.0National Instruments14
NI Remote Provider for MAX 14.0.0National Instruments14
NI Remote PXI Provider for MAX 14.0.0National Instruments14
NI Remote PXI Provider for MAX 14.0.0National Instruments14
NI RTSI Cable Core Installer 1.5.0National Instruments1.5
NI RTSI Cable Core Installer 1.5.0National Instruments1.5
NI RTSI PAL Device Library Installer 1.5.0National Instruments1.5
NI RTSI PAL Device Library Installer 1.5.0National Instruments1.5
NI RTSI UI Provider 1.5.0National Instruments1.5
NI RTSI UI Provider 1.5.0National Instruments1.5
NI Security Update (KB 67L8LCQW)National Instruments1
NI Security Update (KB 67L8LCQW)National Instruments1
NI Service Locator 2014National Instruments14
NI Service Locator 2014National Instruments14
NI SignalExpress 2014 DatatypesNational Instruments14
NI SignalExpress 2014 DatatypesNational Instruments14
NI SignalExpress 2014 ToolsNational Instruments14
NI SignalExpress 2014 ToolsNational Instruments14
NI Software Provider for MAX 14.0.0National Instruments14
NI Software Provider for MAX 14.0.0National Instruments14
NI SSL LabVIEW RTE 2012 SP1 SupportNational Instruments12.5
NI SSL LabVIEW RTE 2012 SP1 SupportNational Instruments12.5
NI SSL SupportNational Instruments14
NI SSL SupportNational Instruments14
NI System API .NET 14.0.0National Instruments14
NI System API .NET 14.0.0National Instruments14
NI System API Client for WIF 14.0.0National Instruments14
NI System API Client for WIF 14.0.0National Instruments14
NI System API Web-Service 32-bit 14.0.0National Instruments14
NI System API Web-Service 32-bit 14.0.0National Instruments14
NI System API Windows 32-bit 14.0.0National Instruments14
NI System API Windows 32-bit 14.0.0National Instruments14
NI System Configuration 14.0.0 LabVIEW SupportNational Instruments14
NI System Configuration 14.0.0 LabVIEW SupportNational Instruments14
NI System Configuration CVI Support 14.0.0National Instruments14
NI System Configuration CVI Support 14.0.0National Instruments14
NI System Configuration Runtime 14.0.0National Instruments14
NI System Configuration Runtime 14.0.0National Instruments14
NI System Monitor 14.0National Instruments14
NI System Monitor 14.0National Instruments14
NI System State PublisherNational Instruments14
NI System State PublisherNational Instruments14
NI System Web Server 2014National Instruments14
NI System Web Server 2014National Instruments14
NI System Web Server Base 2014National Instruments14
NI System Web Server Base 2014National Instruments14
NI TDM Excel Add-In 14.0National Instruments14
NI TDM Excel Add-In 14.0National Instruments14
NI TDM Streaming 14.0National Instruments14
NI TDM Streaming 14.0National Instruments14
NI Trace EngineNational Instruments14
NI Trace EngineNational Instruments14
NI UninstallerNational Instruments3.3
NI UninstallerNational Instruments3.3
NI Update Service 2014National Instruments14
NI Update Service 2014National Instruments14
NI Variable Engine 2.5.0National Instruments2.5
NI Variable Engine 2.5.0National Instruments2.5
NI VC2005MSMs x86National Instruments8.5
NI VC2005MSMs x86National Instruments8.5
NI VC2008MSMs x86National Instruments9
NI VC2008MSMs x86National Instruments9
NI VC2010SP1MSMs x86National Instruments10
NI VC2010SP1MSMs x86National Instruments10
NI Visual C++ 2010 Redistributable PackageNational Instruments10.1
NI Visual C++ 2010 Redistributable PackageNational Instruments10.1
NI Web Application Server 2014National Instruments14
NI Web Application Server 2014National Instruments14
NI Web-Based Configuration and Monitoring 14.0National Instruments14
NI Web-Based Configuration and Monitoring 14.0National Instruments14
NI Xalan Delay Load 1.10.3National Instruments1.1
NI Xalan Delay Load 1.10.3National Instruments1.1
NI Xerces Delay Load 2.7.6National Instruments2.7
NI Xerces Delay Load 2.7.6National Instruments2.7
NI-APAL 14.0 Error FilesNational Instruments14
NI-APAL 14.0 Error FilesNational Instruments14
NI-DAQ INF Files 24.0.0National Instruments24
NI-DAQ INF Files 24.0.0National Instruments24
NI-DAQmx 14.0.0National Instruments14
NI-DAQmx 14.0.0National Instruments14
NI-DAQmx 653x Installer 2.1.0National Instruments2.1
NI-DAQmx 653x Installer 2.1.0National Instruments2.1
NI-DAQmx ADE Support 14.0.0National Instruments14
NI-DAQmx ADE Support 14.0.0National Instruments14
NI-DAQmx and NI-DAQ Common Documents 14.0.0National Instruments14
NI-DAQmx and NI-DAQ Common Documents 14.0.0National Instruments14
NI-DAQmx C and VB6 API 9.8.1National Instruments9.81
NI-DAQmx C and VB6 API 9.8.1National Instruments9.81
NI-DAQmx Common Digital 2.2.0National Instruments2.2
NI-DAQmx Common Digital 2.2.0National Instruments2.2
NI-DAQmx DAQ Assistant 2.9.0National Instruments2.9
NI-DAQmx DAQ Assistant 2.9.0National Instruments2.9
NI-DAQmx Documentation 14.0.0National Instruments14
NI-DAQmx Documentation 14.0.0National Instruments14
NI-DAQmx Dynamic Signal Acquisition Installer 2.8.0National Instruments2.8
NI-DAQmx Dynamic Signal Acquisition Installer 2.8.0National Instruments2.8
NI-DAQmx FSL Installer 9.8.1National Instruments9.81
NI-DAQmx FSL Installer 9.8.1National Instruments9.81
NI-DAQmx MAX Configuration Support 14.0.0National Instruments14
NI-DAQmx MAX Configuration Support 14.0.0National Instruments14
NI-DAQmx MIO Device Drivers 14.0.0National Instruments14
NI-DAQmx MIO Device Drivers 14.0.0National Instruments14
NI-DAQmx MX Expert Framework 14.0.0National Instruments14
NI-DAQmx MX Expert Framework 14.0.0National Instruments14
NI-DAQmx SCXI 2.2.0National Instruments2.2
NI-DAQmx SCXI 2.2.0National Instruments2.2
NI-DAQmx STC 1.13.0National Instruments1.13
NI-DAQmx STC 1.13.0National Instruments1.13
NI-DAQmx support for LabVIEW 14.0.0National Instruments14
NI-DAQmx support for LabVIEW 14.0.0National Instruments14
NI-DAQmx Switch Core 14.0.0National Instruments14
NI-DAQmx Switch Core 14.0.0National Instruments14
NI-DAQmx Timing Installer 2.9.0National Instruments2.9
NI-DAQmx Timing Installer 2.9.0National Instruments2.9
NI-DAQmx/LabVIEW shared documentation 14.0.0National Instruments14
NI-DAQmx/LabVIEW shared documentation 14.0.0National Instruments14
NI-DIM 3.1.0f0National Instruments3.1
NI-DIM 3.1.0f0National Instruments3.1
NI-MDBG 3.1.0f0National Instruments3.1
NI-MDBG 3.1.0f0National Instruments3.1
NI-MRU 3.1.0f0National Instruments3.1
NI-MRU 3.1.0f0National Instruments3.1
NI-MXDF 3.1.0f0National Instruments3.1
NI-MXDF 3.1.0f0National Instruments3.1
NI-MXLC Core (32-bit)National Instruments14
NI-MXLC Core (32-bit)National Instruments14
NI-MXLC LabVIEW 2011 SupportNational Instruments14
NI-MXLC LabVIEW 2011 SupportNational Instruments14
NI-MXLC LabVIEW 2012 SupportNational Instruments14
NI-MXLC LabVIEW 2012 SupportNational Instruments14
NI-MXLC LabVIEW 2013 SupportNational Instruments14
NI-MXLC LabVIEW 2013 SupportNational Instruments14
NI-MXLC LabVIEW 2014 SupportNational Instruments14
NI-MXLC LabVIEW 2014 SupportNational Instruments14
NI-ORB 3.1National Instruments3.1
NI-ORB 3.1National Instruments3.1
NI-PAL 14.0 Error FilesNational Instruments14
NI-PAL 14.0 Error FilesNational Instruments14
NI-PAL 14.0.0f0National Instruments14
NI-PAL 14.0.0f0National Instruments14
NI-RPC 14.0.0f0National Instruments14
NI-RPC 14.0.0f0National Instruments14
NI-RPC 14.0.0f0 for Phar Lap ETSNational Instruments14
NI-RPC 14.0.0f0 for Phar Lap ETSNational Instruments

14

 

 

Reset NI Config 14.0.0National Instruments14
Reset NI Config 14.0.0National Instruments14
WIF Core Dependencies Windows 14.0.0National Instruments14
WIF Core Dependencies Windows 14.0.0National Instruments14

User interface

$
0
0

微信图片_20180824174531.png

I saw this control in the example, how to make one like this?

Convert 1D of String to 1D array of Double

$
0
0

Hello all,

 

Can anyone help me ?

I need to convert 1D arry of string to 1D array of Double 

 

regards 

OPC UA Client failed to connect to Server

$
0
0

Hello,

 

I am performing a very simple OPC UA Sever-Client Communication (Same as the one in the Examples).

The communication should be secure (using the generated certification).

 

Actually I generated Two Certificates (For the client and the server) and added them to configuration.

 

My Problem is that I cannot the client to the server. I am having this error. (Although the file exists)Capture.PNG

Can anyone please help me which certificates to use for the configuration because the "Create Certificate.vi" generate two files (*.der & *.pem).

 

Thank you in advance.

INPUT OUTPUT CONTROL

$
0
0

I have 3 input and one output.1 setting ,2 is control ,3 is read and output is new control value. Read is measure by visa port controlling by control.

i have also 1 Auto/manual button and one is stop button.

Now condition is as below:

1. button on manual position.

control i/o same.

2.button on auto position.

if my setting and read value same, control i/o is same

if setting and read value different then 2 possibility: 1 is  setting grater than read or setting less than read.

find error=(setting-read)/50.

add this (+or-)error to control value.

by this means control is auto controlled.

value limit of control is 0 to 100.

after this when auto button is turned to manual control indicate new value.

if i press stop then control indicate 0 initial value and auto/manual button show initial value manual.

Another things is that my read value is failed to reach above 500 until control reach 100 then stop button trigger automatically and control and A/M button reset to their initial value. 

 

This project is like control read value as per desire setting value by means of controlling control value.

How to connect Webserver on mobile

legend and cursors of an XY Graph

$
0
0

Hello!

 

I have an application where I generate many different plots on one graph ( from 1 to 30 plots).

I want to see which plot goes with which data in a legend on the right of the graph. and also when I put the mouse cursor
over the plot, it's indicated the name of the plot which is the same appeared in the legend. Is there a way to have each plot name shown up when I mouse over a plot? like in excel plots.
Another point please: How can I set up the cursor in the middle of the graph before starting to run the app so that the user can see it clearly and move it over the plots? because it appears in the corner , not really visible.

Please any help in my issue 

Thank you so luch in advance. 


Call Library Function- Adapt- Interface to Data Breaking

$
0
0

I'm trying to call a DLL function with a complex structure. I've built up the structure, but the array of strings within the cluster is causing the wire to break (deleting it causes it to work).

 

I've boiled my problem down to a single snippet.

Broken DLL Call.png

If you delete the array, the wire is suddenly unbroken. (Note: The array of strings is initialized in my code... just is just boiled down)

 

The parameter settings are from an example that I'm following for this particular library. The parameter settings are Adapt to Type, Interface to Data, Allow Resize.

I can't seem to change the data format. Changing Interface to Data to anything else does unbreak the wire but causes either an error 1097 or a LabVIEW crash.

 

Thanks in advance, and pardon my ignorance, I'm REALLY unfamiliar with DLL calls.

 

 

 

Labview WebService xml request and respons to 3th software

$
0
0

Hello,

I two day read about communicate two softwer over web service.

One software is Labview (software A) and second is software B. Labview software A is slave and need to accept order from software B and after finish order software A need return resutls to sofware B.


I read this topic but this is case when Labview software send xml message and recived respons. I have successfully created a client which call some web service, but I have oposite situation. How I can make web service server which will respons on example this message from some web service client (software B):

This message is example requst to my web services:


<?xml version="1.0"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<env:Header/>
<env:Body>
<bookStatusEvent xmlns="http://www.booksstatus.com/bookservice">
<iditem>125</iditem>
<book>107</book>
<status>availability</status>
</bookStatusEvent>
</env:Body>
</env:Envelope>

 

For example I need (Labview web service) need to generate this respons (after check and finsih operation inside LabViewMainVI):

**// iditem, book and status is variable inside Labview code which value return to master software which initiates request //**

 

<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlnsSmiley FrustratedOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<bookStatusEventResponse xmlns="http://www.booksstatus.com/bookservice"">
<bookStatusEventResult>
<iditem>125</iditem>
<book>107</book>
<status>available</status>
</bookStatusEventResult>
</bookStatusEventResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

Please, If you can help me with some example or some idea how I can resolve this problem?

 

Thank you.

Find All Matching Elements in a 2D array

$
0
0

I'm given a 2D Array of strings where each row indicates two values are connected for example:

{A,B;
 G,'';
 D,C;
 D,A;
 E,F;
C,B;
H,''}

 

Indicates that:

  • A, B, C and D are connected
  • E and F are connected
  • G and H are orphans

From that given input, I would like to make a VI that would output the array

 

{A,B,C,D;
 E,F,'','';
G,'','','';
H,'','',''}

 

I am using the open G toolkit and currently, I have this solution:

 

2D-Pair.png

 

As this is a fairly critical vi I would appreciate a review to:

  1. Make sure I didn't miss an edge case (It is safe to assume that the input array will always be NX2 and 'A' = '\sA'='A\s')
  2. Suggest any changes I could make to improve the Vi's scope or efficiency.

 

labview peak data collection

$
0
0

I would like to collect peaks data, but the amplitudes only contains peaks found in current block of data. If I use shift register on the whole while loop, the data store at each loop, there will be too many repeated data. What can I do?

微信截图_20180824214923.png

Duplicate Device names create in NI Max Automatically

$
0
0

Hi to all,

We are using 10 PXI cards and 3rd party hardwares in one of our project. It is working fine, but some time we got Error in that machine, that is  duplicate device names automatically create  in the NI Max. Once restart the PC, this error will go . But after some time again come same issue . 

 

Why this error come and what is the exactly solution for this error.

 

 

We using LabVIEW 2014 &  Teststand 2014 32 bit both are 32 bit and windows 7 64 bit.

 

Thanks & Regards

Arunkumar M

==========================================================

Note: We alsoinstalled 64 bit of LabVIEW and Teststand in same PC.

FPGA I/O Limitation? Bug?

$
0
0

Good day,

Is there a limit on having more than one FPGA I/O node within a case structure on the FPGA? I have a program that executes fine when only one case has a I/O node but when two or more nodes exist within the same structure the AO card Im using gives a 0 no matter what is wired to it. Is this a bug or a software limitation?

 

I've been unable to find documentation on this so if someone could assist me that would be really appreciated.

Anyone familiar with InfluxDB and REST?

$
0
0

I've been given access to an InfluxDB database located on Amazon AWS, and asked if we could write data to it using HTTP.

I figured I would use JKI REST, and following the documentation (located here) this should not be a problem.

 

In the attached screenshot you can see I started with a "ping" request, which return the expected results.

The docs display examples using Curl, and the ping is

 

curl -sl -I localhost:8086/ping

 

Next I wanted to create a database. The docs says

curl -XPOST 'http://localhost:8086/query' --data-urlencode 'q=CREATE DATABASE "mydb"'

 As the screenshot shows, I try to give the request body a json string (since I understand that this is the correct content type).

I've tried many things here, but don't seem to get it right.

 

I'm not sure how to make certain that the string I give is "urlencoded" properly.

 

Does anyone here use InfluxDB with LabVIEW, or are familiar with HTTP?

 

I've seen, and tried, the following project on GitHub:

https://github.com/johanvandenbroek/InfluxDB-Client-LabVIEW

but the way it is made is not according to the docs, and does not work for me.

Maybe it was correct for an earlier version of InfluxDB.

 

Thank you for reading.


Labview control Visual C++ GUI and APT stepping motors

$
0
0

Hello !! I have some questions to get advice from NI supporters.

I have imaging acquisition system GUI written by VC++, which opens another window to show image from camera sensor. I want to control the stage by stepping motors from Thorlabs, which uses APT software (compatible with Labview/C++). 

I am wondering how Labview can recognize this VC++ window or GUI pannel, then using control code (analyzing instant imaging window), then control APT stepping motor.

 

GUI(VC++)->imaging window ---(connect)--- Labview ---(analysis imaging window parameter) --- stepping motor(APT).

 

I would be delighted if you could help me. Please help me....

Calibration template image info lost

$
0
0

Some strange thing is happening with my machine vision applpication.

I have a calibration process in my main vi "VT; Main.vi" ("BUT.Calibrate" event) which is triggered by pressing the 'Calibrate' button. In that event the subvi is called ''VT; PRCS; IO.vi" with the case 'CalibrateCamera'. Now, the results of the calibration process (convert to greyscale and execute distortion model grid calibration) are put in the calibration template image and as you can see the reference is put correctly in my 'Calibrated image ref'.

 

After executing this [1] "BUT.Calibrate" event, the [0] "Timeout" is again executed, where in the AnalyzeImage step the 'Calibrated image ref' is called. Now the strange thing is that this is suddenly a reference to a different image, clearly seen by the colour image compared to the greyscale one as the outcome of the calibration step, and with NO calibration info. How is this possible?

 

I mean, nothing is happening in between putting the reference and getting it back...

 

Can someone more experienced with Vision please have a look at how this is happening?

And if something is not clear (as I can imagine, because it is difficult to explain), please let me know.

 

To reproduce, just run the main.vi and then press at the Calibrate button upper right. Then immediately the error occurs and therefore the application stops.

 

Kind regards,

DvdM

Programmatically add extra grids/circles on smith chart

$
0
0

Hi all,

I have written a vi that create a blank smith chart on a xy graph. This vi allow user to set hoe many grids/circles they want on their smith chart. The default number of grids is 6. Now I'm trying to add another feature to this which allows the user to zoom in and zoom out the smith chart and my vi can automatically adjust the number of grids/circles displayed on the smith chart just like the auto scale function found on a vector network analyzer. I've been doing a lot of searching on any sort of similar algorithm for nice grid line interval but couldn't find any useful. Has anyone done something similar to this in labview?

Any help would be appreciated.

MV

 

PS: I attached my vi if anyone want to play with it. I think my scaling method has been implemented incorrectly though. It doesn't do the same thing as the autoscale option does on the vna

peak detection

$
0
0

Hello all,

 

I would like to find peaks in my signal but I am looking only for big peaks. I am trying to use peak detector but threshold in this  vi is from 0 and that is not working for me because my signal looks like in the picture ( red signal ) . As we can see there are around 10 peaks but tool found 1236. 

 

So question is how to find only big ones. 

 

Best regards 

Getting Live Data from SubVI in LabVIEW NXG?

$
0
0

Hello, 

I'd like to update a progress bar on my main VI using live data from a subVI.  I see there is a solution for non-NXG versions of LabVIEW (which I found at the link below) that involves wiring to "Value" on the Ctl refnum property node.  However, "Value" is not an option for the same property node in NXG.  Is there a different way to do this? 

 

Thank you!

 

 

found solution for non-NXG: https://forums.ni.com/t5/LabVIEW/How-do-I-get-live-data-from-a-subvi-while-it-is-running/td-p/563805 

Viewing all 69326 articles
Browse latest View live


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